Orderbook
GetOrderBook
Returns a simulated aggregated order-book depth for one market: bid and ask price levels, each bucketed by tickSize and sorted toward the best price. Resolved by market_id or market_symbol.
post/orderbook_service.v1.OrderBookService/GetOrderBook
Request
- Base URLhttps://api.fairground.fi
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
Connect-Protocol-Version1 required
Define the version of the Connect protocol. If omitted, use 1.
Connect-Timeout-Msnumber
Define the timeout, in ms
Request body
Response
Success
Example response
{
"orderBook": {
"timestamp": "2023-01-15T01:30:15.01Z"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.