# 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 specified airport, with options for temperature units and nearby weather

## Facts

- Endpoint: GET https://stabletravel.dev/api/flightaware/airports/KDFW/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-56d335fd
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_z1vRHH_WecST0TcspVfU4

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-56d335fd
```

Example prompt: What's the weather forecast (TAF) for Dallas Fort Worth airport (KDFW) in Fahrenheit — I want to know what conditions are expected over the next several hours.

## When to prefer this

Use this endpoint when you need structured aviation weather forecast (TAF) data for a specific airport, especially for flight planning, departure/arrival weather checks, or when you need the raw TAF string alongside parsed forecast data. Prefer this over general weather APIs when aviation-specific formatting (TAF) and FlightAware data quality are required.

## Known failure modes

- Invalid or unknown airport ICAO code returns an error
- Airport has no TAF data available (e.g. small non-towered airports)
- Timestamp out of valid range returns empty or error response
- Payment failure (x402) if USDC balance is insufficient — returns 402 status
- Network timeout or FlightAware upstream outage

## How this service works

Get weather forecast (TAF) for a specific airport

## Output

Returns a structured weather forecast object containing an array of forecast periods, raw TAF strings as issued by the aviation authority, the airport ICAO code, and the timeframe covered by the forecast. Optionally includes nearby airport weather if requested.

## 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-56d335fd/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)
