{"uid":"cap_C7HUHfw3-NgnrjAGRit07","slug":"saylor-innovations-historical-weather-api-e4cafb97","name":"Saylor Innovations Historical Weather API","description":"Historical weather for a location and date range - average highs and lows, precipitation, snowfall, wind, hottest and wettest days since 1940","url":"https://saylorinnovations.com/api/weather/history?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","POST","PUT","PATCH","DELETE","HEAD"],"type":"string"},"queryParams":{"type":"object","required":["lat","lon","start","end"],"properties":{"end":{"type":"string","description":"end date YYYY-MM-DD, at least two days ago, within 366 days of start"},"lat":{"type":"string","description":"Latitude in decimal degrees, e.g. 40.71"},"lon":{"type":"string","description":"Longitude in decimal degrees, e.g. -74.01"},"start":{"type":"string","description":"start date YYYY-MM-DD (1940 or later)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string","const":"json"},"example":{"type":"object","required":["summary"],"properties":{"end":{"type":"string"},"daily":{"type":["array","null"],"items":{"type":"object"},"description":"Daily values"},"start":{"type":"string"},"source":{"type":["string","null"],"description":"Data source the values come from"},"monthly":{"type":"array","items":{"type":"object"},"description":"Monthly values"},"summary":{"type":"object","properties":{"days":{"type":"number","description":"Number of days"},"coldest":{"type":"object"},"hottest":{"type":"object"},"wettest":{},"wet_days":{"type":"number","description":"Wet days"},"windiest":{},"avg_low_c":{"type":"number","description":"Avg low, in degrees Celsius"},"avg_high_c":{"type":"number","description":"Avg high, in degrees Celsius"},"avg_mean_c":{"type":["number","null"],"description":"Avg mean, in degrees Celsius"},"total_snowfall_cm":{"type":["number","null"],"description":"Total snowfall cm"},"total_precipitation_mm":{"type":"number","description":"Total precipitation mm"}},"description":"Short summary"},"location":{"description":"Place the data refers to"},"checked_at":{"type":["string","null"],"description":"Time the check was run (UTC)"},"daily_note":{"type":["string","null"],"description":"Daily note"}}}}}}},"responseSchema":null,"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_NEu6cDUVvKC1yhGrm2qQi","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 historical weather statistics for a geographic location and date range, including average highs/lows, precipitation, snowfall, wind, and notable extreme days since 1940","exampleAgentPrompt":"What was the weather like in Miami from January 1 to March 31, 2023 — average highs and lows, total rainfall, and which day was the hottest?","exampleUseCases":[{"title":"Travel climate research","prompt":"I'm planning a trip and want to know what the weather was typically like in Barcelona between July 15 and August 15, 2022 — average high and low temperatures, how much rain fell, and whether there were any extreme days."},{"title":"Agricultural growing season analysis","prompt":"Can you pull historical weather data for the area around Fresno, California (36.74, -119.77) for the growing season April 1 through September 30, 2022? I need total precipitation, average temperatures, and which days were the wettest."},{"title":"Insurance or legal weather documentation","prompt":"I need a weather summary for Chicago (41.88, -87.63) from December 10 to December 20, 2022 — specifically snowfall totals, average temperatures, and which day had the worst conditions."}],"resultDescription":"A JSON object with a summary section containing average high, average low, average mean temperatures in Celsius, total precipitation in mm, total snowfall in cm, number of wet days, and the hottest, coldest, wettest, and windiest days. Also includes monthly breakdowns, optional daily values, the location the data refers to, and the underlying data source.","failureModes":["Date range exceeds 366 days — query must be limited to one year at a time","End date must be at least two days in the past — future or very recent dates will fail","Start date before 1940 — data is not available before 1940","Invalid latitude or longitude — must be valid decimal degree values","Location over open ocean or polar region with no weather station coverage may return null or sparse data","Payment not processed — x402 payment of $0.01 USDC required per call"],"whenToPreferThis":"Choose this endpoint when you need historical weather statistics (averages, extremes, precipitation totals) for any geographic coordinate over a custom date range going back to 1940. It is ideal for travel research, climate analysis, agricultural planning, or legal/insurance documentation. Prefer it over forecast APIs when the dates are in the past, and over general climate databases when you need daily granularity alongside summary statistics in a single API call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-16T12:43:08.514Z","isFirstParty":false,"canonicalSlug":"saylor-innovations-historical-weather-api-e4cafb97"}