FatSecret Platform API

FatSecret Platform API

  • Category: Food & Drink

The #1 Food and Nutrition Database API

The platform.fatsecret.com API is the #1 food and nutrition database in the world, accessible to more than 10,000 developers in over 50 countries. This platform contributes to over 500 million API calls monthly, providing complete access to a comprehensive database of accurate food and nutrition information, exercise and weight management tools.

5 Benefits of Using the Platform.fatsecret.com API

  1. Accuracy: The API provides accurate information on food and nutrition that is regularly updated by a team of experts.
  2. Comprehensive Data: With over 500,000 food items and over 50,000 unique items, the Platform.fatsecret.com API ensures that users can find the nutritional value of any food item.
  3. User-friendly: The API provides a simple and user-friendly interface that allows users to look up food and nutrition information easily.
  4. Compatibility: The API provides compatibility with various programming languages and platforms, making it easier for developers to integrate.
  5. Time-saving: The API saves time by providing access to information in a structured format, enabling faster and easy access to information.

API Example Code Sample in JavaScript

fetch('https://platform.fatsecret.com/rest/server.api?method=food.get&food_id=439758') .then(response => response.json()) .then(data => console.log(data));

This JavaScript code sample demonstrates how developers can use the Platform.fatsecret.com API to retrieve food and nutrition data. In this example, the API is used to retrieve the nutritional value of a specific food item with the food_id ‘439758’. This code snippet uses the fetch() method to retrieve the data from the API and the then() method to process the data.

Similar APIs of Food & Drink


A powerful webservice which provides data for all kinds of fruit! You can use Fruityvice to find out interesting information about fruit and educate yourself. This web service is completely free to use and contribute to. With Fruityvice you can receive interesting data from any fruit of your choosing. On top of that you can add fruits by yourself as well! Added fruits will first have to be approved by an admin to avoid any errors in the data. The shown data is based on 100 grams of the listed fruit. The owner does not guarantee the available data is 100% flawless, however he will do his best to fix any wrong data.