# StableTravel METAR Weather Observations

> StableTravel METAR Weather Observations 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 (temperature, wind, visibility, pressure, clouds, flight rules) for a specific airport by ICAO code

## Facts

- Endpoint: GET https://stabletravel.dev/api/flightaware/airports/KSFO/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-metar-weather-observations-38fdea42
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_xwPuM8LbZdC8SO-VQ_znZ

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-metar-weather-observations-38fdea42
```

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

## When to prefer this

Use this endpoint when you need current real-time aviation weather (METAR) for a specific airport, especially for flight planning, pre-flight briefings, or checking live conditions. Prefer this over forecast endpoints (TAF) when you need current observed conditions rather than predictions. It wraps FlightAware data with pay-per-request micropayment access, making it ideal for agents that need occasional spot checks without subscription overhead.

## Known failure modes

- Invalid or unknown ICAO airport code returns error or empty result
- Airport has no active weather station returns null fields or nearby weather if flag enabled
- Payment failure (insufficient USDC balance) blocks request
- Stale data if observation station is offline
- Invalid timestamp parameter format causes request failure

## How this service works

Get weather observations (METAR) for a specific airport

## Output

Returns a structured METAR observation for the specified airport including: observation time, temperature and dewpoint (in chosen units), wind speed and direction (with friendly description and variable flag), visibility in miles, barometric pressure in millibars and inches Hg, humidity percentage, cloud layers array, flight rules classification (VFR/IFR/MVFR/LIFR), density altitude, human-readable cloud description, and the raw METAR string.

## 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-metar-weather-observations-38fdea42/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)
