Kraken · Schema

AddOrderBatchResponse

AddOrderBatchResponse schema from Kraken Spot REST API

CryptocurrencyExchangeTradingMarket DataSpot TradingFuturesDerivativesStakingEarnNFTWebSocketFIXCustodyOTCPrime BrokerageEmbedOAuthPublic APIs
View JSON Schema on GitHub

JSON Schema

spot-rest-add-order-batch-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-add-order-batch-response-schema.json",
  "title": "AddOrderBatchResponse",
  "description": "AddOrderBatchResponse 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": {
            "orders": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "descr": {
                    "type": "object",
                    "example": {}
                  },
                  "txid": {
                    "type": "string",
                    "example": "OQCLML-BW3P3-BUCMWZ"
                  },
                  "error": {
                    "type": "string",
                    "example": "string"
                  }
                }
              },
              "example": []
            }
          },
          "example": {}
        }
      }
    }
  ]
}