# 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-13).

Returns a Terminal Aerodrome Forecast (TAF) weather forecast for a specific airport using its ICAO/IATA code

## Facts

- Endpoint: GET https://stabletravel.dev/api/flightaware/airports/CTS/weather/forecast
- Price: $0.004/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/stabletravel-dev-c2a80c21
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_AmGMket7w-L9NI5DYVkp-

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-c2a80c21
```

Example prompt: What's the weather forecast for New Chitose Airport (CTS) right now? Show me the TAF in Celsius.

## When to prefer this

Use this endpoint when you need aviation-grade Terminal Aerodrome Forecast (TAF) data for a specific airport, especially for flight planning, pre-departure weather checks, or determining landing conditions. Prefer this over general weather APIs when the use case is aviation-specific and requires structured TAF data with raw forecast strings.

## Known failure modes

- Invalid or unknown airport code returns 404 or empty forecast
- Network timeout if FlightAware upstream is slow
- Payment failure (402) if x402 USDC balance is insufficient
- Invalid temperature_units enum value returns 400 validation error
- No TAF available for non-commercial or small airports

## How this service works

Get weather forecast (TAF) for a specific airport

## Output

Returns a structured forecast object containing: an array of parsed forecast periods, a timeframe string, the airport code, and an array of raw TAF strings as issued by meteorological services.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET"
 }
}
```

## 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-c2a80c21/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)
