Dome Orderbook History
dome_orderbook_historyFetches historical orderbook snapshots for a specific asset (token ID) over a specified time range. If no start_time and end_time are provided, returns the latest orderbook snapshot for the market. Returns snapshots of the order book including bids, asks, and market metadata in order. All timestamps are in milliseconds. Orderbook data has history starting from October 14th, 2025. Note: When fetching the latest orderbook (without start/end times), the limit and pagination_key parameters are ignored.
When to Use
Use this tool when you need to fetches historical orderbook snapshots for a specific asset (token id) over a specified time range. if no start_time and end_time are provided, returns the latest orderbook snapshot for the market. returns snapshots of the order book including bids, asks, and market metadata in order. all timestamps are in milliseconds. orderbook data has history starting from october 14th, 2025. note: when fetching the latest orderbook (without start/end times), the limit and pagination_key parameters are ignored.. This is part of the Dome API provider on xpay✦.
MCP Connection
Connect to xpay✦ to access this tool (and 16+ others):
{
"mcpServers": {
"xpay": {
"url": "https://mcp.xpay.sh/mcp?key=YOUR_API_KEY"
}
}
}
For Claude Code:
claude mcp add --transport http xpay "https://mcp.xpay.sh/mcp?key=YOUR_API_KEY"
How to Execute
Use the xpay✦ meta-tools to run this tool:
xpay_details— Get full input schema:xpay_details("dome/dome_orderbook_history")xpay_run— Execute:xpay_run("dome/dome_orderbook_history", { ...inputs })
Input Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
end_time | integer | No | End time in Unix timestamp (milliseconds). Optional - if not provided along with start_time, returns the latest orderbook snapshot. |
limit | integer | No | Maximum number of snapshots to return (default: 100, max: 200). Ignored when fetching the latest orderbook without start_time and end_time. |
start_time | integer | No | Start time in Unix timestamp (milliseconds). Optional - if not provided along with end_time, returns the latest orderbook snapshot. |
token_id | string | Yes | The token id (asset) for the Polymarket market |
pagination_key | string | No | Pagination key to get the next chunk of data. Ignored when fetching the latest orderbook without start_time and end_time. |
Pricing
- Cost: $0.02/call
- Balance check: Use
xpay_balanceto check remaining credits - Get your API key at xpay.tools — $5 free credits included
Related Skills
- Dome API (all tools) — 17 tools
- Dome Markets — $0.02/call
- Dome Market Price — $0.02/call
- Dome Markets Get — $0.02/call
- Dome Activity — $0.02/call
- Dome Binance Prices — $0.02/call
Links
- Tool page: https://xpay.tools/dome/dome-orderbook-history/
- Provider: https://xpay.tools/dome/
- All tools: https://xpay.tools/explore
How to Execute
Input Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
end_time | integer | No | End time in Unix timestamp (milliseconds). Optional - if not provided along with start_time, returns the latest orderbook snapshot. |
limit | integer | No | Maximum number of snapshots to return (default: 100, max: 200). Ignored when fetching the latest orderbook without start_time and end_time. |
start_time | integer | No | Start time in Unix timestamp (milliseconds). Optional - if not provided along with end_time, returns the latest orderbook snapshot. |
token_id | string | Yes | The token id (asset) for the Polymarket market |
pagination_key | string | No | Pagination key to get the next chunk of data. Ignored when fetching the latest orderbook without start_time and end_time. |
Install Skill
Pricing
Cost
$0.02/call
Model
Flat rate
Provider
Dome API

