{"uid":"cap_hg4z-T1HK1ajhCPw3Q5Pf","slug":"solgiery-random-coin-flip-7bfa0a6a","name":"Solgiery Random Coin Flip","description":"Flip one fair coin. Returns heads or tails, each with probability one half. Uses the server OS CSPRNG. Returns consumed bytes for reproducible calculation, not proof of their origin. Price: 0.007 USDC per request, including the bounded batch.","url":"https://api.solgiery.com/v1/random/coin","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":{},"description":"Unknown or duplicate parameters and null parameter values are rejected. JSON body: at most 65536 bytes, depth 16, and 4096 bytes per item. Repeated sample items together must fit 65536 bytes.","additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["algorithm","result","entropy"],"properties":{"result":{"enum":["heads","tails"],"type":"string"},"entropy":{"type":"object","required":["source","hex"],"properties":{"hex":{"type":"string","pattern":"^([0-9a-f]{2})*$","maxLength":262144},"source":{"type":"string","const":"os-csprng"}},"additionalProperties":false},"algorithm":{"type":"string","const":"solgiery-random-v1"}},"additionalProperties":false}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.007","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.007/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.007","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.007","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_jeaE2LTMQCj06lVQVDlxD","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.007","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Flip a single fair coin and return heads or tails using a server-side cryptographically secure random number generator (CSPRNG).","exampleAgentPrompt":"Flip a fair coin for me using a cryptographically secure server-side generator and tell me if it's heads or tails.","exampleUseCases":[{"title":"Random game start decider","prompt":"We can't decide who goes first in our board game — flip a fair coin for us and tell me heads or tails."},{"title":"Cryptographically secure A/B split","prompt":"I need to randomly assign a user to group A or group B with a 50/50 split — flip a secure coin and give me heads or tails so I can map it to a group."},{"title":"Settling a dispute randomly","prompt":"My friend and I have a bet and we need a neutral, trustworthy coin flip to settle it — flip one fair coin and show me the result."}],"resultDescription":"Returns a JSON object with: 'result' (string, either 'heads' or 'tails'), 'entropy' object containing 'source' ('os-csprng') and 'hex' (the raw random bytes consumed as a lowercase hex string), and 'algorithm' (string 'solgiery-random-v1'). The entropy bytes are provided for reproducible calculation verification, not as a cryptographic proof of origin.","failureModes":["Payment failure or insufficient USDC balance (x402 payment required, 0.007 USDC per call)","Malformed or unexpected query parameters are rejected","Request body exceeding 65536 bytes is rejected","Network timeout or server unavailability"],"whenToPreferThis":"Choose this endpoint when you need a single, cryptographically secure, fair binary random outcome (heads or tails) and want the consumed entropy bytes returned alongside the result for auditability. Prefer it over pseudo-random local coin flips when trust, fairness, or cryptographic security is required, and over dice or integer endpoints when strictly binary outcomes are needed.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:44:21.821Z","isFirstParty":false}