/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/crosswind-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/crosswind-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/crosswind-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/crosswind-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": "Directions in degrees (0–360, where wind direction is where the wind comes FROM); runway as a heading or a designator 01–36 (tens of degrees). Wind speed unit is whatever you supply (kt, m/s…) and outputs match.",
"service": "crosswind-api",
"endpoints": {
"GET /v1/meta": "This document.",
"GET /v1/max-wind": "Maximum total wind speed before a crosswind limit is exceeded.",
"GET /v1/component": "Crosswind and head/tailwind from runway heading and wind."
},
"description": "Aviation wind components: crosswind and headwind/tailwind on a runway, and the maximum wind for a crosswind limit."
},
"meta": {
"timestamp": "2026-06-05T19:50:18.587Z",
"request_id": "f8b21f4c-0da0-415b-93ab-0cfac21f530f"
},
"status": "ok",
"message": "Meta",
"success": true
}