Returns Historical Observations - Given a lat/lon.
Returns Historical Observations - Given a lat, and lon. See https://www.weatherbit.io/api for API specific rate limits.
Query parameters
Latitude component of location.
Longitude component of location.
City search.. Example - &city=Raleigh,NC or &city=Berlin,DE or city=Paris&country=FR
Postal Code. Example: 28546
Country Code (2 letter) - to be used with postal_code.
Station Call ID.
Start Date (YYYY-MM-DD or YYYY-MM-DD:HH).
End Date (YYYY-MM-DD or YYYY-MM-DD:HH).
Convert to units. Default Metric. Options (I = Imperial, M = Metric, S = Scientific)
Language (Default: English) See <a target='blank' href='/api/requests'>language field description</a>
Your registered API key.
Response
An Historical Day Data Object.
Example response
{
"city_name": "Seattle",
"state_code": "WA",
"country_code": "US",
"timezone": "America/New_York",
"lat": 47.61,
"lon": -122.33,
"city_id": "4487042",
"sources": [
"12345-89083"
],
"station_id": "12345-999999",
"data": [
{
"datetime": "2015-01-03",
"ts": 1501970516,
"revision_status": "final",
"revision_version": "1.1",
"slp": 1020.1,
"pres": 885.1,
"rh": 85,
"dewpt": -1.5,
"temp": 1,
"max_temp": 1.5,
"max_temp_ts": 1501970816,
"min_temp": 11.7,
"min_temp_ts": 1501970516,
"wind_spd": 14.98,
"wind_dir": 325,
"wind_gust_spd": 40.98,
"max_wind_spd": 19.98,
"max_wind_dir": 325,
"max_wind_spd_ts": 1501970516,
"clouds": 76,
"ghi": 125,
"t_ghi": 4500,
"dni": 125,
"t_dni": 4500,
"dhi": 125,
"max_ghi": 1018,
"max_dni": 931,
"max_dhi": 124,
"t_dhi": 4500,
"solar_rad": 100,
"t_solar_rad": 2400,
"max_uv": 6,
"precip": 3,
"precip_gpm": 3,
"snow": 30,
"snow_depth": 60
}
]
}Changes
No recorded changes to this endpoint across all 1 revision of this API.