/v1/meta
Spec
Essayez-le en direct
10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.
Ça marche. Récupérez une clé API et utilisez-la dans votre projet.
Obtenez une clé APIExtraits de code
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_..."}
)
Exemple de réponse
Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.
{
"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
}