{"uid":"cap_pj3k81_6Jw6Eyylemaowi","slug":"2s-io-c0d50746","name":"NOAA GHCN-Daily Weather Station Finder","description":"Find NOAA GHCN-Daily weather stations near a coordinate. Returns up to 100 stations within a configurable radius (default 500 km), sorted by distance. Each station includes id, name, lat/lon, elevation, country/state, and GSN/HCN/WMO flags. Backed by a ~132k-station registry refreshed monthly from ncei.noaa.gov.","url":"https://2s.io/api/climate/station-near","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":{"type":"object","required":["lat","lon"],"properties":{"lat":{"type":"number","maximum":90,"minimum":-90},"lon":{"type":"number","maximum":180,"minimum":-180},"limit":{"type":"integer","maximum":100,"minimum":1},"radius_km":{"type":"number","maximum":5000,"minimum":1}},"additionalProperties":false}}}}},"responseSchema":null,"example":{"request":{"input":{"type":"http","method":"GET","queryParams":{"lat":37.77,"lon":-122.42,"limit":20,"radius_km":100}}},"response":{"data":{"count":20,"query":{"limit":20,"latitude":37.77,"radiusKm":100,"longitude":-122.42},"stations":[{"id":"USW00023272","name":"SAN FRANCISCO DWTN","flags":{"gsn":null,"hcn":null,"wmo":null},"location":{"state":"CA","latitude":37.7706,"longitude":-122.4269,"elevationM":45.7},"distanceKm":0.61},{"id":"US1CASF0004","name":"SAN FRANCISCO 1.1 SW","flags":{"gsn":null,"hcn":null,"wmo":null},"location":{"state":"CA","latitude":37.765,"longitude":-122.4348,"elevationM":59.1},"distanceKm":1.41},{"id":"US1CASF0017","name":"SAN FRANCISCO 1.6 SE","flags":{"gsn":null,"hcn":null,"wmo":null},"location":{"state":"CA","latitude":37.759,"longitude":-122.3975,"elevationM":65.5},"distanceKm":2.33},{"id":"USC00047765","name":"SAN FRAN ACAD OF SCI","flags":{"gsn":null,"hcn":null,"wmo":null},"location":{"state":"CA","latitude":37.7667,"longitude":-122.4667,"elevationM":75.9},"distanceKm":4.12},{"id":"US1CASF0003","name":"SAN FRANCISCO 2.8 WNW","flags":{"gsn":null,"hcn":null,"wmo":null},"location":{"state":"CA","latitude":37.7834,"longitude":-122.4701,"elevationM":52.7},"distanceKm":4.65},{"id":"US1CASF0008","name":"SAN FRANCISCO 3.0 W","flags":{"gsn":null,"hcn":null,"wmo":null},"location":{"state":"CA","latitude":37.7776,"longitude":-122.4741,"elevationM":62.5},"distanceKm":4.83},{"id":"US1CASF0021","name":"SAN FRANCISCO 3.4 S","flags":{"gsn":null,"hcn":null,"wmo":null},"location":{"state":"CA","latitude":37.7272,"longitude":-122.4096,"elevationM":43},"distanceKm":4.85},{"id":"US1CASF0020","name":"SAN FRANCISCO 3.1 W","flags":{"gsn":null,"hcn":null,"wmo":null},"location":{"state":"CA","latitude":37.7781,"longitude":-122.4763,"elevationM":50.6},"distanceKm":5.03},{"id":"US1CASF0014","name":"SAN FRANCISCO 4.9 WSW","flags":{"gsn":null,"hcn":null,"wmo":null},"location":{"state":"CA","latitude":37.7598,"longitude":-122.5065,"elevationM":11.6},"distanceKm":7.69},{"id":"USC00047767","name":"SAN FRANCISCO OCEANSIDE","flags":{"gsn":null,"hcn":null,"wmo":null},"location":{"state":"CA","latitude":37.7281,"longitude":-122.5053,"elevationM":2.4},"distanceKm":8.83},{"id":"USW00023239","name":"ALAMEDA NAS","flags":{"gsn":null,"hcn":null,"wmo":"74506"},"location":{"state":"CA","latitude":37.7333,"longitude":-122.3167,"elevationM":4.9},"distanceKm":9.96},{"id":"US1CAMR0016","name":"SAUSALITO 0.3 WNW","flags":{"gsn":null,"hcn":null,"wmo":null},"location":{"state":"CA","latitude":37.8593,"longitude":-122.4974,"elevationM":48.5},"distanceKm":12.03},{"id":"USC00046333","name":"OAKLAND CITY HALL","flags":{"gsn":null,"hcn":null,"wmo":null},"location":{"state":"CA","latitude":37.8,"longitude":-122.2667,"elevationM":10.7},"distanceKm":13.88},{"id":"USC00046336","name":"OAKLAND MUSEUM","flags":{"gsn":null,"hcn":null,"wmo":null},"location":{"state":"CA","latitude":37.7983,"longitude":-122.2642,"elevationM":9.1},"distanceKm":14.05},{"id":"US1CAMR0038","name":"MILL VALLEY 2.5 SSE","flags":{"gsn":null,"hcn":null,"wmo":null},"location":{"state":"CA","latitude":37.8744,"longitude":-122.5257,"elevationM":17.4},"distanceKm":14.86},{"id":"US1CAAL0039","name":"BERKELEY 0.9 SSE","flags":{"gsn":null,"hcn":null,"wmo":null},"location":{"state":"CA","latitude":37.8552,"longitude":-122.2892,"elevationM":13.7},"distanceKm":14.89},{"id":"US1CAMR0045","name":"MILL VALLEY 2.1 S","flags":{"gsn":null,"hcn":null,"wmo":null},"location":{"state":"CA","latitude":37.8773,"longitude":-122.5409,"elevationM":73.2},"distanceKm":15.97},{"id":"US1CAAL0052","name":"OAKLAND 1.7 NNW","flags":{"gsn":null,"hcn":null,"wmo":null},"location":{"state":"CA","latitude":37.7941,"longitude":-122.2364,"elevationM":37.5},"distanceKm":16.36},{"id":"US1CAAL0006","name":"OAKLAND 4.4 NNW","flags":{"gsn":null,"hcn":null,"wmo":null},"location":{"state":"CA","latitude":37.8319,"longitude":-122.2503,"elevationM":58.2},"distanceKm":16.42},{"id":"US1CAAL0063","name":"BERKELEY 1.2 ESE","flags":{"gsn":null,"hcn":null,"wmo":null},"location":{"state":"CA","latitude":37.8638,"longitude":-122.2753,"elevationM":48.2},"distanceKm":16.44}]},"meta":{"cost":{"usd":0.001,"tier":0},"caller":"x402","version":null,"endpoint":"climate.station-near","settlement":{"txHash":"0x735ca49f7cec5a40c066449e0afa4cd8fb97be485a0e173794244ed5b8c11b96","network":"eip155:8453","success":true}}}},"exampleRequest":{"lat":37.77,"lon":-122.42,"limit":20,"radius_km":100},"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0025","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0025","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_tx7OaOn9WydiKZjP1bKaP","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0025","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Find NOAA GHCN-Daily weather stations near a given coordinate, sorted by distance, with station metadata including location and network flags.","exampleAgentPrompt":"Find up to 20 NOAA GHCN-Daily weather stations within 100 km of latitude 37.77 and longitude -122.42, sorted by distance.","exampleUseCases":null,"resultDescription":"Returns an array of up to 100 weather stations (default limit configurable), each with station id, name, latitude, longitude, elevation, country, state, distance from query point, and network membership flags (GSN, HCN, WMO). Stations are drawn from a ~132,000-station registry refreshed monthly from ncei.noaa.gov.","failureModes":["Missing required lat or lon parameter returns a 400 error","lat outside -90..90 or lon outside -180..180 returns a 400 validation error","radius_km exceeding 5000 or limit exceeding 100 returns a 400 error","No stations found within the specified radius returns an empty array","Payment not attached or insufficient returns a 402 error"],"whenToPreferThis":"Use this endpoint when you need to discover nearby NOAA GHCN-Daily weather stations by geographic proximity — especially for climate research, historical weather data retrieval, or identifying the nearest official monitoring network stations. Prefer this over general weather APIs when you need station identifiers for further NOAA/NCEI data queries or need to filter by network flags (GSN, HCN, WMO).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T12:53:09.179Z","isFirstParty":false}