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: Musicals & Theatres",
"correct_answer": "Hamlet",
"difficulty": "medium",
"incorrect_answers": [
"Macbeth",
"King Lear",
"Twelfth Night"
],
"question": "In which Shakespeare play does the character Marcellus say, \"Something is rotten in the state of Denmark\"?",
"type": "multiple"
},
{
"category": "Art",
"correct_answer": "Leonardo da Vinci",
"difficulty": "easy",
"incorrect_answers": [
"Pablo Picasso",
"Claude Monet",
"Vincent van Gogh"
],
"question": "Who painted the Mona Lisa?",
"type": "multiple"
},
{
"category": "Entertainment: Cartoon & Animations",
"correct_answer": "2016",
"difficulty": "medium",
"incorrect_answers": [
"2017",
"2018",
"2015"
],
"question": "In what year did the anime adaptation of \"March Comes In Like A Lion\" air?",
"type": "multiple"
},
{
"category": "Vehicles",
"correct_answer": "Gimli Glider",
"difficulty": "medium",
"incorrect_answers": [
"Gimli Microlight",
"Gimli Chaser",
"Gimli Superb"
],
"question": "What nickname was given to Air Canada Flight 143 after it ran out of fuel and glided to safety in 1983?",
"type": "multiple"
},
{
"category": "Mythology",
"correct_answer": "Jason",
"difficulty": "easy",
"incorrect_answers": [
"Castor",
"Daedalus",
"Odysseus"
],
"question": "Who in Greek mythology, who led the Argonauts in search of the Golden Fleece?",
"type": "multiple"
}
],
"success": true
}