Skip to content

The Trivia API

Multiple-choice trivia questions with tags and difficulty.
Status
Working
API key
Not needed
Browser calls
Runs in the browser
Latency
259 ms

Build snapshot, not live. One verifier run on , from the machine that built this site. How we check

Example request

GEThttps://the-trivia-api.com/v2/questions?limit=1

Sent from your browser straight to the-trivia-api.com. No proxy: this site never sees the request or the answer.

Copy the request

Shell
curl -s 'https://the-trivia-api.com/v2/questions?limit=1'

Response stored by the verifier

This is what the-trivia-api.com answered when the verifier sent the request above on : HTTP 200, application/json. Arrays are cut to two items and long strings are shortened. It comes from the build snapshot.

application/json · stored
[
  {
    "category": "society_and_culture",
    "id": "622a1c357cc59eab6f94fd38",
    "correctAnswer": "William of Ockham",
    "incorrectAnswers": [
      "Denis Diderot",
      "Jean-Paul Sartre"
    ],
    "question": {
      "text": "Which philosopher famously said 'Entities should not be multiplied unnecessarily'?"
    },
    "tags": [
      "philosophy",
      "quotes"
    ],
    "type": "text_choice",
    "difficulty": "hard",
    "regions": [],
    "isNiche": false
  }
]

Availability

Up 1 of 1 day checked · 30-day window

What counts as up for this API: an answer within five seconds, a 2xx status, and the body must be a JSON array with at least one item.

Last check: — passed, HTTP 200 in 259 ms.

The check runs from our infrastructure, not from where you are. If you need certainty, send the request yourself above. How the verifier works.

Questions

Does the The Trivia API need an API key?

No. The sample request on this page was answered without a key, token or account.

Can I call the The Trivia API from the browser?

Yes. the-trivia-api.com answered our verifier with an Access-Control-Allow-Origin header on Oct 3, 2026, so a fetch call from a web page can read the response.

Is the The Trivia API working?

At the check on Oct 3, 2026 it returned HTTP 200 with the expected data in 259 ms. The status at the top of this page shows the most recent result we have.