Vai al contenuto
GET /v1/meta

Sources & usage notes

Provalo dal vivo

10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.

Intestazioni personalizzate (facoltative)
api.oanor.com/animals-api

Funziona. Prendi una chiave API e usala nel tuo progetto.

Ottieni una chiave API

Frammenti di codice

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_..."}
)

Risposta di esempio

Una risposta reale di questo endpoint, acquisita dall'ultimo health check.

{
    "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
}