{"uid":"cap_dn9faiRHzm62kZqHwSdUh","slug":"coin-flip-cryptographically-random-490237fa","name":"Coin Flip (Cryptographically Random)","description":"60 paid endpoints with no metering, no API key and no account. Each endpoint has one flat price per call, whatever the size of the request: LLM completions with automatic failover across several large models, read-only EVM tooling over Base, Ethereum, Polygon, Arbitrum and Optimism, and pure crypto utilities that touch no network.","url":"https://flat-rate-llm.kikoribera03.workers.dev/v1/random/coinflip","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"count":{"type":"number","description":"How many coins to flip, 1-100. Defaults to 1."}}},"responseSchema":{"type":"object","properties":{"count":{"type":"number"},"flips":{"type":"array","items":{"type":"object"}},"heads":{"type":"number"},"tails":{"type":"number"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.0025","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.0025/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0025","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0025","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_QO1hUvUiqxheAfflGW7Ko","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0025","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Flips one or more fair coins using cryptographic randomness and returns each result (heads/tails) plus a tally of totals.","exampleAgentPrompt":"Flip 5 coins for me using a cryptographically random coin flip and tell me how many came up heads and how many came up tails.","exampleUseCases":[{"title":"Tie-breaking between two options","prompt":"I can't decide between two project names — flip a single coin for me so we can settle it once and for all."},{"title":"Simulating a probability experiment","prompt":"Flip 50 coins using a cryptographically fair randomizer and tell me the heads/tails tally so I can check if the distribution looks roughly 50/50."},{"title":"Random assignment for A/B groups","prompt":"I need to randomly assign this user to group A or group B — flip one coin and give me heads for A or tails for B."}],"resultDescription":"Returns a JSON object with the total count of coins flipped, an array of individual flip results (each item indicating heads or tails), the total number of heads, and the total number of tails.","failureModes":["count out of range (below 1 or above 100) returns an error","non-integer or non-numeric count value may be rejected","payment not attached or insufficient funds returns a 402 response","network or worker timeout on the Cloudflare edge"],"whenToPreferThis":"Choose this endpoint when you need a verifiably fair, cryptographically random coin flip rather than a pseudo-random result from Math.random(). Ideal for tie-breaking, random binary decisions, probability simulations, or any context where fairness auditability matters. Supports batching up to 100 flips in a single call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:48:11.684Z","isFirstParty":false}