# Food Hygiene Rating API (FSA)

Category: [Health](https://free-web-services.com/web-services/open-data/health/)  
Page: https://free-web-services.com/web-services/open-data/health/food-hygiene-rating-api.html  
Documentation: https://api.ratings.food.gov.uk/help

The Food Hygiene Rating API from the UK Food Standards Agency gives the hygiene ratings of restaurants, cafés, shops and other food businesses in the UK, with their address and inspection date, for example to show a restaurant's rating next to its reviews. Send the header x-api-version: 2 and get JSON or XML. Free, no key needed.

- API key: Not needed
- Pricing: Free, no key needed.
- From the browser: Yes (CORS)
- Formats: JSON, XML
- Interface: REST, HTTP-GET
- Provider: api.ratings.food.gov.uk
- Last checked: Working on November 7th, 2026

Example request:

```sh
curl 'https://api.ratings.food.gov.uk/Establishments?name=pret&pageSize=1' \
  -H 'x-api-version: 2'
```

The JavaScript works in a web page as well as in Node.js 18 or newer.

