Free APIs › Games & Anime › Open Trivia DB
No keyCORS ✓A · 90

Open Trivia DB

Thousands of trivia questions by category and difficulty — build a quiz in an afternoon.

StatusLive · verified 23 Oct 2026 · 886 ms
AuthenticationNone — call it right now
Browser CORSYes — works from front-end code
Free limitsFree, no key
Official docs ↗ ▶ Open the playground

▶ Live playground

This runs in your browser, straight against the real API. Edit the URL and experiment — break nothing, learn everything.

Press Run to call Open Trivia DB live.

📸 Real response, captured by us

Not a mockup — this is what Open Trivia DB actually returned when we verified it on 23 Oct 2026 (in 886 ms).

{
  "response_code": 0,
  "results": [
    {
      "type": "multiple",
      "difficulty": "easy",
      "category": "Entertainment: Video Games",
      "question": "What company developed the Xbox line of video game consoles?",
      "correct_answer": "Microsoft",
      "incorrect_answers": [
        "Sony",
        "Toshiba",
        "IBM"
      ]
    }
  ]
}

💻 Copy-paste code

Three ways to call Open Trivia DB — pick your weapon.

// Open Trivia DB — no build step, no library. Just fetch.
const res = await fetch("https://opentdb.com/api.php?amount=1&type=multiple");
const data = await res.json();
console.log(data);

🏅 Own this API?

Add the live-verified badge to your docs or repo — it only ever displays the status from our latest check.

<a href="https://freeapis.akclnt.com/api/open-trivia-db/"><img src="https://freeapis.akclnt.com/badge/open-trivia-db.svg" alt="Open Trivia DB — live-verified free API on AKCLNT Free APIs"></a>

📜 Full check history & uptime · Status as JSON · Health score: A · 90/100

🔔 Watch this API — a quiet feed that only speaks the week its status changes (down, recovered, reclassified). How it works

Similar free APIs

PokeAPI

No keyCORS ✓A · 90

Every Pokémon, move, berry and ability ever — the most complete free game API in existence.

Live · verified 23 Oct 2026 · 780 ms📁 Games & Anime · Free, cached, fair use
Done