Weather API

Foreca Weather API provides advanced weather data for locations worldwide based on Foreca’s own weather forecasts. The API is easy to implement and offers all the important weather parameters and up to ten days forecast. The coordinate based system returns accurate weather information for the closest location anywhere in the world.

For a free trial valid for 1000 queries, sign up here. You get instant access to all forecast parameters worldwide.

We are flexible and our technical solutions are solid and customisable. Let us know what you are looking for and we'll help you out: sales@foreca.com

This API is ideal for high volume services. Fixed price without any additional hidden costs, starting at 2000 EUR monthly per server for the off-the-shelf configuration.

Key Benefits

  • Global service, no need for predefined lists
  • Handpicked location list for better relevance
  • Queries are language independent
  • Continually updated information
  • Ideal for high volume mobile apps or similar services
  • Robust, highly reliable service with full support

Key Features

  • Up to 10 days forecasts
  • Current conditions data
  • Full set of parameters available
  • Coordinate based search
  • Includes a choice of weather symbols for easy integration

For Whom

High volume:

  • Mobile apps and services
  • Interactive weather services
  • Professional / Industrial use
  • Weather portals

Forecast parameters

ObservationsHourly forecastDaily forecast
temperature min/max temperature temperature
weather symbol code weather symbol code weather symbol code
wind speed and direction wind speed and direction wind speed and direction
air pressure air pressure air pressure
humidity humidity humidity
precipitation probability of precipitation precipitation amount
sunset and sunrise time sunset and sunrise time wind gusts
moonset and moonrise times moonset and moonrise times probability of precipitation
UV index day length UV index
feels like temperature visibility feels like temperature
dew point   dew point
visibility    

Parameters Explained

Observations (cc)

dt
Local time stamp of the observation, for daily overview dt contains only the date part. For observations (the cc tag) the time is always in local time of the observation station.
station
Observation station name - e.g. "Berlin Tegelhof".
s
Symbol code (See explanation for symbol codes here)
t
Air temperature (default unit: Celsius).
tf
The so-called feels-like temperature (default unit: Celsius), which is the combined NOAA/NWS 'face only' wind chill index and Rothfusz heat index, which take into account the cooling and heating effects of wind and humidity.
rh
Relative humidity in percentages, range from 0 to 100.
dp
Dew point (default unit: Celsius).
ws
10 minute average wind speed (default unit: m/s).
wn
Wind direction string, one of: N, NE, E, SE, S, SW, W, NW.
wd
Wind direction, 45 deg steps (0 = north, 90 = east).
p
Accumulated precipitation (default unit: millimeters).
pr
Pressure in hPa, e.g. "1012".
uv
UV index (0-11).
v
Visibility in meters, e.g. "10000" for 10 km.
pw
Present weather code
 

Daily forecast (fcd)

dt
Time stamp of the forecast, only the date part.
tx
24h maximum temperature (default unit: Celsius) (daily summary data)
tn
24h minimum temperature (default unit: Celsius) (daily summary data)
s
Symbol code (See explanation for symbol codes here)
p
Accumulated precipitation (default unit: millimeters)
ws
10 minute average wind speed (default unit: m/s)
wn
Wind direction string, one of: N, NE, E, SE, S, SW, W, NW
wd
wind direction, 45 deg steps (0 = north, 90 = east)
rx
24h maximum relative humidity in percentages, range from 0 to 100
rn
24 minimum relative humidity in percentages, range from 0 to 100
px
24h maxmimum pressure in hPa, e.g. "1012"
pn
24h minimum pressure in hPa, e.g. "1012"
uv
UV index (0-11)
sr
Sun rise time
ss
Sun set time
dl
Day length (minutes)
 

Hourly forecast (fch)

dt
Time stamp of the forecast.
dtu
UTC time stamp of the forecast.
t
Air temperature (default unit: Celsius)
tf
The so-called feels-like temperature (default unit: Celsius), which is the combined NOAA/NWS 'face only' wind chill index and Rothfusz heat index, which take into account the cooling and heating effects of wind and humidity
dp
Dew point (default unit: Celsius)
s
Symbol code (See explanation for symbol codes here)
ws
10 minute average wind speed (default unit: m/s)
wn
Wind direction string, one of: N, NE, E, SE, S, SW, W, NW
wd
Wind direction, 45 deg steps (0 = north, 90 = east)
pr
Pressure in hPa, e.g. "1012"
rh
Relative humidity in percentages, range from 0 to 100
p
Accumulated precipitation (default unit: millimeters)
uv
UV index (0-11)
v
Visibility in meters, e.g. "10000" for 10 km.
 

API Response

Api supports JSON and XML formats. Below an example of JSON response (repetitive steps omitted):

JSON Example