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": "Geography",
"correct_answer": "December 6th",
"difficulty": "hard",
"incorrect_answers": [
"January 2nd",
"November 12th",
"February 8th"
],
"question": "When does Finland celebrate their independence day?",
"type": "multiple"
},
{
"category": "Entertainment: Video Games",
"correct_answer": "FOXDIE",
"difficulty": "medium",
"incorrect_answers": [
"FOXENGINE",
"FOXALIVE",
"FOXKILL"
],
"question": "What is the name of the virus in \"Metal Gear Solid 1\"?",
"type": "multiple"
},
{
"category": "Entertainment: Video Games",
"correct_answer": "DJ_Hyperfresh",
"difficulty": "hard",
"incorrect_answers": [
"MC.princess",
"Kidnotsquid123",
"I<30ffTh3H00k"
],
"question": "In the Nintendo Game Splatoon 2, what is Marina's screen name?",
"type": "multiple"
},
{
"category": "Celebrities",
"correct_answer": "April 23rd, 1564",
"difficulty": "medium",
"incorrect_answers": [
"July 4th, 1409",
"September 29th, 1699",
"December 1st, 1750"
],
"question": "What is generally considered to be William Shakespeare's birth date?",
"type": "multiple"
},
{
"category": "Entertainment: Music",
"correct_answer": "Coolio",
"difficulty": "hard",
"incorrect_answers": [
"Dr Dre",
"Snoop Dogg",
"Ice T"
],
"question": "Artis Leon Ivey Jr. is better known as which rap artist?",
"type": "multiple"
}
],
"success": true
}