{"uid":"cap_pmVxZLfArvyS_4NH9f11v","slug":"forgemesh-ai-fortune-cookie-12c4217a","name":"ForgeMesh AI Fortune Cookie","description":"AI fortune cookie: a novelty endpoint that hands back a fresh aphorism written with AI agents in mind, plus a lucky number and lucky status code, on every request. Useful as a low-stakes first call to verify a payment flow works end to end, or simply as a bit of personality to sprinkle into a bot's replies.","url":"https://x402.forgemesh.io/ai-fortune-cookie","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_G5fnRE7nzWSJNKjC_Gv5A","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-generated aphorism written for AI agents, along with a lucky number and a lucky HTTP status code, on every request.","exampleAgentPrompt":"Give me an AI fortune cookie — fetch a fresh AI-generated aphorism with a lucky number from ForgeMesh so I can sprinkle it into my reply.","exampleUseCases":[{"title":"Warm up a chatbot response","prompt":"Before you answer my question, grab a fresh AI fortune cookie from ForgeMesh and include the aphorism and lucky number at the top of your reply to add some personality."},{"title":"Smoke-test x402 payment pipeline","prompt":"I want to verify our x402 micropayment integration is working end to end — can you make a quick call to the ForgeMesh AI fortune cookie endpoint and confirm we get a lucky status code and aphorism back?"},{"title":"Daily agent motivational quote","prompt":"Every morning when my assistant bot starts up, have it pull a fresh AI-themed aphorism and lucky number from the ForgeMesh fortune cookie and post it to our team Slack channel."}],"resultDescription":"A JSON response containing a freshly AI-generated aphorism written with AI agents in mind, a lucky number, and a lucky HTTP status code — all generated anew on each request.","failureModes":["Payment not included or rejected — returns HTTP 402 requiring x402 micropayment","Malformed POST body — may return 400 if schema not matched","Service temporarily unavailable — returns 5xx with no fortune data","Network timeout on slow connections"],"whenToPreferThis":"Choose this endpoint when you want a zero-risk, low-cost ($0.001 USDC) way to verify an x402 payment flow works end to end, or when you want to inject a bit of playful AI personality into a bot's output without any meaningful side effects.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T19:02:16.547Z","isFirstParty":false}