Skip to content

USDA API: Get nutrition facts

Looks up a food in USDA FoodData Central and returns its nutrients per 100 g and for a chosen amount (grams, ounces, or a listed household portion).

fdc.nal.usda.gov (opens in a new tab)Version 1ReadNo sign-inVerified Nov 2, 2026

Unofficial. Not affiliated with or endorsed by USDA.

Inputs

Values from the run on Oct 23, 2026, shown under Output.

Food, requiredfood

Food in plain words, for example banana or cooked brown rice.

cooked brown rice

Amount optionalamount

Amount to calculate, for example 1 cup, 150 g, or 2 large. Defaults to 100 g.

1 cup

Default 100 g.

Output

From a run on Oct 23, 2026.
{  "fdc_id": 169704,  "page_link": "https://fdc.nal.usda.gov/food-details/169704/nutrients",  "per_100_g": {    "fiber_g": 1.6,    "iron_mg": 0.56,    "sugars_g": 0.24,    "protein_g": 2.74,    "sodium_mg": 4,    "calcium_mg": 3,    "total_fat_g": 0.97,    "potassium_mg": 86,    "vitamin_c_mg": 0,    "vitamin_d_ug": 0,    "calories_kcal": 123,    "cholesterol_mg": 0,    "carbohydrates_g": 25.6,    "saturated_fat_g": 0.26  },  "per_amount": {    "fiber_g": 3.232,    "iron_mg": 1.1312,    "sugars_g": 0.4848,    "protein_g": 5.5348,    "sodium_mg": 8.08,    "calcium_mg": 6.06,    "total_fat_g": 1.9594,    "potassium_mg": 173.72,    "vitamin_c_mg": 0,    "vitamin_d_ug": 0,    "calories_kcal": 248.46,    "cholesterol_mg": 0,    "carbohydrates_g": 51.712,    "saturated_fat_g": 0.5252  },  "amount_used": "1 cup",  "amount_weight_g": 202,  "data_source_type": "SR Legacy",  "matched_food_name": "Rice, brown, long-grain, cooked (Includes foods for USDA's Food Distribution Program)"}
Price
1 credit per completed run (1¢ with pay as you go); failed runs are free.
Method
fdc.nal.usda.gov/get_nutrition_facts
Returns
matched food name, amount weight, nutrients per 100 g and per amount, page link, FDC id, data source type

Use it from your agent

Give your agent this line. It reads SKILL.md, gets a Fous API key and connects the Fous MCP server. Its run then takes the method fdc.nal.usda.gov/get_nutrition_facts with the inputs above.

Ask your agent

  • How many calories and protein are in 150 g of cooked brown rice?
  • Nutrition breakdown for one medium banana, per 100 g and per banana
  • What's the sodium and fiber content of 2 ounces of raw spinach?
  • Look up the USDA nutrient profile for 1 cup of rolled oats
  • Protein, fat, and carbs in 3 large eggs according to USDA FoodData Central
  • Searches USDA FoodData Central foods and branded products by food or brand name, ranked by relevance. Calories and serving sizes are null when not supplied.

    fdc.nal.usda.gov/search_foods
  • Looks up a McDonald's menu item by name on the US, UK or Canada site and returns its nutrition, allergens, ingredients and photo link.

    mcdonalds.com/get_menu_item_nutrition
  • Searches Open Food Facts packaged foods by name, optionally filtered by diet, country where sold and brand, ordered by popularity (most scanned first).

    openfoodfacts.org/search_products
  • Looks up a packaged food by barcode or by product name and brand, returning ingredients, allergens, Nutri-Score, NOVA processing level and nutrition from Open Food Facts.

    openfoodfacts.org/get_product
  • Finds FDA food recall enforcement reports by product, brand, or allergen, newest first. Reports are updated weekly and recall statuses may lag.

    open.fda.gov/search_food_recalls
  • Search ALDI US groceries in site order with prices for the selected store. Prices and availability vary by store; related search results may follow direct matches.

    aldi.us/search_products
  • Finds food businesses by name and town, street or postcode and returns their official food hygiene rating, inspection date and score descriptions. Scottish ratings usually have no component scores.

    ratings.food.gov.uk/get_hygiene_rating
  • Looks up a chemical on PubChem by common name or CAS number and returns its formula, molecular weight, names, description, SMILES, InChIKey and 2D structure image link.

    pubchem.ncbi.nlm.nih.gov/get_chemical