Kraken · Schema

EarnAllocationsResponse

EarnAllocationsResponse schema from Kraken Spot REST API

CryptocurrencyExchangeTradingMarket DataSpot TradingFuturesDerivativesStakingEarnNFTWebSocketFIXCustodyOTCPrime BrokerageEmbedAuthenticationPublic APIs
View JSON Schema on GitHub

JSON Schema

spot-rest-earn-allocations-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/kraken/refs/heads/main/json-schema/spot-rest-earn-allocations-response-schema.json",
  "title": "EarnAllocationsResponse",
  "description": "EarnAllocationsResponse 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",
          "properties": {
            "converted_asset": {
              "type": "string",
              "example": "XBT"
            },
            "total_allocated": {
              "type": "string",
              "example": "string"
            },
            "total_rewarded": {
              "type": "string",
              "example": "string"
            },
            "items": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "strategy_id": {
                    "type": "string",
                    "example": "OQCLML-BW3P3-BUCMWZ"
                  },
                  "native_asset": {
                    "type": "string",
                    "example": "XBT"
                  },
                  "amount_allocated": {
                    "type": "object",
                    "properties": {
                      "bonding": {
                        "type": "object",
                        "example": {}
                      },
                      "unbonding": {
                        "type": "object",
                        "example": {}
                      },
                      "allocated": {
                        "type": "object",
                        "example": {}
                      },
                      "total": {
                        "type": "object",
                        "properties": {
                          "native": {
                            "type": "string",
                            "example": "string"
                          },
                          "converted": {
                            "type": "string",
                            "example": "string"
                          }
                        },
                        "example": {}
                      }
                    },
                    "example": {}
                  },
                  "total_rewarded": {
                    "type": "object",
                    "properties": {
                      "native": {
                        "type": "string",
                        "example": "string"
                      },
                      "converted": {
                        "type": "string",
                        "example": "string"
                      }
                    },
                    "example": {}
                  }
                }
              },
              "example": []
            }
          },
          "example": {}
        }
      }
    }
  ]
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/spot-rest-earn-allocations-response"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.