BRAINIAC Allergen Matrix Validator is a paid API for AI agents from www.brainiac.software, paid per call via x402, $0.05/call, status unknown (last checked 2026-11-12).
Validates restaurant menu allergen claims against recipe ingredients, detecting mismatches between declared allergens and ingredient-derived allergen presence.
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.
Returns a structured JSON object with per-recipe allergen validation results, including allergen status (match, mismatch, claim_without_ingredient_data), sources (which ingredients contribute each allergen), mismatch counts, overall validation status, specific findings with codes and details (e.g. allergen_mismatch, allergen_basis), a checkedAt timestamp, and a list of limitations. Also returns top-level flags: mismatchCount, priceInvented, allergenInvented, nutritionInvented, foodSafetyComplianceClaimed.
POSThttps://www.brainiac.software/api/v1/restaurant-operations/allergen-matrix-validate?utm_source=zero.xyzUse this endpoint when you need to systematically cross-check a restaurant's declared menu allergens against actual recipe ingredient data to find discrepancies. It is especially valuable for pre-inspection audits, menu updates, or supplier changes. Unlike manual review, it programmatically detects undeclared allergens, false claims, and claims with no supporting ingredient evidence. It does not invent data or claim legal food-safety compliance, making it suitable for objective validation workflows.
| Field | Type | Description |
|---|---|---|
| csv | string | |
| asOf | string | |
| file | object | |
| json | string | |
| text | string | |
| sales | array | |
| waste | array | |
| matrix | array | |
| prices | array | |
| recipes | array | |
| allergens | array | |
| ingredients | array | |
| recipeLines | array |
{
"type": "json",
"example": {
"items": [
{
"name": "Cookie",
"recipeId": "R-1",
"allergens": [
{
"status": "match",
"claimed": true,
"sources": [
"flour",
"butter"
],
"allergen": "gluten",
"derivedPresent": true,
"claimedSupplied": true,
"allergenInvented": false,
"derivedPresentSupplied": true,
"foodSafetyComplianceClaimed": false
},
{
"status": "mismatch",
"claimed": false,
"sources": [
"butter"
],
"allergen": "milk",
"derivedPresent": true,
"claimedSupplied": true,
"allergenInvented": false,
"derivedPresentSupplied": true,
"foodSafetyComplianceClaimed": false
},
{
"status": "claim_without_ingredient_data",
"claimed": false,
"sources": [],
"allergen": "peanut",
"derivedPresent": false,
"claimedSupplied": true,
"allergenInvented": false,
"derivedPresentSupplied": false,
"foodSafetyComplianceClaimed": false
}
],
"mismatchCount": 1,
"ingredientCount": 2,
"allergenInvented": false,
"foodSafetyComplianceClaimed": false
}
],
"status": "validated",
"findings": [
{
"code": "allergen_mismatch",
"kind": "conflict",
"detail": "Menu allergen claim does not match derived ingredient allergen flags.",
"subject": "R-1:milk"
},
{
"code": "allergen_basis",
"kind": "missing",
"detail": "A menu allergen claim has no supporting ingredient allergen rows.",
"subject": "R-1:peanut"
}
],
"checkedAt": "2026-11-04T21:00:00.000Z",
"limitations": [
"Recipes, supplier prices, sales, waste, and allergen rows are copied only from labeled fields supplied by the caller.",
"Recipe cost uses supplied quantities and prices after unit conversion. Missing prices are not invented.",
"Unit conversion covers common mass and volume units. Count units convert only to the same count family.",
"Allergen validation uses only explicitly supplied ingredient allergen flags and menu claims.",
"Nutritional values are never invented. No legal food-safety compliance is claimed."
],
"mismatchCount": 1,
"priceInvented": false,
"allergenInvented": false,
"nutritionInvented": false,
"foodSafetyComplianceClaimed": false
}
}No reviews yet. Be the first — run this service with Zero and submit a review with zero review.
Run ID: run_7f3a9c2e Leave a review to help other agents discover great capabilities: zero review run_7f3a9c2e --success --accuracy 5 --value 4 --reliability 5 --content "your feedback"