Kraken · JSON Structure

Kraken Instrument Envelope Structure

InstrumentEnvelope schema from Kraken Spot WebSocket API v2

Type: object Properties: 3
CryptocurrencyExchangeTradingMarket DataSpot TradingFuturesDerivativesStakingEarnNFTWebSocketFIXCustodyOTCPrime BrokerageEmbedAuthenticationPublic APIs

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

Properties

channel type data

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/kraken-instrument-envelope-structure.json",
  "name": "InstrumentEnvelope",
  "type": "object",
  "description": "InstrumentEnvelope schema from Kraken Spot WebSocket API v2",
  "properties": {
    "channel": {
      "type": "string",
      "enum": [
        "instrument"
      ],
      "examples": [
        "instrument"
      ]
    },
    "type": {
      "type": "string",
      "enum": [
        "snapshot",
        "update"
      ],
      "examples": [
        "snapshot"
      ]
    },
    "data": {
      "type": "object",
      "name": "Inline",
      "properties": {
        "assets": {
          "type": "array",
          "items": {
            "type": "object",
            "name": "Inline",
            "properties": {
              "id": {
                "type": "string",
                "examples": [
                  "OQCLML-BW3P3-BUCMWZ"
                ]
              },
              "status": {
                "type": "string",
                "examples": [
                  "string"
                ]
              },
              "precision": {
                "type": "int64",
                "examples": [
                  1
                ]
              },
              "precision_display": {
                "type": "int64",
                "examples": [
                  1
                ]
              },
              "borrowable": {
                "type": "boolean",
                "examples": [
                  true
                ]
              },
              "collateral_value": {
                "type": "double",
                "examples": [
                  0.01
                ]
              },
              "margin_rate": {
                "type": "double",
                "examples": [
                  "0.01"
                ]
              },
              "multiplier": {
                "type": "double",
                "examples": [
                  0.01
                ]
              }
            }
          },
          "examples": [
            []
          ]
        },
        "pairs": {
          "type": "array",
          "items": {
            "type": "object",
            "name": "Inline",
            "properties": {
              "symbol": {
                "type": "string",
                "examples": [
                  "PI_XBTUSD"
                ]
              },
              "base": {
                "type": "string",
                "examples": [
                  "string"
                ]
              },
              "quote": {
                "type": "string",
                "examples": [
                  "string"
                ]
              },
              "status": {
                "type": "string",
                "examples": [
                  "string"
                ]
              },
              "marginable": {
                "type": "boolean",
                "examples": [
                  "0.01"
                ]
              },
              "has_index": {
                "type": "boolean",
                "examples": [
                  true
                ]
              },
              "qty_min": {
                "type": "string",
                "examples": [
                  "string"
                ]
              },
              "qty_increment": {
                "type": "string",
                "examples": [
                  "string"
                ]
              },
              "qty_precision": {
                "type": "int64",
                "examples": [
                  1
                ]
              },
              "price_increment": {
                "type": "string",
                "examples": [
                  "0.01"
                ]
              },
              "price_precision": {
                "type": "int64",
                "examples": [
                  "0.01"
                ]
              },
              "cost_precision": {
                "type": "int64",
                "examples": [
                  1
                ]
              },
              "cost_min": {
                "type": "string",
                "examples": [
                  "string"
                ]
              },
              "margin_initial": {
                "type": "double",
                "examples": [
                  "0.01"
                ]
              },
              "position_limit_long": {
                "type": "int64",
                "examples": [
                  1
                ]
              },
              "position_limit_short": {
                "type": "int64",
                "examples": [
                  1
                ]
              }
            }
          },
          "examples": [
            "XBTUSD"
          ]
        }
      },
      "examples": [
        {}
      ]
    }
  }
}

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/kraken-instrument-envelope-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.