Api Endpoint

gankdat

UK food hygiene ratings (FSA) — changes. One call returns one page of the records added, removed or changed since a date (newest first, 25 by default, per_page up to 100) with the total count; the same filters as the register narrow the watch.

Open interactive test console

Offering

Provider
gankdat.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://gankdat.com/x402/changes/uk-food-hygiene
MIME type
application/json
First seen
2026-11-08T18:21:36.396Z
Last seen
Tags
official-data, public-register, changes, uk, food

Payment pricing

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

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

Observed health

Status
Healthy
Latest latency
306 ms
Average latency
372 ms
HTTP status
402
Last checked
Reachability
100% over 8 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": {
        "business_name": {
          "type": "string"
        },
        "business_type": {
          "type": "string"
        },
        "postcode": {
          "type": "string"
        },
        "outward_code": {
          "type": "string"
        },
        "local_authority": {
          "type": "string"
        },
        "local_authority_code": {
          "type": "string"
        },
        "rating_value": {
          "type": "string"
        },
        "scheme_type": {
          "type": "string"
        },
        "rating_date_after": {
          "type": "string",
          "format": "date",
          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
        },
        "rating_date_before": {
          "type": "string",
          "format": "date",
          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
        },
        "hygiene_score_min": {
          "type": "number"
        },
        "hygiene_score_max": {
          "type": "number"
        },
        "structural_score_min": {
          "type": "number"
        },
        "structural_score_max": {
          "type": "number"
        },
        "confidence_score_min": {
          "type": "number"
        },
        "confidence_score_max": {
          "type": "number"
        },
        "new_rating_pending": {
          "type": "string"
        },
        "q": {
          "type": "string"
        },
        "since": {
          "anyOf": [
            {
              "type": "string",
              "format": "date",
              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
            },
            {
              "type": "string",
              "format": "date-time",
              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
            }
          ]
        },
        "change": {
          "type": "string",
          "enum": [
            "added",
            "removed",
            "changed"
          ]
        },
        "page": {
          "default": 1,
          "type": "integer",
          "minimum": 1,
          "maximum": 100000
        },
        "per_page": {
          "default": 25,
          "type": "integer",
          "minimum": 1,
          "maximum": 100
        }
      }
    }
  },
  "required": [
    "type",
    "method"
  ],
  "additionalProperties": false
}

Output schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string"
    },
    "example": {
      "type": "object",
      "properties": {
        "ok": {
          "type": "boolean",
          "const": true
        },
        "data": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "change": {
                "type": "string",
                "enum": [
                  "added",
                  "removed",
                  "changed"
                ]
              },
              "changed_at": {
                "type": "string"
              },
              "record_id": {
                "type": "string"
              },
              "record": {}
            },
            "required": [
              "change",
              "changed_at",
              "record_id",
              "record"
            ],
            "additionalProperties": false
          }
        },
        "meta": {
          "type": "object",
          "properties": {
            "source": {
              "type": "string"
            },
            "since": {
              "type": "string"
            },
            "page": {
              "type": "integer",
              "minimum": -9007199254740991,
              "maximum": 9007199254740991
            },
            "per_page": {
              "type": "integer",
              "minimum": -9007199254740991,
              "maximum": 9007199254740991
            },
            "total": {
              "type": "integer",
              "minimum": -9007199254740991,
              "maximum": 9007199254740991
            },
            "last_refreshed_at": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          "required": [
            "source",
            "since",
            "page",
            "per_page",
            "total",
            "last_refreshed_at"
          ],
          "additionalProperties": false
        }
      },
      "required": [
        "ok",
        "data",
        "meta"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "type"
  ]
}