Back to catalog

Endpoint

Open Trivia DB — one question

URL-encoded categories and difficulty optional.

Trivia JSON

GamesNo API keyDefault GET

HTTP console

Example URL
https://opentdb.com/api.php?amount=1&type=multiple
Request

Use HTTPS GET unless the provider documents POST. Example: GET ?amount=&type=

GET ?amount=&type=
Response

{ response_code, results[] }

{"response_code":0,"results":[{"question":"…","correct_answer":"…"}]}
Outbound requestProxy

Executes on the server with rate limits and host rules. Edit the URL and payload to match your scenario—responses show real upstream status and body (truncated if very large).

Upstream response

Ready. Click Send to execute the request. Status, latency, content type, and body appear here—formatted when the payload is JSON.