Page contents: Cat Image • Cat Names • Cat Information • Cat Stats • Cat Graphs • Index Links
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.
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
}
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"
}
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"
}
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"
}
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",
}
Index Pages: Cats • Data Exploration • Data Story • Graphs