Weatherbit - Interactive Swagger UI Documentation
This an interactive version of the documentation for the Weatherbit API. The base URL for the API is…
Maps & location#openapi#location
Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.
Overview
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.
Endpoints 47
Alerts
- GETReturns severe weather alerts issued by meteorological agencies - Given a lat/lon.
/alerts?lat=:lat&lon=:lon?callback=string&key=stringReturns severe weather alerts issued by meteorological agencies - given a lat, and a lon.
Bulk Downloads
- GETDownload pre-generated bulk datasets
/bulk/files/:file?key=stringDownloads bulk data files - OPTIONS: ( current.csv.gz, forecast_hourly.csv.gz, forecast_daily.csv.gz). Units are Metric (Celcius, m/s, etc).
Current Air Quality
- GETReturns current air quality conditions - Given City and/or State, Country.
/current/airquality?city=:city&country=:country?state=string&callback=string&key=stringReturns current air quality conditions. - GETReturns current air quality conditions - Given a City ID.
/current/airquality?city_id=:city_id?callback=string&key=stringReturns current air quality conditions. - GETReturns current air quality conditions - Given a lat/lon.
/current/airquality?lat=:lat&lon=:lon?callback=string&key=stringReturns current air quality conditions. - GETReturns current air quality conditions - Given a Postal Code.
/current/airquality?postal_code=:postal_code?country=string&callback=string&key=stringReturns current air quality conditions.
Current Weather Data
- GETReturns a group of observations given a list of cities
/current?cities=:cities?units=S&marine=t&lang=ar&callback=string&key=stringReturns a group of Current Observations - Given a list of City IDs. - GETReturns a Current Observation - Given City and/or State, Country.
/current?city=:city&country=:country?include=minutely&state=string&marine=t&units=S&lang=ar&callback=string&key=stringReturns a Current Observation - Given a city in the format of City,ST or City. The state, and country parameters can be provided to make the search more… - GETReturns a current observation by city id.
/current?city_id=:city_id?units=S&include=minutely&marine=t&lang=ar&callback=string&key=stringReturns current weather observation - Given a City ID. - GETReturns a Current Observation - Given a lat/lon.
/current?lat=:lat&lon=:lon?include=minutely&marine=t&units=S&lang=ar&callback=string&key=stringReturns a Current Observation - given a lat, and a lon. - GETReturns a group of observations given a list of points in the format (lat1, lon1), (lat2, lon2), (latN, lonN), ...
/current?points=:points?units=S&lang=ar&callback=string&key=stringReturns a group of Current Observations - Given a list of points (lat1, lon1), (lat2, lon2), (latN, lonN), ... - GETReturns a current observation by postal code.
/current?postal_code=:postal_code?country=string&include=minutely&marine=t&units=S&lang=ar&callback=string&key=stringReturns current weather observation - Given a Postal Code. - GETReturns a Current Observation. - Given a station ID.
/current?station=:station?include=minutely&units=S&lang=ar&callback=string&key=stringReturns a Current Observation - Given a station ID. - GETReturns a group of observations given a list of stations
/current?stations=:stations?units=S&lang=ar&callback=string&key=stringReturns a group of Current Observations - Given a list of Station Call IDs.
Air Quality Forecast
- GETReturns 72 hour (hourly) Air Quality forecast - Given City and/or State, Country.
/forecast/airquality?city=:city&country=:country?state=string&callback=string&hours=0&key=stringReturns 72 hour (hourly) Air Quality forecast, where each point represents a one hour period. - GETReturns 72 hour (hourly) Air Quality forecast - Given a City ID.
/forecast/airquality?city_id=:city_id?callback=string&hours=0&key=stringReturns 72 hour (hourly) Air Quality forecast, where each point represents a one hour period. - GETReturns 72 hour (hourly) Air Quality forecast - Given a lat/lon.
/forecast/airquality?lat=:lat&lon=:lon?callback=string&key=string&hours=0Returns 72 hour (hourly) Air Quality forecast, where each point represents a one hour period. - GETReturns 72 hour (hourly) Air Quality forecast - Given a Postal Code.
/forecast/airquality?postal_code=:postal_code?country=string&callback=string&hours=0&key=stringReturns 72 hour (hourly) Air Quality forecast, where each point represents a one hour period.
16 day / daily Forecast
- GETReturns a daily forecast - Given City and/or State, Country.
/forecast/daily?city=:city&country=:country?state=string&days=0.0&units=S&lang=ar&callback=string&key=stringReturns a daily forecast, where each point represents one day (24hr) period. Every point has a datetime string in the format "YYYY-MM-DD". One day begins at… - GETReturns a daily forecast - Given a City ID.
/forecast/daily?city_id=:city_id?days=0.0&units=S&lang=ar&callback=string&key=stringReturns a daily forecast, where each point represents one day (24hr) period. Every point has a datetime string in the format "YYYY-MM-DD". One day begins at… - GETReturns a daily forecast - Given Lat/Lon.
/forecast/daily?lat=:lat&lon=:lon?days=0.0&units=S&lang=ar&callback=string&key=stringReturns a daily forecast, where each point represents one day (24hr) period. Every point has a datetime string in the format "YYYY-MM-DD". One day begins at… - GETReturns a daily forecast - Given a Postal Code.
/forecast/daily?postal_code=:postal_code?country=string&days=0.0&units=S&lang=ar&callback=string&key=stringReturns a daily forecast, where each point represents one day (24hr) period. Every point has a datetime string in the format "YYYY-MM-DD". One day begins at…
Forecast Degree Day API
- GETReturns Energy Forecast API response - Given a single lat/lon.
/forecast/energy?lat=:lat&lon=:lon?threshold=0.0&units=S&tp=hourly&callback=string&key=stringRetrieve an 8 day forecast relevant to te Energy Sector (degree days, solar radiation, precipitation, wind).
240 hour / hourly Forecast
- GETReturns an hourly forecast - Given City and/or State, Country.
/forecast/hourly?city=:city&country=:country?state=string&units=S&lang=ar&callback=string&hours=0&key=stringReturns an hourly forecast, where each point represents a one hour period. Every point has a datetime string in the format "YYYY-MM-DD:HH". Time is UTC.… - GETReturns an hourly forecast - Given a City ID.
/forecast/hourly?city_id=:city_id?units=S&lang=ar&callback=string&hours=0&key=stringReturns an hourly forecast, where each point represents a one hour period. Every point has a datetime string in the format "YYYY-MM-DD:HH". Time is UTC. - GETReturns an hourly forecast - Given a lat/lon.
/forecast/hourly?lat=:lat&lon=:lon?units=S&lang=ar&callback=string&key=string&hours=0Returns an hourly forecast, where each point represents a one hour period. Every point has a datetime string in the format "YYYY-MM-DD:HH". Time is UTC. - GETReturns an hourly forecast - Given a Postal Code.
/forecast/hourly?postal_code=:postal_code?country=string&units=S&lang=ar&callback=string&hours=0&key=stringReturns an hourly forecast, where each point represents a one hour period. Every point has a datetime string in the format "YYYY-MM-DD:HH". Time is UTC.
Historical Air Quality
- GETReturns 72 hours of historical quality conditions - Given City and/or State, Country.
/history/airquality?city=:city&country=:country?state=string&callback=string&key=stringReturns historical air quality conditions. - GETReturns 72 hours of historical air quality conditions - Given a City ID.
/history/airquality?city_id=:city_id?callback=string&key=stringReturns historical air quality conditions. - GETReturns 72 hours of historical air quality conditions - Given a lat/lon.
/history/airquality?lat=:lat&lon=:lon?callback=string&key=stringReturns historical air quality conditions. - GETReturns 72 hours of historical air quality conditions - Given a Postal Code.
/history/airquality?postal_code=:postal_code?country=string&callback=string&key=stringReturns historical air quality conditions.
Daily Historical Weather Data
- GETReturns Historical Observations - Given City and/or State, Country.
/history/daily?city=:city&country=:country?state=string&start_date=string&end_date=string&units=S&lang=ar&callback=string&key=stringReturns Historical Observations - Given a city in the format of City,ST or City. The state, and country parameters can be provided to make the search more… - GETReturns Historical Observations - Given a City ID
/history/daily?city_id=:city_id?start_date=string&end_date=string&units=S&lang=ar&callback=string&key=stringReturns Historical Observations - Given a City ID. (LIMIT 1 year per request) - GETReturns Historical Observations - Given a lat/lon.
/history/daily?lat=:lat&lon=:lon?start_date=string&end_date=string&units=S&lang=ar&callback=string&key=stringReturns Historical Observations - Given a lat, and lon. (LIMIT 1 year per request) - GETReturns Historical Observations - Given a Postal Code
/history/daily?postal_code=:postal_code?country=string&start_date=string&end_date=string&units=S&lang=ar&callback=string&key=stringReturns Historical Observations - Given a Postal Code. (LIMIT 1 year per request) - GETReturns Historical Observations - Given a station ID.
/history/daily?station=:station?start_date=string&end_date=string&units=S&lang=ar&callback=string&key=stringReturns Historical Observations - Given a station ID. (LIMIT 1 year per request)
Historical Degree Day API
- GETReturns Energy API response - Given a single lat/lon.
/history/energy?lat=:lat&lon=:lon?start_date=string&end_date=string&tp=hourly&threshold=0.0&units=S&callback=string&key=stringReturns aggregate energy specific historical weather fields, over a specified time period.
Hourly Historical Weather Data
- GETReturns Historical Observations - Given City and/or State, Country.
/history/hourly?city=:city&country=:country?state=string&start_date=string&end_date=string&units=S&lang=ar&tz=local&callback=string&key=stringReturns Historical Observations - Given a city in the format of City,ST or City. The state, and country parameters can be provided to make the search more… - GETReturns Historical Observations - Given a City ID
/history/hourly?city_id=:city_id?start_date=string&end_date=string&units=S&lang=ar&tz=local&callback=string&key=stringReturns Historical Observations - Given a City ID. (LIMIT 31 days per request) - GETReturns Historical Observations - Given a lat/lon.
/history/hourly?lat=:lat&lon=:lon?start_date=string&end_date=string&units=S&lang=ar&tz=local&callback=string&key=stringReturns Historical Observations - Given a lat, and lon. (LIMIT 31 days per request) - GETReturns Historical Observations - Given a Postal Code
/history/hourly?postal_code=:postal_code?country=string&start_date=string&end_date=string&units=S&lang=ar&tz=local&callback=string&key=stringReturns Historical Observations - Given a Postal Code. (LIMIT 31 days per request) - GETReturns Historical Observations - Given a station ID.
/history/hourly?station=:station?start_date=string&end_date=string&units=S&lang=ar&tz=local&callback=string&key=stringReturns Historical Observations - Given a station ID. (LIMIT 31 days per request)
Sub-Hourly Historical Weather Data
- GETReturns Historical Observations - Given City and/or State, Country.
/history/subhourly?city=:city&country=:country?state=string&start_date=string&end_date=string&units=S&lang=ar&tz=local&callback=string&key=stringReturns Historical Observations - Given a city in the format of City,ST or City. The state, and country parameters can be provided to make the search more… - GETReturns Historical Observations - Given a City ID
/history/subhourly?city_id=:city_id?start_date=string&end_date=string&units=S&lang=ar&tz=local&callback=string&key=stringReturns Historical Observations - Given a City ID. - GETReturns Historical Observations - Given a lat/lon.
/history/subhourly?lat=:lat&lon=:lon?start_date=string&end_date=string&units=S&lang=ar&tz=local&callback=string&key=stringReturns Historical Observations - Given a lat, and lon. - GETReturns Historical Observations - Given a Postal Code
/history/subhourly?postal_code=:postal_code?country=string&start_date=string&end_date=string&units=S&lang=ar&tz=local&callback=string&key=stringReturns Historical Observations - Given a Postal Code. - GETReturns Historical Observations - Given a station ID.
/history/subhourly?station=:station?start_date=string&end_date=string&units=S&lang=ar&tz=local&callback=string&key=stringReturns Historical Observations - Given a station ID.
API details
- Base URL
https://api.weatherbit.io/v2.0- Authentication
- None declared in the description
- Operations
- 47 operations on 47 pathsGET 47
- Main resources
- Current Weather Data 8Daily Historical Weather Data 5Hourly Historical Weather Data 5Sub-Hourly Historical Weather Data 516 day / daily Forecast 4240 hour / hourly Forecast 4Air Quality Forecast 4Current Air Quality 4Historical Air Quality 4Alerts 1
- Response formats
application/json- Description format
- Swagger 2.0, API version
2.0.0 - Links
- OpenAPI document
- Listed from
- APIs.guru OpenAPI Directory (CC0-1.0)
Source updated
How to test the Weatherbit - Interactive Swagger UI Documentation in Swastik Codes
- Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
- Fork it into your workspaceChoose a workspace. You get your own copy of the Weatherbit - Interactive Swagger UI Documentation collection, without the publisher's secrets.
- Add your credentialsOpen the collection's variables or an environment and enter your API key or token, if the API needs one.
- Send a requestPick an endpoint, for example “Returns severe weather alerts issued by meteorological agencies - Given a lat/lon.” (GET /alerts?lat=:lat&lon=:lon?callback=string&key=string), and press Send. Check the response, add tests and run the whole collection with the runner.
Frequently asked questions
What is the Weatherbit - Interactive Swagger UI Documentation?
This an interactive version of the documentation for the Weatherbit API. The base URL for the API is… It is listed under Maps & location and has 47 endpoints.
Who publishes the Weatherbit - Interactive Swagger UI Documentation?
It is listed from Weatherbit's public API description (an OpenAPI document), not published by Weatherbit on Swastik Codes. Anyone who controls weatherbit.io can claim the profile by adding a DNS TXT record.
What is the base URL of the Weatherbit - Interactive Swagger UI Documentation?
Requests go to https://api.weatherbit.io/v2.0. Endpoint paths are added to this base URL.
How do I authenticate with the Weatherbit - Interactive Swagger UI Documentation?
Its OpenAPI description does not declare an authentication scheme. Some endpoints may be open; check the provider's documentation before relying on that.
How many endpoints does the Weatherbit - Interactive Swagger UI Documentation have?
47 operations on 47 paths (47 GET). The largest groups are Current Weather Data, Daily Historical Weather Data, Hourly Historical Weather Data, Sub-Hourly Historical Weather Data.
Is forking the Weatherbit - Interactive Swagger UI Documentation free?
Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.