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: Comics",
"correct_answer": "1939",
"difficulty": "easy",
"incorrect_answers": [
"1932",
"1951",
"1936"
],
"question": "When was Marvel Comics founded?",
"type": "multiple"
},
{
"category": "Science & Nature",
"correct_answer": "False",
"difficulty": "medium",
"incorrect_answers": [
"True"
],
"question": "The most frequent subconscious activity repeated by the human body is blinking.",
"type": "boolean"
},
{
"category": "Entertainment: Video Games",
"correct_answer": "Gradius",
"difficulty": "medium",
"incorrect_answers": [
"Contra",
"Castlevania",
"Dance Dance Revolution"
],
"question": "In which game did the Konami Code make its first appearance?",
"type": "multiple"
},
{
"category": "Mythology",
"correct_answer": "Tree",
"difficulty": "hard",
"incorrect_answers": [
"Mountain",
"Temple",
"Castle"
],
"question": "What immense structure is referred to in Norse Mythology as the Yggdrasil.",
"type": "multiple"
},
{
"category": "Vehicles",
"correct_answer": "Koenigsegg",
"difficulty": "medium",
"incorrect_answers": [
"Bugatti",
"Lamborghini",
"McLaren"
],
"question": "Which supercar company is from Sweden?",
"type": "multiple"
}
],
"success": true
}