/food namespace · APlicious

Nutrition API — USDA-sourced calorie, macro, and micronutrient data

Search and look up nutrition data for 13,500+ foods from a USDA-sourced database we own and operate — no runtime calls to USDA, no third-party billing, full macro and micronutrient profiles.

9food endpoints
Get free API key View docs
GET /api/v1/food/nutrient-info
const res = await fetch(
  'https://aplicious.com/api/v1/food/nutrient-info?fdc_id=2705954',
  { headers: { 'X-API-Key': 'lapi_live_••••' } }
);
const { data } = await res.json();
// { name: "Chicken, broilers or fryers, breast, meat only, cooked, roasted",
//   calories: 165, protein_g: 31, carbs_g: 0, fat_g: 3.6,
//   vitamins: { b12_mcg: 0.34, d_iu: 4 } }

No credit card · Free to start · X-API-Key header auth

What's included in /food

Full macros and micros

Calories, protein, carbs, fat, fiber, and full micronutrient panels including 40+ vitamins and minerals.

Sugar breakdown

GET /food/sugar-breakdown for total sugar, added sugar, and fiber — useful for diabetic-friendly app features.

Vitamin and mineral profiles

Separate endpoints for /food/vitamin-profile and /food/mineral-profile — each returns a complete panel for a food item.

Top foods by nutrient

GET /food/top-by-nutrient?nutrient=protein&limit=10 for a ranked list — great for 'high protein foods' features.

Meal nutrition totals

POST /food/meal-nutrition with a list of fdc_ids and gram weights to get a combined nutrition total for a meal.

Start using the nutrition API free today

Free tier — 250 calls/month, no credit card. Upgrade when you need more.

Get free API keyExplore /food docs

Frequently asked questions

What is an fdc_id?

The USDA FoodData Central identifier for a specific food item. Search for it first with /food/search?query=chicken to get the fdc_id.

Does this include micronutrients?

Yes — /food/vitamin-profile and /food/mineral-profile return separate comprehensive panels for every food item.

Can I calculate nutrition for a whole meal?

Yes — POST /food/meal-nutrition with an array of {fdc_id, grams} objects to get totals for the full meal.

Related API guides

Food Database API — USDA-Sourced Nutrient Data, 13,500+ Foods

Search 13,500+ foods and get full nutrient profiles from an owned database inges

Read guide

Recipe API — Ingredients, Nutrition, Meal Plans, Free

Free recipe REST API. Search recipes by ingredient, dietary restriction, or cuis

Read guide

BMI Calculator API — Metric & Imperial, Classification, Free

Calculate BMI via REST API. Pass weight, height, and unit (metric/imperial) — ge

Read guide

One key unlocks all 10 namespaces — finance, legal, property, jobs, wellness, and more.

View all plans and pricing →