xpay hub logo
hub
  • Tools
  • Explore
  • Docs
  • xpay.sh
Dome API
Dome API
Tool

dome_orderbook_history

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.


Pricing

Per call

$0.02

Model

flat


Pay only for what you use. No subscriptions.
Inputs

end_time

integer

limit

integer

start_time

integer

token_id *

string

pagination_key

string
Try It
API
MCP Config
Input Parameters
end_time
End time in Unix timestamp (milliseconds). Optional - if not provided along with start_time, returns the latest orderbook snapshot.
limit
Maximum number of snapshots to return (default: 100, max: 200). Ignored when fetching the latest orderbook without start_time and end_time.
start_time
Start time in Unix timestamp (milliseconds). Optional - if not provided along with end_time, returns the latest orderbook snapshot.
token_id *
The token id (asset) for the Polymarket market
pagination_key
Pagination key to get the next chunk of data. Ignored when fetching the latest orderbook without start_time and end_time.
Cost per run
Execution cost
$0.02
Deducted from your xPay allowance
xpay hub logo
hub

Marketplace for AI Capabilities. Run agents, tools & prompts with pay-per-use micropayments.

Product
ExploreCollectionsBundles
Resources
Documentationxpay.shGitHub

© 2026 Agentically Inc. All rights reserved.Microtransactions happen via Stablecoins