Open Trivia Database
Games No key
AuthenticationNo key
Rate limitNo key; max one request every 5 seconds.
Documentation: opentdb.com ยท Checked Sep 13, 2026
About
The Open Trivia Database offers 4,000+ trivia questions in categories from science to movies, with multiple-choice or true/false formats and three difficulty levels. You can even get a session token to avoid repeats. Free, no key - the backbone of countless quiz apps.
Details
No key needed. You can call it right away.
Auth: No key
Rate limit: No key; max one request every 5 seconds.
Verified: 2026-09-13
Best for: trivia quizzes games
Setup
- Use the configurator at https://opentdb.com/api_config.php to build your URL.
- Example: https://opentdb.com/api.php?amount=10&category=9&difficulty=easy.
- Decode the text (it comes URL-encoded) before showing it.
- Shuffle the correct answer in with the incorrect ones.
- Respect the 5-second gap between requests; no key needed.
Example
https://opentdb.com/api.php?amount=5&category=11&type=multipleUse cases
- Building a quiz or trivia night app
- Daily quiz questions in a newsletter
- Classroom review games