Page contents: Cat ImageCat NamesCat InformationCat StatsCat GraphsIndex Links

API Information

Cat-Data-Pages provides a convenient API endpoint accessing for cat data and images. It simplifies the cat breed data from The CatAPI, as shown in the examples below versus the output shown in the Initial Data Table.

All data is returned in JSON format, within a single layer (no nesting). Note particular datatypes as shown in the examples below.



Cat Image https://cat-data-pages.onrender.com/api/image

Returns URL for a random cat image from TheCatAPI, as shown on the home page, updated every 10 minutes. Also provides "minutes_left" to advise wait periods before future requests.

	
{
  "URL": "https://cdn2.thecatapi.com/images/KJF8fB_20.jpg",
  "minutes_left": "08:42" # example, not current value
}
	
random cat image


Cat Names https://cat-data-pages.onrender.com/api/names

Returns list of cat (breed) names, and their format for subsequent requests.

	
{
  "Abyssinian": "abyssinian",
  "Aegean": "aegean",
  "American Bobtail": "american_bobtail",
   # etc . . .
  "Turkish Van": "turkish_van",
  "York Chocolate": "york_chocolate"
}
	


Cat Information https://cat-data-pages.onrender.com/api/random/info example link for random cat

Returns information about a particular cat, or a random cat. Specify 'random' or a cat name, see list above.


	 https://cat-data-pages.onrender.com/api/american_bobtail/info
		
{
  "Cat": "American Bobtail",
  "Data": "information",
  "Page": "https://cat-data-pages.onrender.com/cats/American%20Bobtail",
  "alt names": [
    ""
  ],
  "description": "American Bobtails are loving and incredibly intelligent cats possessing a distinctive wild appearance. They are extremely interactive cats that bond with their human family with great devotion.",
  "image": "https://cdn2.thecatapi.com/images/hBXicehMA.jpg",
  "origin": "United States (USA)",
  "temperament": "Intelligent, Interactive, Lively, Playful, Sensitive",
  "traits": [
    "suppressed tail"
  ],
  "wikipedia": "https://en.wikipedia.org/wiki/American_Bobtail"
}
	
American Bobtail image


Cat Stats https://cat-data-pages.onrender.com/api/random/stats example link for random cat

Returns statistics about a particular cat, or a random cat. Specify 'random' or a cat name, see list above.


	 https://cat-data-pages.onrender.com/api/american_bobtail/stats
		
{
  "Cat": "American Bobtail",
  "Data": "stats",
  "Page": "https://cat-data-pages.onrender.com/cats/American%20Bobtail",
  "adaptability": 5.0,
  "affection_level": 5.0,
  "child_friendly": 4.0,
   # etc . . .
  "weight_kg": "3-7",
  "weight_lb": "7-16"
}
	


Cat Graphs https://cat-data-pages.onrender.com/api/random/graph example link for random cat

Returns links to graph images, as shown on a particular cat's data page, or for a random cat. Specify 'random' or a name as shown in Cat Names.


	 https://cat-data-pages.onrender.com/api/american_bobtail/graph
		
{
  "Cat": "American Bobtail",
  "Data": "graph URLs",
  "Page": "https://cat-data-pages.onrender.com/cats/American%20Bobtail",
  "binaries": "https://cat-data-pages.onrender.com/static/graphs/American%20Bobtail_binaries.jpg",
  "ranges": "https://cat-data-pages.onrender.com/static/graphs/American%20Bobtail_ranges.jpg",
  "spider": "https://cat-data-pages.onrender.com/static/graphs/American%20Bobtail_spider-stats.jpg",
}
	
spider graph

Index Pages: CatsData ExplorationData StoryGraphs