Zum Inhalt springen
GET /v1/taf

Terminal aerodrome forecast (TAF)

Live testen

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

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

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

API-Key holen

Code-Snippets

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

Beispiel-Response

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

{
    "data": {
        "raw": "TAF KJFK 310536Z 3106/0112 36005KT P6SM SKC FM311200 29010KT P6SM FEW080 FM311600 24014KT P6SM SCT080 FM311900 20016KT P6SM BKN080 FM010300 27008KT P6SM BKN100 FM010600 33007KT P6SM BKN080",
        "name": "New York/JF Kennedy Intl",
        "station": "KJFK",
        "valid_to": "2026-06-01T12:00:00.000Z",
        "issued_at": "2026-05-31T05:36:00.000Z",
        "valid_from": "2026-05-31T06:00:00.000Z"
    },
    "meta": {
        "timestamp": "2026-05-31T05:48:01.758Z",
        "request_id": "cfc2a6b2-0688-4834-a784-b4c45fd288d8"
    },
    "status": "ok",
    "message": "TAF retrieved",
    "success": true
}