Typical-year weather data of 2,014 stations in the EnergyPlus Weather (EPW) format, as shown on the EPW pages: one synthetic year of 8,760 hourly values per station (TMY3 for most US stations; IWEC, CWEC, SWERA, CSWD and other series elsewhere), for building energy simulation. A station's prefix is its six-digit WMO number, e.g. 725290 for Rochester, NY. What every API here shares (times, units, CSV and JSON, compression, caching) is on the Data API page.

EndpointReturns
locationsCSV: every station, or the nearest ones to a point
sensorsJSON: one station's metadata
searchJSON: stations whose name matches a text
/epw/data/<prefix>.csvCSV: a station's 8,760 hourly values (a file, not an endpoint)

Every station; with lat and lng (degrees) the nearest ones first, 3 unless limit says otherwise. limit caps the number. The whole list never changes, so it is also a file, https://larsi.org/api/epw/locations.csv, which is quicker.

https://larsi.org/api/epw/locations?lat=43.1&lng=-77.6&limit=2
label,value,lat,lng,ele
"Rochester Greater Rochester I, NY, USA",725290,43.12,-77.68,183
"Trenton, ON, CAN",716210,44.12,-77.53,86

value is the prefix, ele the elevation in meters.

One station's metadata. time_zone is its UTC offset in hours: EPW data is in standard time all year, without daylight saving time. name is the EPW file's name.

https://larsi.org/api/epw/sensors?prefix=725290
{"prefix":"725290","label":"Rochester Greater Rochester I, NY, USA","lat":43.12,"lng":-77.68,"ele":183,
 "time_zone":-5,"name":"USA_NY_Rochester-Greater.Rochester.Intl.AP.725290_TMY3","sensors":[]}

Stations whose name contains term, at most limit (default 10), for an autocomplete.

https://larsi.org/api/epw/search?term=roch&limit=2
[{"label":"Rochester International Arpt, MN, USA","value":"726440","name":"USA_MN_Rochester.Intl.AP.726440_TMY3"},
 {"label":"Rochester Greater Rochester I, NY, USA","value":"725290","name":"USA_NY_Rochester-Greater.Rochester.Intl.AP.725290_TMY3"}]

Each station's year is a static CSV file, https://larsi.org/epw/data/<prefix>.csv: a header line, then 8,760 rows, one per hour, January 1 00:00 to December 31 23:00 in the station's standard time. Each column header is the quantity and its unit, separated by |.

https://larsi.org/epw/data/725290.csv
Date/Time,Dry Bulb Temperature|C,Dew Point Temperature|C,Relative Humidity|%,Atmospheric Station Pressure|Pa,...
01/01 00:00,-2.2,-2.8,96,99500,0,0,267,0,0,0,0,0,0,0,0,0.0,10,9
01/01 01:00,-2.0,-2.6,96,99500,0,0,268,0,0,0,0,0,0,0,300,1.0,10,9
...
ColumnQuantityUnit
1Date/Time, MM/DD hh:mm
2Dry bulb temperature°C
3Dew point temperature°C
4Relative humidity%
5Atmospheric station pressurePa
6-7Extraterrestrial horizontal and direct normal radiationWh/m²
8Horizontal infrared radiation from the skyWh/m²
9-11Global horizontal, direct normal and diffuse horizontal radiationWh/m²
12-14Global horizontal, direct normal and diffuse horizontal illuminancelux
15Zenith luminancecd/m²
16Wind direction, where the wind blows fromdegrees from north
17Wind speedm/s
18-19Total and opaque sky covertenths of the sky

The original EPW files, with every field of the format, are in the download folder (gzipped, named as in sensors' name).