# Synapse Food Nutrition Lookup

> Synapse Food Nutrition Lookup is a paid API for AI agents from anibalb.duckdns.org, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-31).

Looks up nutritional data (calories, proteins, nutriscore) for a food product by barcode or name

## Facts

- Endpoint: GET https://anibalb.duckdns.org/x402/food-nutrition?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-31
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/synapse-food-nutrition-lookup-978627df
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_DHqMBEvs_zGwt1L4vce-d

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 synapse-food-nutrition-lookup-978627df
```

Example prompt: What are the nutritional details for Thai Kitchen Rice Noodles — calories, protein, and nutriscore?

## When to prefer this

Use this endpoint when you need quick, pay-per-call nutritional lookups for packaged food products without API key setup. Ideal for agents handling meal logging, grocery comparison, or dietary analysis that need calorie, protein, and nutriscore data from a broad food product catalog.

## Known failure modes

- Product not found in database — returns empty or 404-style response
- Invalid or unrecognized barcode — no match returned
- Missing query parameter — returns schema validation error
- Service unavailable or payment failure — 402 or 5xx response

## How this service works

Public data and utility APIs paid per call in USDC on Base (x402). No accounts, no API keys. 174 routes: crypto/equity data, onchain reads, DNS/email/security intel, geo/weather, x402 payment diagnostics, dev utilities and more.

## Output

Returns a JSON object with the product's EAN barcode, brand names, product name, calories per 100g, protein per 100g, and nutriscore grade (letter a–e).

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "code": "0737628064502",
  "brands": "Simply Asia, Thai Kitchen",
  "product_name": "Thai Kitchen Rice Noodles",
  "calories_100g": 357,
  "proteins_100g": 7.9,
  "nutriscore_grade": "c"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/synapse-food-nutrition-lookup-978627df/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from anibalb.duckdns.org](https://www.zero.xyz/host/anibalb.duckdns.org/llms.txt)
