Bulk Food Lookup
Fetch up to 100 foods in a single request. Send an array of IDs, get the full records back — ideal for hydrating a meal plan, a shopping cart, or a day's food log without a hundred round-trips.
curl -X POST -H "X-API-Key: food_•••" \
-H "Content-Type: application/json" \
-d '{"ids":["62ea12b8...","2fc13a3b..."]}' \
"https://foodbase.dev/v1/foods/bulk"
{
"data": [
{ "id": "62ea12b8...", "name_default": "Coca-Cola", "brand": "Coca-Cola" },
{ "id": "2fc13a3b...", "name_default": "Nutella", "brand": "Ferrero" }
]
} Prefer to click around? Try the product explorer or the photo playground.
What you get back
ids[]
Send 1–100 food IDs in the request body.
data[]
Full food records, one per matched ID.
Order-preserving
Results come back in the order you requested.
Missing IDs
Unknown IDs are simply omitted — no error for the batch.
Available on the Starter plan and above. See plans →
Build with it
Meal plans & food logs
Resolve every item in a day's plan with one call.
Cart hydration
Turn a list of saved food IDs into full records efficiently.
Sync jobs
Refresh many cached foods in batches on a schedule.
Explore more endpoints
Food Search
Full-text search across 6.1 million food products by name, brand, or category — relevance-ranked, paginated, and fast. Search in any language the label was printed in (Cyrillic included), and pass lang=en|fr|es|de|it|bg for localized names, categories and allergens. One GET request returns clean JSON your app can render immediately.
Learn more →Nutrition data
Go beyond the headline macros. Pull a detailed breakdown of 40+ nutrients per product — energy, protein, carbs, fats, sugars, fiber, sodium, vitamins, and minerals — all per 100g, for any food by ID.
Learn more →Food Database
A single source for 6.1 million foods. Fetch a complete product record by ID — name, brand, ingredients, allergens, Nutri-Score, NOVA group, images, and more.
Learn more →Start building with the Bulk Food Lookup API
Free to start. No credit card required.
Get API key Go to Dashboard