Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Cataas Cats API

Random and tagged cat image retrieval

Cataas Cats API is one of 4 APIs that Cataas publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

This API exposes 8 JSON Schema definitions.

Tagged areas include Cats. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and 8 JSON Schemas.

This API exposes 7 operations across 7 paths, and defines 2 schemas. It is described by OpenAPI 3.0.3, at version 1.0.0.

Requests are made against a single base URL, https://cataas.com.

7 operations 7 paths 2 schemas 7 GET

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.3
API Version
1.0.0
Base URL
https://cataas.com
Authentication
HTTP Bearer
Resource Areas
1

Authentication & Security 1

Cataas Cats API declares 1 security scheme for authenticating requests. It accepts HTTP bearer tokens (JWT) (bearerAuth).

  • bearerAuth — Admin-only bearer token for moderation and catalog management.

Paths & Operations 7

Across 7 paths, the API surfaces 7 operations — 7 GET. Each is listed below with its method, path, parameters, and response codes.

Cats 7

Random and tagged cat image retrieval

GET
/cat
CATAAS Get a Random Cat Image
getRandomCat 16 params → 200404
GET
/cat/{tag}
CATAAS Get a Random Cat Image by Tag
getRandomCatByTag 10 params → 200404
GET
/cat/gif
CATAAS Get a Random Cat GIF
getRandomCatGif 4 params → 200
GET
/cat/says/{text}
CATAAS Get a Random Cat Image with Text Overlay
getRandomCatSays 8 params → 200
GET
/cat/{tag}/says/{text}
CATAAS Get a Random Tagged Cat with Text Overlay
getRandomCatByTagSays 6 params → 200
GET
/cat/{id}
CATAAS Get a Specific Cat Image by Id
getCatById 5 params → 200404
GET
/cat/{id}/says/{text}
CATAAS Get a Specific Cat with Text Overlay
getCatByIdSays 5 params → 200

Schemas 2

The contract defines 2 schemas that model the data the API accepts and returns. The most detailed are Cat (9 properties), ErrorResponse (1 property). Each schema is shown below with its type and property counts.

ErrorResponse
object
Generic error response.
1 property 1 required
Cat
object
A cat catalog document.
9 properties 2 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

cataas-cats-api-openapi.yml Raw ↑

Other APIs Cataas publishes across the network.

Cataas Admin API
Cataas Catalog API
Cataas Upload API