Weather

Current / Real-time Weather

Returns up-to-date current weather for a given location. Data is refreshed every 10–15 minutes. Optionally includes air quality (AQI) and pollen data.

get/current.json

Query parameters

keystring required
Example:YOUR_API_KEY

Your WeatherAPI.com API key.

qstring required
Example:London

Location query. Accepts: city name, lat/lon, US zip, UK postcode, Canada postal code, METAR code (metar:EGLL), IATA (iata:DXB), auto:ip, IPv4/IPv6, or location ID (id:2801268).

aqi'yes' | 'no'

Include Air Quality Index (AQI) data in response.

pollen'yes' | 'no'

Include pollen data. Available on Pro+ and above.

langstring
Example:fr

Language code for condition text. E.g.: fr, de, es, zh, ar. See full list in docs.

current_fieldsstring

Comma-separated list of fields to return in the current element, e.g. temp_c,wind_mph.

Response

Current weather data

Changes