Kraken · JSON Structure

Spot Rest Ledger Entry Structure

LedgerEntry schema from Kraken Spot REST API

Type: object Properties: 9
CryptocurrencyExchangeTradingMarket DataSpot TradingFuturesDerivativesStakingEarnNFTWebSocketFIXCustodyOTCPrime BrokerageEmbedOAuthPublic APIs

LedgerEntry is a JSON Structure definition published by Kraken, describing 9 properties. It conforms to the https://json-structure.org/json-structure/v0/schema meta-schema.

Properties

refid time type subtype aclass asset amount fee balance

Meta-schema: https://json-structure.org/json-structure/v0/schema

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/json-structure/v0/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/kraken/refs/heads/main/json-structure/spot-rest-ledger-entry-structure.json",
  "name": "LedgerEntry",
  "type": "object",
  "description": "LedgerEntry schema from Kraken Spot REST API",
  "properties": {
    "refid": {
      "type": "string",
      "examples": [
        "OQCLML-BW3P3-BUCMWZ"
      ]
    },
    "time": {
      "type": "double",
      "examples": [
        "2026-05-30T00:00:00Z"
      ]
    },
    "type": {
      "type": "string",
      "examples": [
        "buy"
      ]
    },
    "subtype": {
      "type": "string",
      "examples": [
        "string"
      ]
    },
    "aclass": {
      "type": "string",
      "examples": [
        "string"
      ]
    },
    "asset": {
      "type": "string",
      "examples": [
        "XBT"
      ]
    },
    "amount": {
      "type": "string",
      "examples": [
        "0.01"
      ]
    },
    "fee": {
      "type": "string",
      "examples": [
        "0.01"
      ]
    },
    "balance": {
      "type": "string",
      "examples": [
        "0.01"
      ]
    }
  }
}