# stabletravel.dev Airport Weather Forecast (TAF)

> stabletravel.dev 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) for a specified airport, including structured and raw forecast data

## Facts

- Endpoint: GET https://stabletravel.dev/api/flightaware/airports/YVR/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-2a80245d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_DwFMCnAQVvkNcidCNQ0a2

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-2a80245d
```

Example prompt: Can you pull the weather forecast (TAF) for Vancouver International Airport (YVR) and show me the conditions in Celsius?

## When to prefer this

Use this endpoint when you need aviation-standard TAF weather forecasts for a specific airport, especially when planning flights, checking departure/arrival conditions, or needing structured forecast data compatible with aviation use cases. Prefer over general weather APIs when TAF format or airport-specific aviation weather is required.

## Known failure modes

- Invalid or unsupported airport code returns error
- Airport has no TAF data available (small/uncontrolled airfields)
- Payment failure (402) if x402 micropayment not included
- Timestamp parameter out of valid range returns empty or error
- Network timeout from upstream FlightAware data source

## How this service works

Get weather forecast (TAF) for a specific airport

## Output

Returns a structured object containing the airport code, a timeframe string, a parsed forecast array with weather condition objects, and an array of raw TAF strings as issued by aviation authorities.

## 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-2a80245d/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)
