# FlightAware METAR Weather Observations

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

Retrieves current METAR weather observations for a specific airport (OERK / King Khalid International) via FlightAware

## Facts

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

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-metar-weather-observations-396256b0
```

Example prompt: What are the current weather conditions at King Khalid International Airport (OERK)? Give me temperature in Celsius, wind speed, visibility, and current flight rules.

## When to prefer this

Use this endpoint when you need real-time or recent observed weather at a specific airport in structured format, especially for aviation use cases requiring METAR data (wind, visibility, ceiling, flight rules). Prefer this over TAF endpoints when you want current conditions rather than forecast. Best for aviation briefings, dispatch decisions, or confirming current meteorological conditions at OERK specifically.

## Known failure modes

- Invalid or unknown ICAO airport code returns an error or empty result
- Airport has no active METAR reporting station (no data available)
- Stale observation if no recent METAR has been filed
- Invalid timestamp parameter format causes a 400-level error
- Payment failure or insufficient USDC balance prevents access

## How this service works

Get weather observations (METAR) for a specific airport

## Output

Returns a structured METAR observation for the specified airport including temperature, dewpoint, humidity percentage, wind speed and direction (with human-friendly description), visibility, pressure (mb and inHg), cloud layers, flight rules category (VFR/IFR/MVFR/LIFR), density altitude, and the raw METAR string. Null values are returned for fields not reported in the observation.

## 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-metar-weather-observations-396256b0/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)
