Weather API
Provides hourly forecast data for up to 7 days, as well as the current weather and aggregated daily forecasts
- Temperature (incl. Min / Max)
- Wind speed
- Wind gusts speed
- Wind bearing
- Relative humidity
- Cloud cover
- Total precipitation
- Rain
- Snow
- UV index
- Air quality index
Place API
Search for places by name and coordinate
- Name
- Latitude / Longitude
- Country
- Country emoji
- Name of administration levels (city, distric, etc.)
Climate API
Get historic monthly climate data for every location on earth
- Minimum temperature
- Maximum temperature
- Total precipitation
- Cloud cover
- Sunshine hours
Pricing
- Free online signup
- Free 1,000 API requests per month (without billing information)
- Additional calls for 0.001$ per call (e.g. 1$ = 1,000 api calls)
Documentation
Request weather forecast
The weather forecast endpoint provides hourly forecast data for 7 days, as well as the current weather and aggregated daily forecasts.
https://api.troposphere.io/forecast/[Latitude],[Longitude]?token=[API-KEY]
Key | Description |
---|---|
time | Time of the forecast as ISO timestamp |
type | Weather type |
temperature | Current temperature in °C |
temperatureMin | Minimum temperature in °C |
temperatureMax | Maximum temperature in °C |
windSpeed | Wind speed in m/s |
windGustsSpeed | Wind gusts speed in m/s |
windBearing | Wind bearing in degree |
relHumidity | Relative humidity |
preasure | Preasure in pascal |
totalPrecipitation | Total precipitation in liter/m2 |
rain | Rain in liter/m2 |
snow | Snow in liter/m2 |
uvIndex | UV index |
airQualityIndex | Air quality index |
Weather types
List of all possible weather types of a forecast.
Weather type | Description | |
---|---|---|
|
clear | Clear sky |
|
partly-cloudy | Partly cloudy |
|
cloudy | Cloudy |
|
dust | Dust |
|
mist | Mist |
|
fog | Fog |
|
rain | Rain |
|
snow | Snow |
|
sandstorm | Sandstorm |
|
snowdrifting | Snowdrifting |
|
drizzle | Drizzle |
|
rain-freezing | Rain (freezing) |
|
sleet | Sleet |
|
rain-showers | Rain showers |
|
rain-snow-shower | Rain/snow shower |
|
snow-shower | Snow shower |
|
snow-hail | Snow / Hail |
|
hail | Hail |
|
thunderstorm | Thunderstorm |
Location search
The place API provides search for places by name and coordinate.
https://api.troposphere.io/place/name/[Search-String]?token=[API-KEY]
Key | Description |
---|---|
name | Name of place |
latitude | Latitude |
longitude | Longitude |
country | Country of place |
countryEmoji | Corresponding country emoji |
admin1 | First administration level |
admin2 | Second administration level |
admin3 | Third administration level |
admin4 | Forth administration level |
type | Type of place (currently supported: place and mountain) |
Request climate
The climate API provides historic monthly climate data for a location.
https://api.troposphere.io/climate/[Latitude],[Longitude]?token=[API-KEY]
Key | Description |
---|---|
month | Month index (0 = January, ..., 11 = December), |
temperatureMin | Minimum temperature in °C |
temperatureMax | Maximum temperature in °C |
totalPrecipitation | Total precipitation in liter/m2 |
sunshineHours | Avg. sunshine hours per day for that month |