# UK Food Venue Finder & Hygiene Review (`apifmcpfactory/food-venue-review`) Actor

Compare food venue samples across UK council areas and recheck a shortlist against official inspection records.

- **URL**: https://apify.com/apifmcpfactory/food-venue-review.md
- **Developed by:** [HTF Agentic](https://apify.com/apifmcpfactory) (community)
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$10.00 / 1,000 published venue reviews

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/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 Venue Finder & Hygiene Review

Compare food venues across UK council areas and check your shortlist against the Food Standards Agency's latest published records. Each venue comes with its published rating, rating date where supplied, and a link to the official source.

Use this when an event team or procurement buyer wants to collect comparable venue leads, then check the exact council record before deciding who to contact. Coverage is limited to venues and fields published by the Food Standards Agency.

![Find food venues across UK council areas and check their official hygiene ratings.](https://howthtechnologyfactory.pro/assets/uk-food-venue-review/01-check-food-venues.png)

### Get your first result

1. Choose **Compare council areas**. The default form uses Camden and Westminster.
2. Keep business type `1` for restaurants, cafés and canteens. Choose how many venues to sample from each council.
3. Run the Actor and open **Read the venue review**. The report shows how many records the source matched, how many you received, and which sample records have an update pending.
4. To check selected venues again, copy their numeric record IDs into a new **Recheck a venue shortlist** run.

Find additional council and category IDs in the [official council directory](https://api.ratings.food.gov.uk/Help/Api/GET-Authorities) and [business type directory](https://api.ratings.food.gov.uk/Help/Api/GET-BusinessTypes). Compare up to four councils with up to 50 records each, or check up to ten exact venue IDs. The Actor requests one source page per chosen council and counts skipped or unavailable groups separately.

### What you receive

- An in-console review with official source links, scope and gaps, plus a downloadable Markdown copy.
- A dataset with one row per returned venue, including record ID, venue name, business category, council, postcode district when available, rating scheme, published rating, rating date, retrieval time and pending-update status.
- A JSON summary for recurring or API-driven work, including source match counts, sample sizes, missing IDs and source errors.

An area sample shows the first results returned by the agency. Use it to find venues to investigate. Sample ratings cannot establish how a council area performs overall. England, Wales and Northern Ireland use FHRS. Scotland uses FHIS, which the Actor reports using the agency's labels. Confirm the displayed date and relevant requirements before relying on a rating for procurement or compliance.

### Pricing

One review containing at least one verified venue record costs **USD 0.01**, including the Apify run's platform usage. An empty or unavailable result incurs zero review events. For example, one comparison containing three venues from each of two councils is one review at USD 0.01. The number of venues in a review does not change that fee. Apify's normal storage charges may apply separately after the run. Set the run's maximum charge to at least USD 0.01. The Actor requests its single review fee only after it has saved a populated dataset and report. Check the Apify receipt for the event count.

### API input

- `mode` selects `compare` (default) or `shortlist`.
- In compare mode, `authorityIds` is an array of 1–4 distinct positive council IDs. Omit it to compare Camden (93) and Westminster (120).
- `businessTypeId` is a positive integer from the official directory. It defaults to 1. Compare runs use the same category across all chosen councils.
- `samplePerArea` is an integer from 1 to 50 and defaults to 10.
- In shortlist mode, `venueIds` must contain 1–10 distinct positive record IDs. Compare inputs have no effect on that mode.

For the first comparison, use this on the Actor's **Input → JSON** tab.

```json
{"mode":"compare","authorityIds":[93,120],"businessTypeId":1,"samplePerArea":3}
```

### Output fields

- `id` is the numeric Food Standards Agency record ID. Use it to run a later shortlist.
- `venue`, `category`, `council` and `postcodeDistrict` describe the venue. Category, council and postcode district can be null when the source supplies no usable value.
- `scheme` is `FHRS` or `FHIS`. `publishedRating` preserves the label. `numericRating` is an integer from 0 to 5 for numerical FHRS results and null in other cases. `newRatingPending` is true, false or null when the source supplies no flag.
- `ratingDate` is an ISO date or null. `retrievedAt` is a UTC timestamp for the run. `sourceUrl`, `license` and `attribution` document the source and reuse terms.
- The run summary reports `complete`, `partial` or `unavailable`, source matches and samples by council, missing IDs, unavailable requests and `reviewEventCount`. Keep a copy when you need a dated audit trail.

Use **Open venue records** for the dataset and Apify's export menu. When importing source text into a spreadsheet, keep text fields as text. Use the same bounded inputs for repeat runs. If a request fails, use the summary to choose the affected councils or venue IDs for a new run after the source recovers.

### See the workflow and outputs

The dated Camden and Westminster example returned three records per council. The figures in the images describe that run.

![From a council sample or shortlist to a dated report and source records.](https://howthtechnologyfactory.pro/assets/uk-food-venue-review/08-workflow.png)

- [See the first useful comparison](https://howthtechnologyfactory.pro/assets/uk-food-venue-review/02-first-result.png)
- [See the comparison input](https://howthtechnologyfactory.pro/assets/uk-food-venue-review/03-comparison-input.png)
- [See how missing records are reported](https://howthtechnologyfactory.pro/assets/uk-food-venue-review/04-missing-record.png)
- [See the source link and rating date](https://howthtechnologyfactory.pro/assets/uk-food-venue-review/05-source-trail.png)
- [See the venue IDs used for shortlists](https://howthtechnologyfactory.pro/assets/uk-food-venue-review/06-shortlist.png)
- [See the structured output](https://howthtechnologyfactory.pro/assets/uk-food-venue-review/07-take-the-results.png)

### Buying questions

1. **Who is this for?** Buyers, event teams and analysts who want to discover and recheck UK food venues using official hygiene records.
2. **What can I do immediately?** Run the prefilled comparison for two council areas, then open a linked review.
3. **Do I need an FSA account?** The official records are open data. You use your Apify account to run the Actor.
4. **Does this include customer reviews?** It includes official food hygiene records. Use your usual review or mapping service alongside it for customer opinions.
5. **Can I compare one council?** Yes. Supply one council ID and your chosen business category.
6. **How do I find a council ID?** Open the council directory linked above and use the `LocalAuthorityId` value for your area.
7. **Can I review shops or caterers?** Use the official business type directory to select another available category.
8. **Can I put several categories in one run?** Each comparison uses one category across all selected councils. Run another comparison for a different category.
9. **Why are the match count and sample size different?** The match count describes all results the source says match your council and category. The sample size is the number of rows actually returned.
10. **Is the sample representative of the whole area?** It is the first source page, with the agency's ordering. Use it for discovery and follow-up.
11. **How do I recheck a venue?** Use the numeric ID from the dataset or official source link in shortlist mode.
12. **What happens if a venue ID disappears?** The summary lists it under missing IDs if the agency returns no record for that ID.
13. **What if one source request fails?** The review reports affected IDs and preserves results already returned. Start a new run for the affected scope after service recovers.
14. **What if the source refuses or limits requests?** The run stops sending requests to the source. The summary identifies the affected IDs and the source status.
15. **Does a pending update change the displayed rating?** The Actor shows the currently published rating and the agency's pending flag separately.
16. **What does an empty rating date mean?** The result lacked a usable date. Open the linked source record for the agency's latest information.
17. **Can I compare a Scottish pass with a numerical score?** Scottish FHIS labels use a separate scheme. The Actor preserves each scheme and returns numerical scores only for FHRS.
18. **Can I automate the workflow?** Yes. Provide the same structured input through the Apify Actor API and read the dataset and JSON summary.
19. **Can I preserve evidence from a run?** Save the Markdown review or dataset under your own retention policy. Rows include both the source URL and retrieval time.
20. **Can I republish these records?** Review the agency terms and Open Government Licence below, and carry the required attribution and published rating dates. Official rating logos have separate conditions.
21. **Does the output expose contact details?** Published output fields cover venue identification and ratings. Use the official record for other information permitted by the source.
22. **How do I get help?** Contact Howth Technology Factory through the Actor's Apify Issues tab. Include the mode and a concise description of the problem. Keep account tokens and private inputs out of public issues.

### Data attribution

Contains public sector information licensed under the Open Government Licence v3.0. Source: UK Food Standards Agency.

[Food Standards Agency terms](https://ratings.food.gov.uk/terms-and-conditions) · [Open Government Licence v3.0](https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/)

# Actor input Schema

## `mode` (type: `string`):

Compare bounded samples from council areas, or recheck exact food hygiene record IDs.

## `authorityIds` (type: `array`):

Compare one to four council IDs. The example compares Camden (93) and Westminster (120).

## `businessTypeId` (type: `integer`):

Use the same Food Standards Agency category for all council areas. 1 is Restaurant/Cafe/Canteen.

## `samplePerArea` (type: `integer`):

Sample size for each council. The source can return fewer records. Use a small sample for a first comparison.

## `venueIds` (type: `array`):

For shortlist mode, enter up to 10 numeric record IDs from the official Food Standards Agency links.

## Actor input object example

```json
{
  "mode": "compare",
  "authorityIds": [
    93,
    120
  ],
  "businessTypeId": 1,
  "samplePerArea": 10
}
```

# Actor output Schema

## `review` (type: `string`):

No description

## `markdown` (type: `string`):

No description

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

No description

## `venues` (type: `string`):

No description

# 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 = {
    "mode": "compare",
    "authorityIds": [
        93,
        120
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("apifmcpfactory/food-venue-review").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 = {
    "mode": "compare",
    "authorityIds": [
        93,
        120,
    ],
}

# Run the Actor and wait for it to finish
run = client.actor("apifmcpfactory/food-venue-review").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 '{
  "mode": "compare",
  "authorityIds": [
    93,
    120
  ]
}' |
apify call apifmcpfactory/food-venue-review --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,apifmcpfactory/food-venue-review"
        }
    }
}
```

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/4I6f6XnN6OwcQhAJV/builds/YRmyUcxkVisH3Gbdg/openapi.json
