# UK Food Hygiene Ratings Scraper & API - FSA FHRS Leads (`rel8ble/uk-food-hygiene-ratings-scraper`) Actor

UK food hygiene ratings scraper and API (FSA FHRS) for food business leads. Filter by business type, council, rating, inspection date or postcode radius. One row per business: address, postcode, rating, sub-scores, coordinates, rating link. No phones or emails. $0.25 per 1,000. Weekly new ratings.

- **URL**: https://apify.com/rel8ble/uk-food-hygiene-ratings-scraper.md
- **Developed by:** [Giovanni Rich](https://apify.com/rel8ble) (community)
- **Categories:** Lead generation, Business
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$0.25 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## UK Food Hygiene Ratings Scraper - FSA Food Businesses

This **UK food hygiene ratings scraper** pulls **food businesses in England, Wales, Scotland and Northern Ireland** from the Food Standards Agency's open **Food Hygiene Rating Scheme (FHRS)** data: **restaurants, cafes, takeaways, pubs, hotels, shops, supermarkets, manufacturers and packers, importers, distributors, mobile caterers, schools and care homes**, each with its **hygiene rating (0-5 or Pass / Improvement Required), inspection date, sub-scores, address, postcode, council and coordinates**.

Use it as a **UK food business lead list** by type and council, a **list of low-rated food businesses** (0, 1 or 2 stars) for hygiene consultants, pest control and commercial cleaning, a **new food business openings** feed (recent first inspections), or a **radius search around a postcode**, from your own code, Make, Zapier, n8n or an AI agent.

It reads the FSA's official API over plain HTTP, with **no browser and no login**. The prefilled demo returns 20 food manufacturers in Birmingham (2.7 s locally and 6.7 s in an Apify cloud run on 9 November 2026). **$0.25 per 1,000 results, no start fee.**

**What goes in:** business types, councils, countries, a business-name word, address / postcode text, ratings (or a rating range), an "inspected since" date, or a postcode / coordinates plus a radius. **What comes out:** one row per food establishment with name, type, address lines, town, postcode, council, rating, rating date, the three FHRS sub-scores, re-rating flag, latitude / longitude, distance and the public rating page link. **When to use it:** you sell to food businesses in the UK and need a filtered, fresh list with locations.

**What it does not have:** **no phone numbers, no e-mail addresses, no websites and no owner or manager names** of the businesses. The FSA does not publish them. The only e-mail in a row is the **council's** food-safety team address.

### What you get

- **Business**: FHRS ID, trading name, business type (14 FSA types) and type ID.
- **Address**: four address lines as published, a joined full address, best-effort town, postcode, latitude and longitude.
- **Rating**: rating value (0-5, Exempt, Awaiting Inspection, or Scotland's Pass / Improvement Required), numeric rating, rating key, date of the inspection, scheme (FHRS or FHIS).
- **Sub-scores** (England, Wales, NI, where published): hygiene, structural, confidence in management. Lower is better.
- **Flags**: new rating pending (re-inspection or appeal), right-to-reply published (with its text).
- **Council**: local authority name, code, website, food-team e-mail and the council's own reference.
- **Location searches**: distance from your point in miles and km.
- **Link**: the business's public page on ratings.food.gov.uk.

Size on 9 November 2026: 504,805 establishments in the API (Wales 34,279, Scotland 59,017, Northern Ireland 16,996, the rest England), across 363 local authorities.

### Sample output

Real rows from a run on 9 November 2026 (Birmingham, Manufacturers/packers), a few fields:

| business | town | postcode | rating | rated on | hygiene / structural / management |
|---|---|---|---|---|---|
| AL-NOOR HALAL MEAT B'HAM LTD | Birmingham | B9 5SR | 5 | 2025-09-10 | 5 / 5 / 5 |
| Attic Brew | Birmingham | B30 2DA | 5 | 2026-01-28 | 0 / 5 / 0 |
| Glasshouse Brewery | Birmingham | B30 3DR | 5 | 2026-10-06 | 0 / 0 / 5 |

### Use cases

- **Food-industry B2B sales**: packaging, ingredients, catering equipment, refrigeration, EPOS and card terminals, food delivery apps, linen and uniforms, waste collection: every restaurant, takeaway or manufacturer in your territory by council or radius.
- **Low-rated lists for services**: businesses rated 0, 1 or 2 (`maxRating: 2`) for **hygiene consultants, food-safety training, pest control and deep cleaning**.
- **New openings**: `ratedSince` plus a council or type finds businesses with a recent rating, which includes first inspections of new openings.
- **Insurers and lenders**: hygiene rating and sub-scores as a risk signal for hospitality clients.
- **Market mapping**: count and map food businesses by type and area with the coordinates.
- **Re-rating watch**: `newRatingPending` shows businesses that asked for a re-inspection or appealed.

### Pricing

**$0.25 per 1,000 results** (pay per result, $0.00025 each; lowered from $0.40 on 15 Nov 2026), no start fee, platform usage included. A result is one row saved to your dataset. Runs where nothing matches, input errors and failed requests are never charged. Set **Max results** to cap the cost of a run: every business in one large council (about 10,000 in Birmingham) costs about $2.50.

| You scrape | You pay |
|---|---|
| 100 businesses | $0.025 |
| 1,000 businesses | $0.25 |
| 10,000 businesses | $2.50 |
| 100,000 businesses | $25.00 |

The Apify free plan's $5 monthly credit covers about 20,000 rows. The data is public. You pay for the filtered, cleaned, ready-to-use rows, not for access.

Other FHRS actors in a live Apify Store search on 17 November 2026 (`food hygiene`, `fhrs`, `food standards agency`): about 40, each with 1-2 users in the last 30 days (neuton $3.00 and automation_craft $1.00 + $0.005 start with 2). **This is not the lowest price**: j0401 charges $0.05 per 1,000 (it asks for a $3 minimum run budget) and hllerdgn80's rating-downgrade watchdog $0.01 per 1,000 + start. Every other one we found charges more: $0.50 (scrapersdelight, dessy66, pushbuild; steadfetch + start), mrslm_data $0.90 + start, about $1.00 (sterlingverify, loudtzu, hipersoft, pankajbhatia), benthepythondev $2.00 + start, devon_gtme's failures monitor $5.00 + start, scrapers_lat $8.00. Prices change; check before you compare.

### FAQ

**Where does the data come from?** From the Food Standards Agency's Food Hygiene Rating Scheme API (api.ratings.food.gov.uk), the same data as ratings.food.gov.uk, published by local authorities. Contains public sector information licensed under the Open Government Licence v3.0. This actor is not affiliated with or endorsed by the Food Standards Agency.

**How fresh is it?** Each run reads the live API. Councils publish to it as they inspect; most update every few days, and the FSA rebuilds its data nightly.

**Why do some rows have no address or an outward-only postcode like "B32"?** Councils withhold the full address of home-based businesses. Those rows also have no coordinates and no town.

**What do the sub-scores mean?** They are the inspector's points for hygiene, structure and management. **Lower is better** (0 = full marks). Scotland does not use them, so they are null there.

**Why is Scotland different?** Scotland runs its own scheme (FHIS) with Pass / Improvement Required instead of 0-5 stars. Use `ratings: ["ImprovementRequired"]` for low-rated Scottish lists; `maxRating` / `minRating` only cover 0-5.

**Does "Inspected on or after" find only new businesses?** It finds businesses whose current rating is from that date or later: new openings and re-inspections. Combine it with a council, type or radius; it is applied while paging.

**Are there limits?** The FSA asks for polite use, so the actor pages 200 rows at a time with at most 2 requests in parallel and 120 a minute. A list with several types, councils and ratings becomes one search per combination (up to 3,000).

**Known gaps**: no business contacts; town is best effort from free-text address lines; results from several searches are not re-sorted against each other.

### How to use

1. Open the actor and pick **Business types**, **Local authorities** (council names like `Birmingham`, `Leeds`, `Westminster`, `Edinburgh (City of)`) or **Countries**.
2. Optional: **Business name contains**, **Address / postcode / town text**, **Ratings**, **Rating at most** / **Rating at least**, **Inspected on or after**.
3. For a radius: **Near postcode** (or latitude + longitude) and **Radius (miles)**.
4. Set **Max results** (0 = all) and click **Start**. Export as CSV, Excel or JSON.

At least one filter is required. Several values in one list are searched one by one and merged, with duplicates removed.

### Input

| Field | What it does |
|---|---|
| `businessTypes` | FSA types, e.g. `Restaurant/Cafe/Canteen`, `Takeaway/sandwich shop`, `Pub/bar/nightclub`, `Manufacturers/packers`, `Importers/Exporters`, `Distributors/Transporters`, `Retailers - other`, `Hotel/bed & breakfast/guest house`. |
| `localAuthorities` | Council names as the FSA writes them; a unique part of the name works; typos get a "did you mean". |
| `countries` | `England`, `Wales`, `Scotland`, `Northern Ireland`. |
| `businessName` | Words in the business name, e.g. `bakery`. |
| `address` | Words in the address or postcode, e.g. `SW1A`, `Leeds`. Text match, not a radius. |
| `ratings` | Any of `5` `4` `3` `2` `1` `0` `Exempt` `AwaitingInspection` `AwaitingPublication` `Pass` `ImprovementRequired`. |
| `maxRating` / `minRating` | FHRS numeric range 0-5 (excludes Scotland, Exempt and Awaiting). |
| `ratedSince` | Keep ratings dated on or after this day (YYYY-MM-DD). |
| `nearPostcode` or `latitude` + `longitude` | Centre of a radius search (postcodes looked up on postcodes.io). |
| `radiusMiles` | Radius, default 1, up to 50. |
| `sort` | `relevance`, `rating`, `desc_rating`, `alpha`, `desc_alpha`, `distance`. |
| `maxResults` | Rows to save; 0 = all. Default 20. |

### Input example

```json
{
    "businessTypes": ["Restaurant/Cafe/Canteen", "Takeaway/sandwich shop"],
    "localAuthorities": ["Leeds", "Bradford"],
    "maxRating": 2,
    "ratedSince": "2026-01-01",
    "maxResults": 0
}
```

### Output example

One real row (9 November 2026):

```json
{
    "fhrsId": 1875517,
    "businessName": "AL-NOOR HALAL MEAT B'HAM LTD",
    "businessType": "Manufacturers/packers",
    "businessTypeId": 7839,
    "addressLine1": "177 Bordesley Green East",
    "addressLine2": "Bordesley Green",
    "addressLine3": "Birmingham",
    "addressLine4": null,
    "fullAddress": "177 Bordesley Green East, Bordesley Green, Birmingham, B9 5SR",
    "town": "Birmingham",
    "postcode": "B9 5SR",
    "localAuthorityName": "Birmingham",
    "localAuthorityCode": "402",
    "localAuthorityWebsite": "http://www.birmingham.gov.uk/environmental-health",
    "localAuthorityEmail": "Admin.EH@birmingham.gov.uk",
    "localAuthorityBusinessId": "PI/000704549",
    "scheme": "FHRS",
    "ratingValue": "5",
    "ratingNumeric": 5,
    "ratingKey": "fhrs_5_en-gb",
    "ratingDate": "2025-09-10",
    "hygieneScore": 5,
    "structuralScore": 5,
    "confidenceInManagementScore": 5,
    "newRatingPending": false,
    "rightToReply": false,
    "rightToReplyText": null,
    "latitude": 52.479987,
    "longitude": -1.825872,
    "distanceMiles": null,
    "distanceKm": null,
    "ratingUrl": "https://ratings.food.gov.uk/business/1875517",
    "scrapedAt": "2026-11-09T18:38:38.552Z"
}
```

A run summary (`RUN_SUMMARY` in the key-value store) lists the searches made, the councils matched, rows read and saved, the stop reason and any failed request.

### Integrations

Run it from the Apify API, the JavaScript or Python client, Make, Zapier, n8n, Google Sheets, or as a tool for AI agents through the Apify MCP server. Schedule it weekly with `ratedSince` to get new ratings in your area.

Need a custom scraper or a ready dataset? Hire me on Fiverr: https://www.fiverr.com/rel8ble

# Actor input Schema

## `businessTypes` (type: `array`):

FSA business types. Leave empty for all.

## `localAuthorities` (type: `array`):

Council names as the FSA writes them, e.g. "Birmingham", "Leeds", "Westminster", "Edinburgh (City of)", "Belfast City", "Cardiff". A unique part of the name also works. 363 authorities in total.

## `countries` (type: `array`):

England, Wales, Scotland and / or Northern Ireland.

## `businessName` (type: `string`):

Words to find in the business name, e.g. "bakery", "pizza", "Greggs".

## `address` (type: `string`):

Words to find in the address or postcode, e.g. "Leeds", "SW1A", "B5 4". Matches the text, not a radius: use Near postcode for a radius.

## `ratings` (type: `array`):

Keep only these ratings. 0-5 are FHRS (England, Wales, NI); Pass / Improvement required are Scotland's FHIS.

## `maxRating` (type: `integer`):

Keep FHRS ratings at or below this number, e.g. 2 for every business rated 0, 1 or 2 (hygiene consultants, pest control, cleaning). FHRS only: excludes Scotland, Exempt and Awaiting.

## `minRating` (type: `integer`):

Keep FHRS ratings at or above this number. FHRS only.

## `ratedSince` (type: `string`):

Keep businesses whose current rating is from this date or later (YYYY-MM-DD). Finds new openings and recent re-inspections. Applied while paging, so combine it with an authority, type or location.

## `nearPostcode` (type: `string`):

Full UK postcode to search around, e.g. "M1 1AE". Looked up on postcodes.io. Use this or latitude + longitude.

## `latitude` (type: `number`):

Centre point latitude, e.g. 51.5014.

## `longitude` (type: `number`):

Centre point longitude, e.g. -0.1419.

## `radiusMiles` (type: `number`):

Search radius around the point. Default 1.

## `sort` (type: `string`):

Order of results within each search. Location searches default to distance.

## `maxResults` (type: `integer`):

Rows to save. 0 = all that match.

## Actor input object example

```json
{
  "businessTypes": [
    "Manufacturers/packers"
  ],
  "localAuthorities": [
    "Birmingham"
  ],
  "radiusMiles": 1,
  "maxResults": 20
}
```

# Actor output Schema

## `results` (type: `string`):

One row per food establishment: name, type, address, postcode, council, hygiene rating, inspection date, sub-scores and coordinates.

## `summary` (type: `string`):

Counts, searches made, authorities matched, stop reason and any failed request.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "businessTypes": [
        "Manufacturers/packers"
    ],
    "localAuthorities": [
        "Birmingham"
    ],
    "maxResults": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("rel8ble/uk-food-hygiene-ratings-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "businessTypes": ["Manufacturers/packers"],
    "localAuthorities": ["Birmingham"],
    "maxResults": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("rel8ble/uk-food-hygiene-ratings-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "businessTypes": [
    "Manufacturers/packers"
  ],
  "localAuthorities": [
    "Birmingham"
  ],
  "maxResults": 20
}' |
apify call rel8ble/uk-food-hygiene-ratings-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,rel8ble/uk-food-hygiene-ratings-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/uMvUdMThfp1CF3IGt/builds/yUqiEuW0jKwLaDbvY/openapi.json
