Firecrawl Alexandria

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

1Request
number

FoodData Central id (e.g. 328637 Cheese, cheddar; 2705709 Survey cheddar; 2672832 a Branded cracker). Give either fdc_id or url.

string

A food page URL such as https://fdc.nal.usda.gov/food-details/328637/nutrients.

5 credits
Codefollows the fields above
const result = await firecrawl.scrape({
  alexandria: {
    provider: "fdc-nal-usda-gov",
    capability: "foods/get_food",
    options: {
      fdc_id: 2705709,
    },
  },
});
2Response example

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

Long values are shortened in this preview. The full response is 29 KB.

{
  "attributes": [
    {
      "name": "WWEIA Category description",
      "value": "Cheese"
    },
    {
      "name": "WWEIA Category number",
      "value": "1602"
    },
    {
      "name": null,
      "value": "Wisconsin"
    },
    {
      "name": null,
      "value": "sharp cheese"
    },
    {
      "name": null,
      "value": "Hoop"
    },
    {
      "name": null,
      "value": "Tillamook"
    },
    {
      "name": null,
      "value": "Longhorn"
    },
    {
      "name": null,
      "value": "Pioneer"
    },
    {
      "name": null,
      "value": "Coon"
    },
    {
      "name": null,
      "value": "New York"
    },
    {
      "name": null,
      "value": "Moisture change: 0%"
    }
  ],
  "brand": null,
  "conversion_factors": [],
  "data_type": "Survey (FNDDS)",
  "description": "Cheese, Cheddar",
  "fdc_id": 2705709,
  "food_category": {
    "code": null,
    "description": "Cheese",
    "id": 3298966
  },
  "food_class": "Survey",
  "food_code": "14104100",
  "gtin_upc": null,
  "is_historical_reference": null,
  "label_nutrients": null,
  "last_updated": "10/31/2024",
  "ndb_number": null,
  "nutrient_count": 65,
  "nutrients": [
    {
      "analyses": null,
      "data_points": null,
      "derivation_code": null,
      "derivation_description": null,
      "max": null,
      "median": null,
      "min": null,
      "name": "Protein",
      "number": "203",
      "nutrient_id": 1003,
      "percent_daily_value": null,
      "source_description": null,
      "unit": "g",
      "value": 23.3
    },
    {
      "analyses": null,
      "data_points": null,
      "derivation_code": null,
      "derivation_description": null,
      "max": null,
      "median": null,
      "min": null,
      "name": "Total lipid (fat)",
      "number": "204",
      "nutrient_id": 1004,
      "percent_daily_value": null,
      "source_description": null,
      "unit": "g",
      "value": 34
    },
    {
      "analyses": null,
      "data_points": null,
      "derivation_code": null,
      "derivation_description": null,
      "max": null,
      "median": null,
      "min": null,
      "name": "Carbohydrate, by difference",
      "number": "205",
      "nutrient_id": 1005,
      "percent_daily_value": null,
      "source_description": null,
      "unit": "g",
      "value": 2.44
    },
    {
      "analyses": null,
      "data_points": null,
      "derivation_code": null,
      "derivation_description": null,
      "max": null,
      "median": null,
      "min": null,
      "name": "Energy",
      "number": "208",
      "nutrient_id": 1008,
      "percent_daily_value": null,
      "source_description": null,
      "unit": "kcal",
      "value": 409
    },
    {
      "analyses": null,
      "data_points": null,
      "derivation_code": null,
      "derivation_description": null,
      "max": null,
      "median": null,
      "min": null,
      "name": "Alcohol, ethyl",
      "number": "221",
      "nutrient_id": 1018,
      "percent_daily_value": null,
      "source_description": null,
      "unit": "g",
      "value": 0
    },
    {
      "analyses": null,
      "data_points": null,
      "derivation_code": null,
      "derivation_description": null,
      "max": null,
      "median": null,
      "min": null,
      "name": "Water",
      "number": "255",
      "nutrient_id": 1051,
      "percent_daily_value": null,
      "source_description": null,
      "unit": "g",
      "value": 36.6
    },
    {
      "analyses": null,
      "data_points": null,
      "derivation_code": null,
      "derivation_description": null,
      "max": null,
      "median": null,
      "min": null,
      "name": "Caffeine",
      "number": "262",
      "nutrient_id": 1057,
      "percent_daily_value": null,
      "source_description": null,
      "unit": "mg",
      "value": 0
    },
    {
      "analyses": null,
      "data_points": null,
      "derivation_code": null,
      "derivation_description": null,
      "max": null,
      "median": null,
      "min": null,
      "name": "Theobromine",
      "number": "263",
      "nutrient_id": 1058,
      "percent_daily_value": null,
      "source_description": null,
      "unit": "mg",
      "value": 0
    },
    {
      "analyses": null,
      "data_points": null,
      "derivation_code": null,
      "derivation_description": null,
      "max": null,
      "median": null,
      "min": null,
      "name": "Total Sugars",
      "number": "269",
      "nutrient_id": 2000,
      "percent_daily_value": null,
      "source_description": null,
      "unit": "g",
      "value": 0.33
    },
    {
      "analyses": null,
      "data_points": null,
      "derivation_code": null,
      "derivation_description": null,
      "max": null,
      "median": null,
      "min": null,
      "name": "Fiber, total dietary",
      "number": "291",
      "nutrient_id": 1079,
      "percent_daily_value": null,
      "source_description": null,
      "unit": "g",
      "value": 0
    },
    {
      "analyses": null,
      "data_points": null,
      "derivation_code": null,
      "derivation_description": null,
      "max": null,
      "median": null,
      "min": null,
      "name": "Calcium, Ca",
      "number": "301",
      "nutrient_id": 1087,
      "percent_daily_value": null,
      "source_description": null,
      "unit": "mg",
      "value": 707
    },
    {
      "analyses": null,
      "data_points": null,
      "derivation_code": null,
      "derivation_description": null,
      "max": null,
      "median": null,
      "min": null,
      "name": "Iron, Fe",
      "number": "303",
      "nutrient_id": 1089,
      "percent_daily_value": null,
      "source_description": null,
      "unit": "mg",
      "value": 0.16
    },
    {
      "analyses": null,
      "data_points": null,
      "derivation_code": null,
      "derivation_description": null,
      "max": null,
      "median": null,
      "min": null,
      "name": "Magnesium, Mg",
      "number": "304",
      "nutrient_id": 1090,
      "percent_daily_value": null,
      "source_description": null,
      "unit": "mg",
      "value": 27
    },
    {
      "analyses": null,
      "data_points": null,
      "derivation_code": null,
      "derivation_description": null,
      "max": null,
      "median": null,
      "min": null,
      "name": "Phosphorus, P",
      "number": "305",
      "nutrient_id": 1091,
      "percent_daily_value": null,
      "source_description": null,
      "unit": "mg",
      "value": 458
    },
    {
      "analyses": null,
      "data_points": null,
      "derivation_code": null,
      "derivation_description": null,
      "max": null,
      "median": null,
      "min": null,
      "name": "Potassium, K",
      "number": "306",
      "nutrient_id": 1092,
      "percent_daily_value": null,
      "source_description": null,
      "unit": "mg",
      "value": 77
    },
    {
      "analyses": null,
      "data_points": null,
      "derivation_code": null,
      "derivation_description": null,
      "max": null,
      "median": null,
      "min": null,
      "name": "Sodium, Na",
      "number": "307",
      "nutrient_id": 1093,
      "percent_daily_value": null,
      "source_description": null,
      "unit": "mg",
      "value": 654
    },
    {
      "analyses": null,
      "data_points": null,
      "derivation_code": null,
      "derivation_description": null,
      "max": null,
      "median": null,
      "min": null,
      "name": "Zinc, Zn",
      "number": "309",
      "nutrient_id": 1095,
      "percent_daily_value": null,
      "source_description": null,
      "unit": "mg",
      "value": 3.67
    },
    {
      "analyses": null,
      "data_points": null,
      "derivation_code": null,
      "derivation_description": null,
      "max": null,
      "median": null,
      "min": null,
      "name": "Copper, Cu",
      "number": "312",
      "nutrient_id": 1098,
      "percent_daily_value": null,
      "source_description": null,
      "unit": "mg",
      "value": 0.033
    },
    {
      "analyses": null,
      "data_points": null,
      "derivation_code": null,
      "derivation_description": null,
      "max": null,
      "median": null,
      "min": null,
      "name": "Selenium, Se",
      "number": "317",
      "nutrient_id": 1103,
      "percent_daily_value": null,
      "source_description": null,
      "unit": "µg",
      "value": 28.3
    },
    {
      "analyses": null,
      "data_points": null,
      "derivation_code": null,
      "derivation_description": null,
      "max": null,
      "median": null,
      "min": null,
      "name": "Retinol",
      "number": "319",
      "nutrient_id": 1105,
      "percent_daily_value": null,
      "source_description": null,
      "unit": "µg",
      "value": 316
    },
    {
      "analyses": null,
      "data_points": null,
      "derivation_code": null,
      "derivation_description": null,
      "max": null,
      "median": null,
      "min": null,
      "name": "Vitamin A, RAE",
      "number": "320",
      "nutrient_id": 1106,
      "percent_daily_value": null,
      "source_description": null,
      "unit": "µg",
      "value": 316
    },
    {
      "analyses": null,
      "data_points": null,
      "derivation_code": null,
      "derivation_description": null,
      "max": null,
      "median": null,
      "min": null,
      "name": "Carotene, beta",
      "number": "321",
      "nutrient_id": 1107,
      "percent_daily_value": null,
      "source_description": null,
      "unit": "µg",
      "value": 0
    },
    {
      "analyses": null,
      "data_points": null,
      "derivation_code": null,
      "derivation_description": null,
      "max": null,
      "median": null,
      "min": null,
      "name": "Carotene, alpha",
      "number": "322",
      "nutrient_id": 1108,
      "percent_daily_value": null,
      "source_description": null,
      "unit": "µg",
      "value": 0
    },
    {
      "analyses": null,
      "data_points": null,
      "derivation_code": null,
      "derivation_description": null,
      "max": null,
      "median": null,
      "min": null,
      "name": "Vitamin E (alpha-tocopherol)",
      "number": "323",
      "nutrient_id": 1109,
      "percent_daily_value": null,
      "source_description": null,
      "unit": "mg",
      "value": 0.75
    },
    {
      "analyses": null,
      "data_points": null,
      "derivation_code": null,
      "derivation_description": null,
      "max": null,
      "median": null,
      "min": null,
      "name": "Vitamin D (D2 + D3)",
      "number": "328",
      "nutrient_id": 1114,
      "percent_daily_value": null,
      "source_description": null,
      "unit": "µg",
      "value": 0.6
    },
    {
      "analyses": null,
      "data_points": null,
      "derivation_code": null,
      "derivation_description": null,
      "max": null,
      "median": null,
      "min": null,
      "name": "Cryptoxanthin, beta",
      "number": "334",
      "nutrient_id": 1120,
      "percent_daily_value": null,
      "source_description": null,
      "unit": "µg",
      "value": 0
    },
    {
      "analyses": null,
      "data_points": null,
      "derivation_code": null,
      "derivation_description": null,
      "max": null,
      "median": null,
      "min": null,
      "name": "Lycopene",
      "number": "337",
      "nutrient_id": 1122,
      "percent_daily_value": null,
      "source_description": null,
      "unit": "µg",
      "value": 0
    },
    {
      "analyses": null,
      "data_points": null,
      "derivation_code": null,
      "derivation_description": null,
      "max": null,
      "median": null,
      "min": null,
      "name": "Lutein + zeaxanthin",
      "number": "338",
      "nutrient_id": 1123,
      "percent_daily_value": null,
      "source_description": null,
      "unit": "µg",
      "value": 0
    },
    {
      "analyses": null,
      "data_points": null,
      "derivation_code": null,
      "derivation_description": null,
      "max": null,
      "median": null,
      "min": null,
      "name": "Vitamin C, total ascorbic acid",
      "number": "401",
      "nutrient_id": 1162,
      "percent_daily_value": null,
      "source_description": null,
      "unit": "mg",
      "value": 0
    },
    {
      "analyses": null,
      "data_points": null,
      "derivation_code": null,
      "derivation_description": null,
      "max": null,
      "median": null,
      "min": null,
      "name": "Thiamin",
      "number": "404",
      "nutrient_id": 1165,
      "percent_daily_value": null,
      "source_description": null,
      "unit": "mg",
      "value": 0.029
    },
    {
      "analyses": null,
      "data_points": null,
      "derivation_code": null,
      "derivation_description": null,
      "max": null,
      "median": null,
      "min": null,
      "name": "Riboflavin",
      "number": "405",
      "nutrient_id": 1166,
      "percent_daily_value": null,
      "source_description": null,
      "unit": "mg",
      "value": 0.441
    },
    {
      "analyses": null,
      "data_points": null,
      "derivation_code": null,
      "derivation_description": null,
      "max": null,
      "median": null,
      "min": null,
      "name": "Niacin",
      "number": "406",
      "nutrient_id": 1167,
      "percent_daily_value": null,
      "source_description": null,
      "unit": "mg",
      "value": 0.052
    },
    {
      "analyses": null,
      "data_points": null,
      "derivation_code": null,
      "derivation_description": null,
      "max": null,
      "median": null,
      "min": null,
      "name": "Vitamin B-6",
      "number": "415",
      "nutrient_id": 1175,
      "percent_daily_value": null,
      "source_description": null,
      "unit": "mg",
      "value": 0.069
    },
    {
      "analyses": null,
      "data_points": null,
      "derivation_code": null,
      "derivation_description": null,
      "max": null,
      "median": null,
      "min": null,
      "name": "Folate, total",
      "number": "417",
      "nutrient_id": 1177,
      "percent_daily_value": null,
      "source_description": null,
      "unit": "µg",
      "value": 21
    },
    {
      "analyses": null,
      "data_points": null,
      "derivation_code": null,
      "derivation_description": null,
      "max": null,
      "median": null,
      "min": null,
      "name": "Vitamin B-12",
      "number": "418",
      "nutrient_id": 1178,
      "percent_daily_value": null,
      "source_description": null,
      "unit": "µg",
      "value": 1.06
    },
    {
      "analyses": null,
      "data_points": null,
      "derivation_code": null,
      "derivation_description": null,
      "max": null,
      "median": null,
      "min": null,
      "name": "Choline, total",
      "number": "421",
      "nutrient_id": 1180,
      "percent_daily_value": null,
      "source_description": null,
      "unit": "mg",
      "value": 16.5
    },
    {
      "analyses": null,
      "data_points": null,
      "derivation_code": null,
      "derivation_description": null,
      "max": null,
      "median": null,
      "min": null,
      "name": "Vitamin K (phylloquinone)",
      "number": "430",
      "nutrient_id": 1185,
      "percent_daily_value": null,
      "source_description": null,
      "unit": "µg",
      "value": 2.4
    },
    {
      "analyses": null,
      "data_points": null,
      "derivation_code": null,
      "derivation_description": null,
      "max": null,
      "median": null,
      "min": null,
      "name": "Folic acid",
      "number": "431",
      "nutrient_id": 1186,
      "percent_daily_value": null,
      "source_description": null,
      "unit": "µg",
      "value": 0
    },
    {
      "analyses": null,
      "data_points": null,
      "derivation_code": null,
      "derivation_description": null,
      "max": null,
      "median": null,
      "min": null,
      "name": "Folate, food",
      "number": "432",
      "nutrient_id": 1187,
      "percent_daily_value": null,
      "source_description": null,
      "unit": "µg",
      "value": 21
    },
    {
      "analyses": null,
      "data_points": null,
      "derivation_code": null,
      "derivation_description": null,
      "max": null,
      "median": null,
      "min": null,
      "name": "Folate, DFE",
      "number": "435",
      "nutrient_id": 1190,
      "percent_daily_value": null,
      "source_description": null,
      "unit": "µg",
      "value": 21
    },
    {
      "analyses": null,
      "data_points": null,
      "derivation_code": null,
      "derivation_description": null,
      "max": null,
      "median": null,
      "min": null,
      "name": "Vitamin E, added",
      "number": "573",
      "nutrient_id": 1242,
      "percent_daily_value": null,
      "source_description": null,
      "unit": "mg",
      "value": 0
    },
    {
      "analyses": null,
      "data_points": null,
      "derivation_code": null,
      "derivation_description": null,
      "max": null,
      "median": null,
      "min": null,
      "name": "Vitamin B-12, added",
      "number": "578",
      "nutrient_id": 1246,
      "percent_daily_value": null,
      "source_description": null,
      "unit": "µg",
      "value": 0
    },
    {
      "analyses": null,
      "data_points": null,
      "derivation_code": null,
      "derivation_description": null,
      "max": null,
      "median": null,
      "min": null,
      "name": "Cholesterol",
      "number": "601",
      "nutrient_id": 1253,
      "percent_daily_value": null,
      "source_description": null,
      "unit": "mg",
      "value": 100
    },
    {
      "analyses": null,
      "data_points": null,
      "derivation_code": null,
      "derivation_description": null,
      "max": null,
      "median": null,
      "min": null,
      "name": "Fatty acids, total saturated",
      "number": "606",
      "nutrient_id": 1258,
      "percent_daily_value": null,
      "source_description": null,
      "unit": "g",
      "value": 19.2
    },
    {
      "analyses": null,
      "data_points": null,
      "derivation_code": null,
      "derivation_description": null,
      "max": null,
      "median": null,
      "min": null,
      "name": "SFA 4:0",
      "number": "607",
      "nutrient_id": 1259,
      "percent_daily_value": null,
      "source_description": null,
      "unit": "g",
      "value": 0.653
    },
    {
      "analyses": null,
      "data_points": null,
      "derivation_code": null,
      "derivation_description": null,
      "max": null,
      "median": null,
      "min": null,
      "name": "SFA 6:0",
      "number": "608",
      "nutrient_id": 1260,
      "percent_daily_value": null,
      "source_description": null,
      "unit": "g",
      "value": 0.543
    },
    {
      "analyses": null,
      "data_points": null,
      "derivation_code": null,
      "derivation_description": null,
      "max": null,
      "median": null,
      "min": null,
      "name": "SFA 8:0",
      "number": "609",
      "nutrient_id": 1261,
      "percent_daily_value": null,
      "source_description": null,
      "unit": "g",
      "value": 0.349
    },
    {
      "analyses": null,
      "data_points": null,
      "derivation_code": null,
      "derivation_description": null,
      "max": null,
      "median": null,
      "min": null,
      "name": "SFA 10:0",
      "number": "610",
      "nutrient_id": 1262,
      "percent_daily_value": null,
      "source_description": null,
      "unit": "g",
      "value": 0.843
    },
    {
      "analyses": null,
      "data_points": null,
      "derivation_code": null,
      "derivation_description": null,
      "max": null,
      "median": null,
      "min": null,
      "name": "SFA 12:0",
      "number": "611",
      "nutrient_id": 1263,
      "percent_daily_value": null,
      "source_description": null,
      "unit": "g",
      "value": 0.963
    },
    {
      "analyses": null,
      "data_points": null,
      "derivation_code": null,
      "derivation_description": null,
      "max": null,
      "median": null,
      "min": null,
      "name": "SFA 14:0",
      "number": "612",
      "nutrient_id": 1264,
      "percent_daily_value": null,
      "source_description": null,
      "unit": "g",
      "value": 3.1
    },
    "… [15 more items]"
  ],
  "observed_at_ms": 1791014877628,
  "portions": [
    {
      "amount": null,
      "data_points": null,
      "description": "1 slice",
      "gram_weight": 21,
      "id": 291559,
      "modifier": "61935",
      "unit": "undetermined"
    },
    {
      "amount": null,
      "data_points": null,
      "description": "1 cup, diced",
      "gram_weight": 132,
      "id": 291562,
      "modifier": "10066",
      "unit": "undetermined"
    },
    {
      "amount": null,
      "data_points": null,
      "description": "1 cup, shredded",
      "gram_weight": 113,
      "id": 291561,
      "modifier": "10159",
      "unit": "undetermined"
    },
    {
      "amount": null,
      "data_points": null,
      "description": "1 cup, NFS",
      "gram_weight": 113,
      "id": 291564,
      "modifier": "10010",
      "unit": "undetermined"
    },
    {
      "amount": null,
      "data_points": null,
      "description": "1 cup, melted",
      "gram_weight": 244,
      "id": 291563,
      "modifier": "10120",
      "unit": "undetermined"
    },
    {
      "amount": null,
      "data_points": null,
      "description": "1 cup, cubed",
      "gram_weight": 132,
      "id": 291565,
      "modifier": "10310",
      "unit": "undetermined"
    },
    {
      "amount": null,
      "data_points": null,
      "description": "1 cracker-size slice",
      "gram_weight": 9,
      "id": 291558,
      "modifier": "64017",
      "unit": "undetermined"
    },
    {
      "amount": null,
      "data_points": null,
      "description": "Quantity not specified",
      "gram_weight": 21,
      "id": 291567,
      "modifier": "90000",
      "unit": "undetermined"
    },
    {
      "amount": null,
      "data_points": null,
      "description": "1 stick",
      "gram_weight": 28.35,
      "id": 291560,
      "modifier": "62239",
      "unit": "undetermined"
    },
    {
      "amount": null,
      "data_points": null,
      "description": "1 cubic inch",
      "gram_weight": 17,
      "id": 291566,
      "modifier": "51000",
      "unit": "undetermined"
    }
  ],
  "published_date": "10/31/2024",
  "source_url": "https://fdc.nal.usda.gov/portal-data/external/2705709",
  "survey": {
    "end_date": "12/31/2023",
    "input_foods": [
      {
        "description": "Cheese, cheddar",
        "gram_weight": 100,
        "portion_description": "NONE",
        "sr_code": "1009"
      }
    ],
    "start_date": "1/1/2021"
  },
  "total_refuse": 0,
  "url": "https://fdc.nal.usda.gov/food-details/2705709/nutrients"
}
Browse the library