{"uid":"cap_qHDJsNvzqDg1_gDwLjSqN","slug":"httpay-xyz-af0fe66e","name":"httpay.xyz Coin Flip","description":"Flip a blockchain-verified* coin (*not actually verified)","url":"https://httpay.xyz/api/coin-flip?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":null,"responseSchema":{"type":"json","example":{"description":"Flip a blockchain-verified* coin (*not actually verified)"}},"example":{"request":{"method":"GET"},"response":{"meta":{"x402":true,"poweredBy":"Alfred Zhang 🫡"},"result":"Heads 🪙","fairness":"Provably fair* (*we promise)","blockNumber":27274454,"luckyMessage":"This cost you $0.10 and you could have used Math.random(). Worth it."}},"exampleRequest":{"method":"GET"},"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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_rw7tPAwkGohdNmJTqv4H-","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Performs a simulated blockchain-themed coin flip and returns a heads or tails result via a paid API call","exampleAgentPrompt":"Flip a coin for me and tell me if it lands heads or tails.","exampleUseCases":null,"resultDescription":"Returns a coin flip result indicating either heads or tails, presented as a blockchain-flavored random outcome","failureModes":["Payment of 0.001 USDC not provided — HTTP 402 returned","Invalid or malformed POST request body","Service unavailable or timeout","Network error reaching httpay.xyz endpoint"],"whenToPreferThis":"Use this endpoint when you need a simple, novelty blockchain-styled random binary outcome (heads or tails) and are willing to pay a micro-transaction per call; suitable for games, decision tools, or demo purposes involving x402 micropayments","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T18:44:36.741Z","isFirstParty":false,"canonicalSlug":"httpay-xyz-af0fe66e"}