v1

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

Get cat by id

The API endpoint retrieves a cat object based on the provided cat ID in the path variable.

By accessing this endpoint with a valid cat ID, you will receive a response containing the details and information specific to the cat with the corresponding ID.

get/public/cats/{catId}

Response

Get cat by id

messagestring
statusCodenumber
successboolean

Example response

{
  "data": {
    "adaptability": 5,
    "affection_level": 5,
    "alt_names": "Sacred Birman, Sacred Cat Of Burma",
    "cfa_url": "http://cfa.org/Breeds/BreedsAB/Birman.aspx",
    "child_friendly": 4,
    "country_code": "FR",
    "country_codes": "FR",
    "description": "The Birman is a docile, quiet cat who loves people and will follow them from room to room. Expect the Birman to want to be involved in what you’re doing. He communicates in a soft voice, mainly to remind you that perhaps it’s time for dinner or maybe for a nice cuddle on the sofa. He enjoys being held and will relax in your arms like a furry baby.",
    "dog_friendly": 5,
    "energy_level": 3,
    "grooming": 2,
    "health_issues": 1,
    "id": 12,
    "image": "https://cdn2.thecatapi.com/images/HOrX5gwLS.jpg",
    "intelligence": 3,
    "lap": 1,
    "life_span": "14 - 15",
    "name": "Birman",
    "origin": "France",
    "shedding_level": 3,
    "social_needs": 4,
    "stranger_friendly": 3,
    "temperament": "Affectionate, Active, Gentle, Social",
    "vcahospitals_url": "https://vcahospitals.com/know-your-pet/cat-breeds/birman",
    "vetstreet_url": "http://www.vetstreet.com/cats/birman",
    "vocalisation": 1,
    "weight": {
      "imperial": "6 - 15",
      "metric": "3 - 7"
    },
    "wikipedia_url": "https://en.wikipedia.org/wiki/Birman"
  },
  "message": "Cat fetched successfully",
  "statusCode": 200,
  "success": true
}