{"api":{"id":"api_12c160374c04253a5db28707","slug":"trivia-questions","name":"Trivia Questions API","description":"Multiple-choice and true/false trivia questions from the Open Trivia Database: category, difficulty, question text, the correct answer and the wrong answers. Filter by category, difficulty and question type.","kind":"ready_made","visibility":"public","domain":"opentdb.com","source_url":"https://opentdb.com/api.php","category":"media","record_type":"generic","active_version":"1.0","units_per_1k":500,"health":"unknown","auto_repair":false,"last_checked_at":null,"last_run_at":null,"fields_count":6,"created_at":"2026-12-06T03:57:27.716Z","updated_at":"2026-12-06T03:57:27.716Z","runnable":true,"egress":null,"repairs":[],"repairs_total":0,"how":"Runs on a reader we built and maintain by hand for this site.","fields":[{"name":"category","type":"string","description":"Question category.","required":false,"coverage":1,"example":"Entertainment: Film"},{"name":"difficulty","type":"string","description":"easy, medium or hard.","required":false,"coverage":1,"example":"easy"},{"name":"type","type":"string","description":"multiple (four choices) or boolean (true/false).","required":false,"coverage":1,"example":"multiple"},{"name":"question","type":"string","description":"The question text.","required":true,"coverage":1,"example":"What movie starring Bruce Willis contains the line \"I see dead people\"?"},{"name":"correct_answer","type":"string","description":"The correct answer.","required":false,"coverage":1,"example":"The Sixth Sense"},{"name":"incorrect_answers","type":"array","description":"The wrong answers.","required":false,"coverage":1,"example":["The Fifth Element","Die Hard"]}],"inputs":[{"name":"amount","type":"integer","description":"How many questions to return, 1 to 50.","default":10,"example":10},{"name":"category","type":"string","description":"Category number or part of its name, such as film, music, video games or science. Empty means any category.","example":"film"},{"name":"difficulty","type":"string","description":"easy, medium, hard or any.","default":"any","example":"any","enum":["any","easy","medium","hard"]},{"name":"question_type","type":"string","description":"multiple for four-choice questions, boolean for true/false, or any.","default":"any","example":"any","enum":["any","multiple","boolean"]}],"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":true,"properties":{"category":{"description":"Question category.","type":"string"},"correct_answer":{"description":"The correct answer.","type":"string"},"difficulty":{"description":"easy, medium or hard.","type":"string"},"incorrect_answers":{"description":"The wrong answers.","type":"array"},"question":{"description":"The question text.","type":"string"},"type":{"description":"multiple (four choices) or boolean (true/false).","type":"string"}},"required":["question"],"title":"Trivia Questions API","type":"object"},"samples":[{"category":"Entertainment: Film","difficulty":"easy","type":"multiple","question":"What movie starring Bruce Willis contains the line \"I see dead people\"?","correct_answer":"The Sixth Sense","incorrect_answers":["The Fifth Element","Die Hard","Armageddon"]},{"category":"Entertainment: Film","difficulty":"medium","type":"multiple","correct_answer":"Corey Feldman","incorrect_answers":["Macaulay Culkin","Mel Gibson","Mark Hamill"]},{"category":"Entertainment: Film","difficulty":"easy","type":"multiple","question":"Who plays Alice in the Resident Evil movies?","correct_answer":"Milla Jovovich","incorrect_answers":["Madison Derpe","Milla Johnson","Kim Demp"]}],"validation":{"checked_at":"2026-12-06T03:57:27.599Z","field_coverage":{"category":1,"correct_answer":1,"difficulty":1,"incorrect_answers":1,"question":0.67,"type":1},"fresh_read":false,"identity_unique":true,"issues":["Imported from a hand-built source. Field names and types come from its published schema; no live read was made for this check."],"level":"preview","pages_checked":0,"passed":true,"records_checked":3},"links":{"run":"https://pullrow.dev/v1/apis/api_12c160374c04253a5db28707/run","openapi":"https://pullrow.dev/v1/apis/api_12c160374c04253a5db28707/openapi.json","contract":"https://pullrow.dev/v1/apis/api_12c160374c04253a5db28707/contract.json","page":"https://pullrow.dev/catalog/trivia-questions"},"runs_30d":0,"success_rate_30d":null,"price_per_1k_usd":0.5,"featured":false,"reliability":{"window_days":30,"runs":0,"completed":0,"succeeded":0,"failed":0,"success_rate":null,"last_run_at":null},"demo":{"available":false,"max_records":0,"reason":"Every run of this API costs us money, so it has no free live demo. The sample records on its page show what it returns.","code":"demo_not_available"},"meta":{"limitations":["Questions come back in random order and at most 50 per run; asking again returns a different random set, so repeat runs can overlap.","The source allows one request every 5 seconds per address, so runs are paced and a run can take several seconds.","If a category and difficulty hold fewer questions than you ask for, fewer are returned.","Questions are community-written and licensed CC BY-SA 4.0: credit the Open Trivia Database and share adaptations under the same licence.","Category matches the source's names (for example Entertainment: Film) by number or by any part of the name such as film."]},"plain":{"summary":null,"source":"rules","fields":[{"name":"category","label":"Question category","description":"","group":"Basics","shown":true,"written":false},{"name":"difficulty","label":"Difficulty","description":"easy, medium or hard.","group":"Basics","shown":true,"written":false},{"name":"type","label":"Type","description":"multiple (four choices) or boolean (true/false).","group":"Basics","shown":true,"written":false},{"name":"question","label":"Question","description":"The question text.","group":"Basics","shown":true,"written":false},{"name":"correct_answer","label":"Correct answer","description":"","group":"Basics","shown":true,"written":false},{"name":"incorrect_answers","label":"Incorrect answers","description":"The wrong answers.","group":"Basics","shown":true,"written":false}],"inputs":[{"name":"amount","label":"Amount","help":"How many questions to return, 1 to 50.","example":"10","written":false},{"name":"category","label":"Category","help":"Category number or part of its name, such as film, music, video games or science. Empty means any category.","example":"film","written":false},{"name":"difficulty","label":"Difficulty","help":"easy, medium, hard or any.","example":"any","written":false},{"name":"question_type","label":"Question type","help":"multiple for four-choice questions, boolean for true/false, or any.","example":"any","written":false}]}},"incidents":[]}