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.
curl -H "X-API-Key: food_•••" \
"https://foodbase.dev/v1/foods/search?q=banana&limit=20"
{
"data": [
{
"id": "62ea12b8-b260-c288-5c38-3a4906f5d6dd",
"name_default": "Banana",
"brand": null,
"barcode": "4011",
"category": "Fruits"
}
],
"total": 1342,
"limit": 20,
"offset": 0
} Prefer to click around? Try the product explorer or the photo playground.
What you get back
id
Stable food ID — use it with the other endpoints.
name_default
Product name in its primary language.
name_localized / category_localized
Translations in the requested lang (en, fr, es, de, it, bg) where available — original text otherwise.
brand
Brand / manufacturer when known.
barcode
EAN-13 / UPC barcode when available.
category
Top-level food category.
total / limit / offset
Pagination metadata for the full result set.
Included on the free plan — 100 requests/day, no credit card required. See plans →
Build with it
Food pickers & autocomplete
Power a search box in a calorie tracker or recipe app — type-ahead results from 6.1M products.
Catalog enrichment
Match your own SKUs to canonical food records by name or brand.
Discovery feeds
Browse by category or keyword to build curated food lists.
Explore more endpoints
Barcode Lookup
Scan or type a barcode, get the product. Resolve any EAN-13 or UPC code to a food record — brand, category, Nutri-Score, and a nutrition summary — in a single request. Built for scanner-based apps.
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 →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 →Start building with the Food Search API
Free to start. No credit card required.
Get API key Go to Dashboard