# Weatherbit - Interactive Swagger UI Documentation **Provider:** Weatherbit - Interactive Swagger UI Documentation **Category:** weather **Base URL:** `https://api.weatherbit.io/v2.0` **Auth:** none — `# No auth required` **Rate Limit:** See documentation **Free Tier:** Yes — available **Pricing:** Enterprise / contact sales (subscription) **Docs:** https://api.weatherbit.io/v2.0 ## Description 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 requ ## Endpoints | Method | Endpoint | Description | |--------|----------|-------------| | GET | `https://api.weatherbit.io/v2.0/alerts?lat={lat}&lon={lon}` | Returns severe weather alerts issued by meteorological agencies - Given a lat/lon. | | GET | `https://api.weatherbit.io/v2.0/bulk/files/{file}` | Download pre-generated bulk datasets | | GET | `https://api.weatherbit.io/v2.0/current/airquality?city={city}&country={country}` | Returns current air quality conditions - Given City and/or State, Country. | | GET | `https://api.weatherbit.io/v2.0/current/airquality?city_id={city_id}` | Returns current air quality conditions - Given a City ID. | | GET | `https://api.weatherbit.io/v2.0/current/airquality?lat={lat}&lon={lon}` | Returns current air quality conditions - Given a lat/lon. | | GET | `https://api.weatherbit.io/v2.0/current/airquality?postal_code={postal_code}` | Returns current air quality conditions - Given a Postal Code. | | GET | `https://api.weatherbit.io/v2.0/current?cities={cities}` | Returns a group of observations given a list of cities | | GET | `https://api.weatherbit.io/v2.0/current?city={city}&country={country}` | Returns a Current Observation - Given City and/or State, Country. | ## Authentication No authentication required ``` # No auth required ``` ## Sample Request ```bash curl -X GET 'https://api.weatherbit.io/v2.0/alerts?lat={lat}&lon={lon}' \ -H '# No auth required' ``` ## Sample Response ```json {} ``` ## Pricing Details Free — open public API, no authentication required. --- *Source: [API Map](https://apimap.dev/apis/weatherbit-interactive-swagger-ui-docume/) — CC BY 4.0*