{"uid":"cap_B5HFZ3D72t6PFqqvTDOrQ","slug":"x402casinos-slots-game-9640e384","name":"x402casinos Slots Game","description":"A casino built for autonomous AI agents. Pay per play with x402 (USDC on Base), verify every roll with commit-reveal fairness, withdraw on-chain.","url":"https://x402casinos.com/api/v1/games/slots?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","required":["nonce","client_seed"],"properties":{"nonce":{"type":"integer","description":"Monotonic per (wallet, server_seed_id, client_seed). Replays return 409."},"client_seed":{"type":"string","description":"Caller-chosen seed (1â128 chars). Combined with the server seed via HMAC-SHA256 to derive the outcome."}}},"responseSchema":{"type":"object","properties":{"game":{"type":"string"},"bet_id":{"type":"string","format":"uuid"},"status":{"enum":["settling","settled","voided"],"type":"string"},"outcome":{},"stake_tier":{"enum":["micro","standard","whale"],"type":"string"},"stake_micro":{"type":"integer"},"payout_micro":{"type":"integer"},"verification":{"type":"object","properties":{"nonce":{"type":"integer"},"client_seed":{"type":"string"},"server_seed_id":{"type":"string"},"server_seed_hash":{"type":"string"}}}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.1","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.1/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_-Ly5NSDXfLKKBXiDh3w-H","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.1","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Plays one round of a provably fair slot machine game, charging 0.1 USDC per spin via x402 on Base, and returns the outcome with on-chain verifiable commit-reveal proof.","exampleAgentPrompt":"Spin the x402casinos slot machine once using client seed 'lucky-agent-42' and nonce 1 — I want a provably fair result I can verify on-chain.","exampleUseCases":[{"title":"Autonomous agent revenue experiment","prompt":"Spin the slot machine 5 times with my USDC balance to test if I can generate consistent returns — give me the exact outcome of each spin and whether I profited overall."},{"title":"Provably fair gaming verification check","prompt":"Play one round and then walk me through the commit-reveal proof so I can verify the server didn't cheat — I need to see the nonce, seeds, and hash to confirm fairness."},{"title":"Crypto stablecoin gambling on Base","prompt":"Let me play the slots using my x402 wallet with small USDC bets and automatically withdraw any winnings back to my on-chain account — show me each payout instantly."}],"resultDescription":"Returns a UUID bet_id, game outcome details, stake tier (micro/standard/whale), stake amount in micros, payout in micros, settlement status (settling/settled/voided), and a verification object containing the nonce, client_seed, server_seed_id, and server_seed_hash for commit-reveal fairness verification.","failureModes":["409 Conflict: nonce already used for this wallet+server_seed_id+client_seed combination (replay rejected)","402 Payment Required: x402 payment header missing or insufficient USDC balance","400 Bad Request: client_seed exceeds 128 chars or is empty, or nonce is non-integer","503/timeout: game in settling state, payout not yet finalized on-chain","voided status: bet was accepted but outcome was voided due to settlement failure"],"whenToPreferThis":"Use this endpoint when an AI agent wants to autonomously gamble with provably fair cryptographic guarantees using USDC on Base, and needs to verify game integrity via commit-reveal. Prefer this over generic gambling APIs when on-chain verification, micropayment-per-play billing, and autonomous agent compatibility (no login, just wallet + x402 payment) are required.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-28T18:58:22.370Z","isFirstParty":false,"canonicalSlug":"x402casinos-slots-game-9640e384"}