{"uid":"cap_oGttI6MXeh5Q_Xebh7naq","slug":"2s-io-noaa-ghcn-daily-historical-weather-observations-1456965c","name":"2s.io NOAA GHCN-Daily Historical Weather Observations","description":"Historical daily weather observations from NOAA GHCN-Daily for one station and date range (up to 366 days per call): max/min/avg temperature (°C), precipitation (mm), snowfall and snow depth (mm), wind (m/s). Coverage reaches back to the 1800s for long-running stations — actual measured values for \"what was the weather on this date\", not model recall. Pass a GHCN station id (e.g. USW00094728 = NYC Central Park); find the nearest station for any coordinate with /api/climate/station-near first. dataTypes selects elements (default TMAX,TMIN,PRCP). NOAA public-domain data.","url":"https://2s.io/api/climate/station-history","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","queryParams"],"properties":{"type":{"const":"http"},"method":{"const":"GET"},"queryParams":{"required":["station","startDate","endDate"],"properties":{"endDate":{"type":"string","description":"Range end, YYYY-MM-DD (≤366 days after start)."},"station":{"type":"string","description":"GHCN-Daily station id, e.g. USW00094728."},"dataTypes":{"type":"string","description":"Comma-separated element codes. Allowed: TMAX, TMIN, TAVG, PRCP, SNOW, SNWD, AWND, WSF2, WSF5, EVAP. Default TMAX,TMIN,PRCP."},"startDate":{"type":"string","description":"Range start, YYYY-MM-DD."}}}}}}},"responseSchema":null,"example":{"request":{"input":{"type":"http","method":"GET","queryParams":{"endDate":"2010-07-31","station":"USW00094728","dataTypes":"TMAX,TMIN,PRCP","startDate":"2010-07-01"}}},"response":{"data":{"ok":true,"meta":{"endDate":"2010-07-31","station":"USW00094728","dataTypes":["TMAX","TMIN","PRCP"],"startDate":"2010-07-01","stationName":"NY CITY CENTRAL PARK, NY US"},"items":[{"date":"2010-07-01","values":{"PRCP":0,"TMAX":25,"TMIN":16.7}},{"date":"2010-07-02","values":{"PRCP":0,"TMAX":27.8,"TMIN":16.1}},{"date":"2010-07-03","values":{"PRCP":0,"TMAX":31.7,"TMIN":18.3}},{"date":"2010-07-04","values":{"PRCP":0,"TMAX":35.6,"TMIN":22.8}},{"date":"2010-07-05","values":{"PRCP":0,"TMAX":37.2,"TMIN":24.4}},{"date":"2010-07-06","values":{"PRCP":0,"TMAX":39.4,"TMIN":27.2}},{"date":"2010-07-07","values":{"PRCP":0,"TMAX":37.8,"TMIN":26.7}},{"date":"2010-07-08","values":{"PRCP":0,"TMAX":31.7,"TMIN":25}},{"date":"2010-07-09","values":{"PRCP":0.5,"TMAX":32.2,"TMIN":23.9}},{"date":"2010-07-10","values":{"PRCP":0,"TMAX":28.3,"TMIN":22.8}},{"date":"2010-07-11","values":{"PRCP":0,"TMAX":34.4,"TMIN":21.7}},{"date":"2010-07-12","values":{"PRCP":0,"TMAX":34.4,"TMIN":22.8}},{"date":"2010-07-13","values":{"PRCP":21.3,"TMAX":28.3,"TMIN":22.8}},{"date":"2010-07-14","values":{"PRCP":11.4,"TMAX":26.1,"TMIN":22.8}},{"date":"2010-07-15","values":{"PRCP":0,"TMAX":30.6,"TMIN":22.2}},{"date":"2010-07-16","values":{"PRCP":0,"TMAX":33.9,"TMIN":23.3}},{"date":"2010-07-17","values":{"PRCP":0,"TMAX":34.4,"TMIN":24.4}},{"date":"2010-07-18","values":{"PRCP":0,"TMAX":34.4,"TMIN":25.6}},{"date":"2010-07-19","values":{"PRCP":3.8,"TMAX":33.3,"TMIN":22.2}},{"date":"2010-07-20","values":{"PRCP":0,"TMAX":31.7,"TMIN":23.3}},{"date":"2010-07-21","values":{"PRCP":0,"TMAX":33.9,"TMIN":24.4}},{"date":"2010-07-22","values":{"PRCP":0,"TMAX":32.2,"TMIN":23.3}},{"date":"2010-07-23","values":{"PRCP":17.8,"TMAX":30.6,"TMIN":22.8}},{"date":"2010-07-24","values":{"PRCP":0,"TMAX":36.1,"TMIN":26.7}},{"date":"2010-07-25","values":{"PRCP":8.9,"TMAX":33.9,"TMIN":21.1}},{"date":"2010-07-26","values":{"PRCP":0,"TMAX":30.6,"TMIN":20}},{"date":"2010-07-27","values":{"PRCP":0,"TMAX":32.8,"TMIN":21.1}},{"date":"2010-07-28","values":{"PRCP":0,"TMAX":31.7,"TMIN":23.3}},{"date":"2010-07-29","values":{"PRCP":2.3,"TMAX":31.7,"TMIN":23.3}},{"date":"2010-07-30","values":{"PRCP":0,"TMAX":29.4,"TMIN":18.9}},{"date":"2010-07-31","values":{"PRCP":0,"TMAX":29.4,"TMIN":18.9}}],"total":31,"source":{"url":"https://www.ncei.noaa.gov/access/services/data/v1","license":"Public domain (US government work)","provider":"NOAA National Centers for Environmental Information, GHCN-Daily (ncei.noaa.gov)"}},"meta":{"cost":{"usd":0.0012,"tier":0},"caller":"x402","version":null,"endpoint":"climate.station-history","settlement":{"txHash":"0x1b4f6542299a2277ae72f69e00359fdca037a56cc115e578b219ef0dce8f19ab","network":"eip155:8453","success":true}}}},"exampleRequest":{"endDate":"2010-07-31","station":"USW00094728","dataTypes":"TMAX,TMIN,PRCP","startDate":"2010-07-01"},"tags":["x402"],"displayCostAmount":"0.0012","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.0012/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_7aLl-MhZ5CalhQjNzFaNV","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns historical daily weather observations (temperature, precipitation, snow, wind) for a specific NOAA GHCN-Daily station over a date range up to 366 days.","exampleAgentPrompt":"Pull the historical daily weather records for NOAA station USW00094728 (NYC Central Park) from July 1 to July 31, 2010 — I want max temp, min temp, and precipitation for each day.","exampleUseCases":null,"resultDescription":"Returns daily weather observation records for the requested station and date range, including max/min/avg temperature in °C, precipitation in mm, snowfall and snow depth in mm, and wind speed in m/s, sourced from NOAA GHCN-Daily public-domain data. Coverage can extend back to the 1800s for long-running stations.","failureModes":["Invalid or unknown GHCN station ID returns an error or empty result","Date range exceeds 366 days — API enforces per-call limit","startDate after endDate returns an error","Requested data types not available for the given station/period return missing fields","Station has gaps in historical record for certain dates","Invalid date format (not YYYY-MM-DD) causes a parsing error"],"whenToPreferThis":"Choose this endpoint when you need actual measured historical weather observations (not forecasts or model estimates) for a specific NOAA GHCN-Daily station. Ideal for climate research, historical event reconstruction, date-specific weather lookups, or any use case requiring ground-truth measured values going back decades or centuries. Use the companion /api/climate/station-near endpoint first if you only have coordinates and need to find the nearest station ID.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:56:31.826Z","isFirstParty":false}