/v1/meta
Sources & usage notes
Essayez-le en direct
10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.
Ça marche. Récupérez une clé API et utilisez-la dans votre projet.
Obtenez une clé APIExtraits de code
curl "https://api.oanor.com/animals-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/animals-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/animals-api/v1/meta");
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/meta",
headers={"x-oanor-key": "oanor_test_..."}
)
Exemple de réponse
Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.
{
"data": {
"note": "Dogs & cats. /v1/dog/breeds = all dog breeds + sub-breeds; /v1/dog/image = random dog photo(s) (breed=hound or hound/afghan, count up to 10); /v1/cat/breeds = cat breeds with temperament/origin/life-span/traits (q= to search); /v1/cat/image = random cat photo(s) (count, optional breed_id); /v1/cat/fact = a random cat fact. All upstreams are key-less.",
"sources": {
"cats": "TheCatAPI (thecatapi.com)",
"dogs": "dog.ceo",
"cat_facts": "catfact.ninja"
},
"endpoints": [
"/v1/dog/breeds",
"/v1/dog/image",
"/v1/cat/breeds",
"/v1/cat/image",
"/v1/cat/fact",
"/v1/meta"
]
},
"meta": {
"timestamp": "2026-06-01T00:04:42.175Z",
"request_id": "60c5a9c7-2792-4c47-bd84-d260cf7c5c12"
},
"status": "ok",
"message": "Meta retrieved",
"success": true
}