{"uid":"cap_bhwtwjK2rtQv20TNz89hF","slug":"x402-fun-fortune-cookie-07c4014b","name":"x402 Fun – Fortune Cookie","description":"A fortune cookie: one short, upbeat fortune (80 written for this service) and six lucky numbers from 1 to 49. Give a seed for a repeatable draw.","url":"https://fun.kagurazaka.dev/v1/fortune-cookie?utm_source=zero.xyz","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","properties":{"seed":{"type":"string","description":"optional; the same seed always gives the same answer (such as a user id plus today's date)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"id":{},"message":{},"lucky_numbers":{}}}}}}},"responseSchema":{"type":"json","example":{"id":32,"message":"Rest is part of the work, not a break from it.","lucky_numbers":[6,7,17,30,41,42]}},"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_Icyq2Yt3HDswFhwyKKLiO","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 one short upbeat fortune message and six lucky numbers (1–49), optionally seeded for reproducibility.","exampleAgentPrompt":"Give me a fortune cookie — pull one of those short upbeat fortunes with six lucky numbers, using the seed 'alice-2025-06-10' so I get the same one every time today.","exampleUseCases":[{"title":"Daily fortune for app users","prompt":"Pull a fortune cookie for user ID 'user_8842' with today's date as the seed, so every user gets a consistent fortune all day long."},{"title":"Random lucky numbers for a lottery picker","prompt":"I want a fortune cookie reading with six lucky numbers — just pick randomly, no seed needed."},{"title":"Personalized motivational message on login","prompt":"Generate a fortune cookie message using the seed 'morgan-2025-06-10' to show Morgan the same upbeat fortune all day on their dashboard."}],"resultDescription":"A JSON object containing: an integer ID identifying which of the 80 fortunes was drawn, a short upbeat fortune message string (e.g. 'Rest is part of the work, not a break from it.'), and an array of six distinct lucky numbers in the range 1–49.","failureModes":["Invalid or malformed seed string may still succeed but produce unexpected results — seed is freeform text","Service unavailable or payment failure returns HTTP 402 or 5xx","No required parameters means most calls succeed; edge cases limited to network or provider outages"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, cheerful fortune cookie experience — either random or deterministically reproducible via a seed — with both a message and lucky numbers in one call. Prefer over generic random-quote endpoints when the lottery-style lucky numbers are also needed, or when repeatability per user/date combination matters.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:35:58.009Z","isFirstParty":false,"canonicalSlug":"x402-fun-fortune-cookie-07c4014b"}