Dogs API
Overview
The Dog CEO API serves random dog images from the Stanford Dogs Dataset, organized by breed. No auth needed—it returns direct image URLs, perfect for building a dog photo app.
Beginner Tip
Use /api/breeds/image/random for one image. Append a breed name like /api/breed/husky/images/random for breed-specific photos.
Available Data
Example Response
{
"message": "https://images.dog.ceo/breeds/retriever-golden/n02099601_1.jpg",
"status": "success"
} Field Reference
message URL of the random dog image—use this as your img src attribute status API response status, always "success" on valid requests Implementation Example
const url = "https://dog.ceo/dog-api/";
const response = await fetch(url);
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
console.log(data); What Can You Build?
Note: These code examples are AI-generated and unverified. Always refer to the official API documentation for accurate usage.
Common Errors & Troubleshooting
Measured Score Breakdown
Live HTTP request to the API endpoint
Fully tested on Jul 23, 2026
Technical Specifications
Recipes Using Dogs
Build something with this API. Each recipe includes step-by-step instructions and code outlines.
Similar APIs
View All →Axolotl
⭐ Beginner's PickAxolotl API returns random photos and fun facts about axolotls (aquatic salamanders).
Cat Facts
⭐ Beginner's PickCat Facts delivers random, verified facts about cats via a simple REST API.
Cataas
Cataas provides programmatic access to cat as a service (cats pictures and gifs) via REST API.
Dog Facts
⭐ Beginner's PickDog Facts API returns random interesting facts about dogs as plain JSON.
Dog Facts
⭐ Beginner's PickThis Dog Facts API returns random dog facts in clean JSON with no API key required.