{"uid":"cap_PtLzqaSCIaPoVkvVI1oDq","slug":"www-x402joker-com-c6be7221","name":"x402 Joker Pay-Per-Joke API","description":"Pay-per-joke vending machine: send USDC, get a fresh Claude-generated joke. Optional \"theme\" picks the topic.","url":"https://www.x402joker.com/api/buy","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"theme":{"type":"string","description":"Optional joke theme. Omit for a surprise joke."}}},"responseSchema":{"type":"json","example":{"joke":"I told my dog he's adopted. He didn't take it well — turns out he already knew, he just hadn't found the right moment to bring it up.","theme":"dogs"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_k-BbZnfiDjaNPOeoNwfoE","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Accepts a USDC micropayment and returns a freshly Claude-generated joke, optionally on a specified theme.","exampleAgentPrompt":"Buy me a fresh joke about cats from the x402 joke vending machine — pay the $0.01 USDC fee and send back whatever punchline it generates.","exampleUseCases":null,"resultDescription":"A JSON object containing a Claude-generated joke string and the theme label used (e.g. {\"joke\": \"...\", \"theme\": \"cats\"}). The joke is unique per call.","failureModes":["Payment not received or insufficient USDC — 402 Payment Required response","Invalid or unsupported theme input — may fall back to a random joke or return an error","Claude generation failure — upstream AI error resulting in 500 response","Network timeout if joke generation takes too long"],"whenToPreferThis":"Choose this endpoint when you need a quick, on-demand AI-generated joke, optionally on a specific topic, and are willing to spend $0.01 USDC per call. Ideal for entertainment bots, party apps, or any scenario requiring a humorous one-liner without managing your own LLM.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:37:56.888Z","isFirstParty":false}