cURL
curl --request GET \ --url https://api.rivermarkets.com/v1/orderbooks/{river_id} \ --header 'x-api-key: <api-key>'
{ "status": "ok", "orderbook": { "bids": [ { "price": 123, "qty": 123 } ], "asks": [ { "price": 123, "qty": 123 } ], "river_id": 123, "custom_asset_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "best_bid_price": 123, "best_ask_price": 123, "exchange_timestamp": "2023-11-07T05:31:56Z" }, "message": "<string>" }
Get orderbook for a river_id.
API key for programmatic access. Generate one at app.rivermarkets.com under Settings → API Keys.
Number of price levels to return
1 <= x <= 10
Successful Response
ok
pending
not_found
Show child attributes