Pro plan

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.

200 OK
GET /v1/foods/{id}/nutrients
curl -H "X-API-Key: food_•••" \
  "https://foodbase.dev/v1/foods/62ea12b8.../nutrients"

{
  "energy_kcal": 42,
  "proteins_g": 0,
  "carbs_g": 10.6,
  "sugars_g": 10.6,
  "fat_g": 0,
  "saturated_fat_g": 0,
  "fiber_g": 0,
  "sodium_mg": 4,
  "calcium_mg": 0,
  "potassium_mg": 0
}

Prefer to click around? Try the product explorer or the photo playground.

What you get back

Macros

Energy, protein, carbs, sugars, fat, saturated fat, fiber.

Minerals

Sodium, calcium, iron, potassium, magnesium, zinc, and more.

Vitamins

A, C, D, E, and the B-vitamins where reported.

Per 100g

Consistent basis so you can scale to any serving size.

40+ fields

One object with every nutrient the source data provides.

Available on the Pro plan and above. See plans →

Build with it

Calorie & macro trackers

Log accurate per-serving nutrition from a single lookup.

Meal planning & diets

Build plans that hit macro and micronutrient targets.

Health & clinical tools

Surface detailed nutrient profiles for dietary guidance.

Start building with the Nutrition data API

Free to start. No credit card required.

Get API key Go to Dashboard