🚀 TG4G
DirectoryAPI & Dataopentdb.com
🔗 API & Data 📍 HQ: United States
O

opentdb.com

Overall Rating
★★★★☆ 8.0/10
China Access
★★★ China direct-connect friendly
Data source
ai_crawl · Last updated 2026-06-12

⚡ Score breakdown

5-dim weighted · /10
Performance25% 8.0
Value20% 8.0
China access20% 10.0
Reputation20% 6.4
Support15% 7.5

Dimension scores are derived from public data and fields; weighted into the composite. Reference only.

Editorial Highlights

Free trivia question database API, suitable for games and learning apps.

In-Depth Review TG4G Review ·2026-06-08 · For reference only

What It Is

Open Trivia DB is a free, user-contributed database of trivia questions, with 5,296 verified questions shown on the main page at the time of review. It offers developers a completely free JSON API for retrieving quiz questions in programming projects. No API key is required; you simply generate a URL according to the documentation and request the data. The question database is licensed under the Creative Commons Attribution-ShareAlike 4.0 International License.

Core Capabilities

Functionally, it covers the basic needs of quiz applications: you can specify the number of questions, category, difficulty, question type, and encoding format. Categories include general knowledge, entertainment, science, history, geography, sports, anime, video games, and more. The API also provides Session Tokens, which track questions already returned and help avoid repeats within the same session; tokens are deleted after 6 hours of inactivity. Supporting endpoints include category listing, per-category question counts, and global question counts, making it easier for developers to dynamically build question-bank selectors on the frontend or backend.

API, Limits, and Documentation

For a lightweight API, the documentation is fairly clear. It explains basic usage, response codes, token status, encoding types, and limitations. Response codes cover success, no results, invalid parameters, missing tokens, exhausted token question pools, and rate limiting. One important limitation is that each IP can access the API only once every 5 seconds; a single request can retrieve up to 50 questions, and only one category can be requested at a time. These constraints make it more suitable for small projects, classroom demos, and low-frequency applications, rather than as a direct dependency for high-concurrency commercial quiz platforms.

Pricing and Ecosystem

Its pricing advantage is obvious: it is completely free and requires no authentication, so the barrier to entry is very low. The main page does not mention an official SDK, SLA, enterprise support, paid plans, or self-hosting options; integration mainly relies on the standard HTTP JSON API. The website includes entries such as Browse, Add New Questions, Discuss, and Login, indicating that maintenance of the question bank depends on community contributions.

Pros, Cons, and Best Fit

The strengths are that it is free, simple, easy to get started with, and its Session Token feature is useful for continuous quiz sessions. The downsides are strict rate limits, a limited question-bank size, and a lack of production-grade support information. It is well suited to learning projects, mini-games, classroom interaction, chatbot Q&A modules, or prototype validation. The source text provides no information about access from China, so it is unclear whether it can be reached directly; if access is unstable, a local question bank, open-source Q&A dataset, or self-built trivia API may be a better alternative.

⚠ This review is compiled from public sources and does not constitute a purchase recommendation. Verify all facts on the vendor's official site. Verify on opentdb.com official site.

About this entry

opentdb.com is an United States API & Data provider. TG4G tracks its product information, an overall rating of 8.0/10, and a China-accessibility score of China direct-connect friendly. Click "Visit Official Site" to reach opentdb.com directly.

Get Started

Price not disclosed
Visit opentdb.com official site →
External link · prices subject to vendor site

Frequently Asked Questions

What is opentdb.com?
opentdb.com is a United States-based API & Data provider. Free trivia question database API, suitable for games and learning apps.
Is opentdb.com good? Is it worth it?
opentdb.com scores 8.0/10 on TG4G — a strong rating, based in 美国. See the in-depth review below for pros, cons and China accessibility.
Is opentdb.com usable in China?
opentdb.com offers good direct-connect performance in mainland China and works in most regions without a proxy. The provider is headquartered in United States and primarily serves overseas markets.
How do I sign up for opentdb.com?
Visit the opentdb.com official site to complete sign-up. Registration typically requires an email (Gmail/Outlook recommended) and a payment method. Most overseas services accept credit card / PayPal / crypto. See the "Visit Official Site" button on this page for the direct link.

Browse Other Categories

View the full directory →