Api Endpoint

gankdat

UK food hygiene ratings (FSA). One call returns one page of matching records as JSON (25 by default, per_page up to 100) with the total count and the last refresh time; the query parameters filter the records.

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/data/uk-food-hygiene
MIME type
application/json
First seen
2026-10-23T22:13:16.843Z
Last seen
Tags
official-data, public-register, uk, food, hygiene

Payment pricing

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

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

Observed health

Status
Healthy
Latest latency
286 ms
Average latency
468 ms
HTTP status
402
Last checked
Reachability
100% over 16 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"
        },
        "page": {
          "default": 1,
          "type": "integer",
          "minimum": 1,
          "maximum": 100000
        },
        "per_page": {
          "default": 25,
          "type": "integer",
          "minimum": 1,
          "maximum": 100
        },
        "q": {
          "type": "string"
        }
      }
    }
  },
  "required": [
    "type",
    "method"
  ],
  "additionalProperties": false
}

Output schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "method": {
          "enum": [
            "GET"
          ],
          "type": "string"
        },
        "queryParams": {
          "properties": {
            "business_name": {
              "type": "string"
            },
            "business_type": {
              "type": "string"
            },
            "confidence_score_max": {
              "type": "number"
            },
            "confidence_score_min": {
              "type": "number"
            },
            "hygiene_score_max": {
              "type": "number"
            },
            "hygiene_score_min": {
              "type": "number"
            },
            "local_authority": {
              "type": "string"
            },
            "local_authority_code": {
              "type": "string"
            },
            "new_rating_pending": {
              "type": "string"
            },
            "outward_code": {
              "type": "string"
            },
            "page": {
              "default": 1,
              "maximum": 100000,
              "minimum": 1,
              "type": "integer"
            },
            "per_page": {
              "default": 25,
              "maximum": 100,
              "minimum": 1,
              "type": "integer"
            },
            "postcode": {
              "type": "string"
            },
            "q": {
              "type": "string"
            },
            "rating_date_after": {
              "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"
            },
            "rating_date_before": {
              "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"
            },
            "rating_value": {
              "type": "string"
            },
            "scheme_type": {
              "type": "string"
            },
            "structural_score_max": {
              "type": "number"
            },
            "structural_score_min": {
              "type": "number"
            }
          },
          "type": "object"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "additionalProperties": false,
          "properties": {
            "data": {
              "items": {
                "additionalProperties": false,
                "properties": {
                  "address": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "business_name": {
                    "type": "string"
                  },
                  "business_type": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "confidence_score": {
                    "anyOf": [
                      {
                        "maximum": 9007199254740991,
                        "minimum": -9007199254740991,
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "fhrs_id": {
                    "maximum": 9007199254740991,
                    "minimum": -9007199254740991,
                    "type": "integer"
                  },
                  "hygiene_score": {
                    "anyOf": [
                      {
                        "maximum": 9007199254740991,
                        "minimum": -9007199254740991,
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "latitude": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "local_authority": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "local_authority_code": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "longitude": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "new_rating_pending": {
                    "type": "boolean"
                  },
                  "outward_code": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "postcode": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "rating_date": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "rating_value": {
                    "type": "string"
                  },
                  "scheme_type": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "structural_score": {
                    "anyOf": [
                      {
                        "maximum": 9007199254740991,
                        "minimum": -9007199254740991,
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "required": [
                  "fhrs_id",
                  "business_name",
                  "business_type",
                  "address",
                  "postcode",
                  "outward_code",
                  "local_authority",
                  "local_authority_code",
                  "rating_value",
                  "scheme_type",
                  "rating_date",
                  "hygiene_score",
                  "structural_score",
                  "confidence_score",
                  "new_rating_pending",
                  "latitude",
                  "longitude"
                ],
                "type": "object"
              },
              "type": "array"
            },
            "meta": {
              "additionalProperties": false,
              "properties": {
                "last_refreshed_at": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "page": {
                  "maximum": 9007199254740991,
                  "minimum": -9007199254740991,
                  "type": "integer"
                },
                "per_page": {
                  "maximum": 9007199254740991,
                  "minimum": -9007199254740991,
                  "type": "integer"
                },
                "source": {
                  "type": "string"
                },
                "total": {
                  "maximum": 9007199254740991,
                  "minimum": -9007199254740991,
                  "type": "integer"
                }
              },
              "required": [
                "source",
                "page",
                "per_page",
                "total",
                "last_refreshed_at"
              ],
              "type": "object"
            },
            "ok": {
              "const": true,
              "type": "boolean"
            }
          },
          "required": [
            "ok",
            "data",
            "meta"
          ],
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}