Search and screen the catalog
Combine twelve filters, such as allergen, trace, ingredient, nutrient, and brand, to search more than 850,000 branded products. Results are full product records with ingredients, serving sizes, and nutrients.
Twelve filters, combined
Send at least two filters per call. A product must match every filter you send, so each one narrows the results. Matching is by name: the nutrient filter finds products that contain the nutrient you name, and there are no amount ranges.
- Allergen
- Trace
- Ingredient
- Nutrient
- Mineral
- Vitamin
- Palm oil
- Brand
- Category
- Country
- Diet
- Keyword
Results are full product records, ten per page, in the same shape barcode lookup returns. Use the page parameter for the next ten.
A keyword search with a diet filter: one result, shortened
GET /api/v2/food/branded/search.php?keyword=chutney&diet=Vegan
{
"items": [
{
"barcode": "0854416003038",
"name": "All Natural & Vegan Basil Peach Raisin Chutney",
"brand": "HerbNZest LLC",
"serving": { "size": 18, "measurement_unit": "g", "size_fulltext": "1 Tbsp" },
"ingredients": "PEACHES, BROWN CANE SUGAR, DARK BROWN RAISINS, WATER, APPLE CIDER VINEGAR, FRESH BASIL, FRUIT PECTIN, SPICES, PAPRIKA.",
"nutrients": [ // 3 of 13 shown, per 100 g
{ "name": "Energy", "per_100g": 83, "measurement_unit": "KCAL" },
{ "name": "Carbohydrate, by difference", "per_100g": 22.22, "measurement_unit": "G" },
{ "name": "Sugars, total including NLEA", "per_100g": 16.67, "measurement_unit": "G" }
]
}
]
}
Test it on your own products
- Read the advanced search reference for all twelve filters and the Try It form.
- Download the sample file and check its fields against what your app displays.
- Work through the guides for building a browse screen filtered by diet.
- To run your real filter combinations against the live API, start a free trial on Standard or Premium.
Standard or Premium
Advanced search needs Standard or Premium. The difference that matters for search is the pace, not the price.
Standard
$25 a month plus $0.001 per request, at 100 requests a minute. Each search endpoint (name, advanced, ingredient) accepts one search every 10 seconds, which limits a product that searches heavily.
Premium
$299 a month, no per-request fees, plus a per-user fee on your monthly active users. No search pace and no rate limit, within fair use.
On price alone, Standard's metered total reaches Premium's $299 base at about 274,000 requests a month. If users will type into your search, run your trial on Premium. Both start with a 5-day free trial, and a card is required.
Common questions
What does Premium need from our users?
One user_id per end user: an internal ID or a hashed string, never personal data and never the same string for everyone. It is used only to count monthly active users for billing. If your integration is server-side with no end users, send one fixed ID; it counts as one user.
Can a filter find products free of an allergen?
No. The allergen filter finds products that carry the allergen you name, as declared on each product's source label. There is no exclusion filter. To screen by diet, use the diet filter, which matches products at compatibility level 2 (compatible) and level 1 (compatible with caution) for Vegan, Vegetarian, and Gluten-Free. The barcode lookup page defines the levels.