Polymarket Full Order Book Price Levels in a Time Window (First 20 Snapshots)
omnial/polymarket-order-book-depth-snapshots
Given a Polymarket outcome token ID and a start and end time, returns the first 20 order book snapshots in that window, oldest first: each snapshot's time (Unix milliseconds), the market's condition ID, the token ID, the tick size and every bid and ask price level with its size (bids from the highest price down, asks from the lowest price up). Prices run from 0 to 1.
Price
Up to $0.0328 per call; you pay what the call used
You pay the price shown. If a call turns out to cost more than its quote, you pay the actual price, capped at twice the quote. No monthly minimum. Top-ups start at $5.00.
Data source
Data from Polymarket.
Use it
Your AI assistant does the work: it finds this tool, shows you the price first, runs it, and you are charged when the run finishes. There is nothing to set up for this tool in particular.
Connect once and your AI can find and run this tool, and any other it needs.
For developers: the calls your assistant makes
// 1. search: find the tool
omnial_search({ query: "what you need" })
// 2. inspect: price and input schema
omnial_inspect({ tool: "omnial/polymarket-order-book-depth-snapshots" })
// 3. learn: read the usage guide at runtime
omnial_learn({ tool: "omnial/polymarket-order-book-depth-snapshots" })
// 4. run: price the exact call first, then run it
omnial_execute({ tool: "omnial/polymarket-order-book-depth-snapshots", input: { /* see input_schema */ }, dry_run: true })
omnial_execute({ tool: "omnial/polymarket-order-book-depth-snapshots", input: { /* ... */ } })
// 5. settle: the call is charged when it finishes, nothing to doNot connected yet? Point your MCP client at https://mcp.eden-engine.com/mcp, then copy a config for your client.
Pricing
Every charge this tool can incur.
| Charge | Price |
|---|---|
Per call | $0.0328 |
- Updated
- Oct 27, 2026
Input and output schemas
Input schema
{
"type": "object",
"required": [
"token_id",
"start_time",
"end_time"
],
"properties": {
"limit": {
"enum": [
20
],
"type": "integer",
"default": 20,
"description": "Snapshots returned: the first 20 in the window. The only value offered."
},
"end_time": {
"type": "integer",
"minimum": 1,
"description": "End of the window, in Unix milliseconds; later than start_time."
},
"token_id": {
"type": "string",
"minLength": 1,
"description": "The outcome token ID of one side (Yes or No) of a Polymarket market: a long decimal number, sent as a string."
},
"start_time": {
"type": "integer",
"minimum": 1,
"description": "Start of the window, in Unix milliseconds."
}
},
"additionalProperties": false
}Output schema
{
"type": "object",
"properties": {
"snapshots": {
"type": "array",
"items": {
"type": "object",
"properties": {
"asks": {
"type": "array",
"items": {
"type": "object",
"properties": {
"size": {
"type": "number",
"description": "Shares offered at this price."
},
"price": {
"type": "number",
"description": "Ask price, 0 to 1."
}
}
},
"description": "Every ask price level, lowest price first."
},
"bids": {
"type": "array",
"items": {
"type": "object",
"properties": {
"size": {
"type": "number",
"description": "Shares bid at this price."
},
"price": {
"type": "number",
"description": "Bid price, 0 to 1."
}
}
},
"description": "Every bid price level, highest price first."
},
"market": {
"type": "string",
"description": "The market's condition ID, a 0x-prefixed hex string."
},
"assetId": {
"type": "string",
"description": "The outcome token ID, as sent."
},
"tickSize": {
"type": "string",
"description": "The tick size Polymarket reports for the market, as a decimal string; price levels can sit at finer steps than this value."
},
"timestamp": {
"type": "number",
"description": "Snapshot time, Unix milliseconds."
}
}
},
"description": "Up to 20 snapshots, oldest first."
}
},
"description": "The token's order book snapshots in the window, as returned after shaping."
}