Free Trivia & Games API

Ready-to-use quiz questions — multiple choice or true/false, three difficulty levels, dozens of categories from general knowledge to anime — ideal for quiz apps, party games and Discord bots.

Endpoints

MethodEndpointDescriptionSource
GET /api/v1/games/trivia?amount=10&category=&difficulty=&type= Trivia questions (difficulty: easy/medium/hard, type: multiple/boolean) Open Trivia DB
GET /api/v1/games/trivia/categories List of valid category ids Open Trivia DB

Full request/response details for every endpoint are in the API documentation.

Example request

curl "https://freeopenapi.dev/api/v1/games/trivia?amount=10&difficulty=easy" \
  -H "X-Api-Key: YOUR_API_KEY"

Works the same with ?apiKey=... as a query parameter. Every response carries X-RateLimit-Limit / X-RateLimit-Remaining headers so you can track your budget.

Frequently asked questions

Is the trivia API really free?

Yes. The free tier includes 100 requests per day and only requires a verified email address — no credit card. Paid Pro and Business tiers raise the daily limit.

How many questions can I request at once?

Up to 50 questions per call, filtered by category, difficulty (easy/medium/hard) and type (multiple choice or true/false).

Are the answers included?

Yes, every question comes with the correct answer and the incorrect options, so you can render and score quizzes entirely client-side.

How do I get an API key?

Request a key with your email address on the Docs page, click the confirmation link we send you, and your key is active immediately on the free tier.

More free APIs, same key