Spot market data
Get Spot order book
Changed onBook snapshot with levels serialized as [price, size] decimal-string arrays. Use depthBooksSpot for ongoing updates instead of polling.
See the Spot API guide.
get/v1/spot/depth
Request
- Base URLhttps://api.ondoperps.xyz
- URLhttps://api.ondoperps.xyz/v1/spot/depth
- Authnone required
Query parameters
marketstring required
Example:NVDA-USDC
Exact Spot identifier.
depthinteger
Response
Success. Inspect item-level outcomes for batch operations.
Example response
{
"result": {
"market": "SPY-USDC",
"time": "2022-06-16T12:35:11.123456Z",
"bids": [
[
"1.55",
"100.0"
]
],
"asks": [
[
"1.55",
"100.0"
]
]
}
}Changes
- info
endpoint added
- info