# StableTravel Airport Weather Observations (METAR)

> StableTravel Airport Weather Observations (METAR) 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).

Returns current METAR weather observations for a specified airport, including temperature, wind, pressure, visibility, clouds, and flight rules

## Facts

- Endpoint: GET https://stabletravel.dev/api/flightaware/airports/KJFK/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/stabletravel-airport-weather-observations-metar-e4452f7f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_JAzWtgcZW8q-cXfVoy1Rb

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 stabletravel-airport-weather-observations-metar-e4452f7f
```

Example prompt: What are the current weather conditions at JFK airport — give me the temperature in Fahrenheit, wind speed, visibility, and whether it's VFR or IFR right now.

## When to prefer this

Use this endpoint when you need live or recent METAR aviation weather observations for a specific airport, especially when you require structured data fields (wind, pressure, visibility, flight rules) beyond what a general weather API provides. Prefer this over generic weather APIs when the use case is aviation-specific (flight planning, dispatch, safety checks) or when you need raw METAR string data and FlightAware-sourced accuracy.

## Known failure modes

- Airport ICAO code not found or unsupported — may return empty result or 404
- Timestamp out of range — no historical observation available for that time
- No METAR data available for small or non-reporting airports
- Payment failure (402) if x402 micropayment not completed
- Rate limiting or service unavailability returning 5xx errors

## How this service works

Get weather observations (METAR) for a specific airport

## Output

Returns a structured weather observation object including temperature, dewpoint, wind speed and direction (with human-friendly string), barometric pressure (hPa and inHg), visibility (miles), humidity percentage, cloud layers, flight rules classification (VFR/IFR/MVFR/LIFR), density altitude, raw METAR string, and observation timestamp — all for the requested airport code.

## 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/stabletravel-airport-weather-observations-metar-e4452f7f/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)
