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": "General Knowledge",
"correct_answer": "False",
"difficulty": "easy",
"incorrect_answers": [
"True"
],
"question": "Studies suggest that approximately 40% of the world population is left-handed.",
"type": "boolean"
},
{
"category": "Entertainment: Music",
"correct_answer": "2016",
"difficulty": "medium",
"incorrect_answers": [
"2001",
"2008",
"2019"
],
"question": "In what year did US band Weezer release Weezer (The White Album)?",
"type": "multiple"
},
{
"category": "Entertainment: Comics",
"correct_answer": "1970",
"difficulty": "hard",
"incorrect_answers": [
"2000",
"1990",
"1985"
],
"question": "What year was the first San Diego Comic-Con?",
"type": "multiple"
},
{
"category": "Entertainment: Video Games",
"correct_answer": "False",
"difficulty": "easy",
"incorrect_answers": [
"True"
],
"question": "Watch_Dogs 2 is a prequel.",
"type": "boolean"
},
{
"category": "Entertainment: Video Games",
"correct_answer": "Michael Cardenas",
"difficulty": "medium",
"incorrect_answers": [
"Packie McReary",
"Tommy Vercetti",
"Lester Crest"
],
"question": "What character is NOT apart of the Grand Theft Auto series?",
"type": "multiple"
}
],
"success": true
}