fatsecret · Schema
fatsecret Food Diary Entry
A single food diary entry recorded for a profile on a given date and meal.
Artificial IntelligenceBarcode ScanningCaloriesDietsImage RecognitionNatural Language ProcessingExerciseFitnessFood DiaryHealthMacronutrientsNutritionRecipesWeight Tracking
Properties
| Name | Type | Description |
|---|---|---|
| food_entry_id | string | |
| food_entry_name | string | |
| food_id | string | |
| serving_id | string | |
| number_of_units | string | |
| meal | string | |
| date_int | string | Days since the fatsecret epoch (1970-01-01). |
| calories | string | |
| carbohydrate | string | |
| protein | string | |
| fat | string |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/fatsecret/refs/heads/main/json-schema/fatsecret-food-entry-schema.json",
"title": "fatsecret Food Diary Entry",
"description": "A single food diary entry recorded for a profile on a given date and meal.",
"type": "object",
"required": ["food_entry_id", "food_id", "date_int", "meal"],
"properties": {
"food_entry_id": { "type": "string" },
"food_entry_name": { "type": "string" },
"food_id": { "type": "string" },
"serving_id": { "type": "string" },
"number_of_units": { "type": "string" },
"meal": {
"type": "string",
"enum": ["breakfast", "lunch", "dinner", "other"]
},
"date_int": {
"type": "string",
"description": "Days since the fatsecret epoch (1970-01-01)."
},
"calories": { "type": "string" },
"carbohydrate": { "type": "string" },
"protein": { "type": "string" },
"fat": { "type": "string" }
}
}
Work with this as data
Every JSON Schema 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 schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.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.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/fatsecret-food-entry"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
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. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.