---
title: "Order book"
method: GET
path: "/api/v1/book/{tokenId}"
tags: ["markets"]
---

# Order book

`GET /api/v1/book/{tokenId}`

## Request

- Base URL: `https://predict.dex.mk`
- URL: `https://predict.dex.mk/api/v1/book/{tokenId}`
- Auth: none declared

Live bids and asks for one outcome token (price 0-1, size in shares), with spread, midpoint and last trade.

## Path parameters

- `tokenId` string, required

## Query parameters

- `depth` integer

## Response `200`

Order book

- object

## Other responses

- `400`: Invalid or missing parameter; body {error, message}
- `429`: Too many requests; honour Retry-After
- `502`: Polymarket did not answer in time; retry shortly

---

[API](https://skmtc.dev/dex/apis/predictdex-api.md) · [All operations](https://skmtc.dev/dex/apis/predictdex-api/llms.txt) · [OpenAPI document](https://skmtc.dev/dex/apis/predictdex-api/revisions/34386b074c69?raw)
