Firecrawl Alexandria

USDA FoodData Central (fdc.nal.usda.gov)

USDA Agricultural Research Service FoodData Central: the authoritative US food-composition database (Foundation Foods, SR Legacy, Survey/FNDDS, Branded Foods, Experimental Foods). Food search and listing by data type, the complete nutrient record of one food (per 100 g values, data points, min/max/median, derivation, portions, conversion factors, brand and label data), nutrient-centric search (which foods carry a given nutrient such as biotin, chromium, molybdenum or an amino acid, ranked by amount), the nutrient reference list and the food-category lists. Anonymous JSON backend of the public web portal; public-domain data (CC0 1.0).

7 Firecrawl tools use USDA FoodData Central (fdc.nal.usda.gov)

Try USDA FoodData Central (fdc.nal.usda.gov) now.

Choose an example or ask your own question.

USDA FoodData Central (fdc.nal.usda.gov)
TRY ASKING
1Request
numberRequired

FoodData Central nutrient id (from `list_nutrients`): 1176 Biotin, 1096 Chromium, 1102 Molybdenum, 1100 Iodine, 1210 Tryptophan, 1003 Protein, 1051 Water.

string[]

Restrict to these data types; omitted means all. Separate values with commas.

number

page

number

page_size

5 credits
Codefollows the fields above
const result = await firecrawl.scrape({
  alexandria: {
    provider: "fdc-nal-usda-gov",
    capability: "foods/search_foods_by_nutrient",
    options: {
      data_types: [
        "Foundation",
      ],
      nutrient_id: 1176,
    },
  },
});
2Response example

This is a sample shape. Press Run to see live data from USDA FoodData Central (fdc.nal.usda.gov).

