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

Spec

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

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

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

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

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

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

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

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

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

{
    "data": {
        "notes": "RER = 70 × kg^0.75; MER = RER × lifestage factor. Weight in kg or lb. Energy density from the food label (kcal/100g or kcal/cup). Educational estimates — consult a veterinarian for medical or weight plans.",
        "service": "petfood-api",
        "endpoints": {
            "GET /v1/meta": "This document.",
            "GET /v1/water": "Daily water requirement for a dog or cat.",
            "GET /v1/portion": "Daily and per-meal food amount from the calorie need and the food's kcal density.",
            "GET /v1/calories": "Resting (RER) and maintenance (MER) daily calories by species, weight and lifestage."
        },
        "description": "Pet-nutrition maths: daily caloric needs (RER/MER), food portion from energy density, and water requirement for dogs and cats."
    },
    "meta": {
        "timestamp": "2026-06-06T07:14:03.969Z",
        "request_id": "e32add6a-af3a-4a38-a5c8-86c108447bd9"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}