Food Hygiene Ratings Scraper avatar

Food Hygiene Ratings Scraper

Pricing

from $1.50 / 1,000 results

Go to Apify Store
Food Hygiene Ratings Scraper

Food Hygiene Ratings Scraper

Scrape UK food hygiene ratings for restaurants, cafés, takeaways, pubs, hotels and shops. Filter by name, postcode, council, business type and rating. Get address, postcode, coordinates, rating and date, inspection scores and the council's contact details. Open data, no login or proxy.

Pricing

from $1.50 / 1,000 results

Rating

0.0

(0)

Developer

Anyx Solutions

Anyx Solutions

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

4 days ago

Last modified

Features

Limited permissions

Share

banner

Food Hygiene Ratings Scraper

UK food hygiene ratings for every restaurant, café, takeaway, pub, hotel and food shop — with address, postcode, coordinates, inspection scores and the council's contact details — as clean JSON.

Every food business in the UK that serves or sells food to the public is inspected by its local council and given a food hygiene rating: 0 to 5 in England, Wales and Northern Ireland, Pass or Improvement Required in Scotland. This Actor scrapes UK food hygiene ratings from ratings.food.gov.uk by business name, address or postcode, local authority, country, business type and rating, or from any ratings.food.gov.uk search, local authority or business URL. Each business comes back with its FHRS id, name, business type, address lines, postcode, latitude and longitude, rating and rating date, the three inspection scores (hygiene, structural, confidence in management) with their descriptions, the inspecting council with its email and website, the region and a link to its page on ratings.food.gov.uk. It is open data published by the Food Standards Agency: no login, no API key and no proxy. Built for sales and lead-generation teams selling to restaurants and cafés, food-delivery platforms, insurers, property and retail analysts, journalists and researchers.

⚡ Quick start

{
"startUrls": [
{
"url": "https://ratings.food.gov.uk/business-search?business-name-search=pizza&address-search=london"
}
],
"maxItems": 5
}

🧩 Input

