GET /trivia/questions
Rufen Sie zufällige Quizfragen mit Multiple-Choice- oder Wahr/Falsch-Antworten ab. Konfigurierbar nach Menge (bis zu 50), Kategorie und Schwierigkeitsgrad (leicht/mittel/schwer). Liefert Fragen mit richtigen und falschen Antworten, Kategorie und Schwierigkeit. Nützlich für Quiz-Apps, Quizspiele, Bildungstools, Teambuilding-Aktivitäten und Chatbot-Unterhaltungsfunktionen. Daten aus der Open Trivia Database mit über 4.000 verifizierten Fragen.
amount
optional
Standard: 10
Count
category
optional
Category
difficulty
optional
easy/medium/hard
| Name | Erforderlich | Standard | Beschreibung |
|---|---|---|---|
amount |
Nein | 10 | Count |
category |
Nein | - | Category |
difficulty |
Nein | - | 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": "History",
"correct_answer": "Mormonism",
"difficulty": "medium",
"incorrect_answers": [
"Buddhism",
"Christianity",
"Hinduism"
],
"question": "Joseph Smith was the founder of what religion?",
"type": "multiple"
},
{
"category": "Entertainment: Music",
"correct_answer": "Billy Corgan",
"difficulty": "medium",
"incorrect_answers": [
"Brett Scallions",
"Eddie Vedder",
"Chino Moreno"
],
"question": "Who is the lead singer of the Smashing Pumpkins?",
"type": "multiple"
},
{
"category": "Science & Nature",
"correct_answer": "Iron",
"difficulty": "medium",
"incorrect_answers": [
"Oxygen",
"Hydrogen",
"Uncharged atoms"
],
"question": "Deionized water is water with which of the following removed?",
"type": "multiple"
},
{
"category": "Geography",
"correct_answer": "Lion",
"difficulty": "easy",
"incorrect_answers": [
"Bull",
"Horse",
"Dog"
],
"question": "The body of the Egyptian Sphinx was based on which animal?",
"type": "multiple"
},
{
"category": "Entertainment: Video Games",
"correct_answer": "Belushya Guba",
"difficulty": "medium",
"incorrect_answers": [
"Yasnaya Polyana",
"Pochinki",
"Georgopol"
],
"question": "Which of these is NOT a name of a city in the main island of PLAYERUNKNOWN'S BATTLEGROUNDS?",
"type": "multiple"
}
],
"success": true
}