API Bouncer

Buy me a coffee

Weatherbit

Weather

WeatherAuth: API KeyHTTPS: YesCORS: unknownStatus: alive

Last verified: November 12, 2026

Reliability

100% uptime: the documentation responded in 5 of 5 checks over the last 30 days. Median response time: 335 ms.

How we check, and the most reliable APIs →

At a glance

// Fetch the docs page with cURL curl https://www.weatherbit.io/api

API reference

From Weatherbit's OpenAPI specification (version 2.0.0), spec updated March 6, 2023, via APIs.guru.

This an interactive version of the documentation for the Weatherbit API. The base URL for the API is http://api.weatherbit.io/v2.0/ or https://api.weatherbit.io/v2.0/. Below is the Swagger UI documentation for the API. All API requests require the key parameter. An Example for a 48 hour forecast for London, UK would be http://api.weatherbit.io/v2.0/forecast/hourly?lat=51.5072 & lon=-0.1276 . See our Weather API description page for the full documentation.
  • Base URL: https://api.weatherbit.io/v2.0
  • Endpoints: 47
  • Machine-readable spec: OpenAPI JSON (import into Postman, Insomnia or a code generator)
MethodPathWhat it does
GET/alerts?lat={lat}&lon={lon}Returns severe weather alerts issued by meteorological agencies - Given a lat/lon.
GET/bulk/files/{file}Download pre-generated bulk datasets
GET/current/airquality?city={city}&country={country}Returns current air quality conditions - Given City and/or State, Country.
GET/current/airquality?city_id={city_id}Returns current air quality conditions - Given a City ID.
GET/current/airquality?lat={lat}&lon={lon}Returns current air quality conditions - Given a lat/lon.
GET/current/airquality?postal_code={postal_code}Returns current air quality conditions - Given a Postal Code.
GET/current?cities={cities}Returns a group of observations given a list of cities
GET/current?city={city}&country={country}Returns a Current Observation - Given City and/or State, Country.
GET/current?city_id={city_id}Returns a current observation by city id.
GET/current?lat={lat}&lon={lon}Returns a Current Observation - Given a lat/lon.
GET/current?points={points}Returns a group of observations given a list of points in the format (lat1, lon1), (lat2, lon2), (latN, lonN), ...
GET/current?postal_code={postal_code}Returns a current observation by postal code.
GET/current?station={station}Returns a Current Observation. - Given a station ID.
GET/current?stations={stations}Returns a group of observations given a list of stations
GET/forecast/airquality?city={city}&country={country}Returns 72 hour (hourly) Air Quality forecast - Given City and/or State, Country.
GET/forecast/airquality?city_id={city_id}Returns 72 hour (hourly) Air Quality forecast - Given a City ID.
GET/forecast/airquality?lat={lat}&lon={lon}Returns 72 hour (hourly) Air Quality forecast - Given a lat/lon.
GET/forecast/airquality?postal_code={postal_code}Returns 72 hour (hourly) Air Quality forecast - Given a Postal Code.
GET/forecast/daily?city={city}&country={country}Returns a daily forecast - Given City and/or State, Country.
GET/forecast/daily?city_id={city_id}Returns a daily forecast - Given a City ID.
GET/forecast/daily?lat={lat}&lon={lon}Returns a daily forecast - Given Lat/Lon.
GET/forecast/daily?postal_code={postal_code}Returns a daily forecast - Given a Postal Code.
GET/forecast/energy?lat={lat}&lon={lon}Returns Energy Forecast API response - Given a single lat/lon.
GET/forecast/hourly?city={city}&country={country}Returns an hourly forecast - Given City and/or State, Country.
GET/forecast/hourly?city_id={city_id}Returns an hourly forecast - Given a City ID.

Showing 25 of 47 endpoints. The full list is in the spec above.

History

  • November 12, 2026: last health check, responding

See every change to the directory →