All trivia categories
API · /opentdb-api
Open Trivia Database API
Trivia questions via the open Open Trivia Database (OpenTDB) — no key. The questions endpoint returns multiple-choice and true/false questions filtered by category, difficulty (easy, medium, hard) and type, each with the question text, the correct answer and the incorrect options; answers are decoded server-side to clean text. The categories endpoint lists all 24 trivia categories with their ids, and count returns a category's question-count breakdown by difficulty. A random endpoint pulls a single question with the same filters. Real trivia data straight from OpenTDB, fetched fresh — no key. 5 endpoints. Ideal for quiz and trivia games, pub-quiz generators, icebreakers, study apps and chatbot mini-games.
API health
healthy- Uptime
- 100.00%
- Server probes · 24h
- Avg latency
- 474 ms
- Server probes · 24h
- Subscribers
- 4,428
- active
- Total calls
- 40
- last 7 days
Pricing
Pick a tier — billed monthly, cancel anytime.
Free
Free
- 6,400 calls / month
- 2 requests / second
- Hard cap (429 above quota, no overage)
- 6,400 calls/month
- 2 req/sec
- Questions + categories
- No credit card
Basic
€7.50 /month
- 85,500 calls / month
- 8 requests / second
- Hard cap (429 above quota, no overage)
- 85.5k calls/month
- 8 req/sec
- Filters + counts + random
- Email support
Pro
€26.00 /month
- 548,500 calls / month
- 20 requests / second
- Hard cap (429 above quota, no overage)
- 548.5k calls/month
- 20 req/sec
- Quiz-app scale
- Priority support
Mega
€79.00 /month
- 2,690,000 calls / month
- 50 requests / second
- Hard cap (429 above quota, no overage)
- 2.69M calls/month
- 50 req/sec
- Platform scale
- Dedicated SLA
Built by
Related APIs
Other APIs with overlapping tags.
National Dishes API
The dish most associated with each country as an API — a small, fun reference for travel, food, quiz and trivia apps. Built on the open country-json national-dish dataset and enriched with each country's ISO 3166-1 alpha-2 code and Unicode flag emoji. Look up a country's national dish by country name or code, search dishes and countries by keyword (for example, find every country whose national dish involves rice), or list them all. Served from memory — always fast.
api.oanor.com/nationaldishes-api
Useless Facts API
Random and daily trivia facts via the open Useless Facts API — no key. The random endpoint returns a surprising, mostly-useless fact; the today endpoint returns the fact of the day; and both are available in English or German, each fact carrying its source attribution, source URL and a permalink. Real curated facts, with the daily fact cached for speed — no key. 3 endpoints. Ideal for daily-fact widgets, newsletters, chatbots, loading screens and onboarding delight.
api.oanor.com/uselessfacts-api
Cat Facts & Breeds API
Cat trivia and breed data via the open Cat Fact API (catfact.ninja) — no key. The fact endpoint returns a single random cat fact, optionally bounded to a maximum length; the facts endpoint pages through the full fact collection; and the breeds endpoint lists and searches cat breeds with their country, origin, coat and pattern. Real data, with the breed list cached for speed — no key. 4 endpoints. Ideal for pet apps, fun facts widgets, daily-fact bots, quizzes and onboarding delight.
api.oanor.com/catfact-api
Quiz & Trivia API
A ready-to-use trivia engine with more than 44,000 multiple-choice questions across 20 categories — animals, brain teasers, celebrities, entertainment, kids, general knowledge, geography, history, hobbies, humanities, literature, movies, music, people, religion, science & technology, sports, television, video games and world. Pull a random question or a batch (optionally filtered by category, with the answer hidden for gameplay and the options shuffled), fetch a specific question by id, verify a submitted answer, search questions by keyword, and list every category with its question count. Every endpoint accepts input via the query string or the request body and returns lean JSON. Pure server-side data (no third-party upstream), so responses are instant and always available. Ideal for quiz and trivia games, pub-quiz and party apps, learning tools, chatbots and Discord/Slack bots.
api.oanor.com/quiz-api
Frequently asked questions
Quick answers about pricing, quotas, and integration.
How do I get an API key for Open Trivia Database API?
What's the rate limit for Open Trivia Database API?
How much does Open Trivia Database API cost?
Can I cancel my subscription anytime?
Is Open Trivia Database API GDPR-compliant?
Pick an endpoint from the list on the left to see its details and try it.
Code snippets
Sign up to get an API key, then call any path under your slug.
curl https://api.oanor.com/opentdb-api/SOME_PATH \
-H "x-oanor-key: oanor_test_..."
const res = await fetch("https://api.oanor.com/opentdb-api/SOME_PATH", {
headers: { "x-oanor-key": "oanor_test_..." }
});
const data = await res.json();
$ch = curl_init("https://api.oanor.com/opentdb-api/SOME_PATH");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
$response = curl_exec($ch);
import requests
r = requests.get(
"https://api.oanor.com/opentdb-api/SOME_PATH",
headers={"x-oanor-key": "oanor_test_..."},
)
print(r.json())
Ratings
Sign in to rate.
No reviews yet.
Discussion
Ask questions, share usage tips, get answers from the provider and other developers. Public — anyone can read.
Sign in to start a thread or reply.
Sign inNew thread
·
-
Provider answer
🔒 This thread is locked — no new replies.
-
·
- No threads yet — start the discussion.
Support
Private 1:1 support with the provider — billing questions, integration issues, account problems. Only you and the provider team can see these threads.
Sign in to open a support ticket.
Sign inOpen new ticket
Describe what you need help with. The provider team gets an email and replies on the ticket page.
-
·
Urgent - No tickets yet for this API.