{"uid":"cap_n8zPjDDDPX3Of3q6gZoXR","slug":"weather-observed-temperatures-for-prediction-markets-kalshi-polymarket-90db0ef6","name":"Weather Observed Temperatures 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/observed?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":{"station":{"type":"string","description":"Settlement station ICAO id, e.g. KMDW, KLGA, EGLC"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"station":"KNYC","windows":{"kalshi_climate_day":{"n_obs":10,"latest":{"c":11.1,"f":52,"time":"2026-10-21T13:51:00.000Z"},"best_estimate":{"max":{"c":12.2,"f":54,"f_whole":54},"min":{"c":8.3,"f":46.9,"f_whole":47}},"max_all_reports":{"c":11.1,"f":52,"time":"2026-10-21T13:51:00.000Z","type":"METAR"},"min_all_reports":{"c":8.3,"f":46.9,"time":"2026-10-21T09:51:00.000Z","type":"METAR"}}},"local_date":"2026-10-21"}},"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_fRPleYLOS8FOlWsTSjYQH","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 observed temperature readings (max/min/latest) for a given ICAO weather station, structured for Kalshi and Polymarket temperature market settlement.","exampleAgentPrompt":"What were the observed high and low temperatures at KNYC today — I need the Kalshi climate day window values in both Celsius and Fahrenheit to check my temperature market position.","exampleUseCases":[{"title":"Kalshi temperature market settlement check","prompt":"Pull the observed max and min temperatures for KMDW today so I can see if my Kalshi temperature market contract settles in the money."},{"title":"Polymarket daily high verification","prompt":"What was the highest recorded temperature at KLGA today according to METAR reports? I need it in Fahrenheit for my Polymarket temperature prediction."},{"title":"International station temperature lookup","prompt":"Get me today's observed temperature readings — high, low, and latest — for EGLC in London so I can verify a temperature market settlement."}],"resultDescription":"Returns a JSON object containing the ICAO station ID, local date, and a 'windows' object with a 'kalshi_climate_day' entry that includes: number of observations, latest temperature reading (°C and °F with timestamp), best-estimate max and min temperatures (°C, °F, and whole-number °F), and the raw max and min across all METAR reports (with timestamps and report types).","failureModes":["Invalid or unknown ICAO station ID returns an error or empty windows","Station not reporting — no recent METAR data may result in zero observations or missing best_estimate","Endpoint requires payment via x402 (0.01-0.02 USDC on Base/eip155:8453); unpaid requests return HTTP 402","Data may lag real-time by up to one observation cycle (~1 hour) for recently updated stations","Station IDs must be in ICAO format (e.g. KMDW, not ORD); IATA codes will fail"],"whenToPreferThis":"Use this endpoint when you need structured, prediction-market-ready observed temperature data (max/min/latest) from METAR reports at a specific ICAO station, particularly for settling Kalshi or Polymarket temperature contracts. Prefer this over generic weather APIs when you need the exact Kalshi climate day window format with whole-number Fahrenheit values, or when you need micropayment-compatible access (x402/USDC) without API key registration. Choose it over forecast APIs when you need historical or current-day observed actuals, not predictions.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T12:30:32.788Z","isFirstParty":false,"canonicalSlug":"weather-observed-temperatures-for-prediction-markets-kalshi-polymarket-90db0ef6"}