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": "False",
"difficulty": "easy",
"incorrect_answers": [
"True"
],
"question": "The logo for Snapchat is a Bell.",
"type": "boolean"
},
{
"category": "Entertainment: Video Games",
"correct_answer": "Agent 4",
"difficulty": "medium",
"incorrect_answers": [
"Agent 1",
"Agent 2",
"Agent 3"
],
"question": "In Splatoon 2's Hero Mode, which agent does the player take the role of?",
"type": "multiple"
},
{
"category": "General Knowledge",
"correct_answer": "Shiatsu",
"difficulty": "medium",
"incorrect_answers": [
"Ukiyo",
"Majime",
"Ikigai"
],
"question": "Which of these is the name of a Japanese system of alternative medicine, literally meaning \"finger pressure\"?",
"type": "multiple"
},
{
"category": "General Knowledge",
"correct_answer": "A Tight Rope",
"difficulty": "easy",
"incorrect_answers": [
"Broken Glass",
"Balls",
"The Moon"
],
"question": "What does a funambulist walk on?",
"type": "multiple"
},
{
"category": "General Knowledge",
"correct_answer": "True",
"difficulty": "easy",
"incorrect_answers": [
"False"
],
"question": "When you cry in space, your tears stick to your face.",
"type": "boolean"
}
],
"success": true
}