Current Weather Data API
Reference for the Current Weather Data API endpoint.
Authorizations
Query Parameters
API key for authentication
Latitude of the desired location
-90 <= x <= 90Longitude of the desired location
-180 <= x <= 180Response format.
Default is json if you don't use the mode parameter.
html, json, xml Units of measurement:
standard: Kelvin for temperature, meters per second for wind speed and wind gustmetric: Celsius for temperature, meters per second for wind speed and wind gustimperial: Fahrenheit for temperature, miles per hour for wind speed and wind gust
Default is standard if you don't use the units parameter.
standard, metric, imperial Output language for weather description (weather.description) and city name (name) fields in the API response.
Available options:
sq: Albanianaf: Afrikaansar: Arabicaz: Azerbaijanieu: Basquebe: Belarusianbg: Bulgarianca: Catalanzh_cn: Chinese Simplifiedzh_tw: Chinese Traditionalhr: Croatiancz: Czechda: Danishnl: Dutchen: Englishfi: Finnishfr: Frenchgl: Galiciande: Germanel: Greekhe: Hebrewhi: Hindihu: Hungarianis: Icelandicid: Indonesianit: Italianja: Japanesekr: Koreanku: Kurmanji (Kurdish)la: Latvianlt: Lithuanianmk: Macedonianno: Norwegianfa: Persian (Farsi)pl: Polishpt: Portuguesept_br: Português Brasilro: Romanianru: Russiansr: Serbiansk: Slovaksl: Sloveniansp,es: Spanishsv,se: Swedishth: Thaitr: Turkishua,uk: Ukrainianvi: Vietnamesezu: Zulu
Default is English if you don't use the lang parameter.
Response
Successful response - Current weather data
Internal parameter
Visibility (meters)
Time of data calculation, in Unix time (UTC)
Shift in seconds from UTC
City identifier
City name
API response status code