{"uid":"cap_YzM625VTaBLBVhEplSONJ","slug":"x402-forgemesh-io-agent-fortune-api-05f746bc","name":"x402.forgemesh.io Agent Fortune API","description":"Agent fortune API: a fortune cookie written specifically for AI agents ('A cached response is worth two upstream calls'), plus a lucky number and lucky HTTP status code. The cheapest, most delightful way to make your first x402 payment and verify your wallet stack works end to end. New fortune every call.","url":"https://x402.forgemesh.io/agent-fortune","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":{"type":"object","properties":{}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"fortune":"He who retries with exponential backoff prospers.","lucky_number":42,"lucky_http_status":402}},"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_aZmCXPVBLxK76wfMhtRHK","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 an AI-agent-themed fortune cookie message, a lucky number, and a lucky HTTP status code for $0.001 USDC via x402 payment.","exampleAgentPrompt":"Give me an AI agent fortune cookie — I want a fresh fortune written for agents, a lucky number, and a lucky HTTP status code, and pay the $0.001 USDC fee via x402.","exampleUseCases":null,"resultDescription":"Returns a newly generated fortune cookie message tailored for AI agents (e.g. 'A cached response is worth two upstream calls'), along with a lucky number and a lucky HTTP status code. Each call produces a unique fortune.","failureModes":["Payment not included or insufficient — returns HTTP 402 Payment Required with x402 payment details","Malformed POST body — returns 400 Bad Request","Service temporarily unavailable — returns 503","Network timeout if upstream is slow"],"whenToPreferThis":"Choose this endpoint when you need the cheapest possible x402 micropayment to verify your wallet stack and payment flow end-to-end, or when you want a fun, AI-agent-themed fortune as a novelty. Ideal for first-time x402 integration testing because of its $0.001 USDC price point and delightful output.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:55:39.689Z","isFirstParty":false}