# FlightAware METAR Weather Observations for Airport

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

Retrieves current METAR weather observations (temperature, wind, visibility, pressure, cloud cover, flight rules) for a specified airport by ICAO code

## Facts

- Endpoint: GET https://stabletravel.dev/api/flightaware/airports/KEWR/weather/observations
- Price: $0.004/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/flightaware-5f96eaa6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_79tocdu1fDKybztvmH2YR

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-5f96eaa6
```

Example prompt: What's the current weather at Newark Liberty International airport — give me the temperature in Fahrenheit, wind speed and direction, visibility, and whether it's IFR or VFR right now?

## When to prefer this

Use this endpoint when you need real-time aviation weather (METAR) for a specific airport identified by ICAO code, especially when flight rules classification (VFR/IFR), raw METAR string, or aviation-specific metrics like density altitude are required. Prefer this over generic weather APIs when the consumer is an aviation agent, pilot briefing tool, or flight planning workflow that needs structured airport weather data from FlightAware's authoritative source.

## Known failure modes

- Invalid ICAO airport code returns an error or empty result
- No recent METAR data available for very small or inactive airports
- Payment failure (402) if x402 payment header is missing or insufficient
- Timestamp parameter outside available data range returns no observation
- Rate limiting if too many requests are made rapidly

## How this service works

Get weather observations (METAR) for a specific airport

## Output

Returns a structured METAR observation object for the specified airport including timestamp, temperature, dewpoint, wind speed and direction (plus variable wind flag), visibility, barometric pressure (mb and inHg), humidity percentage, cloud layers, flight rules classification (VFR/IFR/MVFR/LIFR), density altitude, a human-friendly wind description, cloud description, and the raw METAR string.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "temperature_units": "fahrenheit",
   "return_nearby_weather": false
  }
 }
}
```

## 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-5f96eaa6/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)