FieldTypeRequiredDefaultDescription
startUrlsarrayno—ratings.food.gov.uk pages: a search (https://ratings.food.gov.uk/business-search?business-name-search=pizza&address-search=london), a local authority search (https://ratings.food.gov.uk/authority-search-landing/528) or a business page (https://ratings.food.gov.uk/business/1158712/pizza-pilgrims).
businessNamestringno—Find businesses whose name contains these words, such as Costa or pizza.
addressstringno—Find businesses at an address, town or postcode, such as Manchester, SE1 or SE1 2ER.
localAuthoritiesarrayno—Only return businesses inspected by these councils, such as Southwark, Manchester or City of Edinburgh. Each council runs as its own search.
countrystringno—Only return businesses in England, Northern Ireland, Scotland or Wales. Ignored when local authorities are set.
businessTypestringno—Only return one business type, such as restaurant-cafe-canteen, takeaway-sandwich-shop, pub-bar-nightclub or hotel-bed-breakfast-guest-house.
ratingstringno—Only return one rating: 0 to 5, Pass or ImprovementRequired (Scotland), AwaitingPublication, AwaitingInspection or Exempt.
ratingComparisonstringno"equal"How a 0 to 5 rating is matched: equal, atLeast (that rating or better) or atMost (that rating or worse).
sortBystringno"relevance"Order of the filter search: relevance, ratingHighest, ratingLowest, nameAsc or nameDesc.
maxItemsintegerno—Maximum number of businesses per URL or local authority. The input form starts at 5; leave it empty for every matching business.
proxyConfigurationobjectno{ "useApifyProxy": false }Proxy settings. Food hygiene ratings are open data and need no proxy.

Add ratings.food.gov.uk URLs, search filters, or both. The filters (business name, address, local authorities, country, business type and rating) build a search of their own, one per local authority; URLs keep the filters written in their own address. The easiest way to build a search URL is to run the search on ratings.food.gov.uk and paste the address bar.

📤 Output

Each business is one dataset row. A business reached through two pages of the same search is returned once.

Fields

FieldTypeDescription
fhrsIdnumberThe business's id in the Food Hygiene Rating Scheme, unique across the UK.
businessNamestringBusiness name.
businessTypestringBusiness type, such as Restaurant/Cafe/Canteen or Takeaway/sandwich shop.
businessTypeIdnumberId of the business type.
addressLine1stringFirst address line.
addressLine2stringSecond address line.
addressLine3stringThird address line.
addressLine4stringFourth address line, usually the town.
postcodestringPostcode. null for businesses run from a private address.
addressstringThe address lines and postcode in one line.
latitudenumberLatitude. null when the business has no published location.
longitudenumberLongitude.
ratingValuestringThe rating: 0 to 5, Pass, Improvement Required, AwaitingInspection, AwaitingPublication or Exempt.
ratingNumbernumberThe rating as a number, for 0 to 5 ratings; null otherwise.
ratingKeystringThe rating's key, such as fhrs_5_en-gb.
ratingDatestringDate of the inspection the rating comes from (YYYY-MM-DD). null for a business not yet rated.
newRatingPendingbooleanWhether a newer rating is waiting to be published, for example during an appeal.
hygieneScorenumberFood hygiene and safety score: 0 is best, 25 is worst. Only in England, Wales and Northern Ireland.
hygieneDescriptionstringWhat the hygiene score means, such as Good or Improvement necessary.
structuralScorenumberStructure and cleaning score: 0 is best, 25 is worst.
structuralDescriptionstringWhat the structural score means.
confidenceInManagementScorenumberConfidence in management score: 0 is best, 30 is worst.
confidenceInManagementDescriptionstringWhat the confidence in management score means.
schemeTypestringFHRS (England, Wales, Northern Ireland) or FHIS (Scotland).
rightToReplystringThe business's published reply to its rating, when it has one.
localAuthorityNamestringThe council that inspected the business.
localAuthorityCodestringThe council's code.
localAuthorityEmailstringThe council's food safety team email.
localAuthorityWebsitestringThe council's website.
localAuthorityBusinessIdstringThe council's own reference for the business.
regionstringRegion of the council, such as London, North West, Wales or Scotland.
urlstringThe business's page on ratings.food.gov.uk.

💡 Use cases

  • Lead generation for hospitality suppliers — list every restaurant, café, takeaway or pub in a council, town or postcode district, with its address, postcode and coordinates, for food, drink, equipment, POS, delivery or cleaning sales.
  • Sales targeting by hygiene score — find businesses rated 2 or lower that may need cleaning, pest-control, training or refit services, or those rated 5 to showcase as partners.
  • Food-delivery and marketplace onboarding — check the current rating of restaurants before listing them, and monitor changes.
  • Insurance and risk — add hygiene ratings and inspection dates to underwriting and portfolio reviews of food businesses.
  • Location and market analysis — map restaurant density, cuisine mix and hygiene standards by council or region.
  • Journalism and research — compare hygiene standards across councils, chains or business types over time.

❓ FAQ

  • Do I need an account or an API key? No. The Food Standards Agency publishes the ratings as open data, and the Actor needs no login, key or proxy.
  • Which areas are covered? England, Wales and Northern Ireland (the Food Hygiene Rating Scheme, 0 to 5) and Scotland (the Food Hygiene Information Scheme, Pass or Improvement Required): over half a million businesses.
  • Why are some scores or coordinates empty? Scores are published only in England, Wales and Northern Ireland, and not when a council uploads a re-score. A business run from a private address has no published address details or location.
  • Is a lower score better? Yes. The three inspection scores are points against the business: 0 is best. The rating itself runs the other way, 5 being best.
  • How do I find a council's name? Use its name as ratings.food.gov.uk lists it, such as Southwark or Edinburgh (City of); the everyday form (City of Edinburgh) also works. A name the Actor cannot place stops the run with a clear message.
  • How fresh is the data? Councils upload new ratings continuously, and every run reads the live data. Ratings change after each inspection, so always show the rating date alongside a rating.
  • Can I use the FSA rating stickers or logos? No. The data is free to reuse, but the rating images and the FSA logo are trademarks with their own rules, and nothing here implies the Food Standards Agency endorses a business or a product.

Contains public sector information published by the Food Standards Agency and licensed under the Open Government Licence v3.0.

🔗 More scrapers by Anyx

🤝 Anyx Solutions

We build custom scrapers and data-extraction pipelines.