{"uid":"cap_nqRMVE75RnNqaW4ul9npr","slug":"deck-shuffle-api-2a508227","name":"Deck Shuffle API","description":"Return a shuffled 52-card deck for games, simulations and reproducible seeded workflows.","url":"https://x402-zoo.lolagent.workers.dev/api/deck-shuffle","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":[],"properties":{"seed":{"type":"string"}}}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_pM8p8MrG5GQY1o3Izk6cb","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns a randomly shuffled 52-card deck, with optional seed for reproducible results","exampleAgentPrompt":"Shuffle a standard 52-card deck for me and return the full card order — use the seed 'game42' so I get the same shuffle every time.","exampleUseCases":[{"title":"Reproducible card game testing","prompt":"Shuffle a deck of cards using the seed 'testrun99' so I can reproduce the same card order every time I run my card game tests."},{"title":"Random poker deal simulation","prompt":"Give me a freshly shuffled 52-card deck so I can simulate dealing hands for a 6-player poker game."},{"title":"Card-based interactive story event","prompt":"Shuffle a deck of cards for me — I'm building an interactive narrative where the card order determines which plot events the player encounters."}],"resultDescription":"Returns a complete shuffled array of 52 playing cards (e.g. [{suit, rank}, ...] or equivalent representation), ordered randomly. When a seed is provided, the same seed always produces the same shuffle, enabling reproducible workflows and testing.","failureModes":["Invalid or malformed seed parameter — API may return an error or fall back to random shuffle","Network timeout on the Cloudflare Worker edge","Unexpected empty or malformed response if the worker is temporarily unavailable"],"whenToPreferThis":"Choose this endpoint when you need a quick, cheap ($0.001 USDC) server-side shuffled deck without implementing your own random logic — especially useful when you need a reproducible shuffle via the seed parameter for testing, simulations, or deterministic game workflows. Prefer over client-side shuffling when audit trails or reproducibility matter.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T13:02:04.149Z","isFirstParty":false}