# Weather Station Lookup for Prediction Market Temperature Contracts

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

Resolves a Kalshi or Polymarket temperature prediction-market ticker or event slug to the correct weather station, strike details, and settlement window needed to trade or settle the contract.

## Facts

- Endpoint: GET https://weather-x402.linholiday.workers.dev/market-station?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-22
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/weather-station-lookup-for-prediction-market-temperature-contracts-64163eda
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Z5-wUyvkMvmuSsqfYh8bg

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-station-lookup-for-prediction-market-temperature-contracts-64163eda
```

Example prompt: Look up the weather station, strike bracket, and settlement time window for the Kalshi contract KXHIGHCHI-26OCT21-B58.5 — I want to know exactly which station settles it and whether Polymarket uses a different one for Chicago.

## When to prefer this

Choose this endpoint when an agent needs to programmatically resolve Kalshi or Polymarket temperature contract identifiers to the authoritative weather station used for settlement — especially when avoiding the 'station trap' of Kalshi and Polymarket referencing different stations for the same city. Prefer this over generic weather APIs when the goal is prediction-market accuracy rather than general forecasting.

## Known failure modes

- Unrecognized ticker or slug returns zero matches
- City name ambiguity without venue filter may return multiple or wrong results
- Unsupported market types (non-temperature contracts) return no results
- Payment failure (insufficient USDC balance on Base/eip155:8453) blocks the paid call
- Malformed query string returns validation error

## 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

A JSON object containing the matched market details: city, date, temperature kind (high/low), units, venue (kalshi/polymarket), strike value and bracket range in °F, the settlement ICAO station name and timezone, CLI code for NOAA data retrieval, the precise UTC day window for settlement, and a 'station_trap' warning if Kalshi and Polymarket use different stations for the same city.

## 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": [
      "q"
     ],
     "properties": {
      "q": {
       "type": "string",
       "description": "Kalshi ticker/series (KXHIGHNY, KXHIGHNY-26OCT21-B88.5), Polymarket event slug or URL (highest-temperature-in-nyc-on-october-21-2026), city name, or ICAO"
      },
      "venue": {
       "enum": [
        "kalshi",
        "polymarket"
       ],
       "type": "string",
       "description": "Filter for city-name queries"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "query": "KXHIGHCHI-26OCT21-B58.5",
  "matches": 1,
  "results": [
   {
    "city": "Chicago",
    "date": "2026-10-21",
    "kind": "high",
    "units": "F (whole degrees)",
    "venue": "kalshi",
    "strike": {
     "type": "bracket",
     "value": 58.5,
     "range_f": [
      58,
      59
     ]
    },
    "station": {
     "tz": "America/Chicago",
     "icao": "KMDW",
     "name": "Chicago/Midway Intl"
    },
    "cli_code": "CLIMDW",
    "day_window": {
     "end": "2026-10-22T06:00:00.000Z",
     "basis": "local_standard_time_day",
     "start": "2026-10-21T06:00:00.000Z"
    },
    "station_trap": "The Polymarket market for Chicago settles on a different station: KORD."
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/weather-station-lookup-for-prediction-market-temperature-contracts-64163eda/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)
