Request Parameters
All parameters should be supplied to the Weather API as query string parameters. This list is a description of some of the Weather API parameters. Not every endpoint allows all parameters. This list may not be all-inclusive. Consult the Weather API swagger documentation for examples, and further clarification.
Example
https://api.weatherbit.io/v2.0/forecast/daily?key=...&units=S&days=3
key=[key]
key
- Your API Key. REQUIRED
lang=[language]
en
- [DEFAULT] Englishar
- Arabicaz
- Azerbaijanibe
- Belarusianbg
- Bulgarianbs
- Bosnianca
- Catalancz
- Czechda
- Danishde
- Germanfi
- Finnishfr
- Frenchel
- Greeket
- Estonianhr
- Croationhu
- Hungarianid
- Indonesianit
- Italianis
- Icelandickw
- Cornishnb
- Norwegian Bokmålnl
- Dutchpl
- Polishpt
- Portuguesero
- Romanianru
- Russiansk
- Slovaksl
- Sloveniansr
- Serbiansv
- Swedishtr
- Turkishuk
- Ukrainianzh
- Chinese (Simplified)zh-tw
- Chinese (Traditional)
units=[units]
M
- [DEFAULT] Metric (Celsius, m/s, mm)S
- Scientific (Kelvin, m/s, mm)I
- Fahrenheit (F, mph, in)
days=[days] (/daily, /3hourly endpoints)
days
- Return only a certain number of days
hours=[hours] (/hourly endpoint)
hours
- Return only a certain number of hours