Retrieve historical Polymarket order books using an outcome token ID. Returns historical Polymarket order-book snapshots and pagination for a specified outcome token. Use one Toolmu account and a shared prepaid balance across available Tools. Pay per use; no separate supplier subscription is required. The current execution ceiling for this Tool is 0.0288 Toolmu credits per call. This is a maximum, not the settled charge. Before execution, get the current Tool contract and check availability, the latest maximumCredits, your balance and budget. Supplier response credits_used, when present, describes supplier API credits and is not the Toolmu customer charge.
Up to 0.0288 credits / call
The final charge is based on confirmed usage. Unused reserved credits return to your available balance.
Surf
Polymarket Historical Order Book Data
Retrieve historical Polymarket order books using an outcome token ID. Returns historical Polymarket order-book snapshots and pagination for a specified outcome token. Use one Toolmu account and a shared prepaid balance across available Tools. Pay per use; no separate supplier subscription is required. The current execution ceiling for this Tool is 0.0288 Toolmu credits per call. This is a maximum, not the settled charge. Before execution, get the current Tool contract and check availability, the latest maximumCredits, your balance and budget. Supplier response credits_used, when present, describes supplier API credits and is not the Toolmu customer charge.
You receive
Returns historical Polymarket order-book snapshots and pagination for a specified outcome token. Use an outcome token ID rather than a condition ID. Millisecond snapshot times and historical levels do not establish current executable liquidity.
Start with your task
Use [Polymarket question link] to review past buy and sell offers for [Yes, No, or an outcome] over [the past 7 days]. Explain the best buyer and seller prices in simple terms. If there are several questions or outcomes, ask which one. Note past offers may no longer be available.
Inputs & outputs
Inspect the current inputs, availability, and maximum charge before starting.
Input schema
Input schema
Field / Path
Type
Requirement
Meaning
queryParamsqueryParams
object
Required
Required fields
token_id
limitqueryParams.limit
integer
Optional
Maximum number of snapshots to return. Defaults to 100.
Default
100
Minimum
1
Maximum
200
end_timequeryParams.end_time
integer
Optional
End time in Unix milliseconds. 0 means current time.
queryParams.start_time (Optional): Start time in Unix milliseconds. 0 means 7 days ago.
queryParams.pagination_key (Optional): Base64 cursor for pagination.
What this Tool returns
Returns historical Polymarket order-book snapshots and pagination for a specified outcome token.
Response fields and how to read them
The table follows the official response contract, including nested fields and useful response metadata. [] denotes an array item. Required means required within its parent object, not that a conditional parent always exists. A nullable type permits null; an optional field can be absent. Use the documented conditions below to distinguish missing, empty and zero values. Units and reporting windows apply only where explicitly documented.
Field, type and presence
Meaning and conditions
pagination
object; Required within parent
Schema-defined object or item group: #/components/schemas/V2CursorPagination. Read its nested fields below; the group has no separate documented meaning.
pagination.count
integer; Required within parent; format: int64
Items in current response
pagination.has_more
boolean; Required within parent
Whether more data is available
pagination.limit
integer; Required within parent; format: int64
Requested limit
pagination.pagination_key
string; Optional within parent
Base64 cursor for next page
snapshots
array | null; Required within parent
The official contract declares this field but does not explain its meaning or units. Treat its interpretation as unverified; do not infer completeness or a unit from the field name.
snapshots.[].asks
array | null; Required within parent
Sell orders, price-ordered
snapshots.[].asks.[].price
number; Required within parent; format: double
Price level (0-1)
snapshots.[].asks.[].size
number; Required within parent; format: double
Quantity at this price level
snapshots.[].assetId
string; Required within parent
Token identifier
snapshots.[].bids
array | null; Required within parent
Buy orders, price-ordered
snapshots.[].bids.[].price
number; Required within parent; format: double
Price level (0-1)
snapshots.[].bids.[].size
number; Required within parent; format: double
Quantity at this price level
snapshots.[].hash
string; Required within parent
Orderbook state identifier
snapshots.[].indexedAt
integer; Required within parent; format: int64
Indexing time in milliseconds
snapshots.[].market
string; Required within parent
Market condition ID
snapshots.[].tickSize
string; Required within parent
Minimum price increment
snapshots.[].timestamp
integer; Required within parent; format: int64
Snapshot time in milliseconds
Coverage, units and freshness
Use an outcome token ID rather than a condition ID. Millisecond snapshot times and historical levels do not establish current executable liquidity.
Inspect any returned observation time, cache status, watermark, pagination and errors using their documented meanings. A successful request alone does not establish complete coverage. Where no freshness or completeness guarantee is documented, treat it as unknown. Saved Examples are historical and viewing them does not refresh data or execute a new call.
Data source and references
Surf supplies this endpoint through its Data API. Response contract and deployed Tool inputs reviewed on 2026-10-03 against official OpenAPI v0.2.102. This is a contract review date, not a data observation time. Coverage depends on the selected endpoint and request.
Use one Toolmu account and a shared prepaid balance across available Tools. Pay per use; no separate supplier subscription is required. The current execution ceiling for this Tool is 0.0288 Toolmu credits per call. This is a maximum, not the settled charge. Before execution, get the current Tool contract and check availability, the latest maximumCredits, your balance and budget. Supplier response credits_used, when present, describes supplier API credits and is not the Toolmu customer charge.
Ask for a familiar range, for example [the past 7 days] or [the past 30 days].
Use [Polymarket question link] to review past buy and sell offers for [Yes, No, or an outcome] over [the past 7 days]. Explain the best buyer and seller prices in simple terms. If there are several questions or outcomes, ask which one. Note past offers may no longer be available.
Understand historical offers
Try: [How did the highest buyer offer and lowest seller offer change?] Past offers may no longer be available now.
Questions about this tool.
Inputs, results and details to know before running it.
queryParams.limit (Optional): Maximum number of snapshots to return. Defaults to 100. queryParams.end_time (Optional): End time in Unix milliseconds. 0 means current time. queryParams.token_id (Required): Token identifier. Example: 73662070458561467734997715458900555626841827840002814944742182699282770895284. queryParams.start_time (Optional): Start time in Unix milliseconds. 0 means 7 days ago. queryParams.pagination_key (Optional): Base64 cursor for pagination.
Returns historical Polymarket order-book snapshots and pagination for a specified outcome token.
Use an outcome token ID rather than a condition ID. Millisecond snapshot times and historical levels do not establish current executable liquidity.
Use one Toolmu account and a shared prepaid balance across available Tools. Pay per use; no separate supplier subscription is required. The current execution ceiling for this Tool is 0.0288 Toolmu credits per call. This is a maximum, not the settled charge. Before execution, get the current Tool contract and check availability, the latest maximumCredits, your balance and budget. Supplier response credits_used, when present, describes supplier API credits and is not the Toolmu customer charge.
Ask your agent to Retrieve historical Polymarket order books using an outcome token ID. Provide the required inputs above. If Toolmu is already connected, reuse that connection; otherwise use the setup instructions on this page. Before a paid execution, the agent must read the current Tool contract and check availability, the credit ceiling, balance, budget and your authorization. It should then execute the Tool and explain the returned fields and limitations.
Inspect any returned observation time, cache status, watermark, pagination and errors using their documented meanings. A successful request alone does not establish complete coverage. Where no freshness or completeness guarantee is documented, treat it as unknown. Saved Examples are historical and viewing them does not refresh data or execute a new call.