GETGet Trivia By Id
https://api-trivia.dataandapis.com/v1/trivia/{id}
Path parameters
| Parameter | Example | |
|---|---|---|
| id | 142 | Required |
Example request
curl "https://api-trivia.dataandapis.com/v1/trivia/142" \
-H "X-Api-Key: YOUR_API_KEY"{
"id": 142,
"category": "Entertainment: Comics",
"type": "multiple",
"difficulty": "hard",
"question": "In the Batman comics, by what other name is the villain Dr. Jonathan Crane known?",
"correct_answer": "Scarecrow",
"incorrect_answers": [
"Bane",
"Calendar Man",
"Clayface"
]
}



