Open Trivia

Provides trivia questions across dozens of categories with filtering by difficulty and question type. Supports session tokens to avoid duplicate questions within a session, with no authentication required.

Claim this API

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

Report an Issue

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

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

Links

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

Topics

ENTERTAINMENT

Endpoints (5)

Path Summary Response Auth
api.php Get trivia questions text/plain
api_category.php Get trivia categories text/plain
api_count.php Get category question counts application/json
api_count_global.php Get global question counts text/plain
api_token.php Session token management application/json