Retrieve Level3 order book data, which provides individual order information at each price level. This includes order IDs and timestamps for each order in the book.
The Level3 endpoint requires authentication.
API Key Permissions Required: Orders and trades - Query open orders & trades
curl --request POST \
--url https://api.kraken.com/0/private/Level3 \
--header 'API-Key: <api-key>' \
--header 'API-Sign: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"nonce": 123,
"pair": "YFI/EUR",
"depth": 10
}
'{
"error": [],
"result": {
"pair": "YFI/EUR",
"bids": [
{
"price": "3062.00000",
"qty": "0.29665800",
"order_id": "O5KJU4-IEQTM-NDMS6W",
"timestamp": 1765622008594292000
},
{
"price": "3062.00000",
"qty": "0.13917400",
"order_id": "OERRY6-MXYER-6EQKNY",
"timestamp": 1765622011396903000
}
],
"asks": [
{
"price": "3066.00000",
"qty": "0.00278335",
"order_id": "ORAWGV-N5L4J-LBA3WH",
"timestamp": 1765622008499456000
},
{
"price": "3067.00000",
"qty": "0.13902210",
"order_id": "OZWNZS-QE3G6-ZPKZUT",
"timestamp": 1765622021013826600
}
]
}
}Documentation Index
Fetch the complete documentation index at: https://kraken-sandbox.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
The "API-Key" header should contain your API key.
Authenticated requests should be signed with the "API-Sign" header, using a signature generated with your private key, nonce, encoded payload, and URI path.
Nonce used in construction of API-Sign header
Asset pair to get order book for
"YFI/EUR"
Number of price levels to return per side (bids/asks). Use 0 to return the full book.
0, 10, 25, 100, 250, 1000 10
curl --request POST \
--url https://api.kraken.com/0/private/Level3 \
--header 'API-Key: <api-key>' \
--header 'API-Sign: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"nonce": 123,
"pair": "YFI/EUR",
"depth": 10
}
'{
"error": [],
"result": {
"pair": "YFI/EUR",
"bids": [
{
"price": "3062.00000",
"qty": "0.29665800",
"order_id": "O5KJU4-IEQTM-NDMS6W",
"timestamp": 1765622008594292000
},
{
"price": "3062.00000",
"qty": "0.13917400",
"order_id": "OERRY6-MXYER-6EQKNY",
"timestamp": 1765622011396903000
}
],
"asks": [
{
"price": "3066.00000",
"qty": "0.00278335",
"order_id": "ORAWGV-N5L4J-LBA3WH",
"timestamp": 1765622008499456000
},
{
"price": "3067.00000",
"qty": "0.13902210",
"order_id": "OZWNZS-QE3G6-ZPKZUT",
"timestamp": 1765622021013826600
}
]
}
}