Zum Inhalt springen
GET /v1/meta

Spec

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/childheight-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

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

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.

{
    "data": {
        "notes": "Heights in cm. These are population estimates with wide individual variation — not medical or growth-disorder advice.",
        "service": "childheight-api",
        "formulae": {
            "double": "2 × height at age 2",
            "remaining": "predicted − current",
            "midparental_boy": "(father + mother + 13)/2",
            "midparental_girl": "(father + mother − 13)/2"
        },
        "endpoints": {
            "GET /v1/meta": "This document.",
            "GET /v1/double": "Adult-height estimate as twice the height at age 2.",
            "GET /v1/remaining": "Remaining growth and percent of adult height reached from a current height.",
            "GET /v1/midparental": "Mid-parental target height from the parents' heights and the child's sex, with the ±8.5 cm range."
        },
        "description": "Predicted-adult-height calculator: mid-parental (Tanner) target height, the double-the-height-at-2 rule, and remaining growth from a current height."
    },
    "meta": {
        "timestamp": "2026-06-04T18:38:19.684Z",
        "request_id": "d458f3b6-45c2-47f1-b7e3-09f38b0fb5b1"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}