Get Live Polymarket CLOB or Kalshi Bid/Ask Orderbook Depth & Spread
get_market_orderbookFetch live normalized bid/ask orderbook levels, best_bid, best_ask, mid_price implied probability, spread_bps, and total USD notional depth from Polymarket CLOB (by token_id) or Kalshi Exchange (by ticker) or unified market_id. Cost: 5 Credits / call (0 Credits on 404).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_market_orderbook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ticker | No | Kalshi contract ticker (e.g. "KXELONMARS-99"). | |
| token_id | No | Polymarket CLOB asset token_id from clob_token_ids. | |
| market_id | No | Unified market_id (auto-resolves CLOB token_id or Kalshi ticker). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Status code (0 indicates success). | |
| data | Yes | Normalized L2 bid/ask orderbook depth and spread telemetry. | |
| status | Yes | Response status string ("ok"). | |
| provider | No | Canonical gateway provider URL. |