# Matvaretabellen API

Category: [Food and drink](https://free-web-services.com/web-services/other/food/)  
Page: https://free-web-services.com/web-services/other/food/matvaretabellen-api.html  
Documentation: https://www.matvaretabellen.no/en/api/

Matvaretabellen is the food composition table of the Norwegian Food Safety Authority, with energy and nutrient values and portion sizes for foods and dishes eaten in Norway. The API serves foods, food groups, nutrients and sources as complete files in JSON or EDN, in English and Norwegian, for example to build a nutrition calculator. Free, no key needed; the provider asks you to cite the Food Table as the source. The data changes mainly once a year, so you can cache it.

- API key: Not needed
- Pricing: Free, no key needed; the provider asks you to cite the Food Table as the source.
- From the browser: Yes (CORS)
- Formats: JSON
- Interface: HTTP-GET
- Provider: matvaretabellen.no

Example request:

```sh
curl 'https://www.matvaretabellen.no/api/en/food-groups.json'
```

The JavaScript works in a web page as well as in Node.js 18 or newer.

