{"uid":"cap_wp-86nGHx0SMwqOQ3Yh4S","slug":"site-climate-daily-weather-history-b3080af7","name":"Site Climate Daily Weather History","description":"Daily weather history for a location and date range (up to a year): temperature, rain, wind, sunlight and summary stats.","url":"https://site-climate.x402tookit.com/daily-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"],"type":"string"},"queryParams":{"type":"object","required":["lat","lon","start","end"],"properties":{"end":{"type":"string","description":"Last day, YYYY-MM-DD, within 366 days of the start"},"lat":{"type":"number","description":"Latitude, -90 to 90"},"lon":{"type":"number","description":"Longitude, -180 to 180"},"start":{"type":"string","description":"First day, YYYY-MM-DD (1984 or later)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"end":{"type":["null","string"]},"asOf":{"type":["null","string"]},"days":{"type":["null","number"]},"daily":{"type":["array","null"],"items":{"type":"object","properties":{"date":{"type":["null","string"]},"maxC":{"type":["null","number"]},"minC":{"type":["null","number"]},"meanC":{"type":["null","number"]},"rainMm":{"type":["null","number"]},"windMs":{"type":["null","number"]},"sunKwhM2":{"type":["null","number"]}}}},"start":{"type":["null","string"]},"source":{"type":["null","string"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"summary":{"type":["null","string"]},"verdict":{"type":["null","string"]},"degraded":{"type":["boolean","null"]},"latitude":{"type":["null","number"]},"longitude":{"type":["null","number"]},"meanTempC":{"type":["null","number"]},"rainyDays":{"type":["null","number"]},"sourceUrl":{"type":["null","string"]},"disclaimer":{"type":["null","string"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"wettestDay":{"type":["null","object"],"properties":{"mm":{"type":["null","number"]},"date":{"type":["null","string"]}}},"attribution":{"type":["null","string"]},"coldestDate":{"type":["null","string"]},"daysMissing":{"type":["null","number"]},"hottestDate":{"type":["null","string"]},"daysAbove30C":{"type":["null","number"]},"daysWithData":{"type":["null","number"]},"meanWindMs10m":{"type":["null","number"]},"coldestDayMinC":{"type":["null","number"]},"hottestDayMaxC":{"type":["null","number"]},"totalRainfallMm":{"type":["null","number"]},"daysBelowFreezing":{"type":["null","number"]},"meanSunlightKwhM2Day":{"type":["null","number"]}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","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.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_sTi8-8esquO4u_4r5TQaV","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns day-by-day historical weather data (temperature, rain, wind, sunlight) for any coordinates over a date range up to one year, plus summary statistics.","exampleAgentPrompt":"Pull the daily weather history for coordinates 51.5074° N, 0.1278° W from 2024-01-01 to 2024-12-31 — I need the temperature, rainfall, wind, and sunlight for each day along with a summary of conditions over that period.","exampleUseCases":[{"title":"Construction site weather audit","prompt":"Get me the full daily weather history for the coordinates 40.7128, -74.006 from 2024-03-01 to 2024-09-30 — I need to know temperature highs and lows, rainfall amounts, and wind speeds so I can check what conditions were like on site during our build."},{"title":"Agricultural growing season review","prompt":"Show me the daily weather data for lat 35.22, lon -101.83 from 2024-04-15 to 2024-10-15 — I want to see how much rain fell each day, the temperature range, and how many rainy days there were during the growing season."},{"title":"Renewable energy site historical analysis","prompt":"Fetch the daily sunlight and wind data for coordinates 36.7783, -119.4179 from 2023-06-01 to 2023-12-31 — I need daily solar energy in kWh/m² and wind speed in m/s to assess historical resource availability at this potential energy site."}],"resultDescription":"An array of daily records each containing date, max/min/mean temperature in Celsius, rainfall in mm, wind speed in m/s, and solar energy in kWh/m², plus period-level summary statistics: mean temperature, rainy day count, wettest day, coldest and warmest dates, a human-readable summary, and a verdict string. Also includes data source attribution, any degraded-data flags, and a list of days with missing data.","failureModes":["Date range exceeds 366 days — API rejects with an error","Start date earlier than 1984 — data not available before that year","Invalid or out-of-range latitude/longitude values","End date before start date","Missing required query parameters (lat, lon, start, end)","Location over open ocean or polar region may return degraded or partial data","Payment failure (x402 protocol) results in 402 response before data is returned"],"whenToPreferThis":"Choose this endpoint when you need granular day-by-day historical weather records for a specific geographic coordinate over a period of up to one year. It is ideal for site assessments, retrospective environmental analysis, agricultural or construction audits, and energy resource studies where daily resolution matters. Prefer it over monthly-average endpoints when you need to identify specific extreme events (wettest day, coldest date) or count days meeting a threshold. It covers data from 1984 onward for any global coordinate.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T07:20:34.555Z","isFirstParty":false,"canonicalSlug":"site-climate-daily-weather-history-b3080af7"}