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": "Mythology",
"correct_answer": "Mars",
"difficulty": "easy",
"incorrect_answers": [
"Jupiter",
"Juno",
"Ares"
],
"question": "The ancient Roman god of war was commonly known as which of the following?",
"type": "multiple"
},
{
"category": "Entertainment: Comics",
"correct_answer": "Spiral City",
"difficulty": "easy",
"incorrect_answers": [
"Mega-City One",
"Rockwood",
"Star City"
],
"question": "In Black Hammer, what city did the heroes save from the Anti-God?",
"type": "multiple"
},
{
"category": "Entertainment: Television",
"correct_answer": "True",
"difficulty": "medium",
"incorrect_answers": [
"False"
],
"question": "The author behind the acclaimed novel \"Leaving Las Vegas\" also wrote an episode of Rugrats.",
"type": "boolean"
},
{
"category": "Entertainment: Cartoon & Animations",
"correct_answer": "Andy",
"difficulty": "easy",
"incorrect_answers": [
"Edward",
"Danny",
"Matt"
],
"question": "In the Pixar film, \"Toy Story\" what was the name of the child who owned the toys?",
"type": "multiple"
},
{
"category": "Science: Gadgets",
"correct_answer": "1995",
"difficulty": "easy",
"incorrect_answers": [
"2000",
"1990",
"1980"
],
"question": "When was the DVD invented?",
"type": "multiple"
}
],
"success": true
}