GET /orderbook
Request
GET /api/v1/orderbook?exchange={exchange}&symbol={symbol}&limit={limit}Parameters
Parameter
Type
Required
Default
Description
Response
{
"exchange": "mexc",
"symbol": "BTC/USDT",
"bids": [
{ "price": 42148.00, "amount": 0.5, "total": 0.5 },
{ "price": 42145.00, "amount": 1.2, "total": 1.7 },
{ "price": 42140.00, "amount": 0.8, "total": 2.5 }
],
"asks": [
{ "price": 42152.00, "amount": 0.3, "total": 0.3 },
{ "price": 42155.00, "amount": 0.7, "total": 1.0 },
{ "price": 42160.00, "amount": 1.5, "total": 2.5 }
],
"spread": 4.00,
"spreadPercent": 0.0095,
"timestamp": 1710000000000
}Response Fields
Field
Type
Description
Examples
Errors
Code
Error
Description
Last updated