API Reference (OAuth 1.0)
All Requests to the FatSecret Platform REST API should be directed to "https://platform.fatsecret.com/rest/server.api".
Requests must include a
method parameter, distinguishing the different types of calls available. For example, a correctly signed request to the
food.get.v3 API method would appear as follows:
https://platform.fatsecret.com/rest/server.api?food_id=33691&method=food.get.v3&oauth_consumer_key=9a1a6fd1fff5433f9dd77daa4587bf5d&oauth_nonce=1234&oauth_signature=sAyYTJiIxOGkvFpBcH8L%2BlFQRCQ%3D&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1245126631&oauth_version=1.0
Note that every call to the REST API must be correctly signed. For more information on signing, see
Authentication.
A full list of available API methods is provided below:
Foods
Includes methods for conducting searches for foods, for retrieving detailed information for single food products and managing favourites:
Food Brands
Includes methods for retrieving lists of food brands supported by the API:
Food Categories
Includes methods for retrieving lists of food categories supported by the API:
Food Sub Categories
Includes methods for retrieving lists of food sub categories supported by the API:
Recipes
Includes methods for conducting searches for recipes, for retrieving detailed information for single recipes and managing favourites:
Recipe Types
Includes methods for retrieving lists of recipes types supported by the API:
Exercises
Includes methods for retrieving lists of exercise types and names supported by the API:
Profile - Management
Includes methods for creating new user profiles, for retrieving profile information:
Profile - Saved Meals
Includes methods for managing meals:
Profile - Food Diary
Includes methods for storing and retrieving information in the Food Diary of a nominated profile:
Profile - Foods
Includes methods for the creation of foods and management of favourite foods of a nominated profile:
Profile - Recipes
Includes methods for managing favourite recipes of a nominated profile:
Profile - Exercise Diary
Includes methods for storing and retrieving information in the Exercise Diary of a nominated profile:
Profile - Weight Diary
Includes methods for storing and retrieving information in the Weight Diary of a nominated profile: