Weather API

The Weather API delivers Foreca's quality weather forecasts to every coordinate point in the world. The interface with hyper-local forecasts is suitable for integrating weather conditions into mobile applications, web applications or any other application.

The forecasts can be given by coordinate or by location name. Coordinate based, the so-called hyper-local forecasts are calculated on the exact point in real time. All the commonly used weather parameters are available. If you need parameters not mentioned in this page, please read more about our add-on data sets or ask about our custom API's.

 

How Does It Work?

Use case

Foreca Weather API responses in JSON, XML or delimited ASCII format.

Weather Parameters

Current Conditions

In addition to forecasts, the API includes the latest measurements from tens of thousands official weather stations worldwide. Foreca gathers observation data from the official SYNOP and METAR weather stations and other similar high-quality sources worldwide. Observations are given from the closest relevant weather observation station that would best tell the weather at the forecast location.

Parameters provided

  • Name of the closest relevant weather station (e.g. London Heathrow)
  • Distance to the observation station
  • Observation time (latest)
  • Weather code and symbol (gif, png)
  • Temperature (°C, °F)
  • Feels-like temperature (°C, °F)
  • Wind speed (in m/s, kmph, km/h, knots)
  • Wind direction (N, NE, E, …, or pictures)
  • Air pressure (in hPa)
  • Relative humidity (in %)
  • Visibility (in meters)

Observations are updated according to the measurement schedule of the station, which can vary from 10 minutes for automated stations in the developed nations to 3 hours for rural manual stations. The parameters above are provided from most of the weather stations. Some parameters can be missing in case of the weather station is lacking instruments or they are broken. The missing parameters can be fulfilled with the synthetic observations.

Weather Observations Data

The official weather stations are maintained by national weather institutes. The stations measure the state of the ground and the lower atmosphere. The stations are standardized and the data is freely exchanged between all the nations of the world. The station locations are carefully chosen to represent the average climate in the region.

Foreca selects the closest relevant weather station based on the following principles: the closer a station is, the better; the closer a station is an altitude, the better (critical in mountainous areas); a station providing more data/parameters is better; fresh data is better than old.

Synthetic Observations

As official weather stations are not everywhere, Foreca Nowcasting technology enables forecasting hyper-local current conditions also in locations that do not have a weather station close-by. The so-called synthetic (or augmented) observations are calculated in real-time to any coordinate point worldwide.

Nowcasting technology is used for rain, temperature and cloudiness to dramatically improve their accuracy. The other parameters are interpolated from the forecast data.

Parameters provided

  • Weather code and symbol (gif, png)
  • Temperature (°C, °F)
  • Feels-like temperature (°C, °F)
  • Wind speed (in m/s, mph, km/h, knots)
  • Wind direction (N, NE, E, ..., or pictures)
  • Precipitation probability (in %)
  • Precipitation sum for the 1-hour period (in mm)
  • Solar radiation

Synthetic weather observations

Synthetic observations are calculated in realtime to exact coordinate points with the help of Foreca Nowcasting technology. Nowcasting accuracy is dependent on available data sources varying in different locations - e.g. rain radar is available for limited geographical areas only.

15-Minute Forecast

Foreca provides forecasts in 15-minute steps for the following couple of hours, starting from the zero-time (synthetic observation). Rain, temperature, and cloudiness parameters are provided by Nowcasting technology and the other parameters below are broken down from the hourly forecasts’ data sets. 15-minute steps are recommended to use for the following 2 hours maximum.

Parameters provided

  • Weather code and symbol (gif, png)
  • Temperature (°C, °F)
  • Feels-like temperature (°C, °F)
  • Wind speed (in m/s, mph, km/h, knots)
  • Wind direction (N, NE, E, ..., or pictures)
  • Precipitation probability (in %)
  • Precipitation sum for the 15-minute period (in mm)
  • Solar radiation (optional)

 

Foreca Nowcasting

Foreca Nowcasting technology enables forecasting the next couple of hours weather with high accuracy. The method enables to spot e.g. local sudden rain and clouds combining the forecast with the latest weather measurements from multiple sources, including weather radar, satellites, and ground weather stations.

Hourly Forecast

With hourly forecast data, you are able to receive weather forecasts in one-hour steps. Hourly forecast is adequate to show detailed weather forecasts in the coming days as a table or graphical module. In addition to 1h steps, additional 3h and 6h summaries are available. The data is provided for the next 14 days, including the current day.

Parameters provided

  • Weather code and symbol (gif, png)
  • Temperature (°C, °F)
  • Feels-like temperature (°C, °F)
  • Wind speed (in m/s, mph, km/h, knots)
  • Wind direction (N, NE, E, ..., or pictures)
  • Precipitation probability (in %)
  • Precipitation sum for the 1/3/6-hour period (in mm)
  • Solar radiation (optional)

Hourly Forecast Weather Data

An example of hourly forecast data visualised.

Daily Forecast

Daily forecast is a 24-hour summary of the day. The data is provided for the next 14 days, including the current day.

Parameters provided

  • Weather code and symbol (gif, png)
  • Daily forecasted high and low temperatures (°C, °F)
  • Precipitation sum for the 24-hour period (in mm)
  • Wind speed maximum (in m/s, mph, km/h, knots)
  • Precipitation probability
  • Sunset and sunrise time
  • Moonset and moonrise time
  • Day length (in minutes)
  • UV index based on the global ozone forecast model
  • Average cloudiness
  • Thunder probability
  • Last-updated time

Daily Forecast Data

Daily forecast data gives comprehensive daily summaries up to two weeks in the future.

Weather Data Delivery

Weather API is based on HTTP queries, which are sent to Foreca's servers. Foreca provides two query methods valid for different occasions. Queries can be made based on 1) Coordinate or 2) Location name.

Coordinate-based queries are ideal for mobile and navigation applications, as the forecasts are calculated on the exact point in real time. Location name-based queries are commonly used in web applications (140.000 named locations worldwide), when location search or picklists are practical for the end-user. Replies are in JSON, XML or delimited ASCII format.

Pricing is based on the usage, taking into account the amount of monthly queries, amount of end-users and the share of coordinate based queries.

Optional Delivery Methods

Dedicated server

Dedicated Server

For high-volume services generating over 2 billion queries per month, we recommend to choose a dedicated server to secure fluent user experience. The price is fixed without any additional hidden costs, starting at 2000 EUR monthly per server for the off-the-shelf configuration.

Foreca Weather File Feed

XML or ASCII Feed

If you want to maintain end-user queries from your own server, we recommend you choose our file feed service for the weather data. Depending on the package chosen, the feed contains current conditions data from relevant local weather stations and weather forecasts for up to 14 days. The feed is available as XML and delimited ASCII. Foreca symbols are available for visualisation.

Weather File Feed

More Information

 Technical Details

For more detailed technical information, please visit the page linked below.

Foreca Weather API Documentation

Contact Us

For more information, please fill out the form.