/v1/cat/image
Random cat photo(s)
Probeer het live
10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.
Het werkt. Haal een API-key op en gebruik hem in je project.
Verkrijg een API-sleutelCodefragmenten
curl "https://api.oanor.com/animals-api/v1/cat/image" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/animals-api/v1/cat/image", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/animals-api/v1/cat/image");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/animals-api/v1/cat/image",
headers={"x-oanor-key": "oanor_test_..."}
)
Voorbeeldrespons
Een echte respons van dit endpoint, vastgelegd bij de laatste health check.
{
"data": {
"count": 3,
"images": [
{
"id": "41e",
"url": "https://cdn2.thecatapi.com/images/41e.gif",
"width": 275,
"height": 189
},
{
"id": "4jh",
"url": "https://cdn2.thecatapi.com/images/4jh.gif",
"width": 478,
"height": 334
},
{
"id": "apn",
"url": "https://cdn2.thecatapi.com/images/apn.jpg",
"width": 612,
"height": 612
}
]
},
"meta": {
"timestamp": "2026-06-01T00:04:42.108Z",
"request_id": "e0e77067-c6f4-4544-8e7c-e9e906614902"
},
"status": "ok",
"message": "Cat image retrieved",
"success": true
}