Kraken · JSON Structure

Spot Rest Earn Strategy Structure

EarnStrategy schema from Kraken Spot REST API

Type: object Properties: 12
CryptocurrencyExchangeTradingMarket DataSpot TradingFuturesDerivativesStakingEarnNFTWebSocketFIXCustodyOTCPrime BrokerageEmbedAuthenticationPublic APIs

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

Properties

id asset lock_type apr_estimate user_min_allocation user_cap allocation_fee deallocation_fee auto_compound yield_source can_allocate can_deallocate

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-earn-strategy-structure.json",
  "name": "EarnStrategy",
  "type": "object",
  "description": "EarnStrategy schema from Kraken Spot REST API",
  "properties": {
    "id": {
      "type": "string",
      "examples": [
        "OQCLML-BW3P3-BUCMWZ"
      ]
    },
    "asset": {
      "type": "string",
      "examples": [
        "XBT"
      ]
    },
    "lock_type": {
      "type": "object",
      "name": "Inline",
      "properties": {
        "type": {
          "type": "string",
          "examples": [
            "buy"
          ]
        },
        "bonding_period": {
          "type": "int64",
          "examples": [
            1
          ]
        },
        "unbonding_period": {
          "type": "int64",
          "examples": [
            1
          ]
        },
        "payout_frequency": {
          "type": "int64",
          "examples": [
            1
          ]
        }
      },
      "examples": [
        {}
      ]
    },
    "apr_estimate": {
      "type": "object",
      "name": "Inline",
      "properties": {
        "low": {
          "type": "string",
          "examples": [
            "string"
          ]
        },
        "high": {
          "type": "string",
          "examples": [
            "string"
          ]
        }
      },
      "examples": [
        {}
      ]
    },
    "user_min_allocation": {
      "type": "string",
      "examples": [
        "string"
      ]
    },
    "user_cap": {
      "type": "string",
      "examples": [
        "string"
      ]
    },
    "allocation_fee": {
      "type": "string",
      "examples": [
        "string"
      ]
    },
    "deallocation_fee": {
      "type": "string",
      "examples": [
        "string"
      ]
    },
    "auto_compound": {
      "type": "object",
      "name": "Inline",
      "properties": {
        "type": {
          "type": "string",
          "examples": [
            "buy"
          ]
        },
        "default": {
          "type": "boolean",
          "examples": [
            true
          ]
        }
      },
      "examples": [
        {}
      ]
    },
    "yield_source": {
      "type": "object",
      "name": "Inline",
      "properties": {
        "type": {
          "type": "string",
          "examples": [
            "buy"
          ]
        }
      },
      "examples": [
        {}
      ]
    },
    "can_allocate": {
      "type": "boolean",
      "examples": [
        true
      ]
    },
    "can_deallocate": {
      "type": "boolean",
      "examples": [
        true
      ]
    }
  }
}

Work with this as data

Every JSON Structure 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 json structure

4 MCP tools reach this
  • find_json_structuresBrowse and filter every JSON Structure 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 Structure
curl "https://apis.io/api/v1/json-structures/spot-rest-earn-strategy-structure"
All json structure
curl "https://apis.io/api/v1/json-structures?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.