Current or Realtime Weather API


Current weather or realtime weather API method allows a user to get up to date current weather information in json. 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
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
wind_degree int Wind direction in degrees
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
feelslike_c decimal Feels like temperature as celcius
feelslike_f decimal Feels like temperature as fahrenheit
is_day int 1 = Yes 0 = No
Whether to show day condition icon or night icon