# StableTravel FlightAware Airport Weather Forecast (TAF)

> StableTravel 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-14).

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-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/stabletravel-flightaware-airport-weather-forecast-taf-51b3e0a5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_1pMQiN3rcG4uRTgS8juFg

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-flightaware-airport-weather-forecast-taf-51b3e0a5
```

Example prompt: What's the weather forecast at JFK airport right now — can you get the TAF in Fahrenheit?

## When to prefer this

Choose this endpoint when you need structured aviation TAF weather forecasts for a specific airport and want pay-per-request access without API key setup. Prefer this over general weather APIs when aviation-specific forecast data (TAF format, raw forecast strings) is required for flight planning or travel decisions.

## Known failure modes

- Invalid or unsupported ICAO airport code returns an error or empty forecast
- Payment failure (x402 micropayment not completed) blocks the request
- FlightAware data unavailable for remote or small airports
- Malformed timestamp parameter causes query errors
- Network timeout if FlightAware upstream is slow

## How this service works

Get weather forecast (TAF) for a specific airport

## Output

Returns a structured weather forecast object including an array of forecast periods, the overall timeframe, the airport ICAO code, and raw TAF strings from FlightAware for the requested airport.

## 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-flightaware-airport-weather-forecast-taf-51b3e0a5/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)
