Skip to content

Random Dinosaurs

GET {baseUrl}/api/v1/dinosaurs/random/{count}`

Returns a random number of dinosaurs. Minimum of 1 and maximum of 10.

  • count: The number of random dinosaurs you wish to retrieve. Must be a valid integer between 1 and including 10.
{
"count": 5,
"data": [
{
"id": 1118,
"name": "Zephyrosaurus",
"temporalRange": "Early Cretaceous, ~113 Ma",
"diet": "herbivore",
"locomotionType": "biped",
"description": "...",
"classificationInfo": {...},
"image": {...},
"source": {...}
}
]
}

Demo