GET /trivia/questions
Get random trivia questions with multiple-choice or true/false answers. Configurable by amount (up to 50), category, and difficulty level (easy/medium/hard). Returns questions with correct and incorrect answers, category, and difficulty. Useful for quiz apps, trivia games, educational tools, team-building activities, and chatbot entertainment features. Data from Open Trivia Database with 4,000+ verified questions.
amount
optional
default: 10
Count
category
optional
Category
difficulty
optional
easy/medium/hard
| Name | Required | Default | Description |
|---|---|---|---|
amount |
No | 10 | Count |
category |
No | - | Category |
difficulty |
No | - | easy/medium/hard |
curl "https://nordapi.ee/api/v1/trivia/questions?amount=5"
curl "https://nordapi.ee/api/v1/trivia/questions?amount=5"
curl "https://nordapi.ee/api/v1/trivia/questions?amount=10&category=17&difficulty=easy"
curl "https://nordapi.ee/api/v1/trivia/questions?amount=20&category=23&difficulty=hard"
{
"count": 5,
"data": [
{
"category": "Entertainment: Music",
"correct_answer": "True",
"difficulty": "medium",
"incorrect_answers": [
"False"
],
"question": "Scottish producer Calvin Harris is from the town of Dumfries, Scotland.",
"type": "boolean"
},
{
"category": "Entertainment: Video Games",
"correct_answer": "False",
"difficulty": "easy",
"incorrect_answers": [
"True"
],
"question": "The main playable character of the 2015 RPG \"Undertale\" is a monster.",
"type": "boolean"
},
{
"category": "General Knowledge",
"correct_answer": "Pink",
"difficulty": "easy",
"incorrect_answers": [
"Yellow",
"Blue",
"Green"
],
"question": "Which of these colours is NOT featured in the logo for Google?",
"type": "multiple"
},
{
"category": "Entertainment: Video Games",
"correct_answer": "Mercy",
"difficulty": "medium",
"incorrect_answers": [
"Reaper",
"Sonic",
"Ana"
],
"question": "Which Overwatch character says the line \"Heroes never die!\"?",
"type": "multiple"
},
{
"category": "Entertainment: Television",
"correct_answer": "George Clooney",
"difficulty": "hard",
"incorrect_answers": [
"Matthew Perry",
"Dennis Miller",
"Pierce Brosnan"
],
"question": "Which of these voices wasn't a choice for the House AI in \"The Simpsons Treehouse of Horror\" short, House of Whacks?",
"type": "multiple"
}
],
"success": true
}