fatsecret Reference API

Reference data for brands, categories, and exercises

GitHub OpenAPI
Business capability
Nutrition & Food Data AE-130.30

Operations 4

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /food-brands/v2 List food brands · List food brands #
Ask an LLM
“Which food brands are available to search by?”
“Can I get the list of food brands in a given country?”
Tell an agent
List all food brands.
Show the food brands available for search.
GET /food-categories/v2 List food categories · List food categories #
Ask an LLM
“What food categories can I search by?”
“Which food categories exist in the nutrition database?”
Tell an agent
List food categories.
Show the food categories available for search.
GET /food-sub-categories/v2 List food sub-categories · List food sub-categories #
Ask an LLM
“What sub-categories exist under each food category?”
“Can I get the sub-categories for a food category?”
Tell an agent
List food sub-categories.
Show the sub-categories under each food category.
GET /exercises/v2 List exercises · List exercises #
Ask an LLM
“What exercises are available to log?”
“Can I get the full list of exercises in the exercise database?”
Tell an agent
List exercises.
Show the exercises available for logging.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/fatsecret:fatsecret-reference-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

fatsecret-reference-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: fatsecret Platform Reference 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: Reference
  description: Reference data for brands, categories, and exercises
paths:
  /food-brands/v2:
    get:
      tags:
      - Reference
      summary: List food brands
      operationId: listFoodBrands
      responses:
        '200':
          description: Brands
  /food-categories/v2:
    get:
      tags:
      - Reference
      summary: List food categories
      operationId: listFoodCategories
      responses:
        '200':
          description: Categories
  /food-sub-categories/v2:
    get:
      tags:
      - Reference
      summary: List food sub-categories
      operationId: listFoodSubCategories
      responses:
        '200':
          description: Sub-categories
  /exercises/v2:
    get:
      tags:
      - Reference
      summary: List exercises
      operationId: listExercises
      responses:
        '200':
          description: Exercises
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