PASAR API

🌐 Open Trivia DB ~ keyless quiz questions

← directory
Open Trivia DatabaseFun & playgroundtier: openauth: no authpricing: freeverified 2026-07-03

Thousands of multiple-choice and true/false trivia questions across 24 categories and 3 difficulties, keyless JSON. Answers come HTML-encoded ~ decode before display. Global, works for MY.

View docs ↗ More Fun & playground APIs

Call it

curl --fail-with-body --location --max-time 30 'https://opentdb.com/api.php?amount=5&type=multiple'

AI prompt

I'm building an app using a public Southeast Asian API (no private credentials needed).

API: Open Trivia DB ~ keyless quiz questions
Provider: Open Trivia Database
Endpoint: GET https://opentdb.com/api.php?amount=5&type=multiple
Response format: JSON

Source: Open Trivia Database (https://opentdb.com/api_config.php)
Source type: Curated source
Endpoint type: Provider API base URL
Integration difficulty: Copy-paste ready
Last checked: 2026-07-03
Production caveat: Still handle empty rows, schema changes, pagination, stale coverage, and temporary upstream failures.

Help me fetch and display this data. Follow the documented format and handle errors, empty responses, stale coverage, caching and rate limits.

Related Fun & playground APIs

Radio Browser ~ keyless directory of world radio streamsadsb.lol ~ live aircraft over any point (keyless ADS-B)Open-Meteo Marine ~ keyless wave, swell & sea forecastsWhere The ISS At? ~ live space station positionLaunch Library 2 ~ upcoming rocket launches worldwidewttr.in ~ weather you can curlOpen Notify ~ who is in space right nowNASA APOD ~ astronomy picture of the dayJikan ~ keyless MyAnimeList anime & manga dataiTunes Search ~ keyless music, app & podcast lookup