Access to food data via API, database and AI services

You can have access to databases in different ways:

  • Download raw data from the sources
  • Work via web-based MySQL interface on this site
  • Use API to access data
  • Use API to access results of dataprocessing via AI/ML

Download raw data from the sources

The data can be fetched from the sources (organisations, universities etc.). The data are often free, available under different open source agreements - please investigate this before using.

Sources:
Poore and Nemecek (2018)
frida.fooddata.dk/
denstoreklimadatabase.dk (climate impact of food)
ourworldindata.org crops
ciqual.anses.fr
world.openfoodfacts.org
www.foodb.ca

Work via web-based MySQL interface on this site

You may be granted access to use the databases on this site to do ad hoc analysis, create aggregated data etc. Contact us for access.

The database can be reached here: MySQL. You can do queries and export data but you are not allowed to update the standard tables.

Use API to access data

Data on this site is available via REST API. Contact us for access. Examples:

curl --user username:secretPassword https://api.wikifoodbase.com

curl -H "Authorization: Bearer a77878e7d5-7879bc8789-7888a88787c88e" https://api.wikifoodbase.com

curl --user "APITest\API.User" --header "Content-Type: application/json" --request POST --data '{"it_id":"29263"}' https://api.wikifoodbase.com/REST/1.0/data/fooddb

Ypu can access the GS1, fooddb, Poore & Nemecek and The Danish Climatedatabase.

Your credentials are personal, and must only be used by you. Traffic, bandwidth and usage limits apply.


Use API to access results of dataprocessing via AI/ML

At present, the AI/ML api is experimental. The example is using GPT4 to translate a ingredient list in list form to human readable test. You need to provide your own credentials for GPT4

If you want access or need assistance, contact Torsten Arendrup: torsten@arendrup.dk