# BRAINIAC Food Safety Batch Lookup

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

Looks up food safety information for multiple FSA (Food Standards Agency) records by their IDs in a single batch call

## Facts

- Endpoint: POST https://www.brainiac.software/api/v1/food-safety/batch?utm_source=zero.xyz
- Price: $0.15/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-batch-lookup-c61f58ba
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_jkdnTNOPiBM7EcDf8w1eR

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-batch-lookup-c61f58ba -d '<json body>'
```

Example prompt: Can you batch look up the food safety records for FSA establishments with IDs 12345, 67890, and 11223 — I need to check their inspection results all at once?

## When to prefer this

Use this endpoint when you need to retrieve food safety or FSA inspection data for multiple establishments in a single API call without setting up an account. It is ideal for batch compliance checks, audits, or enrichment workflows where you have a list of FSA numeric IDs. Prefer this over single-record lookups when processing more than one establishment at a time, and over scraping the FSA website directly when you need structured, programmatic access payable per-use via USDC on Base.

## Known failure modes

- Invalid FSA ID (non-integer or out of range) causes validation error
- Exceeding 100 IDs in a single batch returns a schema validation error
- Empty array input rejected (minimum 1 item required)
- Payment of 0.15 USDC via x402 on Base not completed or insufficient — returns 402 Payment Required
- FSA IDs that do not exist in the database may return empty or null records
- Network timeout for large batches approaching the 100-item limit

## 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 response containing food safety records for each requested FSA ID, likely including inspection ratings, compliance status, establishment details, and inspection dates for up to 100 establishments per call.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "fsaIds": {
   "type": "array",
   "items": {
    "type": "integer",
    "maximum": 9007199254740991,
    "minimum": 1
   },
   "maxItems": 100,
   "minItems": 1
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "errors": [],
  "results": [
   {
    "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.444Z",
    "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"
   },
   {
    "fsaId": 246490,
    "phone": "",
    "fsaUrl": "https://api.ratings.food.gov.uk/establishments/246490",
    "rating": {
     "key": "fhrs_5_en-gb",
     "date": "2025-11-11T00:00:00",
     "value": "5",
     "pending": false
    },
    "scores": {
     "hygiene": 0,
     "structural": 0,
     "confidenceInManagement": 0
    },
    "address": {
     "line1": "1 Hereward Cross",
     "line2": "Broadway",
     "line3": "Peterborough",
     "line4": "",
     "postcode": "PE1 1TA"
    },
    "geocode": {
     "latitude": "52.574275",
     "longitude": "-0.241467"
    },
    "distance": null,
    "schemeType": "FHRS",
    "retrievedAt": "2026-11-07T12:08:54.444Z",
    "businessName": "Tesco",
    "businessType": "Retailers - supermarkets/hypermarkets",
    "rightToReply": "",
    "businessTypeId": 7840,
    "localAuthority": {
     "code": "888",
     "name": "Peterborough City",
     "email": "foodandsafety@peterborough.gov.uk",
     "website": "http://www.peterborough.gov.uk"
    },
    "changesByServerId": 0,
    "localAuthorityBusinessId": "4720"
   },
   {
    "fsaId": 321016,
    "phone": "",
    "fsaUrl": "https://api.ratings.food.gov.uk/establishments/321016",
    "rating": {
     "key": "fhrs_5_en-gb",
     "date": "2025-11-19T00:00:00",
     "value": "5",
     "pending": false
    },
    "score
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/brainiac-food-safety-batch-lookup-c61f58ba/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)
