# Saylor Innovations Packaged Food Allergen Lookup

> Saylor Innovations Packaged Food Allergen Lookup is a paid API for AI agents from saylorinnovations.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-17).

Returns allergen declarations, may-contain traces, and ingredient text for a packaged food product identified by barcode, sourced from Open Food Facts

## Facts

- Endpoint: GET https://saylorinnovations.com/api/allergens/product?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-17
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/saylor-innovations-packaged-food-allergen-lookup-393d1b70
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_R-_cYY2QUQ494IrRqnHDW

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 saylor-innovations-packaged-food-allergen-lookup-393d1b70
```

Example prompt: Can you check what allergens are declared on this product and whether it may contain traces of peanuts or tree nuts? The barcode is 3017620422003.

## When to prefer this

Choose this endpoint when you need structured allergen and may-contain declarations for a packaged food product identified by barcode, especially for allergy safety checks, dietary compliance validation, or ingredient transparency workflows. It is ideal when you already have the product's GTIN/EAN/UPC barcode and need a fast, low-cost ($0.01) lookup rather than scraping retailer pages. Prefer it over generic nutrition APIs when the specific focus is allergen and trace declarations rather than macronutrient data.

## Known failure modes

- Product not found in Open Food Facts database (found: false) — barcode may be regional or unlisted
- Invalid barcode format — must be 8–14 digit GTIN/EAN/UPC
- Incomplete allergen data — completeness_warning field will flag missing declarations
- Open Food Facts data may be community-contributed and outdated, leading to stale or inaccurate allergen info
- Barcode belongs to a product variant not present in the database

## How this service works

Packaged-food allergen and may-contain declarations by barcode, with ingredients (Open Food Facts)

## Output

A JSON object containing: a boolean indicating if the product was found, the barcode, arrays of declared allergens and may-contain trace allergens, the raw ingredients text, raw allergen declaration text, raw traces text, product name, brand, quantity, countries sold in, data source (Open Food Facts), last modified date, a completeness warning noting any data gaps, and the data license identifier.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "barcode"
     ],
     "properties": {
      "barcode": {
       "type": "string",
       "description": "required GTIN/EAN/UPC barcode, 8-14 digits (query)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "json"
    },
    "example": {
     "type": "object",
     "required": [
      "found",
      "barcode",
      "declared_allergens",
      "may_contain_traces",
      "completeness_warning",
      "license"
     ],
     "properties": {
      "name": {
       "type": [
        "string",
        "null"
       ],
       "description": "Name"
      },
      "found": {
       "type": "boolean",
       "description": "True when the lookup matched a record"
      },
      "brands": {
       "type": [
        "string",
        "null"
       ],
       "description": "Brands"
      },
      "labels": {
       "type": "array",
       "items": {
        "type": "string"
       }
      },
      "source": {
       "type": "string",
       "description": "Data source the values come from"
      },
      "barcode": {
       "type": "string"
      },
      "license": {
       "type": "string",
       "description": "License identifier"
      },
      "quantity": {
       "type": [
        "string",
        "null"
       ],
       "description": "Quantity"
      },
      "countries": {
       "type": "array",
       "items": {
        "type": "string"
       },
       "description": "Countries"
      },
      "traces_text": {
       "type": [
        "string",
        "null"
       ],
       "description": "Traces text"
      },
      "last_modified": {
       "type": [
        "string",
        "null"
       ],
       "description": "Last modified"
      },
      "ingredients_text": {
       "type": [
        "string",
        "null"
       ],
       "description": "Ingredients text"
      },
      "declared_allergens": {
       "type": "array",
       "items": {
        "type": "stri
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/saylor-innovations-packaged-food-allergen-lookup-393d1b70/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from saylorinnovations.com](https://www.zero.xyz/host/saylorinnovations.com/llms.txt)
