# FlightAware TAF Weather Forecast by Airport

> FlightAware TAF Weather Forecast by Airport 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).

Retrieves the Terminal Aerodrome Forecast (TAF) weather forecast for a specific airport using FlightAware data

## Facts

- Endpoint: GET https://stabletravel.dev/api/flightaware/airports/KSFO/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/flightaware-taf-weather-forecast-by-airport-d6ab6e4e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Lx7lxzKiqRk3dORYP98JG

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 flightaware-taf-weather-forecast-by-airport-d6ab6e4e
```

Example prompt: What does the TAF weather forecast look like for SFO right now — can you show me the conditions in Fahrenheit and include any nearby weather as well?

## When to prefer this

Choose this endpoint when you need structured TAF aviation weather forecasts for a specific airport, especially in an agentic or automated pipeline where you want pay-per-use access without managing FlightAware API credentials. Prefer this over general weather APIs when aviation-specific forecast format (TAF) is required, or when building travel disruption monitoring tools alongside the sibling delay and flight endpoints on the same platform.

## Known failure modes

- Invalid or unknown ICAO airport code returns an error or empty response
- TAF data may not be available for smaller or non-IFR airports
- Stale or delayed forecast data if FlightAware upstream is lagging
- Invalid timestamp parameter format causes request failure
- Payment of 0.004 USDC not processed results in 402 error
- Network timeout if FlightAware API is temporarily unavailable

## 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 (TAF data), the raw TAF string(s), the ICAO airport code, and the forecast timeframe. Forecast periods include wind, visibility, ceiling, precipitation, and other meteorological conditions relevant to aviation operations.

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