Current weather or realtime weather API method allows a user to
get up to date current weather information in json and xml. The data is
returned as a Current Object.
Current object contains current or realtime weather information
for a given city.
| Field |
Data Type |
Description |
| last_updated |
string |
Local time when the real time data
was updated. |
| last_updated_epoch |
int |
Local time when the real time data
was updated in unix time. |
| temp_c |
decimal |
Temperature in celsius |
| temp_f |
decimal |
Temperature in fahrenheit |
| feelslike_c |
decimal |
Feels like temperature in celsius |
| feelslike_f |
decimal |
Feels like temperature in fahrenheit |
| windchill_c |
decimal |
Windchill temperature in celcius |
| windchill_f |
decimal |
Windchill temperature in fahrenheit |
| heatindex_c |
decimal |
Heat index in celcius |
| heatindex_f |
decimal |
Heat index in fahrenheit |
| dewpoint_c |
decimal |
Dew point in celcius |
| dewpoint_f |
decimal |
Dew point in fahrenheit |
| condition:text |
string |
Weather condition text |
| condition:icon |
string |
Weather icon url |
| condition:code |
int |
Weather condition unique code. |
| wind_mph |
decimal |
Wind speed in miles per hour |
| wind_kph |
decimal |
Wind speed in kilometer per hour |
| wind_degree |
int |
Wind direction in degrees |
| wind_dir |
string |
Wind direction as 16 point
compass. e.g.: NSW |
| pressure_mb |
decimal |
Pressure in millibars |
| pressure_in |
decimal |
Pressure in inches |
| precip_mm |
decimal |
Precipitation amount in millimeters |
| precip_in |
decimal |
Precipitation amount in inches |
| humidity |
int |
Humidity as percentage |
| cloud |
int |
Cloud cover as percentage |
| is_day |
int |
1 = Yes 0 = No
Whether to show day condition icon or night icon |
| uv |
decimal |
UV Index |
| gust_mph |
decimal |
Wind gust in miles per hour |
| gust_kph |
decimal |
Wind gust in kilometer per hour |
| short_rad |
decimal |
(Available for paid plan users only) Shortwave solar radiation or Global horizontal irradiation (GHI) W/m² |
| diff_rad |
decimal |
(Available for paid plan users only) Diffuse Horizontal Irradiation (DHI) W/m² |
| dni |
decimal |
(Available for paid plan users only) Direct Normal Irradiance (DNI) W/m² |
| gti |
decimal |
(Available for paid plan users only) Global Tilted Irradiance (GTI) W/m² |
| pollen (Available for paid plan users only) |
element |
See pollen element |