> ## Documentation Index
> Fetch the complete documentation index at: https://docs.webrouter.net/llms.txt
> Use this file to discover all available pages before exploring further.

# Canadian Nutrient File (Health Canada)

> Health Canada's reference food composition database: foods commonly eaten in Canada, their nutrient amounts per 100 g, serving-size conversion factors and food groups.

![](https://mintcdn.com/webrouter/gPu3tCeozwRcDBjt/logo/data-apis/health-canada-cnf.webp?fit=max\&auto=format\&n=gPu3tCeozwRcDBjt\&q=85\&s=f98d42af9783403fa120b7544f0bfe9b)

[Web Catalog · Health](https://docs.webrouter.net/data-apis.md?category=health)

No key needed

Endpoints

6

Auth

None

[Vendor docs](https://health-products.canada.ca/api/documentation/cnf-documentation-en.html)

## Notes

* Keyless. There is no text search: list all foods once (food without id) and match descriptions locally, then query by food code.
* Nutrient values are per 100 g edible portion; multiply by a serving size's conversion\_factor\_value for a portion.
* Every call takes lang (en/fr) and type (json/xml); JSON and English are the defaults.

## Endpoints

GET

Get or list foods

Food code and description of one food, or of every food when id is omitted.

[Open](#health-canada-cnf-foods-get)

GET

Get a food's nutrient amounts

Every nutrient value of one food per 100 g, with unit, standard error and source.

[Open](#health-canada-cnf-nutrients-amounts)

GET

Get a food's serving sizes

Household measures of one food and the factor converting per-100 g values to each.

[Open](#health-canada-cnf-servings-get)

GET

Get or list nutrient names

Nutrient ids, names, symbols and units; all of them when id is omitted.

[Open](#health-canada-cnf-nutrients-names)

GET

Get or list food groups

Food group ids, codes and descriptions; all of them when id is omitted.

[Open](#health-canada-cnf-groups-list)

GET

Get a food's refuse amount

Percent inedible portion of one food.

[Open](#health-canada-cnf-refuse-get)

### Get or list foods

GET

`/food/`

`health-canada-cnf.foods.get`

Food code and description of one food, or of every food when id is omitted.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`id`</td><td>string</td><td>query</td><td>Food code; omit to list all foods. Example `2314`</td></tr>
    <tr><td>`lang`</td><td>string</td><td>query</td><td>Response language; default en. One of `en`, `fr`</td></tr>
    <tr><td>`type`</td><td>string</td><td>query</td><td>Response format; default json. One of `json`, `xml`</td></tr>
  </tbody>
</table>

[Vendor docs](https://health-products.canada.ca/api/documentation/cnf-documentation-en.html) · Same job: [USDA FoodData Central](https://docs.webrouter.net/data-apis/usda-fdc.md#usda-fdc-foods-search)

```python Python theme={null}
router.call_data_api("health-canada-cnf.foods.get", {'id': '2314'})
```

```text MCP theme={null}
call_data_api(endpoint="health-canada-cnf.foods.get", params={"id": "2314"})
```

### Get a food's nutrient amounts

GET

`/nutrientamount/`

`health-canada-cnf.nutrients.amounts`

Every nutrient value of one food per 100 g, with unit, standard error and source.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`id` required</td><td>string</td><td>query</td><td>Food code. Example `2314`</td></tr>
    <tr><td>`lang`</td><td>string</td><td>query</td><td>Response language; default en. One of `en`, `fr`</td></tr>
    <tr><td>`type`</td><td>string</td><td>query</td><td>Response format; default json. One of `json`, `xml`</td></tr>
  </tbody>
</table>

[Vendor docs](https://health-products.canada.ca/api/documentation/cnf-documentation-en.html) · Same job: [USDA FoodData Central](https://docs.webrouter.net/data-apis/usda-fdc.md#usda-fdc-food-get)

```python Python theme={null}
router.call_data_api("health-canada-cnf.nutrients.amounts", {'id': '2314'})
```

```text MCP theme={null}
call_data_api(endpoint="health-canada-cnf.nutrients.amounts", params={"id": "2314"})
```

### Get a food's serving sizes

GET

`/servingsize/`

`health-canada-cnf.servings.get`

Household measures of one food and the factor converting per-100 g values to each.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`id` required</td><td>string</td><td>query</td><td>Food code. Example `2314`</td></tr>
    <tr><td>`lang`</td><td>string</td><td>query</td><td>Response language; default en. One of `en`, `fr`</td></tr>
    <tr><td>`type`</td><td>string</td><td>query</td><td>Response format; default json. One of `json`, `xml`</td></tr>
  </tbody>
</table>

[Vendor docs](https://health-products.canada.ca/api/documentation/cnf-documentation-en.html) · Same job: [USDA FoodData Central](https://docs.webrouter.net/data-apis/usda-fdc.md#usda-fdc-food-get)

```python Python theme={null}
router.call_data_api("health-canada-cnf.servings.get", {'id': '2314'})
```

```text MCP theme={null}
call_data_api(endpoint="health-canada-cnf.servings.get", params={"id": "2314"})
```

### Get or list nutrient names

GET

`/nutrientname/`

`health-canada-cnf.nutrients.names`

Nutrient ids, names, symbols and units; all of them when id is omitted.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `id`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Nutrient name id; omit to list all.
      </td>
    </tr>

    <tr><td>`lang`</td><td>string</td><td>query</td><td>Response language; default en. One of `en`, `fr`</td></tr>
    <tr><td>`type`</td><td>string</td><td>query</td><td>Response format; default json. One of `json`, `xml`</td></tr>
  </tbody>
</table>

[Vendor docs](https://health-products.canada.ca/api/documentation/cnf-documentation-en.html)

```python Python theme={null}
router.call_data_api("health-canada-cnf.nutrients.names")
```

```text MCP theme={null}
call_data_api(endpoint="health-canada-cnf.nutrients.names")
```

### Get or list food groups

GET

`/foodgroup/`

`health-canada-cnf.groups.list`

Food group ids, codes and descriptions; all of them when id is omitted.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `id`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Food group id; omit to list all.
      </td>
    </tr>

    <tr><td>`lang`</td><td>string</td><td>query</td><td>Response language; default en. One of `en`, `fr`</td></tr>
    <tr><td>`type`</td><td>string</td><td>query</td><td>Response format; default json. One of `json`, `xml`</td></tr>
  </tbody>
</table>

[Vendor docs](https://health-products.canada.ca/api/documentation/cnf-documentation-en.html)

```python Python theme={null}
router.call_data_api("health-canada-cnf.groups.list")
```

```text MCP theme={null}
call_data_api(endpoint="health-canada-cnf.groups.list")
```

### Get a food's refuse amount

GET

`/refuseamount/`

`health-canada-cnf.refuse.get`

Percent inedible portion of one food.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`id` required</td><td>string</td><td>query</td><td>Food code. Example `2314`</td></tr>
    <tr><td>`lang`</td><td>string</td><td>query</td><td>Response language; default en. One of `en`, `fr`</td></tr>
    <tr><td>`type`</td><td>string</td><td>query</td><td>Response format; default json. One of `json`, `xml`</td></tr>
  </tbody>
</table>

[Vendor docs](https://health-products.canada.ca/api/documentation/cnf-documentation-en.html) · Same job: [USDA FoodData Central](https://docs.webrouter.net/data-apis/usda-fdc.md#usda-fdc-food-get)

```python Python theme={null}
router.call_data_api("health-canada-cnf.refuse.get", {'id': '2314'})
```

```text MCP theme={null}
call_data_api(endpoint="health-canada-cnf.refuse.get", params={"id": "2314"})
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.