📢 Public APIs
Get a random dog
The API endpoint returns a randomly selected dog object from a list.
When accessing this endpoint, you will receive a response containing a dog object randomly chosen from the available list.
get/public/dogs/dog/random
Response
Get a random dog
Example response
{
"data": {
"bred_for": "Hunting & holding boars, Guardian",
"breed_group": "Working",
"height": {
"imperial": "28 - 32",
"metric": "71 - 81"
},
"id": 89,
"image": {
"height": 732,
"id": "B1Edfl9NX",
"url": "https://cdn2.thedogapi.com/images/B1Edfl9NX.jpg",
"width": 800
},
"life_span": "7 - 10 years",
"name": "Great Dane",
"reference_image_id": "B1Edfl9NX",
"temperament": "Friendly, Devoted, Reserved, Gentle, Confident, Loving",
"weight": {
"imperial": "110 - 190",
"metric": "50 - 86"
}
},
"message": "Dog fetched successfully",
"statusCode": 200,
"success": true
}