{"api":{"id":"api_f7c8ed9a0af21079e2a4f217","slug":"canadian-nutrient-file","name":"Canadian Nutrient File API","description":"Health Canada's official nutrient values for foods eaten in Canada: one record per food with energy, protein, fat, carbohydrate, sugars, fibre and sodium, every other nutrient with its unit and the household serving sizes. English or French.","kind":"ready_made","visibility":"public","domain":"food-nutrition.canada.ca","source_url":"https://food-nutrition.canada.ca/api/canadian-nutrient-file/food/?lang=en&type=json","category":"health","record_type":"generic","active_version":"1.0","units_per_1k":2000,"health":"unknown","auto_repair":false,"last_checked_at":null,"last_run_at":null,"fields_count":12,"created_at":"2026-12-06T03:57:27.620Z","updated_at":"2026-12-06T03:57:27.620Z","runnable":true,"egress":null,"repairs":[],"repairs_total":0,"how":"Runs on a reader we built and maintain by hand for this site.","fields":[{"name":"id","type":"string","description":"Food code as text.","required":true,"coverage":1,"example":"5"},{"name":"food_code","type":"integer","description":"Canadian Nutrient File food code.","required":false,"coverage":1,"example":5},{"name":"food_description","type":"string","description":"Name of the food, such as Chicken, broiler, giblets, raw.","required":false,"coverage":1,"example":"Chinese dish, chow mein, chicken"},{"name":"energy_kcal","type":"number","description":"Energy in kilocalories per 100 g.","required":false,"coverage":1,"example":85},{"name":"protein_g","type":"number","description":"Protein in grams per 100 g.","required":false,"coverage":1,"example":6.76},{"name":"fat_g","type":"number","description":"Total fat in grams per 100 g.","required":false,"coverage":1,"example":2.8},{"name":"carbohydrate_g","type":"number","description":"Carbohydrate in grams per 100 g.","required":false,"coverage":1,"example":8.29},{"name":"sugars_g","type":"number","description":"Total sugars in grams per 100 g.","required":false,"coverage":0.6,"example":1.74},{"name":"fibre_g","type":"number","description":"Dietary fibre in grams per 100 g.","required":false,"coverage":1,"example":1},{"name":"sodium_mg","type":"number","description":"Sodium in milligrams per 100 g.","required":false,"coverage":1,"example":311},{"name":"nutrients","type":"array","description":"Every nutrient of the food as objects with name, value (per 100 g), unit, standard_error and observations.","required":false,"coverage":1,"example":[{},{}]},{"name":"serving_sizes","type":"array","description":"Household servings with their weight, such as 1 food guide serving = 90g.","required":false,"coverage":0.8,"example":["100ml","125ml"]}],"inputs":[{"name":"search","type":"string","description":"Words of the food name, such as chicken or whole milk. Every word must appear in the name.","example":"chicken"},{"name":"food_codes","type":"array","description":"Exact Canadian Nutrient File food codes, such as 571.","example":[571]},{"name":"language","type":"string","description":"Language of food and nutrient names.","default":"en","example":"en","enum":["en","fr"]}],"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":true,"properties":{"carbohydrate_g":{"description":"Carbohydrate in grams per 100 g.","type":"number"},"energy_kcal":{"description":"Energy in kilocalories per 100 g.","type":"number"},"fat_g":{"description":"Total fat in grams per 100 g.","type":"number"},"fibre_g":{"description":"Dietary fibre in grams per 100 g.","type":"number"},"food_code":{"description":"Canadian Nutrient File food code.","type":"integer"},"food_description":{"description":"Name of the food, such as Chicken, broiler, giblets, raw.","type":"string"},"id":{"description":"Food code as text.","type":"string"},"nutrients":{"description":"Every nutrient of the food as objects with name, value (per 100 g), unit, standard_error and observations.","type":"array"},"protein_g":{"description":"Protein in grams per 100 g.","type":"number"},"serving_sizes":{"description":"Household servings with their weight, such as 1 food guide serving = 90g.","type":"array"},"sodium_mg":{"description":"Sodium in milligrams per 100 g.","type":"number"},"sugars_g":{"description":"Total sugars in grams per 100 g.","type":"number"}},"required":["id"],"title":"Canadian Nutrient File API","type":"object"},"samples":[{"id":"5","food_code":5,"food_description":"Chinese dish, chow mein, chicken","energy_kcal":85,"protein_g":6.76,"fat_g":2.8,"carbohydrate_g":8.29,"sugars_g":1.74,"fibre_g":1,"sodium_mg":311,"nutrients":[{"name":"Lycopene","value":0,"unit":"µg","standard_error":0,"observations":3},{"name":"Lactose","value":0,"unit":"g","standard_error":0,"observations":6},{"name":"Maltose","value":0,"unit":"g","standard_error":0,"observations":6},{"name":"Galactose","value":0,"unit":"g","standard_error":0,"observations":6}],"serving_sizes":["100ml","125ml","250ml","1 order"]},{"id":"8","food_code":8,"food_description":"Fried chicken, mashed potatoes and vegetables","energy_kcal":173,"protein_g":12.8,"fat_g":8.5,"carbohydrate_g":11.3,"sugars_g":null,"fibre_g":1.04,"sodium_mg":344,"nutrients":[{"name":"Alcohol","value":0,"unit":"g","standard_error":0,"observations":0},{"name":"Caffeine","value":0,"unit":"mg","standard_error":0,"observations":0},{"name":"Theobromine","value":0,"unit":"mg","standard_error":0,"observations":0},{"name":"22:6n-3 (DHA)","value":0,"unit":"g","standard_error":0,"observations":0}],"serving_sizes":["no serving specified"]},{"id":"83","food_code":83,"food_description":"Egg, chicken, dried, whole","energy_kcal":605,"protein_g":48.37,"fat_g":43.04,"carbohydrate_g":1.53,"sugars_g":0.3,"fibre_g":0,"sodium_mg":480,"nutrients":[{"name":"Theobromine","value":0,"unit":"mg","standard_error":0,"observations":0},{"name":"Fibre, total dietary","value":0,"unit":"g","standard_error":0,"observations":0},{"name":"Vitamin C","value":0,"unit":"mg","standard_error":0,"observations":0},{"name":"Folic acid, synthetic form","value":0,"unit":"µg","standard_error":0,"observations":0}],"serving_sizes":["15ml, sifted","100ml sifted","250ml, sifted"]}],"validation":{"checked_at":"2026-12-06T03:57:27.599Z","field_coverage":{"carbohydrate_g":1,"energy_kcal":1,"fat_g":1,"fibre_g":1,"food_code":1,"food_description":1,"id":1,"nutrients":1,"protein_g":1,"serving_sizes":1,"sodium_mg":1,"sugars_g":0.67},"fresh_read":false,"identity_unique":true,"issues":["Imported from a hand-built source. Field names and types come from its published schema; no live read was made for this check."],"level":"preview","pages_checked":0,"passed":true,"records_checked":3},"links":{"run":"https://pullrow.dev/v1/apis/api_f7c8ed9a0af21079e2a4f217/run","openapi":"https://pullrow.dev/v1/apis/api_f7c8ed9a0af21079e2a4f217/openapi.json","contract":"https://pullrow.dev/v1/apis/api_f7c8ed9a0af21079e2a4f217/contract.json","page":"https://pullrow.dev/catalog/canadian-nutrient-file"},"runs_30d":0,"success_rate_30d":null,"price_per_1k_usd":2,"featured":false,"reliability":{"window_days":30,"runs":0,"completed":0,"succeeded":0,"failed":0,"success_rate":null,"last_run_at":null},"demo":{"available":false,"max_records":0,"reason":"Every run of this API costs us money, so it has no free live demo. The sample records on its page show what it returns.","code":"demo_not_available"},"meta":{"limitations":["The file holds about 5,690 foods. Search by words in the food name (every word must appear) or give exact food codes; with neither input the run is refused.","Each food takes two extra requests (its nutrients and its serving sizes), so a run of 100 foods makes about 200 requests and needs a minute or two. At most 1,000 foods per run.","All nutrient values are per 100 g of the food as the Canadian Nutrient File states them (the 2015 release has not been updated since). A nutrient the lab never measured is listed with value 0 and 0 observations, so check observations before trusting a zero.","The source gives no food group, so no group field is offered. Serving sizes are empty for foods Health Canada lists without a household measure.","The seven headline fields (energy_kcal, protein_g, fat_g, carbohydrate_g, sugars_g, fibre_g, sodium_mg) are taken from the nutrient list and are null when the food has no such value.","Data: Health Canada, Canadian Nutrient File, under the Open Government Licence - Canada. Credit Health Canada when you use it; Health Canada does not endorse this API."]},"plain":{"summary":null,"source":"rules","fields":[{"name":"id","label":"ID","description":"Food code as text.","group":"Technical","shown":false,"written":false},{"name":"food_code","label":"Food code","description":"Canadian Nutrient File food code.","group":"Basics","shown":true,"written":false},{"name":"food_description","label":"Food description","description":"Name of the food, such as Chicken, broiler, giblets, raw.","group":"Basics","shown":true,"written":false},{"name":"energy_kcal","label":"Energy kcal","description":"Energy in kilocalories per 100 g.","group":"Basics","shown":true,"written":false},{"name":"protein_g","label":"Protein g","description":"Protein in grams per 100 g.","group":"Basics","shown":true,"written":false},{"name":"fat_g","label":"Fat g","description":"Total fat in grams per 100 g.","group":"Basics","shown":true,"written":false},{"name":"carbohydrate_g","label":"Carbohydrate g","description":"Carbohydrate in grams per 100 g.","group":"Basics","shown":true,"written":false},{"name":"sugars_g","label":"Sugars g","description":"Total sugars in grams per 100 g.","group":"Basics","shown":true,"written":false},{"name":"fibre_g","label":"Fibre g","description":"Dietary fibre in grams per 100 g.","group":"Basics","shown":true,"written":false},{"name":"sodium_mg","label":"Sodium mg","description":"Sodium in milligrams per 100 g.","group":"Basics","shown":true,"written":false},{"name":"nutrients","label":"Nutrients","description":"Every nutrient of the food as objects with name, value (per 100 g), unit, standard_error and observations.","group":"Basics","shown":true,"written":false},{"name":"serving_sizes","label":"Serving sizes","description":"Household servings with their weight, such as 1 food guide serving = 90g.","group":"Basics","shown":true,"written":false}],"inputs":[{"name":"search","label":"Search","help":"Words of the food name, such as chicken or whole milk. Every word must appear in the name.","example":"chicken","written":false},{"name":"food_codes","label":"Food codes","help":"Exact Canadian Nutrient File food codes, such as 571.","example":"571","written":false},{"name":"language","label":"Language","help":"Language of food and nutrient names.","example":"en","written":false}]}},"incidents":[]}