{
  "x402Version": 2,
  "id": 72064,
  "slug": "saylorinnovations-api-uk-food-hygiene",
  "resource": "https://saylorinnovations.com/api/uk/food-hygiene",
  "description": "UK food hygiene rating lookup - 0 to 5 FHRS rating, inspection date, scores and local authority for restaurants and takeaways by name and town",
  "type": "http",
  "serviceName": "Saylor Innovations Data Desk",
  "mimeType": "application/json",
  "resourceType": "API",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xA2A8dF0f7CaaBEa4e120a2568118f141569fc8aa",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 120
    },
    {
      "scheme": "exact",
      "network": "eip155:137",
      "payTo": "0xA2A8dF0f7CaaBEa4e120a2568118f141569fc8aa",
      "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 120
    },
    {
      "scheme": "exact",
      "network": "eip155:42161",
      "payTo": "0xA2A8dF0f7CaaBEa4e120a2568118f141569fc8aa",
      "asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 120
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "7LSjfrJf8fNsB8VA9u7N3WEn25smQLpob3SvyUvXacy7",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 120
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "7LSjfrJf8fNsB8VA9u7N3WEn25smQLpob3SvyUvXacy7",
      "asset": "Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 120
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "7LSjfrJf8fNsB8VA9u7N3WEn25smQLpob3SvyUvXacy7",
      "asset": "So11111111111111111111111111111111111111112",
      "amount": "95877",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 120
    }
  ],
  "outputSchema": {
    "type": "object",
    "properties": {
      "query": {
        "type": "object",
        "description": "The query as the server interpreted it"
      },
      "total_matches": {
        "type": [
          "number",
          "null"
        ],
        "description": "Total number of matches before any limit is applied"
      },
      "establishments": {
        "type": "array"
      },
      "note": {
        "type": "string",
        "description": "Caveat or context for reading the result"
      },
      "source": {
        "type": "string",
        "description": "Data source the values come from"
      }
    },
    "required": [
      "query",
      "establishments"
    ]
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "type": "http",
          "method": "GET",
          "queryParams": {
            "address": "london",
            "limit": "5",
            "name": "pret"
          }
        },
        "output": {
          "type": "json",
          "example": {
            "query": {
              "name": "pret",
              "address": "london"
            },
            "total_matches": 296,
            "establishments": [
              {
                "name": "Petit Pret",
                "type": "Restaurant/Cafe/Canteen",
                "address": "Unit C302A, Westfield London Shopping Centre, Ariel Way, London",
                "postcode": "W12 7GA",
                "rating": "5",
                "rating_date": "2024-09-27",
                "scheme": "FHRS",
                "local_authority": "Hammersmith and Fulham",
                "scores": {
                  "hygiene": 0,
                  "structural": 5,
                  "confidence_in_management": 0
                },
                "new_rating_pending": false,
                "fsa_id": 1006008
              },
              {
                "name": "Pret A Manger",
                "type": "Takeaway/sandwich shop",
                "address": "London City Airport, London",
                "postcode": "E16 2PX",
                "rating": "4",
                "rating_date": "2026-03-24",
                "scheme": "FHRS",
                "local_authority": "City of London Corporation",
                "scores": {
                  "hygiene": 10,
                  "structural": 5,
                  "confidence_in_management": 5
                },
                "new_rating_pending": false,
                "fsa_id": 902473
              },
              {
                "name": "Pret A Manger",
                "type": "Restaurant/Cafe/Canteen",
                "address": "London City Airport, Hartmann Road, Silvertown, London",
                "postcode": "E16 2PX",
                "rating": "5",
                "rating_date": "2025-05-23",
                "scheme": "FHRS",
                "local_authority": "Newham",
                "scores": {
                  "hygiene": 5,
                  "structural": 5,
                  "confidence_in_management": 0
                },
                "new_rating_pending": false,
                "fsa_id": 864056
              }
            ],
            "note": "FHRS ratings run 0 (urgent improvement) to 5 (very good); Scotland uses Pass / Improvement Required.",
            "source": "Food Standards Agency Food Hygiene Rating Scheme API (Open Government Licence v3.0)"
          }
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "input": {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "const": "http"
              },
              "method": {
                "type": "string",
                "enum": [
                  "GET"
                ]
              },
              "queryParams": {
                "type": "object",
                "properties": {
                  "address": {
                    "type": "string",
                    "description": "optional town, street or postcode text"
                  },
                  "limit": {
                    "type": "string",
                    "description": "optional 1-25 (default 10)"
                  },
                  "name": {
                    "type": "string",
                    "description": "Business name text"
                  }
                },
                "required": [
                  "name"
                ]
              }
            },
            "required": [
              "type",
              "method"
            ],
            "additionalProperties": false
          },
          "output": {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "const": "json"
              },
              "example": {
                "type": "object",
                "properties": {
                  "query": {
                    "type": "object",
                    "description": "The query as the server interpreted it"
                  },
                  "total_matches": {
                    "type": [
                      "number",
                      "null"
                    ],
                    "description": "Total number of matches before any limit is applied"
                  },
                  "establishments": {
                    "type": "array"
                  },
                  "note": {
                    "type": "string",
                    "description": "Caveat or context for reading the result"
                  },
                  "source": {
                    "type": "string",
                    "description": "Data source the values come from"
                  }
                },
                "required": [
                  "query",
                  "establishments"
                ]
              }
            },
            "required": [
              "type"
            ]
          }
        },
        "required": [
          "input"
        ]
      }
    }
  },
  "tags": [
    "uk food hygiene rating",
    "restaurant hygiene score",
    "fsa fhrs",
    "takeaway rating check",
    "food business inspection"
  ],
  "sourceHost": "saylorinnovations.com",
  "lastUpdated": "2026-10-26T22:14:01.844Z",
  "quality": {},
  "metadata": {
    "serviceName": "Saylor Innovations Data Desk",
    "method": "GET",
    "mimeType": "application/json",
    "inputSchema": {
      "type": "object",
      "properties": {
        "address": {
          "type": "string",
          "description": "optional town, street or postcode text"
        },
        "limit": {
          "type": "string",
          "description": "optional 1-25 (default 10)"
        },
        "name": {
          "type": "string",
          "description": "Business name text"
        }
      },
      "required": [
        "name"
      ]
    },
    "exampleResponse": {
      "query": {
        "name": "pret",
        "address": "london"
      },
      "total_matches": 296,
      "establishments": [
        {
          "name": "Petit Pret",
          "type": "Restaurant/Cafe/Canteen",
          "address": "Unit C302A, Westfield London Shopping Centre, Ariel Way, London",
          "postcode": "W12 7GA",
          "rating": "5",
          "rating_date": "2024-09-27",
          "scheme": "FHRS",
          "local_authority": "Hammersmith and Fulham",
          "scores": {
            "hygiene": 0,
            "structural": 5,
            "confidence_in_management": 0
          },
          "new_rating_pending": false,
          "fsa_id": 1006008
        },
        {
          "name": "Pret A Manger",
          "type": "Takeaway/sandwich shop",
          "address": "London City Airport, London",
          "postcode": "E16 2PX",
          "rating": "4",
          "rating_date": "2026-03-24",
          "scheme": "FHRS",
          "local_authority": "City of London Corporation",
          "scores": {
            "hygiene": 10,
            "structural": 5,
            "confidence_in_management": 5
          },
          "new_rating_pending": false,
          "fsa_id": 902473
        },
        {
          "name": "Pret A Manger",
          "type": "Restaurant/Cafe/Canteen",
          "address": "London City Airport, Hartmann Road, Silvertown, London",
          "postcode": "E16 2PX",
          "rating": "5",
          "rating_date": "2025-05-23",
          "scheme": "FHRS",
          "local_authority": "Newham",
          "scores": {
            "hygiene": 5,
            "structural": 5,
            "confidence_in_management": 0
          },
          "new_rating_pending": false,
          "fsa_id": 864056
        }
      ],
      "note": "FHRS ratings run 0 (urgent improvement) to 5 (very good); Scotland uses Pass / Improvement Required.",
      "source": "Food Standards Agency Food Hygiene Rating Scheme API (Open Government Licence v3.0)"
    },
    "parameterLocation": "query",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "type": "http",
            "method": "GET",
            "queryParams": {
              "address": "london",
              "limit": "5",
              "name": "pret"
            }
          },
          "output": {
            "type": "json",
            "example": {
              "query": {
                "name": "pret",
                "address": "london"
              },
              "total_matches": 296,
              "establishments": [
                {
                  "name": "Petit Pret",
                  "type": "Restaurant/Cafe/Canteen",
                  "address": "Unit C302A, Westfield London Shopping Centre, Ariel Way, London",
                  "postcode": "W12 7GA",
                  "rating": "5",
                  "rating_date": "2024-09-27",
                  "scheme": "FHRS",
                  "local_authority": "Hammersmith and Fulham",
                  "scores": {
                    "hygiene": 0,
                    "structural": 5,
                    "confidence_in_management": 0
                  },
                  "new_rating_pending": false,
                  "fsa_id": 1006008
                },
                {
                  "name": "Pret A Manger",
                  "type": "Takeaway/sandwich shop",
                  "address": "London City Airport, London",
                  "postcode": "E16 2PX",
                  "rating": "4",
                  "rating_date": "2026-03-24",
                  "scheme": "FHRS",
                  "local_authority": "City of London Corporation",
                  "scores": {
                    "hygiene": 10,
                    "structural": 5,
                    "confidence_in_management": 5
                  },
                  "new_rating_pending": false,
                  "fsa_id": 902473
                },
                {
                  "name": "Pret A Manger",
                  "type": "Restaurant/Cafe/Canteen",
                  "address": "London City Airport, Hartmann Road, Silvertown, London",
                  "postcode": "E16 2PX",
                  "rating": "5",
                  "rating_date": "2025-05-23",
                  "scheme": "FHRS",
                  "local_authority": "Newham",
                  "scores": {
                    "hygiene": 5,
                    "structural": 5,
                    "confidence_in_management": 0
                  },
                  "new_rating_pending": false,
                  "fsa_id": 864056
                }
              ],
              "note": "FHRS ratings run 0 (urgent improvement) to 5 (very good); Scotland uses Pass / Improvement Required.",
              "source": "Food Standards Agency Food Hygiene Rating Scheme API (Open Government Licence v3.0)"
            }
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "type": "object",
          "properties": {
            "input": {
              "type": "object",
              "properties": {
                "type": {
                  "type": "string",
                  "const": "http"
                },
                "method": {
                  "type": "string",
                  "enum": [
                    "GET"
                  ]
                },
                "queryParams": {
                  "type": "object",
                  "properties": {
                    "address": {
                      "type": "string",
                      "description": "optional town, street or postcode text"
                    },
                    "limit": {
                      "type": "string",
                      "description": "optional 1-25 (default 10)"
                    },
                    "name": {
                      "type": "string",
                      "description": "Business name text"
                    }
                  },
                  "required": [
                    "name"
                  ]
                }
              },
              "required": [
                "type",
                "method"
              ],
              "additionalProperties": false
            },
            "output": {
              "type": "object",
              "properties": {
                "type": {
                  "type": "string",
                  "const": "json"
                },
                "example": {
                  "type": "object",
                  "properties": {
                    "query": {
                      "type": "object",
                      "description": "The query as the server interpreted it"
                    },
                    "total_matches": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "Total number of matches before any limit is applied"
                    },
                    "establishments": {
                      "type": "array"
                    },
                    "note": {
                      "type": "string",
                      "description": "Caveat or context for reading the result"
                    },
                    "source": {
                      "type": "string",
                      "description": "Data source the values come from"
                    }
                  },
                  "required": [
                    "query",
                    "establishments"
                  ]
                }
              },
              "required": [
                "type"
              ]
            }
          },
          "required": [
            "input"
          ]
        }
      }
    },
    "examples": [
      {
        "label": "Unpaid discovery call",
        "method": "GET",
        "url": "https://saylorinnovations.com/api/uk/food-hygiene?name=pret&address=london&limit=5",
        "expectedStatus": 402
      }
    ],
    "cacheTtlSeconds": 0,
    "capabilities": [],
    "noAccountRequired": true,
    "noApiKeyRequired": true,
    "sideEffects": "Paid calls settle the advertised payment; see the provider contract for execution behavior.",
    "payment": {
      "protocol": "x402",
      "settlement": "direct-to-provider"
    },
    "provider": {
      "name": "Saylor Innovations",
      "host": "saylorinnovations.com",
      "manifestUrl": "https://saylorinnovations.com/.well-known/x402.json"
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": true,
  "featured": false,
  "provider": {
    "host": "saylorinnovations.com",
    "manifest_name": "Saylor Innovations Knowledge Base",
    "source": "submitted",
    "source_manifest_url": "https://saylorinnovations.com/.well-known/x402.json",
    "submitted_at": "2026-10-26T05:52:02.113Z"
  },
  "exampleResponse": {
    "query": {},
    "total_matches": 0,
    "establishments": [
      "value"
    ],
    "note": "string",
    "source": "string"
  }
}