Uk Food Hygiene Ratings Scraper avatar

Uk Food Hygiene Ratings Scraper

Pricing

from $2.99 / 1,000 results

Go to Apify Store
Uk Food Hygiene Ratings Scraper

Uk Food Hygiene Ratings Scraper

Scrape UK Food Hygiene Rating Scheme records from the public Food Standards Agency. Search by business name, address, local authority, type, or rating, or load single venues by FHRSID. Get one flat row per result, ready to export as JSON, CSV, or Excel. Also pulls authority and business-type lists.

Pricing

from $2.99 / 1,000 results

Rating

0.0

(0)

Developer

B2B Lead Generation

B2B Lead Generation

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

4 days ago

Last modified

Categories

Share

UK Food Hygiene Ratings Scraper: FSA Ratings for Restaurants

UK Food Hygiene Ratings Scraper

Pull Food Hygiene Rating Scheme records for UK food businesses, published by the Food Standards Agency. One flat row per establishment, local authority, or business type. Export the dataset as JSON, CSV, or Excel.

Search by business name, address, authority, business type, and rating. Open a single establishment by FHRSID. Or download the authority list and the business type list in the same run.

Use cases

  • Restaurant leads: collect businesses with a name, postcode, rating, and local authority email
  • Territory lists: filter food hygiene ratings to one local authority id
  • Rating checks: keep only rating 5, rating 0, or Exempt
  • Reference data: save authorities and business types before you map ids in a CRM
  • Scheduled refresh: rerun the same search so new inspections show up in the dataset

Input

ParameterTypeDefaultDescription
modestringsearchsearch lists establishments. detail loads FHRS ids. references loads authorities, then business types.
namesarraypizzaBusiness names for search, one per line.
addressstringemptyAddress, postcode, or town. Example: london.
localAuthorityIdinteger0Authority id. 0 means any authority.
businessTypeIdinteger0Business type id. 0 means any type.
ratingKeystringemptyOptional rating filter such as 5, 0, or Exempt.
fhrsIdsarray1714497Establishment ids for detail mode, one per line.
maxItemsinteger100Cap on successful rows. Maximum 1000.
requestDelaySecsnumber0.3Pause between API calls. Minimum 0.3 seconds.
timeoutSecsinteger300Stop the run after this many seconds and keep rows already saved.
requestTimeoutSecsinteger30Per-request timeout.
proxyConfigurationobject{"useApifyProxy": false}Optional. Leave the proxy off unless you need one.
{
"mode": "search",
"names": ["pizza"],
"address": "london",
"localAuthorityId": 0,
"businessTypeId": 0,
"ratingKey": "",
"fhrsIds": ["1714497"],
"maxItems": 100,
"requestDelaySecs": 0.3,
"timeoutSecs": 300,
"requestTimeoutSecs": 30,
"proxyConfiguration": { "useApifyProxy": false }
}

What data does this actor extract?

Search and detail rows keep the establishment fields, plus mode and scraped_at.

{
"AddressLine1": "London Bridge Station",
"AddressLine2": "2",
"AddressLine3": "Bermondsey Street",
"AddressLine4": "London",
"BusinessName": "Pizza pilgrims",
"BusinessType": "Restaurant/Cafe/Canteen",
"BusinessTypeID": 1,
"ChangesByServerID": 0,
"Distance": null,
"FHRSID": 1158712,
"LocalAuthorityBusinessID": "194198",
"LocalAuthorityCode": "528",
"LocalAuthorityEmailAddress": "food@southwark.gov.uk",
"LocalAuthorityName": "Southwark",
"LocalAuthorityWebSite": "http://www.southwark.gov.uk/",
"NewRatingPending": false,
"Phone": "",
"PostCode": "SE1 2ER",
"RatingDate": "2024-09-04T00:00:00",
"RatingKey": "fhrs_5_en-gb",
"RatingValue": "5",
"RightToReply": "",
"SchemeType": "FHRS",
"geocode": { "longitude": "-0.0858674", "latitude": "51.5046182" },
"scores": { "Hygiene": 5, "Structural": 5, "ConfidenceInManagement": 5 },
"mode": "search",
"scraped_at": "2026-10-12T00:00:00+00:00"
}

A failed request is a separate row with error, input, and status. The run keeps going. Duplicate FHRS ids are dropped. Authority rows dedupe on LocalAuthorityId. Business type rows dedupe on BusinessTypeId.

FAQ

How fresh are the food hygiene ratings? You get the current published rating, including RatingDate and NewRatingPending. A scheduled run is the practical way to pick up newer inspections.

What if an FHRSID does not exist? A missing id becomes one error row. Other ids still run.

Can I export CSV? Yes. Apify datasets export to JSON, CSV, and Excel.

Trademark Notice

UK Food Hygiene Ratings and related names, logos, and trademarks belong to their respective owners. Their use in this documentation is solely to identify the source of the data and does not imply affiliation, sponsorship, endorsement, or partnership.

Disclaimer

Disclaimer: This Actor is an independent tool and is not affiliated with, endorsed by, sponsored by, or otherwise officially associated with UK Food Hygiene Ratings or its owners. All data is collected from publicly available sources. Users are responsible for complying with the source's terms of use, rate limits, and attribution or licensing requirements.

This Actor only collects publicly available data from UK Food Hygiene Ratings, without logging in or bypassing any access controls. Scraping public data is generally legal, but how you use it matters:

  • Personal data: If the results include personal data (for example names, emails, or profile details), laws such as the GDPR in the EU and the CCPA in California may apply. Only collect and store personal data when you have a legitimate reason.
  • Copyright: Some content (articles, images, descriptions) may be protected by copyright. Do not republish full copyrighted content without permission.
  • Terms of use: Respect the source terms, stated rate limits, and any attribution or non-commercial-use requirements listed in Limits and terms.
  • Legal advice: This is general information, not legal advice. If you're unsure, consult a lawyer.

To learn more, read Apify's guide: Is web scraping legal?