Food Standards Agency

API

Free UK Food Hygiene Rating Data API

Visit Website

Overview

The Food Standards Agency API provides RESTful access to official UK food hygiene rating data for registered establishments. Key endpoints include searching by postcode, establishment name, geographic coordinates, or local authority. Responses are JSON-formatted, containing details like hygiene rating (0-5), inspection date, address, business type, and operator information. Use cases include integrating ratings into consumer apps for finding safe eateries, adding hygiene data to restaurant booking platforms, or analyzing regional hygiene trends for public health research.

Example Integration (JavaScript)

script.js JS

fetch('http://ratings.food.gov.uk/open-data/en-GB')
  .then(res => res.json())
  .then(data => console.log(data))
  .catch(err => console.error(err));

Key Features

  • RESTful
  • JSON Support
  • No Auth Required
  • Geographic Search
  • Establishment Details

Frequently Asked Questions

? Is the Food Standards Agency API free to use?

Yes, it is an open data API with free access for both non-commercial and commercial purposes, subject to the terms of use.

? Does it require an API Key?

No, authentication is not required to access the public endpoints of the API.

? What is the response format?

All API responses are provided in JSON format, which is easy to parse and integrate into applications.

Top Alternatives

Open Food Facts API Search Google

People Also Ask about Food Standards Agency

Food Standards Agency vs Open Food Facts API Food Standards Agency 2025 review

Tool Info

Pricing Free
Category Government
Platform Public API

Pros

  • Free Open Data Access
  • Comprehensive UK Coverage
  • Regularly Updated Ratings
  • Easy Integration

Cons

  • UK-Only Data
  • Potential Rate Limits
  • Limited to Hygiene Ratings

More Government Tools