Home / Tools / OpenTDB

OpenTDB

Free crowdsourced trivia question bank with a public API for apps.

Visit OpenTDB
OpenTDB preview
opentdb.com Free

Upvotes

0

Pricing

Free

Category

Quiz Generators

In the database since

Oct 2026

Overview

About OpenTDB

OpenTDB, short for Open Trivia Database, is a crowdsourced collection of trivia questions. Developers use its public API — a way for apps to request data automatically — to pull questions into quiz apps, games, and chatbots. The database holds thousands of verified questions across categories like science, history, sports, and entertainment. Every question has a difficulty level and comes as multiple choice or true/false. Anyone can submit new questions, and the community reviews them before they go live on the site.

Key Features

1. Public Trivia API

Request questions by category, difficulty, and type through a simple web address that returns structured data.

2. No API Key Required

You can call the API without signing up or getting a key, which makes testing quick and painless.

3. Thousands of Questions

The database holds a large and growing pool of community-contributed trivia questions with verified answers.

4. Categories and Difficulties

Filter questions by topic and by easy, medium, or hard levels to match your game's audience.

5. Multiple Question Types

Pick from multiple-choice or true-or-false formats to match what your app or game truly needs.

6. Session Tokens

Optional tokens stop the API from repeating questions during one play session, so games feel fresh.

Frequently Asked Questions (FAQ)

What is OpenTDB used for?

OpenTDB is used to add trivia questions to apps and games. Developers fetch questions through its free API instead of writing their own question banks.

How do I get questions from the OpenTDB API?

You send a web request to the API address with options like amount, category, and difficulty. It returns questions in JSON, a plain text data format apps can read.

Is OpenTDB really free with no limits?

Using the API is free with no key or payment. The site asks developers to cache results and avoid hammering the servers, which is normal polite API use.

Can I add my own questions to OpenTDB?

Yes. You can submit questions through the site's contributor page. Community reviewers check each submission for accuracy before it is added.

What question formats does OpenTDB support?

It supports multiple-choice questions with four options and true-or-false questions. Each question also lists its category and difficulty.

Conclusion

OpenTDB is the easiest way to get real trivia questions into a project. Developers get a free API with no key, thousands of reviewed questions, and simple filters. Hobby makers and studios alike use it to power quiz apps and games without building a question bank from scratch. It remains a favorite starting point for quiz builders.

Newsletter

Tools like this change fast

New Quiz Generators tools launch every week — the newsletter keeps you ahead of what's worth trying.

Keep exploring

Similar AI tools

Ranked by the job they do, their capabilities, and how closely they fit this workflow.