UK food hygiene rating data API
Terms and conditions
About the data
The data provide the food hygiene rating or inspection result given to a business and reflect the standards of food hygiene found on the date of inspection or visit by the local authority. Businesses include restaurants, pubs, cafés, takeaways, hotels and other places consumers eat, as well as supermarkets and other food shops.
The data are held on behalf of local authorities participating in either the Food Standards Agency's:
- national Food Hygiene Rating Scheme (FHRS) in England, Northern Ireland and Wales, or
- the Food Hygiene Information Scheme (FHIS) in Scotland
Data are only available for local authority areas running either of these schemes. See a list of local authorities running the FHRS or FHIS
System status
Status updates, usage advice and various other pieces of current information can be found at the System Status Page.
API guidance for developers
The API allows developers access to the underlying food hygiene rating data published at www.food.gov.uk/ratings. Developers can query XML files to return the geocoded data (longitude and latitude data are provided for food businesses). The XML data are updated daily and can be found below, grouped by local authority. Wales's local authority data can be output in English or Welsh.
The API can also be used to query the live system (the data are automatically updated as local authorities upload and publish data) and return data in XML and JSON formats.
Examples of how to use the API and information about the API can be found in the guidance document for developers:
Images
A set of hygiene rating images is available to be used with the API data. The images must only be used in accordance with the FHRS/FHIS Brand Standard and the terms and conditions.
Examples of hygiene rating images, and the sizes available, that can be used with the API data:
Legacy online rating images
The previous version of the online ratings has now been retired. Please use the images provided above.
Score descriptors
Downloading data from the FHRS search results page
When you search for hygiene ratings on www.food.gov.uk/ratings, you can download the search results at the bottom of the page.
Number of results
You can download up to 5,000 results by entering a number between 1 and 5,000 in the 'Number of results' field.
If you need to download more than 5,000 results, in the 'Number of results' field enter 5,000, then enter each 'Page number' 1, 2 etc until all results are downloaded.
Data formats
Data can be downloaded in XML and JSON format.
To convert the data into excel format use the following guidance:
Microsoft support page: Open an XML data file to import its data into Excel(Opens in a new tab)
To merge multiple Excel files into a single file use the following guidance:
Microsoft support page: Import data from a folder with multiple files(Opens in a new tab)
Downloadable XML data files (updated daily)
Food hygiene rating data, grouped by local authority, can be downloaded in XML format via the links below. The data, which can also be queried by the API, is updated daily.
Local authority | Last update | Number of businesses |
---|---|---|
Darlington (English language) | 21/11/2024 at 12:36 | 889 |
Durham (English language) | 21/11/2024 at 12:36 | 4,653 |
Gateshead (English language) | 19/11/2024 at 12:32 | 1,692 |
Hartlepool (English language) | 20/11/2024 at 12:33 | 781 |
Middlesbrough (English language) | 21/11/2024 at 12:42 | 1,128 |
Newcastle Upon Tyne (English language) | 21/11/2024 at 12:36 | 2,594 |
North Tyneside (English language) | 21/11/2024 at 12:36 | 1,442 |
Northumberland (English language) | 20/11/2024 at 12:33 | 3,454 |
Redcar and Cleveland (English language) | 21/11/2024 at 12:36 | 1,158 |
River Tees (English language) | 13/05/2024 at 08:31 | 5 |
South Tyneside (English language) | 16/11/2024 at 12:35 | 1,052 |
Stockton On Tees (English language) | 08/11/2024 at 12:36 | 1,479 |
Sunderland (English language) | 20/11/2024 at 12:33 | 2,293 |
Local authority | Last update | Number of businesses |
---|---|---|
Barnsley (English language) | 16/11/2024 at 12:41 | 1,882 |
Bradford (English language) | 21/11/2024 at 12:42 | 4,275 |
Calderdale (English language) | 21/11/2024 at 12:42 | 1,854 |
Doncaster (English language) | 21/11/2024 at 12:42 | 2,671 |
East Riding of Yorkshire (English language) | 21/11/2024 at 12:42 | 3,038 |
Hull and Goole Port (English language) | 17/08/2024 at 12:42 | 5 |
Hull City (English language) | 20/11/2024 at 12:38 | 2,221 |
Kirklees (English language) | 21/11/2024 at 12:42 | 3,751 |
Leeds (English language) | 21/11/2024 at 12:42 | 7,148 |
North East Lincolnshire (English language) | 20/11/2024 at 12:38 | 1,706 |
North Lincolnshire (English language) | 21/11/2024 at 12:42 | 1,495 |
North Yorkshire (English language) | 21/11/2024 at 12:42 | 6,586 |
Rotherham (English language) | 08/11/2024 at 12:43 | 2,098 |
Sheffield (English language) | 21/11/2024 at 12:42 | 4,683 |
Wakefield (English language) | 20/11/2024 at 12:38 | 2,897 |
York (English language) | 21/11/2024 at 12:42 | 2,037 |
Local authority | Last update | Number of businesses |
---|---|---|
Antrim and Newtownabbey (English language) | 20/11/2024 at 12:33 | 1,085 |
Ards and North Down (English language) | 19/11/2024 at 12:32 | 1,242 |
Armagh City, Banbridge and Craigavon (English language) | 21/11/2024 at 12:36 | 1,836 |
Belfast City (English language) | 21/11/2024 at 12:36 | 3,145 |
Causeway Coast and Glens (English language) | 16/11/2024 at 12:36 | 1,452 |
Derry City and Strabane (English language) | 21/11/2024 at 12:37 | 1,345 |
Fermanagh and Omagh (English language) | 21/11/2024 at 12:37 | 1,411 |
Lisburn and Castlereagh City (English language) | 21/11/2024 at 12:36 | 985 |
Mid and East Antrim (English language) | 16/11/2024 at 12:36 | 1,190 |
Mid Ulster (English language) | 21/11/2024 at 12:37 | 1,341 |
Newry, Mourne and Down (English language) | 21/11/2024 at 12:37 | 1,686 |