81trust / 100

Aviation Metar

by eu-verify in Weather & location

x402 APIPassing, checked 40 min ago

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.

GET https://x402-datashop-production.up.railway.app/v1/aviation/metar

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
176 ms typical, 176 ms slowest 5%
Last check
40 min ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://x402-datashop-production.up.railway.app/v1/aviation/metar?ids=KJFK%2CLFPG"
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fx402-datashop-production.up.railway.app%2Fv1%2Faviation%2Fmetar
const res = await pay("https://x402-datashop-production.up.railway.app/v1/aviation/metar?ids=KJFK%2CLFPG");
console.log(await res.json());

Example input

{
  "ids": "KJFK,LFPG"
}

Example output

{
  "count": 1,
  "metars": [
    {
      "altimeter_hpa": 1016,
      "dewpoint_c": 16,
      "flight_category": "VFR",
      "icao": "LFPG",
      "lat": 49.015,
      "lon": 2.534,
      "name": "Paris/De Gaulle Arpt, ID, FR",
      "observed_utc": "2026-07-14T05:30:00Z",
      "raw": "METAR LFPG 140530Z 01010KT 350V110 CAVOK 20/16 Q1016 NOSIG",
      "temp_c": 20,
      "visibility": "6+",
      "wind_dir_deg": 10,
      "wind_gust_kt": null,
      "wind_speed_kt": 10
    }
  ],
  "source": "NOAA AviationWeather.gov data API (US Government, public domain)"
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
40 min agoPassed402345 ms$0.002
6 h agoPassed402176 ms$0.002