{"uid":"cap_oHGNN8mHw63HumRjczJCw","slug":"market-resolution-118cd79e","name":"market-resolution","description":"Did it happen? Check whether a prediction market event has settled on Polymarket or Kalshi and get the resolved outcome, resolution time, source and market URL. A cheap oracle for agents that must verify a real-world outcome before acting.","url":"https://x402.fenixfoundry.com/resolution","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"],"type":"string"},"queryParams":{"type":"object","anyOf":[{"required":["q"]},{"required":["venue","id"]}],"properties":{"q":{"type":"string","maxLength":500,"description":"Natural-language event query, e.g. \"Did the US government shut down in 2026?\". Use this or venue+id."},"id":{"type":"string","description":"Direct lookup: Polymarket event slug or Kalshi ticker. Requires venue."},"venue":{"enum":["polymarket","kalshi"],"type":"string","description":"Direct lookup: which venue the market lives on. Requires id."}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["resolved","outcome","resolvedAt","resolutionSource","venue","url","confidence","attribution"],"properties":{"id":{"type":["string","null"]},"url":{"type":["string","null"]},"query":{"type":["string","null"]},"venue":{"enum":["polymarket","kalshi",null],"type":["string","null"]},"outcome":{"type":["string","null"],"description":"Settled outcome as published, e.g. \"Yes\"."},"resolved":{"type":"boolean","description":"True once the venue has settled the market."},"closeTime":{"type":["string","null"],"description":"Scheduled close time for markets that have not settled."},"confidence":{"type":"number","description":"0..1 confidence that this market is the event you asked about."},"resolvedAt":{"type":["string","null"]},"attribution":{"type":"string"},"resolutionSource":{"type":["string","null"],"description":"Venue that published the settlement."}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_dNjJ3CEX7tUy2VRtNZQ7I","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Checks whether a prediction market event has settled on Polymarket or Kalshi and returns the resolved outcome, resolution time, source, and market URL.","exampleAgentPrompt":"Did the US avoid a government shutdown in 2025? Check Polymarket or Kalshi to see if that market has resolved and what the outcome was.","exampleUseCases":[{"title":"Conditional payout on election outcome","prompt":"Before releasing the escrow funds, check if the 2026 US midterm election winner market has resolved on Kalshi and tell me the settled outcome."},{"title":"Fact-check a news claim against markets","prompt":"Someone is claiming the Fed cut rates in March 2025 — has that Polymarket event actually resolved, and if so, what was the outcome?"},{"title":"Automated agent decision gating","prompt":"I need to know if the 'SpaceX Starship orbital flight in 2025' market on Polymarket has settled yet — what was the result and when did it resolve?"}],"resultDescription":"Returns a JSON object indicating whether the market is resolved (boolean), the settled outcome string (e.g. 'Yes' or 'No'), the ISO timestamp of resolution, the resolution source venue, the market URL, and a confidence score (0–1) that the returned market matches the queried event. Unresolved markets return resolved: false with a scheduled close time if available.","failureModes":["No matching market found for the natural-language query — returns low or zero confidence score with null outcome","Market exists but has not yet settled — resolved: false with closeTime instead of resolvedAt","Ambiguous query matches multiple markets — returns best-guess with lower confidence score","Invalid venue/id combination — 400-level error or null result","Venue API unavailability — upstream timeout or service error"],"whenToPreferThis":"Use this endpoint when an agent needs to verify whether a real-world binary event has officially settled according to prediction market venues (Polymarket or Kalshi), especially as a cheap on-demand oracle before triggering conditional logic, payouts, or downstream actions. Prefer over generic web search when you need a structured, machine-readable resolution with a confidence score and canonical source URL rather than free-text news results.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:36:26.316Z","isFirstParty":false}