Historic data for each monitoring station is available as a csv or JSON download. These are provided as a free service to our users, and are made available on an "as is" basis. No warranty whatsoever is made as to the accuracy or completeness of the data.
In particular, you should be aware of the following:
We don't object to people automating downloads of the level data. That's partly what it's for, as it places less load on the server than if you try to screenscrape the visible graphs. However, if you are going to retrieve the data programatically, then please follow these simple guidelines:
The download data, like all original material on the River Levels website, is published under a Creative Commons CC-BY-SA licence. This means that if you
re-publish (eg, on your own website), you must attribute RiverLevels.uk as the source and you must make the data available to your own users
under the same licence.Please consider giving something back
The data is free, but it costs money to run the site. If you're downloading the data automatically and using it elsewhere, then we don't benefit from the advertising you would normally see and which is what keeps this site alive. So if you want to help ensure that the data will always be available, then please consider making a donation - either a one-off or a monthly subscription - towards the costs of running the site. You can do that via either Buy Me a Coffee or PayPal.
The simplest way of getting the download data for any location is to click on the "Download long term data as csv" button at the bottom of every location page. That gives you a spreadsheet suitable for loading into Excel or similar software.
If you want to download the data directly without needing to visit the relevant page, you can do so by constructing a URL in this format:
https://riverlevels.uk/[location]/data/[format]/[days]
So, for example, to get all the available data for the River Avon at Evesham, in csv format:
https://riverlevels.uk/river-avon-evesham/data/csv
Or to get the most recent 10 days of data from the River Great Ouse at Ely, in JSON format:
https://riverlevels.uk/river-ouse-ely/data/json/10
Important! If you request all the data for a location, it will be sorted with the oldest date first. But if you request a limited number of days, it will be sorted most recent first.