Firecrawl Alexandria

Canadian Nutrient File, Health Canada (food-nutrition.canada.ca)

Health Canada's Canadian Nutrient File (CNF), the reference food-composition table for Canada: 5,690 foods with up to 152 nutrients per 100 g, Canadian fortification values, serving measures with gram weights, refuse and yield factors, in English or French. Food search by name, the full nutrient record of one food (optionally converted to a chosen measure such as 250ml), the nutrient, nutrient-group and data-source reference lists, the 23 CNF food groups and the search for foods ranked by one nutrient within a food group. Anonymous JSON API of the public CNF web app plus two GET-and-POST pages of the same app for the food-group aware nutrient search. Data: Canadian Nutrient File, Health Canada, Open Government Licence - Canada; the online CNF is the 2015 publication (Health Canada is preparing a CNF 2026 dataset).

3 Firecrawl tools use Canadian Nutrient File, Health Canada (food-nutrition.canada.ca)

Try Canadian Nutrient File, Health Canada (food-nutrition.canada.ca) now.

Choose an example or ask your own question.

Canadian Nutrient File, Health Canada (food-nutrition.canada.ca)
TRY ASKING
1Request
number

CNF food code (e.g. 61 Milk, fluid, partly skimmed, 2% M.F.; 119 Cheese, cheddar). Give this or `url`.

string

Language of the description, nutrient names, measure, refuse, yield and source texts.

string

One of the food's measure names as the CNF writes them (e.g. '250ml', '100ml diced', '1 slice'); spaces, commas and case are ignored. Adds `value_per_measure` to every nutrient row and sets `selected_measure`.

number[]

Return only these CNF nutrient ids (`nutrient_name_id` from `list_nutrients`). An id that is not in the CNF nutrient dictionary is invalid input; a known nutrient the CNF does not report for this food is simply absent. Separate values with commas.

5 credits
Codefollows the fields above
const result = await firecrawl.scrape({
  alexandria: {
    provider: "food-nutrition-canada-ca",
    capability: "foods/get_food",
    options: {
      food_code: 61,
      measure: "250ml",
      nutrient_ids: [
        203,
        208,
        301,
        339,
        324,
      ],
    },
  },
});
2Response example

This is a sample shape. Press Run to see live data from Canadian Nutrient File, Health Canada (food-nutrition.canada.ca).

{
  "attribution": "Canadian Nutrient File, Health Canada. Open Government Licence - Canada.",
  "data_version": "CNF 2015 (online publication; Health Canada states it will not be updated while a CNF 2026 dataset is prepared)",
  "description": "Milk, fluid, partly skimmed, 2% M.F.",
  "food_code": 61,
  "lang": "en",
  "measures": [
    {
      "conversion_factor": 1.03128,
      "grams": 103.128,
      "measure_name": "100ml"
    },
    {
      "conversion_factor": 2.57819,
      "grams": 257.819,
      "measure_name": "250ml"
    }
  ],
  "nutrient_count": 5,
  "nutrients": [
    {
      "decimals": 2,
      "group_id": 1,
      "group_name": "Proximates",
      "name": "PROTEIN",
      "number_observation": 13,
      "nutrient_name_id": 203,
      "source_description": "No change from USDA",
      "source_id": 0,
      "standard_error": 0,
      "symbol": "PROT",
      "tagname": "PROCNT",
      "unit": "g",
      "value_per_100g": 3.3,
      "value_per_measure": 8.508027,
      "web_name": "Protein"
    },
    {
      "decimals": 0,
      "group_id": 1,
      "group_name": "Proximates",
      "name": "ENERGY (KILOCALORIES)",
      "number_observation": 0,
      "nutrient_name_id": 208,
      "source_description": "No change from USDA",
      "source_id": 0,
      "standard_error": 0,
      "symbol": "KCAL",
      "tagname": "ENERC_KCAL",
      "unit": "kCal",
      "value_per_100g": 50,
      "value_per_measure": 128.9095,
      "web_name": "Energy (kcal)"
    },
    {
      "decimals": 0,
      "group_id": 3,
      "group_name": "Minerals",
      "name": "CALCIUM",
      "number_observation": 4,
      "nutrient_name_id": 301,
      "source_description": "No change from USDA",
      "source_id": 0,
      "standard_error": 1,
      "symbol": "CA",
      "tagname": "CA",
      "unit": "mg",
      "value_per_100g": 120,
      "value_per_measure": 309.3828,
      "web_name": "Calcium, Ca"
    },
    {
      "decimals": 1,
      "group_id": 4,
      "group_name": "Vitamins",
      "name": "VITAMIN D (D2 + D3)",
      "number_observation": 0,
      "nutrient_name_id": 339,
      "source_description": "Nutrient levels changed to meet the canadian regulations",
      "source_id": 1,
      "standard_error": 0,
      "symbol": "D3+D2-µG",
      "tagname": "VITD_ µG",
      "unit": "µg",
      "value_per_100g": 0.99585,
      "value_per_measure": 2.567491,
      "web_name": "Vitamin D"
    },
    {
      "decimals": 0,
      "group_id": 4,
      "group_name": "Vitamins",
      "name": "VITAMIN D (INTERNATIONAL UNITS)",
      "number_observation": 0,
      "nutrient_name_id": 324,
      "source_description": "Nutrient levels changed to meet the canadian regulations",
      "source_id": 1,
      "standard_error": 0,
      "symbol": "D-IU",
      "tagname": "VITD_IU",
      "unit": "IU",
      "value_per_100g": 39.834,
      "value_per_measure": 102.69962,
      "web_name": "Vitamin D (IU)"
    }
  ],
  "observed_at_ms": 1791942586049,
  "refuse": [
    {
      "refuse_amount": 0,
      "refuse_name": "total refuse"
    }
  ],
  "selected_measure": {
    "conversion_factor": 2.57819,
    "grams": 257.819,
    "measure_name": "250ml"
  },
  "source_url": "https://food-nutrition.canada.ca/api/canadian-nutrient-file/nutrientamount/?lang=en&id=61&type=json",
  "url": "https://food-nutrition.canada.ca/cnf-fce/serving-portion?id=61",
  "yields": []
}

