{"uid":"cap_CBfsr3qp_BkOk06F8yR5b","slug":"agent-data-tools-revmesh2074-workers-dev-polymarket-price-history-d31f876a","name":"Polymarket Price History","description":"Polymarket price history of one market outcome from the CLOB: time and price points over the last hour, 6 hours, day, week, month or all time, with first, last, change, high and low. Give the market slug and outcome, or a CLOB token id. Use to chart how the odds moved, spot a swing after news, or backtest a signal.","url":"https://agent-data-tools.revmesh2074.workers.dev/polymarket/price-history?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"slug":{"type":"string","description":"The market's Polymarket slug (from polymarket_markets) or its polymarket.com URL"},"outcome":{"type":"string","description":"Outcome name, e.g. Yes or No (default the first outcome)"},"interval":{"enum":["1h","6h","1d","1w","1m","max"],"type":"string","description":"1h, 6h, 1d, 1w (default), 1m or max"},"token_id":{"type":"string","description":"Instead of slug: the CLOB token id of one outcome"}}},"responseSchema":{"type":"object","properties":{"low":{"type":"number"},"high":{"type":"number"},"last":{"type":"number"},"note":{"type":"string"},"slug":{"type":"string"},"first":{"type":"number"},"change":{"type":"number"},"points":{"type":"number"},"history":{"type":"array","items":{"type":"object","properties":{"time":{"type":"string"},"price":{"type":"number"}}}},"outcome":{"type":"string"},"tokenId":{"type":"string"},"interval":{"type":"string"},"question":{"type":"string"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USD","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_i_rBERiNqlVoD29u2fx2D","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":"agent-data-tools.revmesh2074.workers.dev","brandSlug":"agent-data-tools-revmesh2074-workers-dev-x402","brandBaseUrl":"https://agent-data-tools.revmesh2074.workers.dev","brandDocsUrl":null,"whatItDoes":"Returns time-series price (probability) history for a single Polymarket prediction market outcome, with OHLC-style summary stats.","exampleAgentPrompt":"Can you pull the weekly price history for the 'Yes' outcome on the Polymarket market 'will-fed-cut-rates-in-2025' and tell me the high, low, and how much it's moved?","exampleUseCases":[{"title":"Odds swing after news event","prompt":"Show me the hourly price history for the 'Yes' outcome on the Polymarket slug 'will-trump-win-2024-election' — I want to see how the odds moved in the last hour after the debate."},{"title":"Monthly trend for backtesting","prompt":"Pull the full monthly price history for the 'No' outcome on Polymarket market 'will-bitcoin-hit-100k-by-eoy', including the high, low, first, and last prices so I can backtest a signal."},{"title":"All-time odds chart","prompt":"Get me the all-time price history for the Polymarket CLOB token ID 12345678 so I can chart how the probability of that outcome has evolved since the market opened."}],"resultDescription":"Returns a JSON object with: an array of {time, price} data points covering the requested interval, plus summary stats (first price, last price, high, low, change), the market question text, resolved outcome name, token ID, slug, and the interval used. Suitable for charting or quantitative analysis.","failureModes":["Invalid or unknown slug returns an error or empty history","Outcome name not found for the given market returns an error","Invalid token_id returns a not-found error","Very short intervals (1h) on low-activity markets may return few or no data points","Network or CLOB upstream timeout returns a 5xx error"],"whenToPreferThis":"Use this endpoint when you need historical probability (price) data for a specific Polymarket prediction market outcome — especially for charting odds movement, spotting post-news swings, or backtesting. Prefer over generic market data APIs when you need Polymarket CLOB-specific time-series data with OHLC-style summaries. Use slug+outcome for human-readable input, or token_id for precise programmatic access.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-17T18:43:30.746Z","isFirstParty":false,"canonicalSlug":"agent-data-tools-revmesh2074-workers-dev-polymarket-price-history-d31f876a"}