Retrieve a list of order books for a given trading symbol. Order books contain bid and ask orders with price levels and quantities. If a venue is specified, only order books from that venue are returned.
curl --request GET \
--url https://api.staging.layer1.com/trade/v1/market-data/order-book/{symbol} \
--header 'Authorization: Bearer <token>'[
{
"timestamp": "2023-10-01T12:00:00Z",
"venue": "kraken",
"symbol": {
"base": {
"code": "BTC"
},
"counter": {
"code": "USD"
}
},
"bids": [
{
"price": "42700.00",
"quantity": "0.5"
},
{
"price": "42650.00",
"quantity": "1.2"
},
{
"price": "42600.00",
"quantity": "0.8"
}
],
"asks": [
{
"price": "42800.00",
"quantity": "0.3"
},
{
"price": "42850.00",
"quantity": "0.7"
},
{
"price": "42900.00",
"quantity": "1.1"
}
],
"type": "INDICATIVE"
}
]Documentation Index
Fetch the complete documentation index at: https://exness-preview.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Trading pair symbol (e.g., BTC-USD, ETH-EUR)
1 - 32Filter order books by specific trading venue
255List of order books retrieved successfully
Timestamp when the order book data was recorded
Trading venue identifier
"kraken"
Venue account of the venue
"kraken"
Trading pair symbol
List of bid orders sorted by price in descending order
Show child attributes
List of ask orders sorted by price in ascending order
Show child attributes
Type of order book (e.g., INDICATIVE, FIRM)
INDICATIVE, AGGREGATED curl --request GET \
--url https://api.staging.layer1.com/trade/v1/market-data/order-book/{symbol} \
--header 'Authorization: Bearer <token>'[
{
"timestamp": "2023-10-01T12:00:00Z",
"venue": "kraken",
"symbol": {
"base": {
"code": "BTC"
},
"counter": {
"code": "USD"
}
},
"bids": [
{
"price": "42700.00",
"quantity": "0.5"
},
{
"price": "42650.00",
"quantity": "1.2"
},
{
"price": "42600.00",
"quantity": "0.8"
}
],
"asks": [
{
"price": "42800.00",
"quantity": "0.3"
},
{
"price": "42850.00",
"quantity": "0.7"
},
{
"price": "42900.00",
"quantity": "1.1"
}
],
"type": "INDICATIVE"
}
]