v1

latestOpenAPI 3.0.3raw.githubusercontent.com2024-10-2916802.4 MB
📢 Public APIs

Get a random cat

The API endpoint returns a randomly selected cat object from a list.

When accessing this endpoint, you will receive a response containing a cat object randomly chosen from the available list.

get/public/cats/cat/random

Response

Get a random cat

messagestring
statusCodenumber
successboolean

Example response

{
  "data": {
    "adaptability": 5,
    "affection_level": 5,
    "cfa_url": "http://cfa.org/Breeds/BreedsKthruR/Korat.aspx",
    "child_friendly": 4,
    "country_code": "TH",
    "country_codes": "TH",
    "description": "The Korat is a natural breed, and one of the oldest stable cat breeds. They are highly intelligent and confident cats that can be fearless, although they are startled by loud sounds and sudden movements. Korats form strong bonds with their people and like to cuddle and stay nearby.",
    "dog_friendly": 5,
    "energy_level": 3,
    "grooming": 1,
    "health_issues": 1,
    "id": 37,
    "image": "https://cdn2.thecatapi.com/images/DbwiefiaY.jpg",
    "intelligence": 5,
    "life_span": "10 - 15",
    "name": "Korat",
    "origin": "Thailand",
    "rare": 1,
    "shedding_level": 3,
    "social_needs": 5,
    "stranger_friendly": 2,
    "temperament": "Active, Loyal, highly intelligent, Expressive, Trainable",
    "vcahospitals_url": "https://vcahospitals.com/know-your-pet/cat-breeds/korat",
    "vetstreet_url": "http://www.vetstreet.com/cats/korat",
    "vocalisation": 3,
    "weight": {
      "imperial": "7 - 11",
      "metric": "3 - 5"
    },
    "wikipedia_url": "https://en.wikipedia.org/wiki/Korat"
  },
  "message": "Cat fetched successfully",
  "statusCode": 200,
  "success": true
}