GETNo Auth·CORS Ready·Verified 2026-12-02
Open Trivia Database
4,000+ verified multiple-choice and true/false trivia questions across 24 categories for quiz apps and games.
Live JSON Playground & Client Code
GETOpen Trivia Database
https://opentdb.com/api.php?amount=3&type=multiple// Click "Send Live Request" to call this endpoint live from your browser:
// GET https://opentdb.com/api.php?amount=3&type=multiple
// Auth: No Auth | CORS: CORS Ready
// Rate limit: 1 req / 5 sec · CC-BY-SALimit: 1 req / 5 sec · CC-BY-SACommercial: Yes (CC-BY-SA)
Production Integration Checklist
- Zero-auth endpoint: call directly with no signup, API key, or secrets management.
- Browser CORS is enabled. Avoid unnecessary custom headers to skip extra OPTIONS preflight latency.
- Documented rate limit: "1 req / 5 sec · CC-BY-SA". Always pair requests with an 8s timeout and shared HTTP caching to avoid 429 errors.
- Commercial license note: Yes (CC-BY-SA). Verify attribution wording in official docs before production launch.