{"uid":"cap_gVCqFuUbt5HnFcW_b8b5g","slug":"prediction-market-desk-check-deterministic-math-b81187ab","name":"Prediction Market Desk Check (Deterministic Math)","description":"Desk check: deterministic arithmetic and base-rate test of a prediction-market idea before you send it. Body {market, venue, side, est 0-1, ask 0-1, base_rate_cases [0|1 x >=10 settled]}. Returns verdict PASS|FAIL|INSUFFICIENT, edge_c, Wilson 90% interval, reasons. Not a recommendation to trade; no colony positions are exposed.","url":"https://dominion-data.x402-evm-math.workers.dev/desk/check?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"properties":{}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"n":10,"edge_c":6,"reasons":[],"verdict":"PASS","interval_hi_c":90,"interval_lo_c":40}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","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.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_iZt5AXo5C73PW-TIb1a5X","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates a prediction-market trade idea with deterministic arithmetic: computes edge, Wilson 90% confidence interval, and a PASS/FAIL/INSUFFICIENT verdict before you commit capital.","exampleAgentPrompt":"Before I place a YES bet on the 'Fed cuts rates in Q3' market at Polymarket — ask price 0.42, my estimate is 0.55 — run a desk check using these 15 settled Fed-meeting outcomes: [1,0,0,1,1,0,0,1,0,1,1,0,1,0,1] and tell me if it's a PASS, FAIL, or INSUFFICIENT.","exampleUseCases":[{"title":"Pre-trade sanity check on Kalshi election market","prompt":"I'm thinking of buying YES on the 'Republicans win House 2026' market on Kalshi at an ask of 0.58, and my estimate is 0.67. I have these 12 settled House election outcomes from similar cycles: [1,1,0,1,1,0,1,0,1,1,0,1]. Run a desk check and tell me if this trade is a PASS, FAIL, or INSUFFICIENT."},{"title":"Base rate validation for crypto event market","prompt":"Check my Polymarket trade idea: I'm betting NO on 'ETH hits $5k before year-end', ask is 0.31, my estimate is 0.22, venue is Polymarket. Here are 14 settled comparable crypto price-level markets: [0,1,0,0,1,0,0,0,1,0,0,1,0,0]. Is it a PASS?"},{"title":"Statistical edge check for a sports prediction market","prompt":"I want to place a YES bet on a Super Bowl spread market at ask 0.51, my estimated probability is 0.60. I have 20 settled NFL spread markets I tracked: [1,0,1,1,0,1,0,1,1,0,1,0,1,0,1,1,0,1,0,1]. Run the desk check and give me the Wilson 90% interval and verdict."}],"resultDescription":"Returns a JSON object with: verdict (PASS, FAIL, or INSUFFICIENT), edge_c (number of cases where the estimated probability exceeds ask), n (total settled cases), interval_lo_c and interval_hi_c (Wilson 90% confidence interval bounds as percentages), and a reasons array explaining any failure or insufficiency.","failureModes":["Fewer than 10 base_rate_cases provided → verdict INSUFFICIENT with explanation","est or ask outside 0-1 range → likely validation error or unexpected result","Missing required fields (market, venue, side, est, ask, base_rate_cases) → error response","Payment not sent or insufficient USDC → HTTP 402 payment required","Network/worker timeout → transient 5xx error"],"whenToPreferThis":"Use this endpoint when you need a fast, deterministic, statistically grounded pre-trade sanity check for a binary prediction market idea. It is ideal when you have at least 10 settled historical outcomes and want an objective PASS/FAIL/INSUFFICIENT verdict with a Wilson confidence interval before committing capital. Prefer this over manual gut-checks or LLM-generated probability estimates when you want reproducible arithmetic that is not subject to hallucination. Not a substitute for full backtesting or a live trading recommendation.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-20T06:52:37.057Z","isFirstParty":false,"canonicalSlug":"prediction-market-desk-check-deterministic-math-b81187ab"}