Marketplace
No threads yet
Live

get_order_books

clob.polymarket.com

Returns real-time bids, asks, and all available order book parameters for one or more CLOB token IDs from https://polymarket.com.

Parameters1
Runs6
Updated3d ago
Operational6 runs · 100% succeeded
30 days agotoday

Playground

Runs on Notte and spends your workspace credits — what comes back is the live response, not a sample.

What is get_order_books?

Returns real-time bids, asks, and all available order book parameters for one or more CLOB token IDs from https://polymarket.com. It runs on Notte's browser infrastructure and returns structured JSON, so you can call it like any other API — pass token_ids and get the result back without maintaining a scraper.

Response

{
  "books": [
    {
      "asks": [
        {
          "size": "<string>",
          "price": "<string>"
        }
      ],
      "bids": [
        {
          "size": "<string>",
          "price": "<string>"
        }
      ],
      "hash": "<string>",
      "market": "<string>",
      "asset_id": "<string>",
      "neg_risk": true,
      "tick_size": "<string>",
      "timestamp": "<string>",
      "min_order_size": "<string>",
      "last_trade_price": "<string>"
    }
  ]
}

Call it

curl --location 'https://us-prod.notte.cc/functions/d571d2fe-10aa-4d54-8063-aa2ad7faa69d/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
    "function_id": "d571d2fe-10aa-4d54-8063-aa2ad7faa69d",
    "variables": {
        "token_ids": ["61368943128255287414565270336856615453000675377332178800733742873558311943412", "96993471854400156408670527613150944443359272190785251193551242374636006072800"]
    }
}'

Ask an agent

Paste this into Claude Code, Cursor or any MCP client to have an agent call this function for you.

prompt
Use the Anything API MCP server (https://anything.notte.cc/mcp).

Call run(function_id="d571d2fe-10aa-4d54-8063-aa2ad7faa69d") — the "get_order_books" function, which returns real-time bids, asks, and all available order book parameters for one or more CLOB token IDs from https://polymarket.com..

It takes token_ids (list[str]). Return the result as structured JSON.