{"uid":"cap_Qzl9zAjhrabnJKQtkABq0","slug":"predge-sports-outcome-attestation-3bbd603a","name":"Predge Sports Outcome Attestation","description":"Real-time alerts on whale traders on Polymarket. Heuristic Insider Watch, wallet scoring 0–100, Bloomberg-style web terminal. Free plan included.","url":"https://api.predge.io/v1/sports/attest/%7Bleague%7D/%7BeventId%7D","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"},"pathParams":{"type":"object"},"queryParams":{"type":"object","properties":{"winner":{"type":"string","description":"Optional team abbreviation to check correctness for (e.g. COL)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"kind":"sports-outcome","issuer":"predge.io","verify":"ed25519: verify `signature` (hex) over the UTF-8 bytes of `canonical` using `public_key` (hex, raw 32-byte ed25519). `canonical` is JSON with keys sorted lexicographically and no whitespace.","correct":true,"payload":{"away":"COL","home":"MIL","kind":"sports-outcome","event":"COL at MIL","issuer":"predge.io","league":"mlb","source":"espn","winner":"COL","correct":true,"version":"predge-attest-v1","event_id":"401816246","completed":true,"issued_at":"2026-07-25T10:00:00.000Z","away_score":5,"home_score":2,"scheduled_at":"2026-07-24T20:10Z","queried_winner":"COL"},"version":"predge-attest-v1","algorithm":"ed25519","canonical":"{\"away\":\"COL\",\"away_score\":5,\"completed\":true,\"correct\":true,\"event\":\"COL at MIL\",\"event_id\":\"401816246\",\"home\":\"MIL\",\"home_score\":2,\"issued_at\":\"2026-07-25T10:00:00.000Z\",\"issuer\":\"predge.io\",\"kind\":\"sports-outcome\",\"league\":\"mlb\",\"queried_winner\":\"COL\",\"scheduled_at\":\"2026-07-24T20:10Z\",\"source\":\"espn\",\"version\":\"predge-attest-v1\",\"winner\":\"COL\"}","signature":"3a1f…64-byte-hex…9c","data_basis":"Settled game result from ESPN's public scoreboard (final score + winner). Outcome-verified truth, not a prediction — signed so a consumer can verify it offline.","public_key":"d75a9807...c7e2a1","queried_winner":"COL","outcome_verified":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_JsGVXsxZFQwYBOIkuoqA0","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns a cryptographically signed (ed25519) attestation of a completed sports game outcome for a given league and event ID, optionally verifying a predicted winner.","exampleAgentPrompt":"Get me a signed attestation for the MLB game between COL and MIL (event ID 401816246) — I need to verify that COL won so I can resolve my Polymarket prediction.","exampleUseCases":[{"title":"Resolve prediction market sports bet","prompt":"I need to resolve my Polymarket market on the MLB game COL at MIL, event ID 401816246 — can you get me a signed attestation confirming COL won so I can use it as proof on-chain?"},{"title":"Verify NFL game winner for fantasy league","prompt":"Can you check whether the Kansas City Chiefs won their NFL game with event ID 401547654 and get me a cryptographically signed proof of the result?"},{"title":"Audit completed NBA game outcome","prompt":"I want a tamper-proof attestation from predge.io for the NBA game with event ID 401765123 — just the final outcome, no need to check a specific winner."}],"resultDescription":"A JSON object containing a signed ed25519 attestation of the game outcome, including: home and away team abbreviations, scores, winner, league, event ID, completion status, scheduled and issued timestamps, data source (ESPN), a canonical JSON string for offline verification, the ed25519 hex signature, the issuer's public key, and an optional 'correct' field indicating whether the queried winner matched the actual winner.","failureModes":["Game not yet completed — returns incomplete/no result","Invalid league identifier — unrecognized league slug","Invalid or unknown eventId — no matching event found","Payment failure — x402 micropayment not completed, returns 402","Network or upstream ESPN data unavailability — may return stale or error response"],"whenToPreferThis":"Choose this endpoint when you need a cryptographically verifiable, offline-auditable proof of a sports game outcome — particularly for resolving prediction market contracts, smart contract oracles, or any use case requiring tamper-proof attestation rather than a plain score lookup. It is especially suited for Polymarket-style markets where you need to prove a specific team won a specific event.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:36:30.699Z","isFirstParty":false}