# FlightAware Airport Weather Observations (METAR)

> FlightAware Airport Weather Observations (METAR) is a paid API for AI agents from stabletravel.dev, paid per call via x402, $0.004/call, status unknown (last checked 2026-10-18).

Returns current METAR weather observations for a specific airport, including temperature, wind, pressure, visibility, clouds, and flight rules

## Facts

- Endpoint: GET https://stabletravel.dev/api/flightaware/airports/KDEN/weather/observations?utm_source=zero.xyz
- Price: $0.004/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-18
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/flightaware-airport-weather-observations-metar-09918c7f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_mxBvNhzCswuUqHmFc2_NJ

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-airport-weather-observations-metar-09918c7f
```

Example prompt: What are the current weather conditions at Denver International Airport (KDEN)? Give me the temperature in Fahrenheit, wind speed and direction, visibility, and flight rules.

## When to prefer this

Use this endpoint when you need structured, parsed METAR weather data for a specific airport, especially for aviation decision-making such as flight rules assessment, wind analysis, and ceiling/visibility checks. Prefer this over generic weather APIs when you need aviation-specific outputs like flight rules classification, density altitude, raw METAR strings, or wind variability flags. Ideal for real-time pre-flight briefings and automated airport condition monitoring.

## Known failure modes

- Invalid or unknown ICAO airport code returns an error or empty response
- Airport has no active weather station — may return null fields or nearby airport data if return_nearby_weather is true
- Stale or missing METAR data at unmanned airports
- Payment failure (x402 protocol) if insufficient USDC balance
- Timestamp query for non-existent historical observation returns empty result

## How this service works

Get weather observations (METAR) for a specific airport

## Output

Returns a structured weather observation object for the requested airport including: temperature, dewpoint, pressure (mbar and inHg), wind speed, wind direction, wind variability, visibility (miles), humidity percentage, cloud layers, human-readable cloud and wind descriptions, flight rules classification (VFR/IFR/MVFR/LIFR), density altitude, raw METAR string, and observation timestamp.

## 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": {
      "time": {
       "type": "string"
      },
      "clouds": {
       "type": "array",
       "items": {}
      },
      "dewpoint": {
       "anyOf": [
        {
         "type": "number"
        },
        {
         "type": "null"
        }
       ]
      },
      "pressure": {
       "anyOf": [
        {
         "type": "number"
        },
        {
         "type": "null"
        }
       ]
      },
      "raw_data": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ]
      },
      "conditions": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ]
      },
      "visibility": {
       "anyOf": [
        {
         "type": "number"
        },
        {
         "type": "null"
        }
       ]
      },
      "wind_speed": {
       "anyOf": [
        {
         "type": "number"
        },
        {
         "type": "null"
        }
       ]
      },
      "pressure_hg": {
       "anyOf": [
        {
         "type": "number"
        },
        {
         "type": "null"
        }
       ]
      },
      "temperature": {
       "anyOf": [
        {
         "type": "number"
        },
        {
         "type": "null"
        }
       ]
      },
      "airport_code": {
       "type": "string"
      },
      
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/flightaware-airport-weather-observations-metar-09918c7f/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)
