Ir al contenido
GET /v1/taf

Terminal aerodrome forecast (TAF)

Pruébalo en vivo

10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.

Encabezados personalizados (opcional)
api.oanor.com/metar-api

Funciona. Consigue una clave API y úsala en tu proyecto.

Obtener una clave API

Fragmentos de código

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_..."}
)

Respuesta de ejemplo

Una respuesta real de este endpoint, capturada en la última comprobación de estado.

{
    "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
}