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] English
  • ar - Arabic
  • az - Azerbaijani
  • be - Belarusian
  • bg - Bulgarian
  • bs - Bosnian
  • ca - Catalan
  • cz - Czech
  • da - Danish
  • de - German
  • fi - Finnish
  • fr - French
  • el - Greek
  • et - Estonian
  • hr - Croation
  • hu - Hungarian
  • id - Indonesian
  • it - Italian
  • is - Icelandic
  • kw - Cornish
  • nb - Norwegian BokmÃ¥l
  • nl - Dutch
  • pl - Polish
  • pt - Portuguese
  • ro - Romanian
  • ru - Russian
  • sk - Slovak
  • sl - Slovenian
  • sr - Serbian
  • sv - Swedish
  • tr - Turkish
  • uk - Ukrainian
  • zh - 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