{"uid":"cap_mE6G87vgnI-QSlWk5l3Cb","slug":"riddle-with-checkable-answer-95ddad95","name":"Riddle with Checkable Answer","description":"60 paid endpoints with no metering, no API key and no account. Each endpoint has one flat price per call, whatever the size of the request: LLM completions with automatic failover across several large models, read-only EVM tooling over Base, Ethereum, Polygon, Arbitrum and Optimism, and pure crypto utilities that touch no network.","url":"https://flat-rate-llm.kikoribera03.workers.dev/v1/content/riddle","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"seed":{"type":"string","description":"Same seed always returns the same riddle."},"exclude":{"type":"array","description":"Ids already seen, comma-separated in a GET."},"language":{"type":"string","description":"en | es. Defaults to en."},"difficulty":{"type":"string","description":"easy | medium | hard. Omit for any."}}},"responseSchema":{"type":"object","properties":{"id":{"type":"string"},"answer":{"type":"string"},"riddle":{"type":"string"},"difficulty":{"type":"string"},"howToCheck":{"type":"string"},"answerSha256":{"type":"string"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.0025","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.0025/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0025","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0025","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_wBEpuUTKXrg4k53whSR_M","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0025","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns a riddle by difficulty in English or Spanish along with its plaintext answer and the SHA-256 hash of the answer, enabling agents to verify guesses without peeking at the solution.","exampleAgentPrompt":"Give me a hard riddle in English with a verifiable answer — I want to try guessing before seeing the solution, so make sure I get the SHA-256 hash so I can check myself.","exampleUseCases":[{"title":"Agent self-quizzes on riddles","prompt":"Get me a medium-difficulty riddle in English and let me guess the answer — I want to check my guess against the hash without seeing the real answer first."},{"title":"Spanish trivia bot for kids","prompt":"Fetch me an easy riddle in Spanish for a kids quiz — and give me the answer hash so the bot can check if the child got it right without just showing them the answer."},{"title":"Avoid repeats in riddle game","prompt":"I need a hard riddle in English that isn't any of these I've already used: riddle-001, riddle-042, riddle-077 — use seed 'game-session-9' so I get a consistent one for this session."}],"resultDescription":"Returns a JSON object with the riddle text, its difficulty level, a unique riddle ID, the plaintext answer, the SHA-256 hash of the answer in lowercase, and a 'howToCheck' field explaining how to verify a guess against the hash — enabling answer validation without spoiling the solution.","failureModes":["Invalid difficulty value (not easy/medium/hard) may return an error or default behavior","Invalid language code (not 'en' or 'es') may fall back to English or return an error","All riddles excluded via the exclude list may result in no riddle returned","Payment failure (402) if USDC micropayment is not properly handled"],"whenToPreferThis":"Choose this endpoint when you need a riddle that comes with a cryptographic answer hash, allowing an agent or user to verify their guess without reading the solution first — a capability no generic riddle API provides. Also prefer it when you need deterministic riddle retrieval via a seed, multilingual (English/Spanish) support, or deduplication across sessions via the exclude list.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:33:23.029Z","isFirstParty":false}