The food hygiene rating data published at are available via an application programming interface (API) in XML and JSON formats. This is a free service and there is no need to register to use it. Terms and conditions apply (see link below), and guidance for developers is available.

API guidance for developers

The API allows developers access to the underlying food hygiene rating data published at Developers can query XML files to return the geocoded data (longitude and latitude data are provided for food businesses).

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.

The guidance on how to use the API v1 is below:

FSA also offers API v2. For further details please see:

Terms and conditions

Read the terms and conditions of using the data.