Free plan

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.

200 OK
GET /v1/foods/search?q=banana
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.

Start building with the Food Search API

Free to start. No credit card required.

Get API key Go to Dashboard