Kraken · Schema
QueryLedgersResponse
QueryLedgersResponse schema from Kraken Spot REST API
CryptocurrencyExchangeTradingMarket DataSpot TradingFuturesDerivativesStakingEarnNFTWebSocketFIXCustodyOTCPrime BrokerageEmbedOAuthPublic APIs
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/kraken/refs/heads/main/json-schema/spot-rest-query-ledgers-response-schema.json",
"title": "QueryLedgersResponse",
"description": "QueryLedgersResponse schema from Kraken Spot REST API",
"allOf": [
{
"type": "object",
"properties": {
"error": {
"type": "array",
"items": {
"type": "string"
},
"description": "Array of error strings; empty on success.",
"example": []
},
"result": {
"description": "Endpoint-specific result object.",
"example": "string"
}
},
"required": [
"error"
]
},
{
"type": "object",
"properties": {
"result": {
"type": "object",
"additionalProperties": {
"type": "object",
"properties": {
"refid": {
"type": "string",
"example": "OQCLML-BW3P3-BUCMWZ"
},
"time": {
"type": "number",
"example": "2026-05-30T00:00:00Z"
},
"type": {
"type": "string",
"example": "buy"
},
"subtype": {
"type": "string",
"example": "string"
},
"aclass": {
"type": "string",
"example": "string"
},
"asset": {
"type": "string",
"example": "XBT"
},
"amount": {
"type": "string",
"example": "0.01"
},
"fee": {
"type": "string",
"example": "0.01"
},
"balance": {
"type": "string",
"example": "0.01"
}
}
},
"example": {}
}
}
}
]
}