Skip to main content
English Cymraeg
news

We are changing how you can access Food Hygiene Rating Scheme data

If you use the Food Hygiene Rating Scheme (FHRS) application programming interface (API) version 1 (v1), you will need to switch to a new domain name.

Last updated: 28 October 2022
See all updates
Last updated: 28 October 2022
See all updates

The Food Standards Agency is from today (20 October 2022) updating the way you can access the Food Hygiene Rating Scheme (FHRS) application programming interface (API) version 1 (v1).

If you use FHRS API v1 you will need to switch over to the new domain name (api1-ratings.food.gov.uk). The rest of the existing URL structure will stay the same, the only change is to the domain name. 

For example, if you currently use API v1 to receive data for the business type ‘schools/college/universities’, you could use the URL https://ratings.food.gov.uk/enhanced-search/en-GB/%5E/%5E/Relevance/784….  

This will change to https://api1-ratings.food.gov.uk/enhanced-search/en-GB/%5E/%5E/Relevanc…

Please note any bookmarks or links you have saved will need to be updated. 

You can continue to access the API using the current domain (ratings.food.gov.uk) until March 2023. 

We are making this change as part of our service infrastructure modernisation.  

About the FHRS API v1 

The application programming interface allows developers access to the underlying food hygiene rating data published at ratings.food.gov.uk

Please email data@food.gov.uk if you have any queries.