{"uid":"cap_foqX1260069ExD_OAd401","slug":"weather-settlement-data-for-prediction-markets-kalshi-polymarket-13d4772d","name":"Weather Settlement Data for Prediction Markets (Kalshi & Polymarket)","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/settlement?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 (station local); yesterday by default, up to 6 days back"},"station":{"type":"string","description":"Settlement station ICAO id"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"date":"2026-10-20","kalshi":{"final":{"max_f":67,"min_f":50,"issued":"2026-10-21T06:27:00+00:00","max_time":"312 PM LST","min_time":"302 AM LST"},"status":"final","cli_code":"CLINYC","later_reports":[],"latest_preliminary":{"max_f":67,"min_f":50,"valid_as_of":"0400 PM local"}},"station":"KNYC","metar_climate_day":{"best_estimate":{"max":{"c":19.4,"f":66.9,"f_whole":67},"min":{"c":10,"f":50,"f_whole":50}}}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_gXPUyiaMT7me3xDCzIjl2","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns official temperature settlement data (high/low in °F) for a given ICAO weather station and date, formatted for Kalshi and Polymarket temperature market resolution.","exampleAgentPrompt":"What was the official Kalshi settlement temperature — high and low in °F — at station KNYC for yesterday? I need the final CLI-verified reading for resolving a temperature market.","exampleUseCases":[{"title":"Resolve Kalshi NYC temperature market","prompt":"What were the official high and low temperatures at KNYC for 2025-06-15? I need the Kalshi settlement figures to know if my temperature market position pays out."},{"title":"Verify Polymarket temperature threshold","prompt":"Did KORD hit a high of at least 90°F on 2025-07-04? I need the official settlement data to verify whether the Polymarket temperature contract resolved yes."},{"title":"Auto-settle prediction market bot","prompt":"Fetch the final settlement temperatures for station KBOS for 2025-05-10 — I need the min and max °F that Kalshi used, including the CLI code and issue timestamp, so my bot can auto-resolve positions."}],"resultDescription":"A JSON object containing the date, ICAO station ID, Kalshi-specific fields (final max/min °F with timestamps, CLI code, settlement status, preliminary readings), and a METAR climate day best-estimate for max and min temperature in both Celsius and Fahrenheit (rounded and raw).","failureModes":["Missing or invalid 'station' query parameter returns a validation error","Date older than 6 days may not be available and returns an error or empty result","Station ICAO ID not found in the system returns a 404 or empty response","Payment not provided or insufficient (x402 payment required for non-free endpoints) results in a 402 response","Data not yet available for recent dates (e.g. today's final CLI report not yet issued) may return preliminary-only data"],"whenToPreferThis":"Use this endpoint when you need official, Kalshi- or Polymarket-compatible temperature settlement values (high/low °F) for a specific NOAA/NWS weather station and date. It is purpose-built for prediction market resolution workflows and provides the exact CLI codes and METAR estimates those platforms use. Prefer this over generic weather APIs when you need settlement-grade, authoritative data tied to specific ICAO stations rather than approximate forecasts or consumer weather data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T12:39:52.578Z","isFirstParty":false,"canonicalSlug":"weather-settlement-data-for-prediction-markets-kalshi-polymarket-13d4772d"}