Get weather observations (METAR) for a specific airport
Get weather observations (METAR) for a specific airport
4000 (raw units)
price
4
calls / 30d
2
unique payers
2026-09-08
updated
Provider
stable-travel-git-migrate-stabletravel-router-140-merit-systems.vercel.app · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0xDd257723b86B4947483905cdAcBbBC70fACF2ec0",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "4000",
"maxTimeoutSeconds": 300
}
]Output schema
{
"bazaar": {
"info": {
"input": {
"method": "GET",
"queryParams": {
"temperature_units": "fahrenheit"
},
"type": "http"
},
"output": {
"example": {
"airport_code": "KJFK",
"conditions": "Clear",
"humidity_pct": 55,
"temperature": 72,
"time": "2026-04-22T12:00:00Z",
"wind_direction": 270,
"wind_speed": 10
},
"type": "json"
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"method": {
"enum": [
"GET",
"HEAD",
"DELETE"
],
"type": "string"
},
"queryParams": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"return_nearby_weather": {
"type": "boolean"
},
"temperature_units": {
"enum": [
"fahrenheit",
"celsius"
],
"type": "string"
},
"timestamp": {
"type": "string"
}
},
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"properties": {
"airport_code": {
"type": "string"
},
"cloud_friendly": {
"type": "string"
},
"clouds": {
"items": {},
"type": "array"
},
"conditions": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"density_altitude": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"dewpoint": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"flight_rules": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"humidity_pct": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"pressure": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"pressure_hg": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"raw_data": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"temperature": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"time": {
"type": "string"
},
"visibility": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"wind_direction": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"wind_friendly": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"wind_speed": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"wind_variable": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
]
}
},
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}
}
}Use it
curl
curl "https://stable-travel-git-migrate-stabletravel-router-140-merit-systems.vercel.app/api/flightaware/airports/KLAX/weather/observations" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://stable-travel-git-migrate-stabletravel-router-140-merit-systems.vercel.app/api/flightaware/airports/KLAX/weather/observations");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
res = httpx.get("https://stable-travel-git-migrate-stabletravel-router-140-merit-systems.vercel.app/api/flightaware/airports/KLAX/weather/observations")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerMachine-readable
Everything on this page is also available as clean JSON at /resources/13246.json, and this resource appears in /discovery/resources and /discovery/search.