the dog api logo

The Dog API
Dogs as a service.

Because everyday is a Dog day.

An API all about dog.

60k+ Images. Breeds. Facts.

Get dogs with a few lines of code

Get instant access to tens of thousands of dogs so you can delight customers with ever changing content, facts and breed info.


const headers = new Headers({
  "Content-Type": "application/json",
  "x-api-key": "DEMO-API-KEY"
});

var requestOptions = {
  method: 'GET',
  headers: headers,
  redirect: 'follow'
};

fetch("https://staging-api.thedogapi.com/v1/images/search?size=med&mime_types=jpg&format=json&has_breeds=true&order=RANDOM&page=0&limit=1", requestOptions)
  .then(response => response.text())
  .then(result => console.log(result))
  .catch(error => console.log('error', error));        

Frequently Asked Questions