# METAR Aviation Weather Decoder

> METAR Aviation Weather Decoder is a paid API for AI agents from x402-datashop-production.up.railway.app, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-15).

Returns decoded METAR weather observations (wind, temperature, visibility, flight category, raw METAR) for up to 10 ICAO airport stations worldwide

## Facts

- Endpoint: GET https://x402-datashop-production.up.railway.app/v1/aviation/metar
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/metar-aviation-weather-decoder-5ca87188
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_WVm2fcda3umvSKGDAKNqJ

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

Example prompt: What's the current METAR for KJFK and LFPG? I need the wind, visibility, temperature, and whether it's VFR or IFR right now.

## When to prefer this

Use this endpoint when you need current decoded METAR data for one or more airports worldwide, especially when you need structured fields (wind, temperature, visibility, flight category) rather than raw text. Ideal for flight planning tools, dispatch systems, or any workflow needing real-time aviation weather in a machine-readable format. Prefer over manual scraping of AviationWeather.gov or TAF-only sources when METAR observations are specifically required.

## Known failure modes

- Invalid or unrecognized ICAO code returns error or empty result
- More than 10 ICAO codes submitted exceeds limit
- Station has no recent observation (remote or inactive airport)
- NOAA upstream source temporarily unavailable
- Payment not included or insufficient (x402 payment required at $0.002 USDC per call)

## How this service works

Latest METAR observation, decoded, for any ICAO airport worldwide (NOAA AviationWeather.gov): wind direction/speed/gust (kt), temperature/dewpoint (C), visibility, QNH altimeter (hPa), flight category (VFR/MVFR/IFR/LIFR) plus the raw METAR string. Query: ?ids=KJFK,LFPG (1-10 comma-separated ICAO codes). Observations refresh every 30-60 min; 5 min cache.

## Output

Returns decoded METAR fields per station including wind direction and speed in knots, gusts, temperature and dewpoint in Celsius, visibility, QNH altimeter in hPa, flight category (VFR/MVFR/IFR/LIFR), and the raw METAR string. Observations are sourced from NOAA AviationWeather.gov and refreshed every 30-60 minutes with a 5-minute cache.

## 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",
     "required": [
      "ids"
     ],
     "properties": {
      "ids": {
       "type": "string",
       "description": "1-10 comma-separated ICAO station codes, e.g. KJFK,LFPG,EGLL"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/metar-aviation-weather-decoder-5ca87188/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-datashop-production.up.railway.app](https://www.zero.xyz/host/x402-datashop-production.up.railway.app/llms.txt)
