Fun and games

Dog CEO Dog API

by dog.ceo

Fun and games Added on October 31st, 2026 Checked and working on November 8th, 2026
Visit dog.ceo →

What it does

The Dog API by Dog CEO serves thousands of dog photos sorted by breed and sub-breed: get a random dog image, random images of one breed, or the full list of breeds. Responses are JSON with image URLs. A fun, simple API that is often used in tutorials and demo apps. Free and open source, no key needed.
  • API
  • HTTP-GET
  • JSON
  • REST

At a glance

API key
Not needed · More APIs with no key
Pricing
Free and open source, no key needed.
From the browser
Yes (CORS)
Formats
JSON
Interface
REST, HTTP-GET
Provider
dog.ceo
Last checked
Working on November 8th, 2026

More information: https://dog.ceo/dog-api/

Is this your service? Show that it is listed

Put this badge on your website or in your README; it links to this page. About the badge

Listed on Free Web Services

dog.ceo
Dog CEO Dog API

Example request

curl

curl 'https://dog.ceo/api/breeds/image/random'

JavaScript

const response = await fetch("https://dog.ceo/api/breeds/image/random");
const data = await response.json();
console.log(data);

Python

import requests

response = requests.get(
    "https://dog.ceo/api/breeds/image/random",
    timeout=30,
)
print(response.json())

The JavaScript works in a web page as well as in Node.js 18 or newer.

Did it work for you?

Tell us what you found when you tried Dog CEO Dog API.