# FSA food hygiene rating search

Search UK food businesses (restaurants, takeaways, shops, caterers) in the Food Hygiene Rating Scheme by name, address or postcode, or around coordinates. Takes name, address, latitude and more, all optional. Served by Food Standards Agency.

Search UK food businesses (restaurants, takeaways, shops, caterers) in the Food Hygiene Rating Scheme by name, address or postcode, or around coordinates: business type, address, hygiene rating and date, sub-scores, local authority and coordinates. Filter by rating, business type or local authority.

- Tool ID: `fsa/establishment-search`
- Provider: [Food Standards Agency](/providers/fsa.md)
- Capability: [Knowledge & research](/tools/knowledge.md)
- Price: no charge per call
- Authentication: an authorised Agentik workspace is required for execution, including zero-price tools.

## Pricing contract

No charge per call. A workspace is still needed so your agent can call it.


```json
{
  "model": "per_call",
  "amountUsd": 0
}
```

## Complete input schema


```json
{
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "minLength": 2,
      "maxLength": 120,
      "description": "Words in the business name, e.g. 'pret a manger'"
    },
    "address": {
      "type": "string",
      "minLength": 2,
      "maxLength": 160,
      "description": "Words in the address or a postcode, e.g. 'SW1A 1AA' or 'london'"
    },
    "latitude": {
      "type": "number",
      "minimum": 49,
      "maximum": 61,
      "description": "Centre latitude for a radius search, e.g. 51.5074"
    },
    "longitude": {
      "type": "number",
      "minimum": -9,
      "maximum": 3,
      "description": "Centre longitude for a radius search, e.g. -0.1278"
    },
    "max_distance_miles": {
      "type": "number",
      "minimum": 0.1,
      "maximum": 10,
      "description": "Radius in miles around latitude/longitude, e.g. 1"
    },
    "business_type_id": {
      "type": "integer",
      "minimum": -1,
      "maximum": 100000,
      "description": "FSA business type id, e.g. 1 (Restaurant/Cafe/Canteen), 7844 (Takeaway/sandwich shop), 4613 (Retailers - other)"
    },
    "rating": {
      "type": "string",
      "enum": [
        "0",
        "1",
        "2",
        "3",
        "4",
        "5",
        "Pass",
        "ImprovementRequired",
        "AwaitingPublication",
        "AwaitingInspection",
        "Exempt"
      ],
      "description": "Hygiene rating, e.g. '5' (FHRS) or 'Pass' (Scotland FHIS)"
    },
    "rating_operator": {
      "type": "string",
      "enum": [
        "Equal",
        "LessThanOrEqual",
        "GreaterThanOrEqual"
      ],
      "description": "How to compare the FHRS rating, e.g. 'LessThanOrEqual'"
    },
    "local_authority_id": {
      "type": "integer",
      "minimum": 1,
      "maximum": 10000,
      "description": "FSA local authority id, e.g. 197 (Aberdeen City)"
    },
    "sort": {
      "type": "string",
      "enum": [
        "Relevance",
        "rating",
        "desc_rating",
        "alpha",
        "desc_alpha",
        "Distance"
      ],
      "description": "Sort: rating = highest first, desc_rating = lowest first, alpha, desc_alpha, Distance"
    },
    "page": {
      "type": "integer",
      "minimum": 1,
      "maximum": 1000,
      "default": 1,
      "description": "Page number, e.g. 1"
    },
    "page_size": {
      "type": "integer",
      "minimum": 1,
      "maximum": 100,
      "default": 20,
      "description": "Establishments per page, e.g. 20"
    }
  },
  "additionalProperties": false
}
```

## Published example

This is the provider tool’s published example. Replace example values with the user’s requested inputs, respecting the schema; do not execute an example merely to test a connection.


```json
{
  "tool_id": "fsa/establishment-search",
  "input": {
    "name": "pret a manger",
    "address": "london",
    "page_size": 3
  }
}
```

## Execute and retrieve

Inspect again before execution, explain the price and obtain the required authority. Use MCP run_tool or POST /v1/run with this tool ID, valid input and an idempotency key. Save the returned run ID and follow the actual state. If Agentik answers that the tool is temporarily unavailable, do not retry it blindly; use discovery to propose an alternative.

A partial or uncertain result can still have consumed provider resources. Consult [billing](/docs/billing.md), [idempotency](/docs/idempotency.md) and [asynchronous results](/docs/async.md).

Licence: Open Government Licence v3.0.

Attribution: Contains public sector information licensed under the Open Government Licence v3.0 (Food Standards Agency).

[Provider documentation](https://api.ratings.food.gov.uk/help)

[REST inspection](https://api.agentik.cc/v1/tools/fsa/establishment-search) · [OpenAPI](/openapi.json) · [Connection guide](/connect.md)

---

[HTML page](/providers/fsa/establishment-search) · [Agent index](/llms.txt)
