Table of contents

Road traffic open data

API documentation

Road traffic statistics has an open API you can use to access the data without any authentication.

There are currently no rate limits.

The base URL for each endpoint is https://roadtraffic.dft.gov.uk/api/

Most of the endpoints return paginated results, which can be filtered on allowed names. See the API reference for more details about the different records and available filters.

Contact roadtraff.stats@dft.gov.ukif you have any problems or questions that are not covered in this guide.

API reference

GET /average-annual-daily-flow

View all average-annual daily flow (~350,000 records). Results are paginated and the following filters are available:

GET /average-annual-daily-flow-by-direction

View all average-annual daily flow (by direction) (~500,000 records). Results are paginated and the following filters are available:

GET /count-points

View all road traffic count point locations (~30,000 records). Results are paginated and the following filters are available:

GET /count-points/{countpoint-id}

View a road traffic count point location:

GET /local-authorities

View local authorities (United Kingdom), including which region they belong to:

GET /local-authorities/{local-authority-id}

View a local authority, including which region it belongs to:

GET /regions

View regions (United Kingdom), including all local authorities within the region:

GET /regions/{region-id}

View a region, including all local authorities within the region:

GET /road-categories

View all road categories:

GET /road-categories/{roadcategory-id}

View a road category:

GET /raw-counts

View all raw count records (~3.5M records). Raw counts are the actual manual counts taken at count point locations. Results are paginated and the following filters are available:

Contact

Contact the team if you have any questions about the information and data published on this service.

This digital service is built and supported by the road traffic statistics team.