FatSecret Profile Meals API

Saved meals and meal items

OpenAPI Specification

fatsecret-profile-meals-api-openapi.yml Raw ↑
openapi: 3.0.3
info:
  title: FatSecret Platform Exercise Diary Profile Meals API
  description: The FatSecret Platform API provides programmatic access to a global food nutrition database covering more than 1.9 million verified food items across 56 countries. It supports food and recipe search, barcode scanning, image recognition, natural language processing, and full profile-based food diary, exercise diary, and weight tracking management.
  version: '3.0'
  contact:
    name: FatSecret Platform
    url: https://platform.fatsecret.com/platform-api
servers:
- url: https://platform.fatsecret.com/rest
  description: REST endpoint for URL-based and method-based integration
security:
- oauth2: []
- oauth1: []
tags:
- name: Profile Meals
  description: Saved meals and meal items
paths:
  /saved-meals/v2:
    get:
      tags:
      - Profile Meals
      summary: List saved meals
      operationId: listSavedMeals
      responses:
        '200':
          description: Saved meals
    post:
      tags:
      - Profile Meals
      summary: Create saved meal
      operationId: createSavedMeal
      responses:
        '200':
          description: Created
components:
  securitySchemes:
    oauth2:
      type: oauth2
      flows:
        clientCredentials:
          tokenUrl: https://oauth.fatsecret.com/connect/token
          scopes:
            basic: Basic access to food and recipe data
            premier: Premier access including image recognition and NLP
    oauth1:
      type: http
      scheme: oauth
      description: OAuth 1.0a request signing