{"uid":"cap_GWyIkftdVgITLADrATQer","slug":"x402casinos-casino-api-31f285da","name":"x402casinos Casino API","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?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"properties":{"input":{"type":"object","properties":{"queryParams":{"type":"object","properties":{}}}},"output":{"type":"object","properties":{"example":{"type":"object","properties":{"name":{"type":"string"},"asset":{"type":"string"},"chain":{"type":"string"},"games":{"type":"array","items":{"type":"string"}},"pay_to":{"type":"string"},"description":{"type":"string"}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_lX9h8v0hjXod6t-A-gLHy","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Provides a provably fair casino game endpoint for AI agents, accepting micropayments in USDC via x402 and returning verifiable on-chain game outcomes","exampleAgentPrompt":"Place a $0.01 USDC wager on a dice roll at x402casinos and give me the outcome along with the commit-reveal proof I can use to verify the result was fair.","exampleUseCases":[{"title":"Autonomous trading bot risk management","prompt":"Play a quick $0.05 USDC dice game to help me decide if I should execute this trade—if I roll above 50, I'll proceed; show me the fairness proof so I can verify the randomness on-chain."},{"title":"Agent reward system with provable outcomes","prompt":"Run 10 sequential $0.001 USDC wagers for my agent to accumulate points, and give me the commit-reveal proofs for each so I can audit the entire session on Base."},{"title":"Decentralized incentive lottery for users","prompt":"Let my agent play a $0.02 USDC casino game once per hour to determine bonus multipliers for users—I need the on-chain fairness proof for every result to maintain trust."}],"resultDescription":"Returns the game outcome (e.g. dice roll result), a commit-reveal fairness proof for on-chain verification, and any payout or withdrawal information, all backed by USDC on Base.","failureModes":["Insufficient USDC balance — payment rejected with 402 status","Invalid x402 payment header — authentication failure","Network congestion on Base chain causing delayed settlement","Invalid or missing commit seed causing fairness verification failure","Endpoint returns 500 if game state is inconsistent"],"whenToPreferThis":"Choose this endpoint when an AI agent needs to participate in provably fair, on-chain verifiable casino games using USDC micropayments on Base via the x402 protocol — especially when auditability of randomness and autonomous agent compatibility are required.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T00:32:03.576Z","isFirstParty":false,"canonicalSlug":"x402casinos-casino-api-31f285da"}