# Weather Data Pipeline – Same-Day Observed High (METAR)

> Weather Data Pipeline – Same-Day Observed High (METAR) is a paid API for AI agents from weatherbot-x402.fly.dev, paid per call via x402, $0.01/call, status down (last checked 2026-11-04).

Returns the same-day observed temperature high so far for a given city, sourced from airport METAR stations, with single-spike filtering and past-peak detection.

## Facts

- Endpoint: GET https://weatherbot-x402.fly.dev/nowcast/:var1?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: down
- Last checked: 2026-11-04
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/weather-data-pipeline-same-day-observed-high-metar-82cb43eb
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_db9moSPStLRfFrth2uRPX

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 weather-data-pipeline-same-day-observed-high-metar-82cb43eb
```

Example prompt: What's the observed temperature high so far today for NYC — pull it from the airport METAR station with spike filtering?

## When to prefer this

Choose this endpoint when you need a real-time, cleaned, same-day observed temperature high derived from airport METAR stations rather than forecast data or model estimates. It is best suited for applications that need actual observed conditions with noise filtering (single-spike removal) and awareness of whether the day's peak has already passed. Prefer this over forecast APIs when historical-to-now observed accuracy matters more than future projections.

## Known failure modes

- Invalid city key returns an error or empty response — use GET /cities to validate available keys
- METAR station data unavailable for the requested city results in a null or error response
- Temporary upstream METAR feed outage may return stale or missing data
- Malformed path parameter (non-string or unsupported city code) returns a 4xx error

## How this service works

Today's observed high so far from the airport METAR station (public-domain source, spike-filtered), plus a past-peak signal. Observed facts and inferred judgement are returned as separate fields, and the inference ships with its own measured accuracy (0.984 over 61 out-of-sample days) and a named failure mode, so you can weight it rather than trust it blindly.

## Output

Returns the same-day observed temperature high recorded so far at the city's airport METAR station, with single-spike filtering applied to remove erroneous readings, and a past-peak flag indicating whether temperatures are still rising or have already declined from the day's maximum.

## 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"
    },
    "pathParams": {
     "type": "object",
     "required": [
      "var1"
     ],
     "properties": {
      "var1": {
       "type": "string",
       "description": "City key -- see GET /cities for the full list (e.g. nyc, london, tokyo)."
      }
     }
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "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/weather-data-pipeline-same-day-observed-high-metar-82cb43eb/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from weatherbot-x402.fly.dev](https://www.zero.xyz/host/weatherbot-x402.fly.dev/llms.txt)
