{"uid":"cap_jHj_SjeS8NaqBupbmBAV_","slug":"agentcash-fortune-demo-random-fortune-api-4d33734b","name":"AgentCash Fortune Demo – Random Fortune API","description":"Random fortune — fixed price; x402 exact or MPP one-shot","url":"https://agentcash-fortune-demo3.vercel.app/api/fortune?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"properties":{}},"type":{"type":"string","const":"http"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"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_kWVWvHcpvbwFA19i0oPzJ","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 random fortune/quote for a fixed micropayment of $0.001 USDC via x402 or MPP one-shot payment","exampleAgentPrompt":"Give me a random fortune — just make the micropayment and fetch one from the AgentCash fortune demo.","exampleUseCases":[{"title":"Random fortune for daily inspiration","prompt":"Grab me a random fortune from the AgentCash fortune demo — pay the tiny fee and show me what it says."},{"title":"Testing x402 micropayment flow","prompt":"Can you test the x402 one-shot micropayment by calling the AgentCash fortune demo and showing me the fortune it returns?"},{"title":"Fun fortune for a group chat","prompt":"Fetch a random fortune from the fortune API using USDC micropayment and share it with me so I can post it in our group chat."}],"resultDescription":"A randomly selected fortune or quote string returned after a $0.001 USDC micropayment is processed via x402 or MPP one-shot protocol.","failureModes":["Payment not included or invalid x402 header — returns 402 Payment Required","Malformed POST body — returns 400 Bad Request","Server unavailable on Vercel — returns 503 or timeout","Payment amount incorrect — returns 402 with expected amount details"],"whenToPreferThis":"Choose this endpoint when you want a simple, low-cost demonstration of x402 micropayment-gated content delivery, or when you need a random fortune/quote for entertainment purposes and want to test USDC micropayment flows at minimal cost ($0.001 per call).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-17T12:31:16.520Z","isFirstParty":false,"canonicalSlug":"agentcash-fortune-demo-random-fortune-api-4d33734b"}