Kraken · JSON Structure

Spot Rest Order Info Structure

OrderInfo schema from Kraken Spot REST API

Type: object Properties: 18
CryptocurrencyExchangeTradingMarket DataSpot TradingFuturesDerivativesStakingEarnNFTWebSocketFIXCustodyOTCPrime BrokerageEmbedAuthenticationPublic APIs

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

Properties

refid userref cl_ord_id status opentm starttm expiretm descr vol vol_exec cost fee price stopprice limitprice misc oflags trades

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