# Aviation Weather METAR Decoder

> Aviation Weather METAR Decoder is a paid API for AI agents from aviation-weather.x402tookit.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-29).

Returns decoded METAR weather for an airport by ICAO code, including flight category (VFR/MVFR/IFR/LIFR), wind, visibility, ceiling, and temperature.

## Facts

- Endpoint: GET https://aviation-weather.x402tookit.com/metar?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/aviation-weather-metar-decoder-bfde63a3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_hFOjr_PQxX5ervDWNztRQ

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 aviation-weather-metar-decoder-bfde63a3
```

Example prompt: What's the current flight category and wind at KJFK — is it VFR, MVFR, IFR, or LIFR right now, and what are the winds?

## When to prefer this

Use this endpoint when you need a decoded, human-readable current weather snapshot for a single airport by ICAO code, including a pre-computed flight category verdict. Prefer this over raw METAR parsers when you want structured output with named fields and a VFR/IFR classification already computed. For multi-airport comparisons, use the sibling bulk endpoint. For forecasts, use the TAF endpoint.

## Known failure modes

- Unknown or invalid ICAO code returns null or error response
- Station not reporting — METAR data may be stale or unavailable for remote airports
- Degraded flag set if data source is partial or fallback was used
- Network timeout if upstream METAR feed is slow
- Missing fields (nulls) if the station omits standard METAR elements

## How this service works

Latest airport weather by ICAO code, decoded: flight category VFR/MVFR/IFR/LIFR, wind, visibility, ceiling, temperature.

## Output

A decoded METAR object including: flight category (VFR/MVFR/IFR/LIFR), raw METAR string, observation timestamp, wind speed and direction in knots (with gusts if present), visibility in miles, ceiling in feet, temperature and dewpoint in Celsius, altimeter in hPa, cloud layers, a human-readable summary and verdict, age of the report in minutes, station name, elevation, and any caveats or degraded-data flags.

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "icao"
     ],
     "properties": {
      "icao": {
       "type": "string",
       "description": "4-letter ICAO airport code, e.g. KJFK, KORD, EGLL"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "raw": {
       "type": [
        "null",
        "string"
       ]
      },
      "asOf": {
       "type": [
        "null",
        "string"
       ]
      },
      "name": {
       "type": [
        "null",
        "string"
       ]
      },
      "tempC": {
       "type": [
        "null",
        "number"
       ]
      },
      "clouds": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "string"
       }
      },
      "gustKt": {},
      "source": {
       "type": [
        "null",
        "string"
       ]
      },
      "windKt": {
       "type": [
        "null",
        "number"
       ]
      },
      "reasons": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "string"
       }
      },
      "station": {
       "type": [
        "null",
        "string"
       ]
      },
      "summary": {
       "type": [
        "null",
        "string"
       ]
      },
      "verdict": {
       "type": [
        "null",
        "string"
       ]
      },
      "weather": {},
      "windDir": {
       "type": [
        "null",
        "number"
       ]
      },
      "category": {
       "type": [
        "null",
        "string"
       ]
      },
      "degraded": {
       "type": [
        "boolean",
        "null"
       ]
      },
      "observed": {
       "type": [
        "null",
        "string"
       ]
      },
      "ceilingFt": {
       "type": [
        "null",
        "number"
       ]
      },
      "dewpointC": {
       "type": [
        "null",
        "number"
       ]
      },
      "sourceUrl": {
       "type
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/aviation-weather-metar-decoder-bfde63a3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from aviation-weather.x402tookit.com](https://www.zero.xyz/host/aviation-weather.x402tookit.com/llms.txt)
