Returns a Current Observation - Given a lat/lon.
Returns a Current Observation - given a lat, and a lon.
Query parameters
Latitude component of location.
Longitude component of location.
Include optional current weather add-ons in the response. Accepts a comma separated list of minutely, lightning, and/or alerts.
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.
Comma separated list of points. Example: (35.5, -75.5),(45, 65),(45.12, -130.5)
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 Observation Group object.
Example response
{
"data": [
{
"city_name": "Raleigh",
"state_code": "NC",
"country_code": "US",
"timezone": "America/New_York",
"lat": 38,
"lon": -78.25,
"station": "KRDU",
"sources": [
"rtma"
],
"vis": 2.2,
"rh": 75,
"dewpt": 12,
"wind_dir": 125,
"wind_cdir": "ENE",
"wind_cdir_full": "East-North-East",
"wind_spd": 5.85,
"gust": 9,
"temp": 13.85,
"app_temp": 14.85,
"clouds": 42,
"weather": {
"icon": "c02",
"code": 802,
"description": "Broken clouds"
},
"datetime": "2017-03-15:13",
"ob_time": "2017-03-15 13:11",
"ts": 1490990400,
"sunrise": "06:22",
"sunset": "19:34",
"slp": 1013.12,
"pres": 1010,
"aqi": 50,
"uv": 6.5,
"solar_rad": 300.4,
"ghi": 450.4,
"dni": 450.4,
"dhi": 450.4,
"elev_angle": 37,
"hour_angle": 45,
"h_angle": 45,
"precip": 2,
"snow": 10
}
],
"minutely": [
{
"timestamp_utc": "2017-03-15 13:11",
"timestamp_local": "2017-03-15 13:11",
"precip": 2,
"temp": 13.85,
"snow": 10
}
]
}Changes
No recorded changes to this endpoint across all 1 revision of this API.