TheCatAPI logo

Free cat images and breed data for developers

For people who love making cool tech for cats.

An API all about cats. 60k+ images, breeds and facts. Free to start, and always free for students and teachers.

TheCatAPI is part of Happier.Pet, personalised pet care for insurers, vets and pet food brands.

Cat image for voting - ID: dbu

Get cats with a few lines of code

Get instant access to tens of thousands of cats so you can delight your users with ever-changing images, facts and breed info.

Read the docs
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));
  • Aden with a ragdoll cat.

    Aden Forshaw

    Founder & Data Research

  • Nick on a pebble beach with a smiling brown dog.

    Nick

    Co-founder & Product

  • Pippa in a meadow, laughing as a dog licks her cheek.

    Pippa Churcher

    Co-founder & Growth

About us

Made by the team behind TheDogAPI. Still free for learners who love cats.

TheCatAPI is built and run by the same small team as TheDogAPI. Developers use it to build apps, games, sites and classroom projects, and it stays free for students and teachers.

What’s in the API

Images

Tens of thousands of cat photos, searchable by breed and category.

Breeds

Breed data including origin, temperament and life span.

Votes and favourites

Let your users vote on cats and save their favourites.

Your own uploads

Upload your own cat photos and use them alongside ours.

For pet insurers, vets and pet food brands

TheCatAPI is part of

Building for a pet insurer, vet or pet food brand? builds on the same data to give every pet a PetProfile, with personalised guidance for your customers’ pet parents, in your brand.

  • Personalisation that gets smarter

    Content tailored to each pet’s breed, age, sex, location and body condition.

  • Longer, happier lives

    Vet-verified guidance at the moments parents choose, plus body condition, pose and video, dental and life stage insights.

  • Evidence-based

    Every insight traces back to its source.

Frequently Asked Questions

Because every day is a Caturday.