Food Standards Agency
Food Standards Agency
fsa
Food hygiene ratings, approved food establishments and food alerts from the Food Standards Agency, under one API layer.
Licence: Open Government Licence v3.0. Attribution travels in every answer: Contains Food Standards Agency data.
The API answers this reference with a JSON Schema and an example per field, to a key holder: GET https://api.atlas.oromiq.com/v1/layers/fsa/schema
Facts on the entity
One current value each, in the entity's facts list under its key. The name, address, postcode, status and identifiers reach you through the entity itself. Each field's full description comes with the layer's schema from the API (GET /v1/layers/{layer}/schema), for key holders.
| Client key | Label | Type | Search | Notes |
|---|---|---|---|---|
| fsa.approvedActivities | Approved activities | a list of values | yes; can carry a search alone | history kept |
| fsa.species | Species | a list of values | no | |
| fsa.feedBanRegistrations | TSE feed ban registrations | text | no | |
| fsa.competentAuthority | Competent authority | text | no | |
| fsa.addressWithheld | Address withheld by the FSA | text | no | |
| fsa.businessType | Business type | text | yes, with a narrowing condition | |
| fsa.rating | Hygiene rating | one of a list0, 1, 2, 3, 4, 5, Exempt, AwaitingInspection, AwaitingPublication, Pass, Improvement Required, Pass and Eat Safe, Awaiting Inspection, Awaiting Publication | yes; can carry a search alone | history kept |
| fsa.rated | Food hygiene ratings: rated | date | no | a dated event; history kept |
| fsa.scoreHygiene | Hygiene score | number | no | history kept |
| fsa.scoreStructural | Structural score | number | no | history kept |
| fsa.scoreManagement | Confidence in management score | number | no | history kept |
| fsa.scheme | Scheme | one of a listFHRS, FHIS | yes; can carry a search alone | |
| fsa.newRatingPending | New rating pending | yes or no | no |
How a change reaches you
Within a major version a layer only ever gains: a new key, a new option, a new list. A key, a type or an option is never taken away without a deprecation first: the catalogue and the layer schema mark it with the day it may go, the changelog records it, and every answer carries the surface version in x-atlas-surface so you know when your picture of the API is out of date.
GET /v1/entities/{entityId}?layers=fsa
Authorization: Bearer ck_…
{
"data": {
"facts": [
{ "layer": "fsa", "key": "fsa.approvedActivities", "value": "…" },
{ "layer": "fsa", "key": "fsa.species", "value": "…" },
{ "layer": "fsa", "key": "fsa.feedBanRegistrations", "value": "…" }
]
}
}