GET
/v2/currentCurrent Weather
Returns current weather conditions for the specified location. Includes temperature, humidity, wind speed, UV index, and more.
Parameters
| Name | Type | Required | Description | Example |
|---|---|---|---|---|
lat | number | Required | Latitude of the location | 40.7128 |
lon | number | Required | Longitude of the location | -74.0060 |
units | string | Optional | Temperature units (imperial or metric) | metric |
lang | string | Optional | Response language code | en |
Try It Out
GET
/v2/currentExample Response
{
"status": "success",
"data": {
"location": {
"lat": 40.7128,
"lon": -74.006,
"city": "New York",
"country": "US"
},
"current": {
"temperature": 22.5,
"feels_like": 21.8,
"humidity": 65,
"pressure": 1013.25,
"wind_speed": 12.3,
"wind_direction": 225,
"uv_index": 6,
"visibility": 10000,
"conditions": "Partly Cloudy",
"icon": "partly_cloudy_day"
},
"updated_at": "2024-01-15T14:30:00Z"
}
}