Api Endpoint

UK Food Hygiene Ratings

Food hygiene ratings for food businesses at a UK postcode from the Food Standards Agency: business name and type, address, rating and the date of the inspection it is based on, as JSON.

Open interactive test console

Offering

Provider
pennydatahq.com
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
Other
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://pennydatahq.com/api/food-hygiene/:postcode
MIME type
application/json
First seen
2026-10-27T21:36:21.577Z
Last seen
Tags
uk, food-hygiene, fsa, restaurants, local-business

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.002 USDC
Atomic price: 2000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "2000",
    "payTo": "0xd0A3c0f5612EcD88e4b16Ef1cD458e1a5E8FFD49"
  }
]

Observed health

Status
Healthy
Latest latency
128 ms
Average latency
144 ms
HTTP status
402
Last checked
Reachability
100% over 11 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "const": "http"
    },
    "method": {
      "type": "string",
      "enum": [
        "GET"
      ]
    },
    "queryParams": {
      "type": "object",
      "properties": {}
    },
    "pathParams": {
      "type": "object",
      "properties": {
        "postcode": {
          "type": "string",
          "description": "Full UK postcode, with or without the space, any case."
        }
      },
      "required": [
        "postcode"
      ]
    }
  },
  "required": [
    "type",
    "method"
  ],
  "additionalProperties": false
}

Output schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string"
    },
    "example": {
      "type": "object",
      "properties": {
        "postcode": {
          "type": "string"
        },
        "count": {
          "type": "integer"
        },
        "establishments": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "fhrs_id": {
                "type": "integer"
              },
              "business_name": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "business_type": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "address": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "Withheld by the FSA for some premises, such as private homes"
              },
              "rating": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "0 to 5, Exempt, AwaitingInspection, Pass, Improvement Required, and others"
              },
              "rating_date": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "YYYY-MM-DD, the inspection the rating is based on"
              },
              "scheme": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "FHRS (England, Wales, Northern Ireland) or FHIS (Scotland)"
              },
              "new_rating_pending": {
                "type": [
                  "boolean",
                  "null"
                ]
              },
              "local_authority": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "fsa_url": {
                "type": "string"
              }
            }
          }
        }
      },
      "required": [
        "postcode",
        "count",
        "establishments"
      ]
    }
  },
  "required": [
    "type"
  ]
}