Skip to content
Fourohtwo

Ingredient nutrition facts API

horizonpulse.dev/api/grocery/ingredient

Ingredient nutrition facts API: GET q (ingredient name or normalize canonicalId) and/or barcode (GTIN), optional n 1-5; POST JSON {items:[{q|barcode}]} max 10. Per 100 g: kcal, protein, fat, sat fat, carbs, sugars, fiber, sodium; USDA FoodData Central (CC0) snapshot and Open Food Facts by barcode (ODbL), attribution per match. Allergens may be incomplete. No prices. Bad input, no match or source d

SolanaAnswering
GEThttps://horizonpulse.dev/api/grocery/ingredient

Uptime100% of 2 checks in 30 days

30 days agoToday

Call it from an agent

curl -i "https://horizonpulse.dev/api/grocery/ingredient?n=2&q=all-purpose+flour"

# 402 Payment Required comes back with the price and where to pay.
# Any x402 client pays and retries.

Example input

{
  "n": "2",
  "q": "all-purpose flour"
}