Playbook
Polymarket guidance
Use Polymarket for read-only prediction-market data: what a market asks, what it is priced at, how that price moved, and how it resolved. There is no trading. Identifiers differ by tool, and all of them come from a market record:id(numeric market id):polymarket_get_market.clobTokenIds(one token per outcome, in the same order asoutcomes):polymarket_get_price,polymarket_get_midpoint,polymarket_get_spread,polymarket_get_order_book,polymarket_get_price_history,polymarket_get_batch_price_history.conditionId(0x hash): themarketinput ofpolymarket_list_trades,polymarket_get_holders,polymarket_get_open_interest.- event
id:polymarket_get_live_volume.
- Find markets with
polymarket_search(keyword) orpolymarket_list_markets(filters). Search returns events with nestedmarkets. - A market record already carries current prices in
outcomePrices, so pricing many markets needs no per-token call. Usepolymarket_get_midpointorpolymarket_get_pricefor a fresh single quote, andpolymarket_get_spreadorpolymarket_get_order_bookto judge whether a thinly traded price is meaningful. - For past prices, call
polymarket_get_price_historywith the outcome token asmarket. Useinterval(1h,6h,1d,1w,1m,max) with afidelityin minutes; an explicitstartTs/endTswindow longer than a few weeks is rejected as too long, so preferinterval: "max"with a coarsefidelitysuch as1440for long ranges. History remains available after a market resolves. - For past results, call
polymarket_list_marketswithclosed: true. A resolved market hasumaResolutionStatus: "resolved"andoutcomePricesof1for the winning outcome and0for the others.
outcomes, outcomePrices, and clobTokenIds as JSON-encoded strings; Deepline results return them as arrays, index-aligned with each other. Prices are probabilities between 0 and 1, usually decimal strings. Timestamps in price history (t) are unix seconds.
In polymarket_get_holders the top-level token of each group is masked as [REDACTED] by Deepline’s generic secret filter. Read the outcome token id from holders[].asset instead, and the outcome from holders[].outcomeIndex.