Kraken · Schema

OrderInfo

OrderInfo schema from Kraken Spot REST API

CryptocurrencyExchangeTradingMarket DataSpot TradingFuturesDerivativesStakingEarnNFTWebSocketFIXCustodyOTCPrime BrokerageEmbedAuthenticationPublic APIs

Properties

Name Type Description
refid string
userref integer
cl_ord_id string
status string
opentm number
starttm number
expiretm number
descr object
vol string
vol_exec string
cost string
fee string
price string
stopprice string
limitprice string
misc string
oflags string
trades array
View JSON Schema on GitHub

JSON Schema

spot-rest-order-info-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-order-info-schema.json",
  "title": "OrderInfo",
  "description": "OrderInfo schema from Kraken Spot REST API",
  "type": "object",
  "properties": {
    "refid": {
      "type": "string",
      "nullable": true,
      "example": "OQCLML-BW3P3-BUCMWZ"
    },
    "userref": {
      "type": "integer",
      "nullable": true,
      "example": 1
    },
    "cl_ord_id": {
      "type": "string",
      "nullable": true,
      "example": "OQCLML-BW3P3-BUCMWZ"
    },
    "status": {
      "type": "string",
      "enum": [
        "pending",
        "open",
        "closed",
        "canceled",
        "expired"
      ],
      "example": "pending"
    },
    "opentm": {
      "type": "number",
      "example": 0.01
    },
    "starttm": {
      "type": "number",
      "example": 0.01
    },
    "expiretm": {
      "type": "number",
      "example": 0.01
    },
    "descr": {
      "type": "object",
      "properties": {
        "pair": {
          "type": "string",
          "example": "XBTUSD"
        },
        "type": {
          "type": "string",
          "enum": [
            "buy",
            "sell"
          ],
          "example": "buy"
        },
        "ordertype": {
          "type": "string",
          "example": "limit"
        },
        "price": {
          "type": "string",
          "example": "0.01"
        },
        "price2": {
          "type": "string",
          "example": "0.01"
        },
        "leverage": {
          "type": "string",
          "example": "none"
        },
        "order": {
          "type": "string",
          "example": "string"
        },
        "close": {
          "type": "string",
          "example": "string"
        }
      },
      "example": {}
    },
    "vol": {
      "type": "string",
      "example": "0.01"
    },
    "vol_exec": {
      "type": "string",
      "example": "0.01"
    },
    "cost": {
      "type": "string",
      "example": "0.01"
    },
    "fee": {
      "type": "string",
      "example": "0.01"
    },
    "price": {
      "type": "string",
      "example": "0.01"
    },
    "stopprice": {
      "type": "string",
      "example": "0.01"
    },
    "limitprice": {
      "type": "string",
      "example": "0.01"
    },
    "misc": {
      "type": "string",
      "example": "string"
    },
    "oflags": {
      "type": "string",
      "example": "string"
    },
    "trades": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "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-order-info"
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.