Firecrawl tools

3

Ready-made Firecrawl tools that call Canadian Nutrient File, Health Canada (food-nutrition.canada.ca).

Skills

Official skills using Canadian Nutrient File, Health Canada (food-nutrition.canada.ca)

Export nutrient claim consistency checkUse when a food exporter or brand selling the same product in the US, Canada, the Netherlands and Australia needs its nutrition panel and claims to hold up against each market's reference food database. Compares the product's stated values with official reference values per country and flags claims that would fail in one market.

For one food (for example lamb leg, rolled oats, almonds) and the nutrient claims on your label. The same food is matched in each national database.

1. Find the reference food in each market

  1. US: search Search foods (Foundation or SR Legacy) and read Get food.

  2. Canada: search Search foods and read Get food (pass the serving measure you print).

  3. Netherlands: search Search foods (lang en) and read Get food.

  4. Australia: search Search foods and read Get food. Record the same nutrients per 100 g in each: energy, protein, fat, saturated fat, sugars, fibre, sodium and any nutrient you claim (for example iron or vitamin B12).

2. Compare with the label

  1. Put your label values next to each reference. Where references disagree by more than 20%, note which preparation or cut each database used (raw versus cooked, trimmed versus untrimmed).

3. How competitors present it

  1. Search Search for the same product type in each country and read two competitor panels with Product.

Write the consistency check

  • Matrix: nutrient by country, label value versus reference.

  • At-risk claims: claims (high in, source of, low in) that a reference value would not support in a given market.

  • Preparation notes: where the reference food is not like for like.

  • Sources: cite every figure to the capability and record it came from. Say what could not be found rather than guessing.

View skill
Iron fortification gap scanUse when a food fortification program manager or public health nutritionist decides which staple foods to target for iron fortification. Compares anaemia prevalence across countries from WHO, ranks iron content of common staples in food composition tables from the US, Australia and Canada, and gathers trial evidence, producing a sourced shortlist of vehicles and countries.

For a set of countries and the staple foods people there eat most. Need comes from anaemia data; vehicle choice comes from what the staple already contains.

1. Where need is

  1. Find anaemia indicators with Indicators (query anaemia women reproductive age, anaemia children).

  2. Pull the latest values with Data (spatial_dims ISO3). Rank countries.

2. What staples carry now

  1. Rank foods by iron with Search foods by nutrient (nutrient_id for iron from List nutrients) and read staples such as wheat flour, maize flour and rice with Get food, comparing fortified and unfortified entries.

  2. Cross-check with Foods by nutrient (nutrient_id FE) and Search foods by nutrient. Differences between fortified and plain entries show how much iron fortification adds.

3. Evidence

  1. Search Search (iron fortification plus vehicle plus anaemia, randomized or systematic review) and read with Article for effect and iron compound used.

Write the shortlist

  • Country table: anaemia prevalence by group and year.

  • Vehicle table: staple, iron per 100 g plain versus fortified, by database.

  • Evidence: vehicle, compound, effect, PMID.

  • Recommendation: top vehicles per country with reasons from cited data.

  • Sources: WHO codes, fdc_ids, AFCD and CNF codes, PMIDs. Say that national consumption data is not in these sources and what could not be found.

View skill
Sugar levy reformulation auditUse when a public-health nutritionist, policy analyst or food campaigner wants to know whether a sugar levy or labelling rule is changing what is on shelves. Samples packaged drinks or snacks in a country, reads each product's sugar per 100 ml or g, compares with reference foods and with the population obesity trend, and reports which brands reformulated.

For one country and one category (soft drinks, breakfast cereals, yoghurts). The product sample from step 1 is reused in every later step.

1. Build the shelf sample

  1. Turn the category into a taxonomy id with Suggest, then list products sold in the country with Search (category, country, page through 50 to 100 products). Keep barcode, brand and Nutri-Score.

2. Read the sugar

  1. For each product read Product: sugars per 100 g or ml, sweeteners in the ingredients list and the last-modified date. Products that list sweeteners alongside lower sugar have likely reformulated.

  2. Compare against a reference profile for the same food type with Search foods and Get food (Foundation or SR Legacy). If the country is the Netherlands, Canada or Australia, use Search foods, Search foods or Search foods instead.

3. The population picture

  1. Pull adult obesity and overweight prevalence for the country with Indicator data (find codes with Indicator search), latest ten years.

Write the audit

  • Shelf table: brand, product, sugar per 100, sweetener present, Nutri-Score, versus reference value.

  • Share above threshold: products above the levy threshold you were given, by brand.

  • Reformulators and holdouts: brands that cut sugar and those that did not.

  • Context: the obesity trend. Do not claim the levy caused it.

  • Sources: cite every figure to the capability and record it came from. Say what could not be found rather than guessing.

View skill

Quality, speed and cost, last 24 hours, across every agent call to Canadian Nutrient File, Health Canada (food-nutrition.canada.ca) through Alexandria.

Fewer than 20 calls in the last 24 hours, so there is not enough to report yet.

Browse the library
//
Get started
//
Give your agent Canadian Nutrient File, Health Canada (food-nutrition.canada.ca).
One API key for the live web and every provider in Alexandria.
Are you an AI agent? See setup options