---
title: "FSA food hygiene information scheme (Scotland)"
method: GET
path: "/v1/datasets/fhis-scotland/query"
tags: ["United Kingdom"]
---

# FSA food hygiene information scheme (Scotland)

`GET /v1/datasets/fhis-scotland/query`

## Request

- Base URL: `https://datascoop.io`
- URL: `https://datascoop.io/v1/datasets/fhis-scotland/query`
- Auth: one of:
  - none
  - HTTP bearer
  - API key in query parameter `api_key`

Every Scottish food business with its FHIS result (Pass or Improvement Required), by council and type, in your spreadsheet in a minute: CSV, REST API, or MCP. 58,864 rows. Licence: Open Government Licence v3.0. Example: Every Improvement Required result in Glasgow, as CSV: https://datascoop.io/v1/datasets/fhis-scotland/query?localAuthority=Glasgow&rating=Improvement%20Required

## Query parameters

- `localAuthority` string
- `businessType` string
- `rating` 'Pass' | 'Pass and Eat Safe' | 'Improvement Required' | 'Awaiting Inspection' | 'Exempt'
- `postcodeArea` string
- `nameContains` string
- `limit` integer
- `offset` integer
- `format` 'json' | 'csv'

## Response `200`

Matching rows

- QueryResult
  - `dataset` string, required
  - `plan` 'free' | 'pro'
  - `total` integer, required: Rows matching the filters
  - `returned` integer, required
  - `offset` integer
  - `truncated` boolean, required: true when fewer rows than total were returned
  - `ignored` string[]: Filter keys the dataset does not know
  - `columns` object[]
    - `key` string
    - `label` string
  - `rows` object[], required
  - `attribution` string, required: Keep this with the data
  - `licence` string
  - `next_step` object: Present when the plan capped the result: links and wording for getting every row
    - `message` string
    - `buy_export_url` string, uri
    - `signup_url` string, uri
    - `pricing_url` string, uri

---

[API](https://skmtc.dev/datascoop/apis/datascoop-api.md) · [All operations](https://skmtc.dev/datascoop/apis/datascoop-api/llms.txt) · [OpenAPI document](https://skmtc.dev/datascoop/apis/datascoop-api/revisions/102c5cf316da?raw)
