{"uid":"cap_d4MRXHUzLmZV2f-nvgazZ","slug":"x402-demo-api-joke-endpoint-46ef0750","name":"x402 Demo API – Joke Endpoint","description":"Paid API demo using x402 protocol on Base mainnet.","url":"https://x402-demo-api-kaya.vercel.app/api/joke","method":"POST","headers":{},"bodySchema":null,"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.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_OtbnoBpjrSUqRAJ1kHR4G","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns a joke via a micropayment-gated POST request using the x402 protocol on Base mainnet, costing $0.01 USDC per call.","exampleAgentPrompt":"Fetch me a joke from the x402 demo API — I'm happy to pay the $0.01 USDC micropayment on Base mainnet to try it out.","exampleUseCases":null,"resultDescription":"The agent receives a text joke returned by the server after the x402 micropayment of $0.01 USDC on Base mainnet is successfully processed. The response is a simple payload containing the joke content.","failureModes":["Insufficient USDC balance — payment cannot be completed, returns 402 Payment Required","Invalid or missing x402 payment header — request rejected","Base mainnet congestion causing payment timeout","Endpoint unavailable or Vercel deployment error returning 500","Network connectivity issues preventing payment settlement"],"whenToPreferThis":"Choose this endpoint when you want to demo or test the x402 micropayment protocol on Base mainnet with a lightweight, low-cost ($0.01 USDC) real API call. It is ideal for developers exploring pay-per-call API patterns or agents needing to demonstrate crypto-native API payments in action.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:38:27.681Z","isFirstParty":false}