Free plan

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.

200 OK
GET /v1/categories
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.

Start building with the Food Categories API

Free to start. No credit card required.

Get API key Go to Dashboard