UK New Food Businesses API

Food businesses in the UK that have registered with their council but are not yet rated: name, type, address, postcode, council and its food team email, rating status and map position, newest registrations first, from the Food Standards Agency's hygiene ratings data.

$0.50 per 1,000 records

You pay only for the records you get. Zero records cost zero. 10,000 free records of this API to start (5,000 at the base price of $1 per 1,000), no card.

Try it
Ready-made, maintained by usPlaces, 13 fieldsv1.0

Data from api.ratings.food.gov.uk/Establishments

Get this data

Try it here with a few records, download the sample, fill a Google Sheet, or call it from your own code.

Try it

Local authoritiesoptional
Councils by their Food Standards Agency name, such as Aberdeen City, Westminster or Edinburgh (City of). Empty for the whole UK. One per line, or separated by commas.
Example: Aberdeen City, Westminster
Regionsoptional
Every council in these regions. One per line, or separated by commas.
Business typesoptional
Only these business types. All types when empty. One per line, or separated by commas.
Include awaiting publicationoptional
Also businesses that were inspected but whose first rating is not published yet.
Newer than IDoptional
Only businesses with an FHRS id above this number: the highest fhrs_id of your last run gives only businesses added since.
Example: 2010000

Run it on this page, or call it from your code with the endpoint in the developer section. A free key covers 10,000 records of this API, no card. Create a free key

For developers: the API and MCPThe endpoint, code in curl, JavaScript and Python, every input, and files for your tools
Endpoint
POSThttps://pullrow.dev/v1/apis/uk-new-food-businesses/run
  • Small runs answer in the same request; longer ones answer 202 with a run to poll.
  • fields returns only the fields you name. The examples send the ones picked on this page.
  • Idempotency-Key is optional. A retry with it is never charged twice.
  • You pay for records returned. Zero records cost zero.

Every run option, explained

Calling it needs a key
10,000 free records of this API to start. No card.
curl
curl -X POST "https://pullrow.dev/v1/apis/uk-new-food-businesses/run" \
  -H "Authorization: Bearer $PULLROW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "local_authorities": [
      "Aberdeen City",
      "Westminster"
    ]
  },
  "max_items": 50
}'

Inputs

Send them as input in the request body. Leave one out to use its default.

local_authoritieslist
Councils by their Food Standards Agency name, such as Aberdeen City, Westminster or Edinburgh (City of). Empty for the whole UK.
example: Aberdeen City, Westminster
regionslist
Every council in these regions.
example: Londonone of: East Counties, East Midlands, London, North East, North West, Northern Ireland, Scotland, South East, South West…
business_typeslist
Only these business types. All types when empty.
example: Restaurant/Cafe/Canteen, Takeaway/sandwich shopone of: Restaurant/Cafe/Canteen, Takeaway/sandwich shop, Pub/bar/nightclub, Mobile caterer, Other catering premises, Hotel/bed…
include_awaiting_publicationyes/no
Also businesses that were inspected but whose first rating is not published yet.
default: false
newer_than_idnumber
Only businesses with an FHRS id above this number: the highest fhrs_id of your last run gives only businesses added since.
example: 2010000

What's in each record

13 fields: 12 here, 1 technical one under Technical details.

Basics

  • Business name

    The business name as the council registered it.

    Example B Kitchen

  • Business type

    The agency's business type, such as Restaurant/Cafe/Canteen or Takeaway/sandwich shop.

    Example Takeaway/sandwich shop

  • Local authority

    The council the business registered with.

    Example Westminster

  • Rating status

    Awaiting Inspection, or Awaiting Publication when inspected but not yet published.

    Example Awaiting Inspection

  • Scheme

    FHRS (England, Wales, Northern Ireland) or FHIS (Scotland).

    Example FHRS

Location

  • Address

    Street address, without the postcode (empty for a business run from a private home).

    Example 9 BRIDGE STREET, LONDON

  • Postcode

    Postcode of the business.

    Example SW1A 2JR

  • Region

    The council's region, such as London or Scotland.

    Example London

  • Latitude

    Latitude of the business, when the agency has it.

    Example 51.50112

  • Longitude

    Longitude of the business, when the agency has it.

    Example -0.12519

Contact details

  • Local authority email

    The council food team's public email address.

    Example f•••@westminster.gov.uk

Technical detailsField names and types for developers, and the 1 field hidden above

Hidden by default

This field comes with each record too. It is an internal code, a note about how the record was read or a copy of what was searched for, so the lists above leave it out.

  • Fhrs ID fhrs_idThe Food Standards Agency's id of the business (FHRS id); higher ids were added later.

Field names and types

The names your code reads in each record. "Filled" counts how many of the 3 sample records carry the field.

Field nameTypeShown on this page asFilled
fhrs_idtextFhrs ID (hidden)3 of 3
business_nametextBusiness name3 of 3
business_typetextBusiness type3 of 3
addresstextAddress3 of 3
postcodetextPostcode3 of 3
local_authoritytextLocal authority3 of 3
regiontextRegion3 of 3
local_authority_emailtextLocal authority email3 of 3
rating_statustextRating status3 of 3
schemetextScheme3 of 3
latitudenumberLatitude3 of 3
longitudenumberLongitude3 of 3
urllinkLink3 of 3

How it reads the site

Runs on a reader we built and maintain by hand for this site.

Sample records

Sample records
RecordBusiness nameBusiness typeLocal authorityRating statusSchemeAddressPostcodeRegionLatitudeLongitudeLinkLocal authority email
1B KitchenTakeaway/sandwich shopWestminsterAwaiting InspectionFHRS9 BRIDGE STREET, LONDONSW1A 2JRLondon51.50112-0.12519ratings.food.gov.uk/business/2021409f•••@westminster.gov.uk
2Er MeiRestaurant/Cafe/CanteenWestminsterAwaiting InspectionFHRS6-7 LISLE STREET, LONDONWC2H 7BGLondon51.511351-0.131342ratings.food.gov.uk/business/2021405f•••@westminster.gov.uk
3B KitchenTakeaway/sandwich shopWestminsterAwaiting InspectionFHRS89-95 LUPUS STREET, LONDONSW1V 3ENLondon51.487734-0.140245ratings.food.gov.uk/business/2021401f•••@westminster.gov.uk

Sample records from the example output this API publishes. Email addresses and phone numbers in them are masked. Hover over a column name to see the field name your code reads.

Reliability

Counted from real runs. Our own health checks are left out. A run succeeded when it finished and the site neither blocked it nor broke it.

Incidents and repairs

How it is kept working What a repair can't do

A ready-made API, maintained by us. It is not part of the daily check or the automatic rebuild yet.

  • You pay only for records returned. A run that returns none costs nothing.
Known limits
  • The source keeps no registration date, so newest first means the highest FHRS id first: ids are given in order as councils add businesses. For new-only runs, pass the highest fhrs_id of your last run as newer_than_id.
  • Councils send their lists to the Food Standards Agency on their own timetable, so a new business can appear days or weeks after it registers. About 36,000 UK businesses await a first inspection at any time.
  • Without councils or regions the whole UK is read, which takes several large requests (up to a minute); 41 or more councils are read the same way.
  • Addresses are hidden for businesses run from a private home, and about 4 in 10 businesses have no map position (latitude and longitude empty).
  • Scotland's councils use their own scheme (FHIS) and Northern Ireland, Wales and England use FHRS: scheme says which. Business types are the agency's broad groups.
  • Contains public sector information from the Food Standards Agency, licensed under the Open Government Licence v3.0.

Version history

A run uses the live version unless the request names another one with version.