{"uid":"cap_rn2TCt4bZjsY0J9raG2kw","slug":"prediction-prices-3828fee8","name":"prediction-prices","description":"Odds/price history for ONE outcome of a prediction market (by id, 0x conditionId or slug): a normalized implied-probability time series plus a momentum summary — change, percent change, min/max, current and trend.","url":"https://payai.agentstools.dev/prediction/prices","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":"Market/event id: numeric id, 0x conditionId, market-slug or event-slug"},"venue":{"enum":["polymarket"],"type":"string","description":"Venue (default polymarket)"},"outcome":{"type":"string","description":"Outcome name (e.g. Yes/No) or index; default index 0 (usually Yes)"},"fidelity":{"type":"integer","minimum":1,"description":"Resolution in minutes (default per interval)"},"interval":{"enum":["1h","6h","1d","1w","1m","max"],"type":"string","description":"History window (default 1d)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.015","displayCostAsset":"USDC","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.015/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.015","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.015","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_WiThF0x0wFwxFrEXOcF1k","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.015","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns a normalized implied-probability price/odds time series and momentum summary for one outcome of a Polymarket prediction market, identified by market ID, conditionId, or slug.","exampleAgentPrompt":"Can you pull the implied probability history for the 'Yes' outcome on the Polymarket market with slug 'will-btc-hit-100k-in-2025' over the past week, and tell me the current price, how much it's changed, and which direction it's trending?","exampleUseCases":[{"title":"Momentum check on election market","prompt":"Can you look up the odds history for the 'Yes' outcome on the Polymarket market with slug 'trump-wins-2024-presidential-election' over the past 30 days and tell me the current implied probability, how much it's moved, and whether it's trending up or down?"},{"title":"Compare min and max odds over time","prompt":"I want to know what the highest and lowest implied probability has been for the 'Yes' outcome on Polymarket market ID 12345 over the past week — can you pull the full price series and give me the min, max, and where it stands right now?"},{"title":"Spot sudden probability spike","prompt":"Can you grab the recent implied-probability time series for the 'No' outcome on the Polymarket market with conditionId 0xabc123def456 over the last 24 hours and tell me if there's been any big move or sudden trend change I should know about?"}],"resultDescription":"Returns a normalized implied-probability time series for the specified outcome (e.g. Yes/No), along with a momentum summary including: current price, absolute and percent change over the interval, historical minimum and maximum, and a trend label — giving a full picture of how market sentiment has shifted.","failureModes":["Unknown or invalid market ID/slug returns a 404 or empty result","Ambiguous outcome name not matching any outcome returns an error or defaults to index 0","Unsupported venue value returns a validation error","Interval or fidelity combination with no available data returns empty series","Payment not included or insufficient USDC triggers 402 Payment Required"],"whenToPreferThis":"Use this endpoint when you need historical implied-probability data and momentum analytics for a single Polymarket prediction market outcome, identified by numeric ID, 0x conditionId, or slug. Prefer it over generic market data APIs when you specifically need normalized probability time series (not raw token prices) and a precomputed momentum summary (change, trend, min/max) in one call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T07:02:14.243Z","isFirstParty":false}