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": "Science & Nature",
"correct_answer": "Second",
"difficulty": "easy",
"incorrect_answers": [
"Minute",
"Hour",
"Day"
],
"question": "What is the standard SI unit for time?",
"type": "multiple"
},
{
"category": "Entertainment: Board Games",
"correct_answer": "The Game of Life",
"difficulty": "easy",
"incorrect_answers": [
"Monopoly",
"Risk",
"Snakes and Ladders"
],
"question": "Which of these board games do NOT utilize standard 6-sided dice?",
"type": "multiple"
},
{
"category": "Geography",
"correct_answer": "Xi'an",
"difficulty": "medium",
"incorrect_answers": [
"Beijing",
"Shanghai",
"Hong Kong"
],
"question": "What city is the Terracotta Army located in?",
"type": "multiple"
},
{
"category": "Entertainment: Television",
"correct_answer": "Pencilvester",
"difficulty": "easy",
"incorrect_answers": [
"Beth Smith",
"Summer Smith",
"Mr. Poopy Butthole"
],
"question": "On the show \"Rick and Morty\", in episode \"Total Rickall\", who was a parasite?",
"type": "multiple"
},
{
"category": "Entertainment: Film",
"correct_answer": "Snow White and the Seven Dwarfs",
"difficulty": "easy",
"incorrect_answers": [
"Pinocchio",
"Dumbo",
"Fantasia"
],
"question": "What is the oldest Disney film?",
"type": "multiple"
}
],
"success": true
}