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: Comics",
"correct_answer": "False",
"difficulty": "medium",
"incorrect_answers": [
"True"
],
"question": "In the webcomic Homestuck, the first character introduced is Dave Strider.",
"type": "boolean"
},
{
"category": "Entertainment: Video Games",
"correct_answer": "Venom",
"difficulty": "hard",
"incorrect_answers": [
"Cursed",
"Bleeding",
"Slow"
],
"question": "In Terraria, which debuff does the ankh charm not provide immunity to?",
"type": "multiple"
},
{
"category": "Mythology",
"correct_answer": "True",
"difficulty": "hard",
"incorrect_answers": [
"False"
],
"question": "Rannamaari was a sea demon that haunted the people of the Maldives and had to be appeased monthly with the sacrifice of a virgin girl.",
"type": "boolean"
},
{
"category": "Entertainment: Television",
"correct_answer": "True",
"difficulty": "easy",
"incorrect_answers": [
"False"
],
"question": "In \"Star Trek\", Klaang is a typical Klingon male.",
"type": "boolean"
},
{
"category": "Art",
"correct_answer": "Salvador Dali",
"difficulty": "easy",
"incorrect_answers": [
"Jackson Pollock",
"Vincent van Gogh",
"Edgar Degas"
],
"question": "Who painted \"Swans Reflecting Elephants\", \"Sleep\", and \"The Persistence of Memory\"?",
"type": "multiple"
}
],
"success": true
}