API Documentation

Connect to FoodAtlas using our publicly accessible API

Our extensive food composition database contains only evidence-based data that can be traced back to its source. FoodAtlas is a USDA-NSF-funded research project that provides its data as a free resource under the Apache-2.0 license.


Setup

Base URL

Use the following base URL for all endpoints:

https://api.foodatlas.ai

Authentication

We use token-based authentication to secure FoodAtlas' API. To call endpoints, you need to add your assigned Bearer Token to the authorization header for each request. Request access

Endpoints

Metadata Endpoints

Data Endpoints

FoodAtlas was created and is maintained by AIFS at the University of California, Davis.

About AIFS

The AI Institute for Next Generation Food Systems, or AIFS aims to meet growing demands in our food supply by increasing efficiencies using Al and bioinformatics spanning the entire system–from growing crops through consumption. We are dedicated to creating AI applications for a healthier, more sustainable planet from farm to fork.

Connect with us

Subscribe to our newsletter to stay up-to-date on AIFS events, industry news, and AI research.

This work is supported by AFRI Competitive Grant no. 2020-67021-32855/project accession no. 1024262 from the USDA National Institute of Food and Agriculture.

2024 AIFS. All rights reserved.