---
title: "Get Spot order book"
method: GET
path: "/v1/spot/depth"
tags: ["Spot market data"]
---

# Get Spot order book

`GET /v1/spot/depth`

## Request

- Base URL: `https://api.ondoperps.xyz`
- URL: `https://api.ondoperps.xyz/v1/spot/depth`
- Auth: none required

Book snapshot with levels serialized as [price, size] decimal-string arrays. Use depthBooksSpot for ongoing updates instead of polling.

See the [Spot API guide](/api-reference/spot-api-guide).

## Query parameters

- `market` string, required
- `depth` integer

## Response `200`

Success. Inspect item-level outcomes for batch operations.

- object
  - `success` boolean, required
  - `result` SpotBookSnapshot
    - `market` string, required: Trading market
    - `time` string, date-time, required: Snapshot timestamp
    - `bids` BookLevel[], nullable, required: Best bid price levels, sorted descending by price
      - string[]: Price level represented as [price, quantity]
    - `asks` BookLevel[], nullable, required: Best ask price levels, sorted ascending by price
      - string[]: Price level represented as [price, quantity]
    - `depthLevels` string: Optional price grouping increment.

## Other responses

- `400`: Validation error; inspect error_code and error.
- `429`: Rate limit exceeded. Slow down request frequency.

## Changes

- **2026-11-03** `1601c3adedda`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/ondoperps/apis/ondo-perps-rest-api/changes/v1/spot/depth/get.md)

---

[API](https://skmtc.dev/ondoperps/apis/ondo-perps-rest-api.md) - [All operations](https://skmtc.dev/ondoperps/apis/ondo-perps-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/ondoperps/apis/ondo-perps-rest-api/revisions/1601c3adedda?raw)
