Dogs
Based on the Stanford Dogs Dataset
- Authentication
- No auth
- HTTPS
- Yes
- CORS
- Yes
- Category
- Animals
- Documentation / URL
- https://dog.ceo/dog-api/
Overview
dog.ceo is the classic “dogs as a service” API: thousands of dog photos organized by breed, served as JSON with no API key required. Simple, fast, and CORS-enabled — a favorite for demos, random-photo widgets, and teaching fetch().
Quick Start
A random dog photo (verified live):
curl "https://dog.ceo/api/breeds/image/random"
{"message": "https://images.dog.ceo/breeds/african-wild/n02116738_806.jpg", "status": "success"}
Random photo from a specific breed:
curl "https://dog.ceo/api/breed/husky/images/random"
Sub-breed (e.g. Australian Shepherd):
curl "https://dog.ceo/api/breed/shepherd/australian/images/random"
Multiple images:
curl "https://dog.ceo/api/breed/husky/images/random/3"
Breed list:
curl "https://dog.ceo/api/breeds/list/all"
Authentication
None — keyless and open.
Rate Limits & Notes
- Free with no documented hard limit; it’s a community-run service — cache images rather than hammering.
- Images are served from
images.dog.ceo— hotlink-friendly. - The API covers breeds and sub-breeds (
/api/breed/{breed}/{sub-breed}/images/random). - CORS is enabled — browser calls work directly.
FAQ
Is dog.ceo free? Yes — free, keyless, no registration.
Can I get images for a specific breed?
Yes — /api/breed/{breed}/images/random (sub-breeds included).
Can I call it from the browser? Yes — CORS is enabled.