Working with Breeds
List and search dog breed information.
List all breeds
curl -H "x-api-key: YOUR-API-KEY" https://api.thedogapi.com/v1/breeds
Search breeds
curl -H "x-api-key: YOUR-API-KEY" "https://api.thedogapi.com/v1/breeds/search?q=terrier"
Example response:
[
{
"id": 1,
"name": "Affenpinscher",
"temperament": "Stubborn, Curious, Playful"
}
]
Get breed details
curl -H "x-api-key: YOUR-API-KEY" https://api.thedogapi.com/v1/breeds/BREED_ID
List facts about a breed
curl -H "x-api-key: YOUR-API-KEY" https://api.thedogapi.com/v1/breeds/BREED_ID/facts?limit=5