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": "Art",
"correct_answer": "Vincent van Gogh",
"difficulty": "easy",
"incorrect_answers": [
"Salvador Dali",
"Rembrandt",
"Michelangelo"
],
"question": "Which artist is famous for cutting off his ear?",
"type": "multiple"
},
{
"category": "Entertainment: Film",
"correct_answer": "False",
"difficulty": "easy",
"incorrect_answers": [
"True"
],
"question": "Shaquille O'Neal appeared in the 1997 film \"Space Jam\".",
"type": "boolean"
},
{
"category": "History",
"correct_answer": "Vladimir Lenin",
"difficulty": "easy",
"incorrect_answers": [
"Joseph Stalin",
"Vladimir Putin",
"Mikhail Gorbachev"
],
"question": "Who led the Communist Revolution of Russia?",
"type": "multiple"
},
{
"category": "General Knowledge",
"correct_answer": "Horse",
"difficulty": "medium",
"incorrect_answers": [
"Weave",
"Guitar",
"Boat"
],
"question": "In ancient Greece, if your job were a \"hippeus\" which of these would you own?",
"type": "multiple"
},
{
"category": "Science & Nature",
"correct_answer": "8",
"difficulty": "easy",
"incorrect_answers": [
"9",
"11",
"10"
],
"question": "How many planets are there in the Solar System?",
"type": "multiple"
}
],
"success": true
}