{"uid":"cap_ABDii6zjt8zrWnKkemHWQ","slug":"weather-forecast-for-prediction-market-stations-1444ce6f","name":"Weather Forecast for Prediction Market Stations","description":"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.","url":"https://weather-x402.linholiday.workers.dev/forecast?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"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"}}}}},"responseSchema":{"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"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_ZB-ipBdogqTugCGMxHNtm","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns multi-source consensus high/low temperature forecasts for ICAO weather stations used in Kalshi and Polymarket temperature markets","exampleAgentPrompt":"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.","exampleUseCases":[{"title":"Kalshi NYC temperature market trade","prompt":"I'm considering trading the Kalshi high-temperature market for New York tomorrow — can you pull the forecast for KNYC for 2025-08-14 using Kalshi settlement and tell me the consensus high with spread?"},{"title":"Polymarket London temperature research","prompt":"What's the expected low temperature for EGLC London for 2025-09-01 on Polymarket settlement? Show me each source's individual forecast too."},{"title":"Multi-day temperature prediction scan","prompt":"Can you get the consensus high and low temperature forecasts for KLGA for each of the next 5 days using Polymarket settlement, so I can see how the market might settle?"}],"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T12:40:41.196Z","isFirstParty":false,"canonicalSlug":"weather-forecast-for-prediction-market-stations-1444ce6f"}