Food Categories
Browse every food category with its product count — the backbone for filters, facets, and navigation. Paginated JSON over the full catalog, served from a precomputed view so it stays fast.
curl -H "X-API-Key: food_•••" \
"https://foodbase.dev/v1/categories"
{
"data": [
{ "category": "Beverages", "product_count": 142853 },
{ "category": "Snacks", "product_count": 98211 },
{ "category": "Dairy", "product_count": 76540 }
],
"total": 306609
} Prefer to click around? Try the product explorer or the photo playground.
What you get back
category
The category name.
product_count
How many products fall under it.
total
Number of distinct categories.
Filter-ready
Combine with search to scope results by category.
Included on the free plan — 100 requests/day, no credit card required. See plans →
Build with it
Filters & facets
Render category navigation with live product counts.
Catalog overviews
Show users the shape of the dataset before they search.
Analytics dashboards
Chart how products distribute across categories.
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 →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 Food Categories API
Free to start. No credit card required.
Get API key Go to Dashboard