Pictures of cats from Tumblr.
TheCatAPI is a REST API that provides access to cat images and associated breed data. Requests return an array of image objects containing the image URL, dimensions, and, where available, breed information such as temperament, origin, weight, and life span. A related image can also carry favourite or vote data if those have been set through the API.
Unauthenticated requests are limited to a maximum of 10 images per call. Access with an API key, sent via the x-api-key header or api_key query parameter, raises the retrievable limit and unlocks additional query parameters, including pagination, sort order (including random), filtering by breed IDs, category IDs, and sub_id, and restricting results to images with breed data.
The API also supports voting and favouriting images, and documentation includes an OpenAPI spec, Postman collection, code samples, and an NPM library. It is intended for developers building applications that need cat image content or breed reference data, and a companion product, TheDogAPI, provides equivalent functionality for dogs.
Yes, you can get up to 10 random images without an API key; an API key from the welcome email is required for more images and additional fields.
Use your API key as the 'x-api-key' header or as the api_key query string parameter.
Yes, use the breed_ids query parameter with comma-delimited breed IDs, e.g. ?breed_ids=beng,abys.
Yes, TheDogAPI.com is a companion API mentioned in the documentation.
There is an NPM node library for installation, plus Postman API docs and an OpenAPI spec doc.
Show your product to thousands of developers
· 100k monthly pageviews
· 7k newsletter subscribers
Cat as a service (cats pictures and gifs).
Pictures of dogs based on the Stanford Dogs Dataset.
Random facts and breed information about dogs.
Retrieve recent or notable birding observations within a region.
Cat for every HTTP Status.
Dogs for every HTTP response status code.