{"uid":"cap_64oA6NB5d8qSNYq4cml3C","slug":"prediction-market-detail-lookup-755332a5","name":"Prediction Market Detail Lookup","description":"Detail of ONE prediction market or event by numeric id, 0x conditionId, market-slug or event-slug (auto-detected): normalized outcomes with implied probabilities, volume, liquidity, close date, status and a link-back.","url":"https://payai.agentstools.dev/prediction/market","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)"},"id_type":{"enum":["market_id","condition_id","market_slug","event_slug"],"type":"string","description":"Optional hint; auto-detected if omitted"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.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_yMKbcN1nDgjwsQVabk2VE","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches normalized details for a single prediction market or event by ID, condition ID, slug, or event slug, including outcome probabilities, volume, liquidity, status, and close date.","exampleAgentPrompt":"Can you pull up the current odds and liquidity for the Polymarket event 'will-the-fed-cut-rates-in-2025' — I want to see the implied probabilities for each outcome and when the market closes?","exampleUseCases":[{"title":"Check election prediction market odds","prompt":"Hey, can you look up the prediction market for the 2024 US presidential election on Polymarket and tell me the current implied probabilities for each candidate, how much volume it's done, and when it closes?"},{"title":"Verify market liquidity before trading","prompt":"Before I place a trade, can you pull up the details for this Polymarket market slug 'will-bitcoin-reach-100k-in-2024' and let me know how much liquidity is available and what the current odds look like for each outcome?"},{"title":"Check if a market has resolved","prompt":"I want to know if the Polymarket event for the SpaceX Starship orbital launch has already resolved — can you look it up by its slug and tell me the current status, the winning outcome if it's closed, and what the final probabilities were?"}],"resultDescription":"Returns a normalized object for the prediction market including: list of outcomes with implied probabilities, total trading volume, available liquidity, market close date, current status (open/closed/resolved), and a link back to the market on Polymarket.","failureModes":["Market ID not found: returns 404 or empty result if the numeric ID, slug, or condition ID does not exist on Polymarket","Ambiguous ID type: if auto-detection fails for the provided ID format, may return incorrect market","Payment failure: x402 payment of $0.01 USDC not sent or rejected, resulting in 402 response","Invalid venue: only 'polymarket' is supported; other venues return an error","Malformed condition ID: 0x hex strings that are not valid condition IDs return an error"],"whenToPreferThis":"Use this endpoint when you need detailed, normalized data for a single prediction market — including outcome probabilities, volume, liquidity, and status — identified by any of its common identifiers (numeric ID, condition ID, market slug, or event slug). Prefer this over building raw Polymarket API calls when you need auto-detection of ID type and normalized probability outputs in one call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:46:15.114Z","isFirstParty":false}