Skip to main content
POST
/
api
/
binance
/
order_book
/binance/order_book
curl --request POST \
  --url https://api.anysite.io/api/binance/order_book \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "symbol": "<string>",
  "timeout": 300,
  "limit": "100"
}
'
[
  {
    "symbol": "<string>",
    "@type": "BinanceOrderBook",
    "last_update_id": 123,
    "bids": [],
    "asks": []
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
symbol
string
required

Trading pair symbol, uppercase, no separator

Examples:

"BTCUSDT"

"ETHUSDT"

timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500
limit
enum<string>
default:100

Number of price levels to return per side

Available options:
5,
10,
20,
50,
100,
500,
1000,
5000

Response

Successful Response

symbol
string
required
@type
string
default:BinanceOrderBook
last_update_id
integer | null
bids
object[]
asks
object[]