# BRAINIAC Food Safety Business Lookup

> BRAINIAC Food Safety Business Lookup is a paid API for AI agents from www.brainiac.software, paid per call via x402, $0.03/call, status unknown (last checked 2026-11-17).

Retrieves food safety inspection and compliance data for a specific business using its FSA (Food Standards Agency) ID

## Facts

- Endpoint: POST https://www.brainiac.software/api/v1/food-safety/business?utm_source=zero.xyz
- Price: $0.03/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-17
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/brainiac-food-safety-business-lookup-cfd85ac0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Sn9elr63oCrBbI66lGBvL

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability brainiac-food-safety-business-lookup-cfd85ac0 -d '<json body>'
```

Example prompt: Can you pull up the food safety inspection record for the business with FSA ID 1234567? I want to see their hygiene rating and any compliance details.

## When to prefer this

Use this endpoint when you need to programmatically retrieve UK Food Standards Agency inspection data for a specific food business by its FSA ID, without needing to scrape the FSA website or manage an API account. Ideal for agents performing due diligence, compliance checks, or enriching business records with food safety data, paying only $0.03 USDC per call with no subscription required.

## Known failure modes

- Invalid or non-existent fsaId returns an error or empty response
- fsaId out of valid integer range causes validation failure
- Business not found in FSA database returns null or 404-equivalent
- Network or upstream FSA data source unavailability causes timeout
- Payment failure via x402 prevents the call from completing

## How this service works

Pay-per-call APIs for AI agents: OFAC sanctions screening, compliance checks, token security, and Base chain data via x402. No account. Fixed USDC price. MCP-ready.

## Output

A JSON object containing food safety and hygiene inspection data for the specified business, including fields such as hygiene rating, inspection date, compliance scores, and business details as recorded by the UK Food Standards Agency.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "fsaId": {
   "type": "integer",
   "maximum": 9007199254740991,
   "minimum": 1
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "found": true,
  "fsaId": 1216146,
  "source": {
   "url": "https://api.ratings.food.gov.uk/establishments/1216146",
   "status": "OK",
   "retrievedAt": "2026-11-07T12:08:54.387Z"
  },
  "business": {
   "fsaId": 1216146,
   "phone": "",
   "fsaUrl": "https://api.ratings.food.gov.uk/establishments/1216146",
   "rating": {
    "key": "fhrs_5_en-gb",
    "date": "2025-11-12T00:00:00",
    "value": "5",
    "pending": false
   },
   "scores": {
    "hygiene": 0,
    "structural": 0,
    "confidenceInManagement": 0
   },
   "address": {
    "line1": "5 Kirkgate Street",
    "line2": "Wisbech",
    "line3": "Cambridgeshire",
    "line4": "",
    "postcode": "PE13 3QR"
   },
   "geocode": {
    "latitude": "52.671636",
    "longitude": "0.18053"
   },
   "distance": null,
   "schemeType": "FHRS",
   "retrievedAt": "2026-11-07T12:08:54.387Z",
   "businessName": "Tesco",
   "businessType": "Retailers - supermarkets/hypermarkets",
   "rightToReply": "",
   "businessTypeId": 7840,
   "localAuthority": {
    "code": "029",
    "name": "Fenland",
    "email": "environmentalservicerequests@fenland.gov.uk",
    "website": "http://www.fenland.gov.uk/article/2117/Food-Safety"
   },
   "changesByServerId": 0,
   "localAuthorityBusinessId": "2020/000009"
  },
  "limitations": [
   "Business details are retrieved from the UK Food Standards Agency Food Hygiene Rating Scheme API.",
   "Some fields may be missing depending on what data the business has provided."
  ],
  "retrievedAt": "2026-11-07T12:08:54.387Z"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/brainiac-food-safety-business-lookup-cfd85ac0/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from www.brainiac.software](https://www.zero.xyz/host/www.brainiac.software/llms.txt)