{
  "counts_by_data_type": {
    "Branded": 1289,
    "Foundation": 122
  },
  "data_types": [
    "Foundation"
  ],
  "nutrient": {
    "id": 1176,
    "name": "Biotin",
    "number": "416",
    "unit": "µg"
  },
  "observed_at_ms": 1791014882278,
  "page": 1,
  "page_size": 25,
  "results": [
    {
      "data_type": "Foundation",
      "description": "Sorghum bran, white, unenriched, dry, raw",
      "fdc_id": 2710839,
      "food_weight": 45,
      "identifier": "100365",
      "identifier_type": "NDB #",
      "measure": "1 RACC",
      "measure_value": 49,
      "url": "https://fdc.nal.usda.gov/food-details/2710839/nutrients",
      "value": 109
    },
    {
      "data_type": "Foundation",
      "description": "Peanut butter, creamy",
      "fdc_id": 2262072,
      "food_weight": 100,
      "identifier": "16098",
      "identifier_type": "NDB #",
      "measure": "100 g",
      "measure_value": 87.8,
      "url": "https://fdc.nal.usda.gov/food-details/2262072/nutrients",
      "value": 87.8
    },
    {
      "data_type": "Foundation",
      "description": "Flour, almond",
      "fdc_id": 2261420,
      "food_weight": 15,
      "identifier": "100273",
      "identifier_type": "NDB #",
      "measure": "1 RACC",
      "measure_value": 10.4,
      "url": "https://fdc.nal.usda.gov/food-details/2261420/nutrients",
      "value": 69.1
    },
    {
      "data_type": "Foundation",
      "description": "Almond butter, creamy",
      "fdc_id": 2262074,
      "food_weight": 100,
      "identifier": "12195",
      "identifier_type": "NDB #",
      "measure": "100 g",
      "measure_value": 57.3,
      "url": "https://fdc.nal.usda.gov/food-details/2262074/nutrients",
      "value": 57.3
    },
    {
      "data_type": "Foundation",
      "description": "Nuts, almonds, whole, raw",
      "fdc_id": 2346393,
      "food_weight": 30,
      "identifier": "12061",
      "identifier_type": "NDB #",
      "measure": "1 RACC",
      "measure_value": 17.1,
      "url": "https://fdc.nal.usda.gov/food-details/2346393/nutrients",
      "value": 57
    },
    {
      "data_type": "Foundation",
      "description": "Eggs, Grade A, Large, egg yolk",
      "fdc_id": 748236,
      "food_weight": 17,
      "identifier": "1125",
      "identifier_type": "NDB #",
      "measure": "1 egg, yolk",
      "measure_value": 7.8,
      "url": "https://fdc.nal.usda.gov/food-details/748236/nutrients",
      "value": 45.9
    },
    {
      "data_type": "Foundation",
      "description": "Flaxseed, ground",
      "fdc_id": 2262075,
      "food_weight": 15,
      "identifier": "12220",
      "identifier_type": "NDB #",
      "measure": "1 RACC",
      "measure_value": 5.07,
      "url": "https://fdc.nal.usda.gov/food-details/2262075/nutrients",
      "value": 33.8
    },
    {
      "data_type": "Foundation",
      "description": "Mushroom, maitake",
      "fdc_id": 2003602,
      "food_weight": 85,
      "identifier": "11993",
      "identifier_type": "NDB #",
      "measure": "1 RACC",
      "measure_value": 27.7,
      "url": "https://fdc.nal.usda.gov/food-details/2003602/nutrients",
      "value": 32.6
    },
    {
      "data_type": "Foundation",
      "description": "Flour, quinoa",
      "fdc_id": 2512372,
      "food_weight": 30,
      "identifier": "100288",
      "identifier_type": "NDB #",
      "measure": "1 RACC",
      "measure_value": 7.88,
      "url": "https://fdc.nal.usda.gov/food-details/2512372/nutrients",
      "value": 26.2
    },
    {
      "data_type": "Foundation",
      "description": "Sorghum, whole grain, white, dry, raw",
      "fdc_id": 2710842,
      "food_weight": 45,
      "identifier": "100368",
      "identifier_type": "NDB #",
      "measure": "1 RACC",
      "measure_value": 11.7,
      "url": "https://fdc.nal.usda.gov/food-details/2710842/nutrients",
      "value": 26.1
    },
    {
      "data_type": "Foundation",
      "description": "Flour, amaranth",
      "fdc_id": 2512371,
      "food_weight": 30,
      "identifier": "100287",
      "identifier_type": "NDB #",
      "measure": "1 RACC",
      "measure_value": 7.61,
      "url": "https://fdc.nal.usda.gov/food-details/2512371/nutrients",
      "value": 25.4
    },
    {
      "data_type": "Foundation",
      "description": "Flour, sorghum",
      "fdc_id": 2512373,
      "food_weight": 45,
      "identifier": "100289",
      "identifier_type": "NDB #",
      "measure": "1 RACC",
      "measure_value": 10.9,
      "url": "https://fdc.nal.usda.gov/food-details/2512373/nutrients",
      "value": 24.2
    },
    {
      "data_type": "Foundation",
      "description": "Nuts, pecans, halves, raw",
      "fdc_id": 2346395,
      "food_weight": 30,
      "identifier": "12142",
      "identifier_type": "NDB #",
      "measure": "1 RACC",
      "measure_value": 6.8,
      "url": "https://fdc.nal.usda.gov/food-details/2346395/nutrients",
      "value": 22.7
    },
    {
      "data_type": "Foundation",
      "description": "Oats, whole grain, steel cut",
      "fdc_id": 2346397,
      "food_weight": 40,
      "identifier": "100282",
      "identifier_type": "NDB #",
      "measure": "1 RACC",
      "measure_value": 8.8,
      "url": "https://fdc.nal.usda.gov/food-details/2346397/nutrients",
      "value": 22
    },
    {
      "data_type": "Foundation",
      "description": "Oats, whole grain, rolled, old fashioned",
      "fdc_id": 2346396,
      "food_weight": 40,
      "identifier": "20038",
      "identifier_type": "NDB #",
      "measure": "1 RACC",
      "measure_value": 8.76,
      "url": "https://fdc.nal.usda.gov/food-details/2346396/nutrients",
      "value": 21.9
    },
    {
      "data_type": "Foundation",
      "description": "Flour, oat, whole grain",
      "fdc_id": 2261421,
      "food_weight": 30,
      "identifier": "100274",
      "identifier_type": "NDB #",
      "measure": "1 RACC",
      "measure_value": 6.04,
      "url": "https://fdc.nal.usda.gov/food-details/2261421/nutrients",
      "value": 20.2
    },
    {
      "data_type": "Foundation",
      "description": "Buckwheat, whole grain",
      "fdc_id": 2512378,
      "food_weight": 100,
      "identifier": "20008",
      "identifier_type": "NDB #",
      "measure": "100 g",
      "measure_value": 18.6,
      "url": "https://fdc.nal.usda.gov/food-details/2512378/nutrients",
      "value": 18.6
    },
    {
      "data_type": "Foundation",
      "description": "Nuts, walnuts, English, halves, raw",
      "fdc_id": 2346394,
      "food_weight": 30,
      "identifier": "12155",
      "identifier_type": "NDB #",
      "measure": "1 RACC",
      "measure_value": 5.18,
      "url": "https://fdc.nal.usda.gov/food-details/2346394/nutrients",
      "value": 17.3
    },
    {
      "data_type": "Foundation",
      "description": "Mushroom, lion's mane",
      "fdc_id": 1999626,
      "food_weight": 85,
      "identifier": "100259",
      "identifier_type": "NDB #",
      "measure": "1 RACC",
      "measure_value": 14.4,
      "url": "https://fdc.nal.usda.gov/food-details/1999626/nutrients",
      "value": 16.9
    },
    {
      "data_type": "Foundation",
      "description": "Mushroom, pioppini",
      "fdc_id": 2003604,
      "food_weight": 85,
      "identifier": "100265",
      "identifier_type": "NDB #",
      "measure": "1 RACC",
      "measure_value": 13,
      "url": "https://fdc.nal.usda.gov/food-details/2003604/nutrients",
      "value": 15.3
    },
    {
      "data_type": "Foundation",
      "description": "Flour, buckwheat",
      "fdc_id": 2512374,
      "food_weight": 30,
      "identifier": "20011",
      "identifier_type": "NDB #",
      "measure": "1 RACC",
      "measure_value": 4.53,
      "url": "https://fdc.nal.usda.gov/food-details/2512374/nutrients",
      "value": 15.1
    },
    {
      "data_type": "Foundation",
      "description": "Chia seeds, dry, raw",
      "fdc_id": 2710819,
      "food_weight": 45,
      "identifier": "12006",
      "identifier_type": "NDB #",
      "measure": "1 RACC",
      "measure_value": 6.53,
      "url": "https://fdc.nal.usda.gov/food-details/2710819/nutrients",
      "value": 14.5
    },
    {
      "data_type": "Foundation",
      "description": "Sesame butter, creamy",
      "fdc_id": 2262073,
      "food_weight": 100,
      "identifier": "100271",
      "identifier_type": "NDB #",
      "measure": "100 g",
      "measure_value": 13.3,
      "url": "https://fdc.nal.usda.gov/food-details/2262073/nutrients",
      "value": 13.3
    },
    {
      "data_type": "Foundation",
      "description": "Nuts, pine nuts, raw",
      "fdc_id": 2346392,
      "food_weight": 30,
      "identifier": "12147",
      "identifier_type": "NDB #",
      "measure": "1 RACC",
      "measure_value": 3.87,
      "url": "https://fdc.nal.usda.gov/food-details/2346392/nutrients",
      "value": 12.9
    },
    {
      "data_type": "Foundation",
      "description": "Mushroom, crimini",
      "fdc_id": 2003601,
      "food_weight": 85,
      "identifier": "11266",
      "identifier_type": "NDB #",
      "measure": "1 RACC",
      "measure_value": 10.7,
      "url": "https://fdc.nal.usda.gov/food-details/2003601/nutrients",
      "value": 12.6
    }
  ],
  "source_url": "https://fdc.nal.usda.gov/portal-data/external/nutrientList/search",
  "total_hits": 122,
  "total_pages": 5
}

Firecrawl tools

7

Ready-made Firecrawl tools that call USDA FoodData Central (fdc.nal.usda.gov).

Quality, speed and cost, last 24 hours, across every agent call to USDA FoodData Central (fdc.nal.usda.gov) through Alexandria.

Quality
96.2%
Calls answered without a tool error
Speed
717 ms
95% of successful calls finish faster
Cost
5 credits
Firecrawl credits per call
Calls
132
Last 24 hours, every Alexandria user
Quality and speed of each tool, last 24 hours
ToolQualitySpeedCalls
Search foods95.5%505 ms88
Get food97.7%1.2 s43
Browse the library
//
Get started
//
Give your agent USDA FoodData Central (fdc.nal.usda.gov).
One API key for the live web and every provider in Alexandria.
Are you an AI agent? See setup options