{"uid":"cap_jc0iVLhCXL9-z5YsiQP_t","slug":"random-facts-x402-7fc67995","name":"Random Facts x402","description":"Returns a single random fact as JSON in exchange for a micropayment.","url":"https://randomfactsx402.vercel.app/api/random-fact","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"pathParams":{"type":"object"},"queryParams":{"type":"object","properties":{}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"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_r87VzvTYIAvGImF1CZnm2","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 a single random fun fact as JSON in exchange for a $0.001 USDC micropayment.","exampleAgentPrompt":"Give me a random fun fact — something surprising or interesting.","exampleUseCases":[{"title":"Energize team meetings with trivia","prompt":"Start our next standup with an interesting random fact to break the ice and keep everyone engaged."},{"title":"Generate daily educational snippets","prompt":"Pull a surprising fact every morning and add it to our company Slack channel so everyone learns something new."},{"title":"Enrich user experience with fun facts","prompt":"Whenever someone completes a task in our app, show them a random interesting fact as a reward or celebration."}],"resultDescription":"A JSON object containing a single random fact string, delivered after a $0.001 USDC micropayment is processed via the x402 protocol.","failureModes":["Payment not provided or insufficient — 402 Payment Required response","Payment processing failure — transaction rejected or USDC balance insufficient","Service unavailable — 503 from Vercel deployment","Malformed response — JSON parsing error if upstream fact source fails"],"whenToPreferThis":"Use this endpoint when you need a quick, single random fact and are operating in an x402-enabled micropayment environment. Ideal for agents that need to surface trivia, fun facts, or educational snippets with minimal setup and a near-zero cost per call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:38:27.680Z","isFirstParty":false}