{"uid":"cap_g2cWHfv5SAuChXOZiZY7s","slug":"lottery-odds-calculator-be243ed0","name":"Lottery Odds Calculator","description":"Lottery odds: jackpot odds and every match tier for pick-k-of-N games with an optional bonus pool (Powerball, EuroMillions).","url":"https://probability-calc.x402tookit.com/lottery-odds?utm_source=zero.xyz","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","required":["pick","poolSize"],"properties":{"pick":{"type":"integer","description":"Main numbers you pick, 1 to 20"},"jackpot":{"type":"number","description":"Jackpot amount, to show the unshared expected value of the jackpot alone"},"poolSize":{"type":"integer","description":"Size of the main number pool, up to 100"},"bonusPick":{"type":"integer","description":"Bonus numbers you pick from a separate pool (Powerball 1, EuroMillions 2); default 1 if bonusPool is given"},"bonusPool":{"type":"integer","description":"Size of the separate bonus pool (Powerball 26, EuroMillions 12)"},"ticketPrice":{"type":"number","description":"Ticket price, to compare with that jackpot value"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"asOf":{"type":["null","string"]},"game":{"type":["null","string"]},"tiers":{"type":["array","null"],"items":{"type":"object","properties":{"ways":{"type":["null","string"]},"oneIn":{"type":["null","number"]},"mainMatches":{"type":["null","number"]},"probability":{"type":["null","number"]},"bonusMatches":{"type":["null","number"]}}}},"source":{"type":["null","string"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"summary":{"type":["null","string"]},"verdict":{"type":["null","string"]},"degraded":{"type":["boolean","null"]},"disclaimer":{"type":["null","string"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"tiersCount":{"type":["null","number"]},"jackpotOneIn":{"type":["null","string"]},"totalCombinations":{"type":["null","string"]},"jackpotProbability":{"type":["null","number"]}}}}}}},"responseSchema":null,"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_XSvEVB8_kh30heB60ImYv","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":"Computes jackpot odds and every match-tier probability for pick-k-of-N lottery games with an optional bonus pool (e.g. Powerball, EuroMillions).","exampleAgentPrompt":"What are the jackpot odds and all match-tier probabilities for Powerball — that's picking 5 numbers from a pool of 69 plus 1 Powerball from a pool of 26 — with a $400 million jackpot and a $2 ticket price?","exampleUseCases":[{"title":"Powerball jackpot odds breakdown","prompt":"Give me the full odds breakdown for Powerball: picking 5 from 69 main numbers plus 1 from a bonus pool of 26, with a current jackpot of $600 million and a $2 ticket price."},{"title":"EuroMillions prize tier analysis","prompt":"Calculate all match-tier probabilities for EuroMillions — picking 5 numbers from a pool of 50 plus 2 lucky stars from a pool of 12 — so I can see every possible prize tier and its odds."},{"title":"Custom lottery expected value check","prompt":"I'm analyzing a regional lottery where you pick 6 from 45 with no bonus ball. The jackpot is $10 million and tickets cost $1. Can you compute the jackpot odds and all prize tiers so I can see if it's mathematically worth playing?"}],"resultDescription":"Returns a structured response listing every prize tier with its number of main matches, bonus matches, number of ways to win, probability, and one-in-X odds. Also includes total combinations, jackpot probability and one-in string, an overall summary verdict, and optional expected-value context if jackpot and ticket price are supplied.","failureModes":["Missing required pick or poolSize parameters returns an error","pick larger than poolSize causes an invalid combination error","bonusPick supplied without bonusPool (or vice versa) may produce unexpected results","Very large pool sizes or pick counts may exceed combinatorial limits","Non-integer values for pick/poolSize/bonusPick/bonusPool may be rejected"],"whenToPreferThis":"Use this endpoint when you need mathematically exact lottery prize-tier odds for any pick-k-of-N game structure, with or without a bonus pool. It is superior to generic probability APIs because it natively models the two-pool lottery structure (main draw + bonus ball), enumerates every prize tier, and optionally computes expected value against a specific jackpot and ticket price. Prefer this over building combinatorial logic from scratch or over single-probability endpoints that don't return the full tier table.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-28T18:30:05.464Z","isFirstParty":false,"canonicalSlug":"lottery-odds-calculator-be243ed0"}