# Get the Polymarket order book with USD depth

**Use case:** 

Ready-to-run example: every bid and ask level with size, best bid and ask, the spread, and the total USD depth standing on each side.

## Input

```json
{
  "platforms": [
    "polymarket"
  ],
  "mode": "markets",
  "search": "bitcoin",
  "eventSlugs": [],
  "seriesTicker": "KXHIGHNY,KXHIGHCHI",
  "tickers": [],
  "status": "open",
  "maxItems": 50,
  "includeOrderBook": true,
  "includeHistory": false,
  "historyDays": 7,
  "historyIntervalMinutes": "60",
  "monitorChangesOnly": false,
  "watchFields": [
    "price",
    "status"
  ],
  "minEdge": 2,
  "minSimilarity": 50
}
```

## Output

```json
{
  "platform": {
    "label": "Venue",
    "format": "text"
  },
  "question": {
    "label": "Question",
    "format": "text"
  },
  "yesPrice": {
    "label": "Yes",
    "format": "number"
  },
  "noPrice": {
    "label": "No",
    "format": "number"
  },
  "volume": {
    "label": "Volume",
    "format": "number"
  },
  "volume24h": {
    "label": "24h vol",
    "format": "number"
  },
  "liquidity": {
    "label": "Liquidity",
    "format": "number"
  },
  "openInterest": {
    "label": "Open int.",
    "format": "number"
  },
  "status": {
    "label": "Status",
    "format": "text"
  },
  "closeTime": {
    "label": "Closes",
    "format": "date"
  },
  "url": {
    "label": "Link",
    "format": "link"
  },
  "marketId": {
    "label": "Market id",
    "format": "text"
  },
  "eventTitle": {
    "label": "Event",
    "format": "text"
  },
  "type": {
    "label": "Row",
    "format": "text"
  }
}
```

## About this Actor

This example demonstrates how to use [Polymarket Order Book Scraper API - CLOB Bids & Asks](https://apify.com/vonsensey/polymarket-orderbook-clob-prices-scraper-api.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/vonsensey/polymarket-orderbook-clob-prices-scraper-api.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/vonsensey/polymarket-orderbook-clob-prices-scraper-api.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
