The Cat API · Schema

Cat API Image

A cat image object returned by The Cat API.

AnimalsCatsImageMedia

Properties

Name Type Description
id string Unique identifier for the image.
url string Full URL to the image.
width integer Image width in pixels.
height integer Image height in pixels.
breeds array Breed information associated with this image.
categories array
View JSON Schema on GitHub

JSON Schema

the-cat-api-image-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/the-cat-api/main/json-schema/the-cat-api-image-schema.json",
  "title": "Cat API Image",
  "description": "A cat image object returned by The Cat API.",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Unique identifier for the image."
    },
    "url": {
      "type": "string",
      "format": "uri",
      "description": "Full URL to the image."
    },
    "width": {
      "type": "integer",
      "description": "Image width in pixels."
    },
    "height": {
      "type": "integer",
      "description": "Image height in pixels."
    },
    "breeds": {
      "type": "array",
      "description": "Breed information associated with this image.",
      "items": {
        "$ref": "#/$defs/Breed"
      }
    },
    "categories": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Category"
      }
    }
  },
  "required": ["id", "url"],
  "$defs": {
    "Breed": {
      "type": "object",
      "properties": {
        "id": { "type": "string" },
        "name": { "type": "string" },
        "origin": { "type": "string" },
        "temperament": { "type": "string" },
        "description": { "type": "string" },
        "life_span": { "type": "string" },
        "adaptability": { "type": "integer", "minimum": 1, "maximum": 5 },
        "affection_level": { "type": "integer", "minimum": 1, "maximum": 5 },
        "child_friendly": { "type": "integer", "minimum": 1, "maximum": 5 },
        "dog_friendly": { "type": "integer", "minimum": 1, "maximum": 5 },
        "energy_level": { "type": "integer", "minimum": 1, "maximum": 5 },
        "intelligence": { "type": "integer", "minimum": 1, "maximum": 5 },
        "shedding_level": { "type": "integer", "minimum": 1, "maximum": 5 },
        "wikipedia_url": { "type": "string", "format": "uri" }
      },
      "required": ["id", "name"]
    },
    "Category": {
      "type": "object",
      "properties": {
        "id": { "type": "integer" },
        "name": { "type": "string" }
      },
      "required": ["id", "name"]
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/the-cat-api-image"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.