Order Book
Top bids and asks with the spread, from the Coinbase order book.
GET
/api/v1/crypto/orderbookData source
- Coinbase Exchange market dataCoinbase ·
unknown· updates Real-time
Query parameters
| Parameter | Description | Try value |
|---|---|---|
coinstring required | Ticker | |
vsstring | Quote currency (default USD) | |
depthnumber | Levels per side, 1–50 (default 10) | |
apikeystring required | Your API key. Can also be sent as the X-API-Key header. | demo key used here |
Response envelope
Success: { data, meta: { sources, fetchedAt, cached } }. Errors: { error: { code, message } } with HTTP 400, 401, 404, 502, 503 or 504.