Skip to main content

Change your cookie settings

We cannot change your cookie settings at the moment because JavaScript is not running in your browser. To fix this, try:

  1. turning on JavaScript in your browser settings
  2. reloading this page
View cookies

Change your cookie settings

We cannot change your cookie settings at the moment because JavaScript is not running in your browser. To fix this, try:

  1. turning on JavaScript in your browser settings
  2. reloading this page
View cookies
  1. Home
  2. Support
  3. FAQs
  4. How Do I Access API Rainfall Data?

How Do I Access API Rainfall Data?

Created : 23 October 2019 Updated : 20 February 2020

Website developers can access our rainfall data through an Application Programming Interface (API). An API is a set of tools for building software applications. It provides the building blocks for developers to create an application or ‘web service’.

We have approximately 1000 real time rain gauges which are connected by telemetry. Measurements of the amount of precipitation (mm) are captured in automatic rain gauges and reported back to use for operation decision making. The data reported here gives accumulated totals for each 15 minute period. The data is typically transferred once or twice a day but more frequently during heavy rainfall events.

Please note the API is unvalidated data and could potentially contain errors due to faulty instruments or on-site maintenance.

For quality controlled and historic data (more than 12 months) please send your request to: enquiries@environment-agency.gov.uk 

You can access the Rainfall API from the Data Services Platform homepage:

https://environment.data.gov.uk/flood-monitoring/doc/rainfall

We have developed a demonstrator which shows how to use the API: Rainfall API Demonstrator