FreetierapisFree APIs you can call right now

Open Trivia API

Trivia Questions

Called and docs checked Measured by usFrom the public-apis list
Our call
HTTP 200
Latency
2,367 ms
From a browser
Allowed
Key
No key
Docs link
Answered
GEThttps://opentdb.com/api.php?amount=3

Press Run: the request leaves from your browser, and you see what it gets back.

const res = await fetch("https://opentdb.com/api.php?amount=3");
if (!res.ok) throw new Error(`HTTP ${res.status}`);
const data = await res.json();
console.log(data);

Open Trivia docsMore Games & Comics APIs

Come back to see anything that changed: answers, keys, browser access, rate limits.

Our test call Measured by us

Request
GET https://opentdb.com/api.php?amount=3
Result
HTTP 200 in 2,367 ms (2,368 ms with the body)
From a browser
Browser OK Access-Control-Allow-Origin: *
HTTPS
Yes
Response
application/json, 755 bytes, a JSON object
Fields
response_code results
Rate-limit headers
none sent (that doesn't mean unlimited)
The list has CORS as "not recorded" for Open Trivia, but it sent Access-Control-Allow-Origin: * to us, so browser code can call it.

Change log Measured by us

No changes seen since we started tracking on 2026-11-06. Each check compares the answer, the key requirement, the browser (CORS) header and the rate limit with the run before.

What the list says From the public-apis list

Auth
No key
CORS
Not recorded Our call disagrees
Docs link
opentdb.com answered 200 in 2263 ms on 2026-11-06 Measured

Open Trivia is listed in Games & Comics. Open Trivia needs no key: you can call it without signing up. The list doesn't record whether it allows browser calls (CORS), so test that before building a browser-only app on it.

The list has 97 Games & Comics APIs: 63 need no key, 30 need an API key and 4 use OAuth, and 42 of them are marked as allowing browser calls. 21 others have the same setup, such as Atlas Academy, Call of Duty and Chess.com.

Open Trivia and other Games & Comics APIs

FactOpen Trivia (this page)CheapSharkChess.comDeck of CardsDigimon Information
Key needed From the public-apis listNo keyNo keyNo keyNo keyNo key
CORS, as listed From the public-apis listNot recordedYesNot recordedNot recordedNot recorded
Our test call Measured by us2,367 ms400 ms2,217 ms2,266 ms2,191 ms
Browser call Measured by usAllowedAllowedAllowedAllowedAllowed
Docs link Measured by usAnsweredAnsweredAnsweredAnsweredAnswered

All 97 Games & Comics APIs

Questions

Does Open Trivia need an API key?

Open Trivia needs no key: you can call it without signing up.

Can I call Open Trivia from JavaScript in the browser?

Yes. When we called it it sent Access-Control-Allow-Origin: *, so a web page can call it directly.

Where are the Open Trivia docs?

At https://opentdb.com/api_config.php. When we checked, the link answered 200 in 2263 ms.

What are some alternatives to Open Trivia?

Other Games & Comics APIs in the list include Atlas Academy, Call of Duty, Chess.com and Comic Vine.

Listing from public-apis (github.com/marcelscruz/public-apis), MIT. Measurements are ours: how we check.

Report a problem with this page