Skip to content

Random Images

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

Returns a random number of dinosaur images. Minimum of 1 and maximum of 10.

ParameterTypeRequiredMinMaxDescriptionExample
countintegerYes110Number of random images to retrieve5
{
"count": 5,
"data": [
{
"title": "Zephyrosaurus in Copenhagen",
"description": "Zephyrosaurus skeleton, Natural History Museum of Denmark, Copenhagen.",
"author": "FunkMonk",
"authorURL": "https://commons.wikimedia.org/wiki/User:FunkMonk",
"imageURL": "https://commons.wikimedia.org/wiki/File:Zephyrosaurus_in_Copenhagen.jpg",
"license": "Creative Commons Attribution-Share Alike 3.0",
"licenseURL": "https://creativecommons.org/licenses/by-sa/3.0",
"dateCreated": "2021-10-01T07:58:48.000Z",
"dateAccessed": "2024-01-30T14:27:20.683Z"
}
]
}

Demo