Μετάβαση στο περιεχόμενο
GET /v1/meta

Spec + species table

Δοκιμάστε το ζωντανά

10 δωρεάν κλήσεις την ημέρα — χωρίς εγγραφή, χωρίς κλειδί API. Μέσω του gateway του oanor.

Προσαρμοσμένες κεφαλίδες (προαιρετικά)
api.oanor.com/gestation-api

Δουλεύει. Πάρε ένα κλειδί API και χρησιμοποίησέ το στο έργο σου.

Λάβετε ένα κλειδί API

Αποσπάσματα κώδικα

curl "https://api.oanor.com/gestation-api/v1/meta" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/gestation-api/v1/meta", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/gestation-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/gestation-api/v1/meta",
    headers={"x-oanor-key": "oanor_test_..."}
)

Παράδειγμα απόκρισης

Πραγματική απόκριση αυτού του endpoint, από τον τελευταίο έλεγχο υγείας.

{
    "data": {
        "notes": "Dates as YYYY-MM-DD (UTC). Lengths are species averages; pass gestation_days/incubation_days to override. A planning aid, not a veterinary prediction.",
        "service": "gestation-api",
        "endpoints": {
            "GET /v1/meta": "This document (includes species and gestation/incubation lengths).",
            "GET /v1/gestation": "Due date (and ± window) from species + breeding date, or the breeding date for a target birth.",
            "GET /v1/incubation": "Hatch date, lockdown and candling days from a bird species + set date."
        },
        "description": "Animal gestation and egg-incubation maths: due and hatch dates from a breeding or set date for dozens of species.",
        "gestation_days": {
            "cat": 64,
            "cow": 283,
            "dog": 63,
            "ewe": 147,
            "fox": 52,
            "pig": 114,
            "rat": 22,
            "sow": 114,
            "deer": 200,
            "goat": 150,
            "mare": 340,
            "mink": 50,
            "bison": 285,
            "camel": 390,
            "horse": 340,
            "llama": 350,
            "mouse": 19,
            "sheep": 147,
            "alpaca": 345,
            "cattle": 283,
            "donkey": 365,
            "ferret": 42,
            "rabbit": 31,
            "buffalo": 310,
            "hamster": 16,
            "elephant": 640,
            "guinea-pig": 68
        },
        "incubation_days": {
            "emu": 50,
            "duck": 28,
            "swan": 35,
            "goose": 30,
            "quail": 18,
            "canary": 14,
            "parrot": 26,
            "pigeon": 18,
            "turkey": 28,
            "chicken": 21,
            "ostrich": 42,
            "peacock": 28,
            "peafowl": 28,
            "pheasant": 24,
            "partridge": 24,
            "guinea-fowl": 28,
            "guinea_fowl": 28,
            "muscovy-duck": 35
        }
    },
    "meta": {
        "timestamp": "2026-06-06T07:14:11.842Z",
        "request_id": "f00c4972-26a9-48c5-be22-4471383bd8e7"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}