API Reference
Get current weather data
Retrieve the current weather conditions for a specified location using latitude and longitude coordinates.
GET
/
weather
Authorizations
Query Parameters
Latitude of the desired location
Required range:
-90 < x < 90
Longitude of the desired location
Required range:
-180 < x < 180
Response format.
Default is json
if you don't use the mode
parameter.
Available options:
html
, json
, xml
Units of measurement:
standard
: Kelvin for temperature, meter/sec for wind speed and wind gustmetric
: Celsius for temperature, meter/sec for wind speed and wind gustimperial
: Fahrenheit for temperature, miles/hour for wind speed and wind gust
Default is standard
if you don't use the units
parameter.
Available options:
standard
, metric
, imperial
Output language for weather description (weather.description
) and city name (name
) fields in the API response.
Available options:
af
: Afrikaansal
: Albanianar
: Arabicaz
: Azerbaijanieu
: Basquebe
: Belarusianbg
: Bulgarianca
: Catalanzh_cn
: Chinese Simplifiedzh_tw
: Chinese Traditionalhr
: Croatiancs
: 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
: Slovenianes
: Spanishsv
: Swedishse
: Swedishth
: Thaitr
: Turkishuk
: Ukrainianvi
: Vietnamesezu
: Zulu
Default is English if you don't use the lang
parameter.
Response
200 - application/json
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