Trivia Nerd

Open Trivia Question API

Search Questions

Random Sample Questions

Total Number of Questions Presently: 190
Style Category Question Answer
standard Star Wars Whom did R2-D2 tell Luke Skywalker he belonged to? R2-D2 told Luke Skywalker he belonged to Obi-Wan Kenobi.
standard Doctor Who Who receives a recorded message from the Doctor when he is stuck in 1975? Sally Sparrow
standard Star Wars According to Yoda, when would Luke Skywalker know the good side from the bad? When he was calm, at peace.
standard Star Wars What did Qui-Gon Jinn tell the Jedi Council he was going to do? He was going to take Anakin Skywalker as his Padawan
standard Star Wars Which manufacturer produced the E-11 blaster rifle? BlasTech

Sample API Request & JSON Response


GET /api/questions?limit=5&random=true


API Usage


GET /api/questions

Retreive questions.

Parameter Datatype Default Description
difficulty int 0 0 (Unknown); 1 (Easy) - 5 (Expert)
style string standard standard, jeopardy, analogy
category string Category you want to return
limit int 10 Number of questions to return
offset int 0 Offset the returned questions
random boolean 0 Retreive a random selection of questions

POST /api/questions

Add new questions to the dataset.

Parameter Datatype Default Description
question string required
answer string required
style string standard standard, jeopardy, analogy
category string
difficulty int 0 0 (Unknown); 1 (Easy) - 5 (Expert)
tags string Comma separated list of keywords
meta string Additional information related to the question
reference string URL, book, or person to cite as research source for this question


GET /api/categories

Retreive a list of available categories.

  • No parameters available


GET /api/tags

Retreive a list of used tags.

  • No parameters available