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": "Science: Computers",
"correct_answer": "Connection Layer",
"difficulty": "hard",
"incorrect_answers": [
"Application Layer",
"Transport Layer",
"Physical Layer"
],
"question": "Which of these is not a layer in the OSI model for data communications?",
"type": "multiple"
},
{
"category": "Geography",
"correct_answer": "Atoll",
"difficulty": "easy",
"incorrect_answers": [
"Peninsula",
"Isthmus",
"Delta"
],
"question": "Which of the following geographic features is a ring-shaped coral reef, island, or series of islets?",
"type": "multiple"
},
{
"category": "Geography",
"correct_answer": "1",
"difficulty": "easy",
"incorrect_answers": [
"3",
"4",
"2"
],
"question": "How many time zones does China have?",
"type": "multiple"
},
{
"category": "Entertainment: Video Games",
"correct_answer": "False",
"difficulty": "easy",
"incorrect_answers": [
"True"
],
"question": "In the \"Half-Life\" series, \"H.E.V\" stands for \"Hazardous Evasiveness Vest\"",
"type": "boolean"
},
{
"category": "Vehicles",
"correct_answer": "False",
"difficulty": "hard",
"incorrect_answers": [
"True"
],
"question": "There is a Rolls-Royce model called the 'Spectre'",
"type": "boolean"
}
],
"success": true
}