Orderbook
The order book endpoint is to provide a complete level 2 order book (arranged by best asks/bids) with full depth returned for a given market pair.
Orderbook
GET
https://sapi.finextree.com/api/v0/market/orderbook?symbol=BTC_USDT&depth=10&level=1
Parameters
market_pair
String e.g BTC_USDT
depth
Orders depth quantity: [0,5,10,20,50,100,500]
Not defined or 0 = full order book
Depth = 100 means 50 for each bid/ask side.
level
Level 1 – Only the best bid and ask.
Level 2 – Arranged by best bids and asks.
Level 3 – Complete order book, no aggregation.
Response Body
timestamp
Integer
Unix timestamp in milliseconds for when the last updated time occurred.
bids
decimal
An array containing 2 elements. The offer price and quantity fyor each bid order
asks
decimal
An array containing 2 elements. The ask price and quantity for each ask order
Response
{
"status":"true",
"msg":"success",
"result": {
"timestamp": 1713382097818,
"bids": [[61028.1,2.931],[61027.9,0.863],[],[]...],
"asks": [[61028.1,2.931],[61027.9,0.863],[],[]...],
}
}
Last updated