The Food Standards Agency is from today (14 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/7845/%5E/%5E/0/1/10/xml
This will change to https://api1-ratings.food.gov.uk/enhanced-search/en-GB/%5E/%5E/Relevance/7845/%5E/%5E/0/1/10/xml
Please note that 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 www.ratings.food.gov.uk.
Please email data@food.gov.uk if you have any queries.