Catalog/petfood-by-barcode

Data

Pet-food product lookup (Open Pet Food Facts) API

Looks up a pet-food product by barcode on Open Pet Food Facts and returns a normalized record with ingredients, additives, labels, and the pet-food-specific ANALYTICAL CONSTITUENTS per 100g (crude protein / fat / fibre / ash / moisture / calcium) — the labelling pets foods use instead of human nutrition facts. The MORE: a clean schema mapping the pet-food-specific nutriment keys an agent would otherwise have to know by heart. Distinct from food/beauty endpoints. Answers 'ingredients in this pet food barcode', 'crude protein in this dog food', 'what is in this cat food', 'analytical constituents for this pet food'.

Price$0.01per request
MethodPOST
Route/v1/data/petfood-by-barcode
StatusLive
MIME typeapplication/json
Rate limit60/minute
Cache86400s public
datapetfoodpetbarcodeingredientsopenpetfoodfactsanalytical-constituentsdog-cat
API URLhttps://x402.hexl.dev/v1/data/petfood-by-barcode
Integration docs
Example request
{
  "barcode": "5010394133852"
}
Example response
{
  "barcode": "5010394133852",
  "name": "pedigree biscotti multi mix",
  "brand": "PEDIGREE",
  "quantity": "500g",
  "categories": [],
  "ingredients": "Cereali, carni e derivati (di cui 1% di pollo nel biscotto bianco, 1% di manzo nel biscotto marrone e 1% di agnello nel biscotto rosso), sottoprodotti di origine vegetale, oli e grassi, sostanze minerali.",
  "ingredientCount": 7,
  "additives": [],
  "analyticalConstituentsPer100g": {
    "crudeProtein": 14,
    "crudeFat": 8,
    "crudeFibre": 2,
    "crudeAsh": 6,
    "moisture": null,
    "calcium": 0.0013
  },
  "labels": [
    "Punto Verde",
    "Sin aromas artificiales"
  ]
}
Input schema
{
  "type": "object",
  "required": [
    "barcode"
  ],
  "properties": {
    "barcode": {
      "type": "string",
      "pattern": "^\\d{6,14}$",
      "description": "Pet-food product barcode (EAN/UPC)."
    }
  }
}
Output schema
{
  "type": "object",
  "additionalProperties": true
}