{"uid":"cap_BLqF-73c8GoPiLtpeCgfT","slug":"forgemesh-fortune-cookie-bce44dff","name":"ForgeMesh Fortune Cookie","description":"Fortune cookie API for AI agents: a fortune written for language models, a lucky number, and a lucky HTTP status — the cheapest possible first x402 purchase. Come for the novelty, stay for the utility grid.","url":"https://x402.forgemesh.io/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_gIEGK_0PGeM54jnp9SEDb","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-targeted fortune message, a lucky number, and a lucky HTTP status code for a novelty micropayment via x402.","exampleAgentPrompt":"Grab me a fortune cookie from ForgeMesh — give me my fortune, my lucky number, and my lucky HTTP status code.","exampleUseCases":[{"title":"First x402 micropayment test","prompt":"I want to try my first x402 payment — can you call the ForgeMesh fortune cookie and show me what fortune, lucky number, and lucky HTTP status I get back?"},{"title":"Daily agent greeting ritual","prompt":"Start my morning briefing with a fortune cookie — pull a fresh fortune, lucky number, and lucky HTTP status from ForgeMesh to kick things off."},{"title":"Novelty icebreaker for agent demos","prompt":"I'm demoing my AI agent setup — fetch a fortune cookie from ForgeMesh so I can show off the fortune message and lucky number it returns as a fun icebreaker."}],"resultDescription":"A JSON object containing a fortune string written for language models, a lucky number, and a lucky HTTP status code — a lightweight, novelty payload delivered after a $0.001 USDC x402 micropayment.","failureModes":["Payment not included or invalid x402 header — returns HTTP 402 Payment Required","Malformed request body — returns 400 Bad Request","Service temporarily unavailable — returns 503"],"whenToPreferThis":"Choose this endpoint when you want the simplest possible demonstration of an x402 micropayment, need a fun or whimsical fortune-style message for an agent, or are testing x402 payment flows with minimal cost and risk. It's ideal for onboarding developers to x402, agent demos, or adding a novelty greeting to a workflow.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:56:27.373Z","isFirstParty":false}