# StableTravel FlightAware Airport Weather Forecast

> StableTravel FlightAware Airport Weather Forecast 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 weather forecast data for a specific airport by its ICAO/FAA code, including structured and raw forecast arrays with configurable temperature units and timeframe.

## Facts

- Endpoint: GET https://stabletravel.dev/api/flightaware/airports/id/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-flightaware-airport-weather-forecast-73cec512
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_GUA5979JZ2oq7tuJI_zZW

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-73cec512
```

Example prompt: Can you get me the weather forecast for KJFK airport in Fahrenheit, including any nearby weather stations?

## When to prefer this

Use this endpoint when you need aviation-grade weather forecast data tied to a specific airport ICAO/FAA code, especially when you want both structured and raw forecast output. Prefer this over generic weather APIs when flight planning or airport-specific meteorological context is needed. Ideal when you need pay-per-call access with no subscription or authentication overhead.

## Known failure modes

- Invalid or unknown airport code returns error or empty forecast
- Unsupported temperature unit enum value causes validation error
- Timestamp out of supported forecast range returns empty or partial data
- Upstream FlightAware API unavailability causes service failure
- Malformed query parameters may result in 400 bad request

## How this service works

Pay-per-request access to flights, award availability, hotels, activities, and transfers. No auth, no subscriptions.

## Output

A JSON object containing the airport ICAO code, a timeframe string in ISO 8601 interval format (e.g. 2026-04-22T12:00:00Z/2026-04-23T12:00:00Z), a structured forecast array with parsed forecast data, and a raw_forecast array of raw forecast strings from FlightAware.

## 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
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "forecast": [],
  "timeframe": "2026-04-22T12:00:00Z/2026-04-23T12:00:00Z",
  "airport_code": "KJFK",
  "raw_forecast": []
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/stabletravel-flightaware-airport-weather-forecast-73cec512/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)
