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
string[]

Data types to include, as FoodData Central names them. Default: all five. Separate values with commas.

boolean

Include each result's per-100 g nutrient values (the portal returns them with every result; a Branded page can be large).

number

1-based page of 50 results.

string

Search text (food description words, a brand owner, an ingredient or a GTIN/UPC). Empty or omitted lists every food of the selected data types.

5 credits
Codefollows the fields above
const result = await firecrawl.scrape({
  alexandria: {
    provider: "fdc-nal-usda-gov",
    capability: "foods/search_foods",
    options: {
      data_types: [
        "Foundation",
      ],
      query: "cheddar cheese",
    },
  },
});
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": 18773,
    "Foundation": 1,
    "SR Legacy": 14,
    "Survey (FNDDS)": 13
  },
  "data_types": [
    "Foundation"
  ],
  "foods": [
    {
      "brand_name": null,
      "brand_owner": null,
      "data_type": "Foundation",
      "description": "Cheese, cheddar",
      "fdc_id": 328637,
      "food_category": "Dairy and Egg Products",
      "food_code": null,
      "gtin_upc": null,
      "ingredients": null,
      "market_country": null,
      "ndb_number": "1009",
      "package_weight": null,
      "published_date": "2019-04-01",
      "score": 458.08142,
      "serving_size": null,
      "serving_size_unit": null,
      "url": "https://fdc.nal.usda.gov/food-details/328637/nutrients"
    }
  ],
  "observed_at_ms": 1791014871353,
  "page": 1,
  "page_size": 50,
  "query": "cheddar cheese",
  "source_url": "https://fdc.nal.usda.gov/portal-data/external/search",
  "total_hits": 1,
  "total_pages": 1
}

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