# Dog CEO Dog API

Category: [Fun and games](https://free-web-services.com/web-services/other/fun/)  
Page: https://free-web-services.com/web-services/other/fun/dog-ceo-dog-api.html  
Documentation: https://dog.ceo/dog-api/

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 key: Not needed
- 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

Example request:

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

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

