Transparency

Pre-Trade Data

Returns the price levels in the order book with aggregated order quantities at each price level. The top 10 levels are returned for each trading pair.

get/public/PreTrade

Request

  • Base URL: https://api.kraken.com/0
  • URL: https://api.kraken.com/0/public/PreTrade
  • Auth: none required

Query parameters

symbolstring required

A list of symbols for the currency pairs.

Response

The top price levels of the aggregated order book.

errorstring[]

Example response

{
  "result": {
    "symbol": "BTC/USD",
    "description": "Bitcoin / US Dollars",
    "base_asset": "BTC",
    "quote_asset": "USD",
    "bids": [
      {
        "price": "102002.1",
        "qty": "102002.1",
        "submission_ts": "2024-05-30T12:34:56.123456Z",
        "publication_ts": "2024-05-30T12:34:56.123456Z"
      }
    ],
    "asks": [
      {
        "price": "102002.1",
        "qty": "102002.1",
        "submission_ts": "2024-05-30T12:34:56.123456Z",
        "publication_ts": "2024-05-30T12:34:56.123456Z"
      }
    ]
  },
  "error": [
    "EGeneral:Invalid arguments"
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.