/v1/meta
Spec
Δοκιμάστε το ζωντανά
10 δωρεάν κλήσεις την ημέρα — χωρίς εγγραφή, χωρίς κλειδί API. Μέσω του gateway του oanor.
Δουλεύει. Πάρε ένα κλειδί API και χρησιμοποίησέ το στο έργο σου.
Λάβετε ένα κλειδί APIΑποσπάσματα κώδικα
curl "https://api.oanor.com/dog-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/dog-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/dog-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/dog-api/v1/meta",
headers={"x-oanor-key": "oanor_test_..."}
)
Παράδειγμα απόκρισης
Πραγματική απόκριση αυτού του endpoint, από τον τελευταίο έλεγχο υγείας.
{
"data": {
"service": "dog-api",
"endpoints": {
"GET /v1/meta": "This document.",
"GET /v1/breeds": "All breeds with their sub-breeds.",
"GET /v1/images": "Images for a breed (breed=, sub=optional, count=1-50, default 12).",
"GET /v1/random": "Random dog images (count=1-50, default 1)."
},
"description": "Dog-breed images and taxonomy via the open Dog CEO API: list every breed with its sub-breeds; fetch a batch of images for a breed (and optional sub-breed); or pull random dog images. Real photos straight from the Dog CEO collection, no key."
},
"meta": {
"timestamp": "2026-06-08T09:48:48.164Z",
"request_id": "c983244d-e250-4572-8efc-9b3ea21bc9c5"
},
"status": "ok",
"message": "Meta",
"success": true
}