# stabletravel.dev FlightAware Airport Weather Forecast (TAF)

> stabletravel.dev FlightAware Airport Weather Forecast (TAF) is a paid API for AI agents from stabletravel.dev, paid per call via x402, $0.004/call, status unknown (last checked 2026-09-15).

Returns the Terminal Aerodrome Forecast (TAF) weather forecast for a specific airport by ICAO code

## Facts

- Endpoint: GET https://stabletravel.dev/api/flightaware/airports/kjfk/weather/forecast
- Price: $0.004/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/stabletravel-dev-flightaware-airport-weather-forecast-taf-16da333e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_RABcrC15CH15UaqQSvWPu

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability stabletravel-dev-flightaware-airport-weather-forecast-taf-16da333e
```

Example prompt: What's the weather forecast (TAF) for JFK airport right now, showing temperatures in Fahrenheit?

## When to prefer this

Use this endpoint when you need structured TAF (Terminal Aerodrome Forecast) weather data for a specific airport identified by ICAO code, especially for aviation planning, pre-flight briefings, or flight-aware integrations. Prefer this over generic weather APIs when you need aviation-specific forecast formats (raw TAF strings) and optional nearby airport weather context.

## Known failure modes

- Invalid or unrecognized ICAO airport code returns an error
- No TAF data available for the given airport or timestamp
- Payment failure via x402 protocol blocks the request
- FlightAware upstream API unavailable or rate-limited
- Invalid temperature_units enum value causes a validation error

## How this service works

Get weather forecast (TAF) for a specific airport

## Output

Returns a structured TAF weather forecast including a parsed forecast array, raw TAF strings, the timeframe covered, and the airport ICAO code (e.g. KJFK).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "$schema": "https://json-schema.org/draft/2020-12/schema",
     "properties": {
      "timestamp": {
       "type": "string"
      },
      "temperature_units": {
       "enum": [
        "fahrenheit",
        "celsius"
       ],
       "type": "string"
      },
      "return_nearby_weather": {
       "type": "boolean"
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "$schema": "https://json-schema.org/draft/2020-12/schema",
     "properties": {
      "forecast": {
       "type": "array",
       "items": {}
      },
      "timeframe": {
       "type": "string"
      },
      "airport_code": {
       "type": "string"
      },
      "raw_forecast": {
       "type": "array",
       "items": {
        "type": "string"
       }
      }
     },
     "additionalProperties": false
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/stabletravel-dev-flightaware-airport-weather-forecast-taf-16da333e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from stabletravel.dev](https://www.zero.xyz/host/stabletravel.dev/llms.txt)
