# Weather Forecast for Prediction Market Stations

> Weather Forecast for Prediction Market Stations is a paid API for AI agents from weather-x402.linholiday.workers.dev, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-22).

Returns multi-source consensus high/low temperature forecasts for ICAO weather stations used in Kalshi and Polymarket temperature markets

## Facts

- Endpoint: GET https://weather-x402.linholiday.workers.dev/forecast?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-22
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/weather-forecast-for-prediction-market-stations-1444ce6f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ABDii6zjt8zrWnKkemHWQ

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-forecast-for-prediction-market-stations-1444ce6f
```

Example prompt: What's the consensus high and low temperature forecast for KNYC (New York Central Park) on 2025-08-15, using Kalshi settlement — I need both Celsius and Fahrenheit with the spread between sources.

## When to prefer this

Use this endpoint when you need temperature forecasts specifically aligned to Kalshi or Polymarket settlement windows for trading or researching prediction market temperature contracts. It aggregates multiple meteorological sources (NWS, MET Norway) into a single consensus with spread, which is more reliable than any single source. Prefer this over general weather APIs when you need settlement-day-exact windows and market-specific ICAO stations.

## Known failure modes

- Invalid or unsupported ICAO station ID returns an error — check /stations for valid IDs
- Date out of range (beyond +9 days or before today) returns an error
- Requesting a market platform (kalshi/polymarket) not available for that station returns an error
- Payment not provided or insufficient USDC balance results in HTTP 402 response
- Station has no available forecast data for the requested date

## How this service works

Paid calls cost 0.01-0.02 USDC on eip155:8453 via x402 (exact scheme). Free: /stations, /preview/*, /health, /, /openapi.json, /llms.txt, /.well-known/x402.

## Output

Returns a JSON object with consensus high and low temperatures (in both Celsius and Fahrenheit), spread between sources, number of sources, individual source forecasts (e.g. nws_forecast, met_norway), the station name and ICAO ID, the date, and the precise UTC settlement day window with start/end timestamps and UTC offset.

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "station"
     ],
     "properties": {
      "date": {
       "type": "string",
       "description": "YYYY-MM-DD in the station's local time; today to +9 days (default today)"
      },
      "market": {
       "enum": [
        "kalshi",
        "polymarket"
       ],
       "type": "string",
       "description": "Which settlement day to use (default: kalshi if the station has a Kalshi market)"
      },
      "station": {
       "type": "string",
       "description": "Settlement station ICAO id, e.g. KNYC (Kalshi NYC), KLGA (Polymarket NYC), EGLC (Polymarket London). See /stations"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "low": {
   "spread": {
    "c": 0.9,
    "f": 1.6
   },
   "consensus": {
    "c": 8.5,
    "f": 47.2
   },
   "n_sources": 2,
   "consensus_f_whole": 47
  },
  "date": "2026-10-22",
  "high": {
   "spread": {
    "c": 0.7,
    "f": 1.3
   },
   "consensus": {
    "c": 18,
    "f": 64.3
   },
   "n_sources": 2,
   "consensus_f_whole": 64
  },
  "name": "New York/Central Park",
  "sources": [
   {
    "low": {
     "c": 8.9,
     "f": 48
    },
    "high": {
     "c": 18.3,
     "f": 65
    },
    "source": "nws_forecast"
   },
   {
    "low": {
     "c": 8,
     "f": 46.4
    },
    "high": {
     "c": 17.6,
     "f": 63.7
    },
    "source": "met_norway"
   }
  ],
  "station": "KNYC",
  "day_window": {
   "end": "2026-10-23T05:00:00.000Z",
   "date": "2026-10-22",
   "basis": "local_standard_time_day",
   "start": "2026-10-22T05:00:00.000Z",
   "utc_offset": "-05:00"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/weather-forecast-for-prediction-market-stations-1444ce6f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from weather-x402.linholiday.workers.dev](https://www.zero.xyz/host/weather-x402.linholiday.workers.dev/llms.txt)
