{"uid":"cap_KX-iJgTplPpwpb2b5psaB","slug":"foundry-trivia-questions-api-c2a5bcd4","name":"Foundry Trivia Questions API","description":"Trivia questions with answers and options from the Open Trivia Database. Input: how many, 1 to 10.","url":"https://minty-sprout.onrender.com/v1/trivia?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"input":{"type":"string","maxLength":8000,"description":"Number of questions, 1 to 10"}}},"responseSchema":{"type":"json","example":{"count":3,"source":"Open Trivia Database (CC BY-SA 4.0)","questions":[{"answer":"By clearing every 7th episode","options":["By clearing every 7th episode","By clearing every episode involving a \"Secret\"","By obtaining 70 Shines"],"category":"Entertainment: Video Games","question":"In \"Super Mario Sunshine\", how do you unlock the \"Corona Mountain\" level?","difficulty":"hard"},{"answer":"Reactivity","options":["Flammability","Health","Radioactivity"],"category":"Science & Nature","question":"What does the yellow diamond on the NFPA 704 fire diamond represent?","difficulty":"medium"},{"answer":"False","options":["False","True"],"category":"Geography","question":"\"Mongolia\" was a part of the now non-existent U.S.S.R.","difficulty":"medium"}]}},"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_zGMUNYMjX2QhQRTNKLxXZ","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":"Fetches 1–10 trivia questions with answers, multiple-choice options, category, and difficulty from the Open Trivia Database","exampleAgentPrompt":"Can you fetch me 5 trivia questions with multiple-choice answers and their correct answers from the Open Trivia Database?","exampleUseCases":[{"title":"Game night trivia quiz prep","prompt":"I'm hosting a trivia night tonight — can you pull 10 trivia questions with answer options and correct answers so I can run a round?"},{"title":"Daily trivia challenge for a chatbot","prompt":"Grab me 3 fresh trivia questions with multiple choice options from the Open Trivia Database to send to my daily quiz subscribers."},{"title":"Test a friend's knowledge","prompt":"Can you get me 7 trivia questions across different topics, with the correct answers and wrong options included, so I can quiz my friend?"}],"resultDescription":"Returns a JSON object containing the requested count of trivia questions, each with: the question text, the correct answer, an array of multiple-choice options (including the correct answer), the category, and difficulty level. Also includes a source attribution to the Open Trivia Database.","failureModes":["Count out of range (not 1–10) may result in an error or unexpected behavior","Open Trivia Database upstream unavailability causing fetch failure","Invalid or non-numeric input for count field","Rate limiting or payment failure (x402 micropayment not accepted)"],"whenToPreferThis":"Choose this endpoint when you need ready-made trivia questions with multiple-choice options and correct answers sourced from the well-known Open Trivia Database. It is ideal for quiz apps, game night tools, chatbots, or educational agents that need structured trivia content without building or maintaining a question bank. Prefer this over general LLM-generated trivia when you want attributable, community-vetted questions with categorical diversity.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-01T06:57:43.621Z","isFirstParty":false,"canonicalSlug":"foundry-trivia-questions-api-c2a5bcd4"}