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>
Assume utc (default) or local time for start_date, end_date
Your registered API key.
Response
An Historical 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": [
{
"timestamp_local": "2019-03-04T12:15:00",
"timestamp_utc": "2019-03-04T17:15:00",
"revision_status": "final",
"revision_version": "1.1",
"slp": 1020.1,
"pres": 845,
"rh": 85,
"dewpt": -1.5,
"temp": -1.2,
"app_temp": -1.5,
"wind_spd": 14.7,
"wind_gust_spd": 16.85,
"wind_dir": 325,
"uv": 4,
"solar_rad": 300,
"ghi": 1500,
"dhi": 200,
"dni": 400,
"elev_angle": 27.5,
"azimuth": 40.5,
"vis": 10,
"pod": "n",
"weather": {
"icon": "s01n",
"code": 601,
"description": "Light Snow"
},
"clouds": 50,
"precip_rate": 3,
"snow_rate": 30
}
]
}Changes
No recorded changes to this endpoint across all 1 revision of this API.