Open Trivia Database

A completely free JSON API for trivia questions. Supports filtering by category, difficulty, and question type. Features session token management to prevent duplicate questions.

Claim this API

Are you the operator of Open Trivia Database? Submit a claim to establish contact with us.

Report an Issue

Found something wrong with Open Trivia Database? Let us know about broken links, changed auth, deprecated endpoints, or other issues.

Slug: open-trivia-database
Key: opentdb.com:open-trivia-database
Base URL: https://opentdb.com/
Auth: none
Endpoints: 5
Reachable: unknown
CORS: unknown
Tier: verified

Links

Homepage: https://opentdb.com/
API Base: https://opentdb.com/

Topics

EDUCATION, ENTERTAINMENT

Endpoints (5)

Path Summary Response Auth
api.php Get trivia questions ?
api_category.php List categories ?
api_count.php Get category question count ?
api_count_global.php Get global question statistics ?
api_token.php Session token management ?