the cat api logo

The Cat API
Cats as a service.

Because everyday is a Caturday.

An API all about cat.

60k+ Images. Breeds. Facts.

Cat image for voting - ID: cnp

Get cats with a few lines of code

Get instant access to tens of thousands of cats 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://api.thecatapi.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));        

Get powered by cats

Start smart, scale efficiently.

  • 10,000 requests a month
  • Join our helpful community
  • Free code samples
  • Images & breed information
  • Commercial license
  • Cat facts
  • Detailed breed information
  • Medical data  coming soon
  • 100,000 requests a month
  • Join our helpful community
  • Free code samples
  • Images & breed information
  • Commercial license
  • Cat facts
  • Detailed breed information
  • Medical data  coming soon
  • Realtime web-hooks  coming soon
  • Smart Pet Scan:  Instantly identify breeds, mixes, and characteristics from a photo.
  • Built-in Risk Score:  Get intelligent risk assessments for quicker, smarter decisions.
  • Age & Size Insights:  Quickly read an animal's approximate age and size.
  • Beyond Just Cats:  Get insights for all pets and animals.
  • Flags Uncertainties:  Keep humans in the loop.
  • Perfect Photo Guide:  Tells you if a photo isn't clear and can request actions.
  • Tailored for Your Region:  Get data specific to your country's needs and rules.

The Cat API

Images. Breeds. Facts.