/v1/dog/breeds
Every dog breed and its sub-breeds
Provalo dal vivo
10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.
Funziona. Prendi una chiave API e usala nel tuo progetto.
Ottieni una chiave APIFrammenti di codice
curl "https://api.oanor.com/animals-api/v1/dog/breeds" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/animals-api/v1/dog/breeds", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/animals-api/v1/dog/breeds");
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/dog/breeds",
headers={"x-oanor-key": "oanor_test_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo health check.
{
"data": {
"count": 108,
"breeds": [
{
"breed": "affenpinscher",
"sub_breeds": []
},
{
"breed": "african",
"sub_breeds": [
"wild"
]
},
{
"breed": "airedale",
"sub_breeds": []
},
{
"breed": "akita",
"sub_breeds": []
},
{
"breed": "appenzeller",
"sub_breeds": []
},
{
"breed": "australian",
"sub_breeds": [
"kelpie",
"shepherd"
]
},
{
"breed": "bakharwal",
"sub_breeds": [
"indian"
]
},
{
"breed": "basenji",
"sub_breeds": []
},
{
"breed": "beagle",
"sub_breeds": []
},
{
"breed": "bluetick",
"sub_breeds": []
},
{
"breed": "borzoi",
"sub_breeds": []
},
{
"breed": "bouvier",
"sub_breeds": []
},
{
"breed": "boxer",
"sub_breeds": []
},
{
"breed": "brabancon",
"sub_breeds": []
},
{
"breed": "briard",
"sub_breeds": []
},
{
"breed": "buhund",
"sub_breeds": [
"norwegian"
]
},
{
"breed": "bulldog",
"sub_breeds": [
"boston",
"english",
"french"
]
},
{
"breed": "bullterrier",
"sub_breeds": [
"staffordshire"
]
},
{
"breed": "cattledog",
"sub_breeds": [
"australian"
]
},
{
"breed": "cavapoo",
"sub_breeds": []
},
{
"breed": "chihuahua",
"sub_breeds": []
},
{
"breed": "chippiparai",
"sub_breeds": [
"indian"
]
},
{
"breed": "chow",
"sub_breeds": []
},
{
"breed": "clumber",
"sub_breeds": []
},
{
"breed": "cockapoo",
"sub_breeds": []
}
…