LogMeal Custom Nutritional Indicators API
Endpoints related to managing custom nutritional indicators.⚡ Monitor plan or above ⚡
Endpoints related to managing custom nutritional indicators.⚡ Monitor plan or above ⚡
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/logmeal:logmeal-custom-nutritional-indicators-api"
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
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.
openapi: 3.2.0
info:
version: 2.1.0
title: Food AI Engine API Documentation Custom Nutritional…
description: Please, refer to https://docs.logmeal.com to find the most up-to-date version of the Food AI Engine API documentation.
contact:
email: support@logmeal.com
servers:
- url: https://api.logmeal.com
description: Production
tags:
- name: Custom Nutritional Indicators
description: 'Endpoints related to managing custom nutritional indicators.
⚡ Monitor plan or above ⚡'
externalDocs:
url: https://docs.logmeal.com/docs/guides-features-custom-nutritional-indicators#/
paths:
/v2/custom_nutritional_indicator:
get:
tags:
- Custom Nutritional Indicators
summary: ⚫🔵 Get all the existent custom nutritional indicators
description: 'Retrieve the previously created custom nutritional indicators.
Get all of them or just the one passed as a parameter.'
parameters:
- in: query
name: code
schema:
type: string
example: RSPBRRY_KET
required: false
description: Parameter only required to get a specific indicator. If not provided all the available ones will be retrieved.
- in: query
name: language
schema:
type: string
enum:
- spa
- cat
- eng
- ita
- nld
- fre
- ger
- tur
- gre
- heb
description: Desired language for the response. It must be a three-letter ISO 639-2/T code. Defaults to the APIUser's assigned language or english.
required: false
responses:
'200':
description: Successful response
content:
application/json:
schema:
type: object
properties:
result:
type: object
properties:
RSPBRRY_KTNS:
type: object
properties:
default_label:
type: string
example: Raspberry Keatons
id:
type: integer
example: 14
translations:
type: array
items:
type: object
properties:
language:
type: string
example: spanish
translation:
type: string
example: Keatons de Frambuesa
unit:
type: string
example: mg
CNZYM_Q10:
type: object
properties:
default_label:
type: string
example: Coenzyme Q10
id:
type: integer
example: 13
translations:
type: array
items:
type: object
properties:
language:
type: string
example: spanish
translation:
type: string
example: Coenzima Q10
unit:
type: string
example: mg
'400':
description: Bad request
'401':
description: Unauthorized, invalid token.
'403':
description: Forbidden
'404':
description: Not found
content:
application/json:
schema:
type: object
oneOf:
- type: object
properties:
message:
type: string
example: 'The provided code is not valid. It should be one of these: [u''RSPBRRY_KTNS'', u''CNZYM_Q10'']'
code:
type: integer
example: 1641
- type: object
properties:
message:
type: string
example: The provided code is not valid. No nutritional indicators defined.
code:
type: integer
example: 1641
- type: object
properties:
message:
type: string
example: 'The provided code already exists. Existing nutritional indicators: [u''RSPBRRY_KTNS'', u''CNZYM_Q10'']'
code:
type: integer
example: 1641
- type: object
properties:
message:
type: string
example: 'This indicator is one of the LogMeal defaults. Provide a custom one. LogMeal indicators: [''ZN'', ''FOLFD'', ''FIBTG'', ''VITB12'', ''VITK1'', ''F20D5'', ''K'', ''FAMS'', ''VITA_RAE'', ''P'', ''CHOCDF'', ''FE'', ''VITC'', ''SUGAR'', ''F18D3CN3'', ''SUGAR.added'', ''VITD'', ''PROCNT'', ''MG'', ''VITB6A'', ''F22D6'', ''FOLDFE'', ''NA'', ''FAPU'', ''NIA'', ''FASAT'', ''FAT'', ''ENERC_KCAL'', ''TOCPHA'', ''FATRN'', ''FOLAC'', ''CHOLE'', ''THIA'', ''CA'', ''RIBF'']'
code:
type: integer
example: 1641
- type: object
properties:
message:
type: string
example: 'Parameter language is not valid. Valid values are {''ger'': ''german'', ''gre'': ''greek'', ''nld'': ''dutch'', ''fre'': ''french'', ''eng'': ''english'', ''ita'': ''italian'', ''spa'': ''spanish'', ''tur'': ''turkish'', ''cat'': ''catalan'', ''heb'': ''hebrew''}'''
code:
type: integer
example: 708
security:
- Bearer: []
operationId: getV2CustomNutritionalIndicator
x-operation-id-source: derived
post:
tags:
- Custom Nutritional Indicators
summary: ⚫🔵 Create a custom nutritional indicator
description: 'Create a custom nutritional indicator. They will be added to the available indicators and can be used, for example, to set goals or to be present in a custom recipe''s nutritional information.
The available indicators with their respective units can be found by using the endpoint ''/v2/info/nutrients''.'
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
code:
type: string
example: RSPBRRY_KET
unit:
type: string
example: mg
default_label:
type: string
example: Raspberry Keatons
description: JSON object containing the attributes of the new custom nutritional indicator.
responses:
'200':
description: Nutritional indicator successfully created
'400':
description: Bad request
'401':
description: Unauthorized, invalid token.
'403':
description: Forbidden
'404':
description: Not found
content:
application/json:
schema:
type: object
oneOf:
- type: object
properties:
message:
type: string
example: 'The provided code is not valid. It should be one of these: [u''RSPBRRY_KTNS'', u''CNZYM_Q10'']'
code:
type: integer
example: 1641
- type: object
properties:
message:
type: string
example: The provided code is not valid. No nutritional indicators defined.
code:
type: integer
example: 1641
- type: object
properties:
message:
type: string
example: 'The provided code already exists. Existing nutritional indicators: [u''RSPBRRY_KTNS'', u''CNZYM_Q10'']'
code:
type: integer
example: 1641
- type: object
properties:
message:
type: string
example: 'This indicator is one of the LogMeal defaults. Provide a custom one. LogMeal indicators: [''ZN'', ''FOLFD'', ''FIBTG'', ''VITB12'', ''VITK1'', ''F20D5'', ''K'', ''FAMS'', ''VITA_RAE'', ''P'', ''CHOCDF'', ''FE'', ''VITC'', ''SUGAR'', ''F18D3CN3'', ''SUGAR.added'', ''VITD'', ''PROCNT'', ''MG'', ''VITB6A'', ''F22D6'', ''FOLDFE'', ''NA'', ''FAPU'', ''NIA'', ''FASAT'', ''FAT'', ''ENERC_KCAL'', ''TOCPHA'', ''FATRN'', ''FOLAC'', ''CHOLE'', ''THIA'', ''CA'', ''RIBF'']'
code:
type: integer
example: 1641
security:
- Bearer: []
operationId: postV2CustomNutritionalIndicator
x-operation-id-source: derived
delete:
tags:
- Custom Nutritional Indicators
summary: ⚫🔵 Delete an existent custom nutritional indicator
description: 'Delete a previously created custom nutritional indicator.
If there is any nutritional goal defined for that custom indicator it will be deleted'
parameters:
- in: query
name: code
schema:
type: string
example: RSPBRRY_KET
required: true
description: Code of the custom nutritional indicator to be deleted.
responses:
'200':
description: Nutritional indicator successfully deleted
'400':
description: Bad request
'401':
description: Unauthorized, invalid token.
'403':
description: Forbidden
'404':
description: Not found
content:
application/json:
schema:
type: object
oneOf:
- type: object
properties:
message:
type: string
example: The provided code is not valid. No nutritional indicators defined.
code:
type: integer
example: 1641
- type: object
properties:
message:
type: string
example: 'The provided code already exists. Existing nutritional indicators: [u''RSPBRRY_KTNS'', u''CNZYM_Q10'']'
code:
type: integer
example: 1641
security:
- Bearer: []
operationId: deleteV2CustomNutritionalIndicator
x-operation-id-source: derived
patch:
tags:
- Custom Nutritional Indicators
summary: ⚫🔵 Patch an existent custom nutritional indicator
description: Patch a previously created custom nutritional indicator.
parameters:
- in: query
name: code
schema:
type: string
example: RSPBRRY_KET
required: true
description: Code of the custom nutritional indicator to be patched.
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
code:
type: string
example: RSPBRRY_KET
description: The new code for the custom nutritional indicator. Optional.
unit:
type: string
example: mg
description: The new unit for the custom nutritional indicator. Optional.
default_label:
type: string
example: Raspberry Keatons
description: The new default label for the custom nutritional indicator. Optional.
description: The request body contains the parameters to be updated.
responses:
'200':
description: Nutritional indicator successfully updated
'400':
description: Bad request
'401':
description: Unauthorized, invalid token.
'403':
description: Forbidden
'404':
description: Not found
content:
application/json:
schema:
type: object
oneOf:
- type: object
properties:
message:
type: string
example: 'The provided code is not valid. It should be one of these: [u''RSPBRRY_KTNS'', u''CNZYM_Q10'']'
code:
type: integer
example: 1641
- type: object
properties:
message:
type: string
example: The provided code is not valid. No nutritional indicators defined.
code:
type: integer
example: 1641
- type: object
properties:
message:
type: string
example: 'The provided code already exists. Existing nutritional indicators: [u''RSPBRRY_KTNS'', u''CNZYM_Q10'']'
code:
type: integer
example: 1641
- type: object
properties:
message:
type: string
example: Provide at least a value to update
code:
type: integer
example: 100
security:
- Bearer: []
operationId: patchV2CustomNutritionalIndicator
x-operation-id-source: derived
/v2/custom_nutritional_indicator_translation:
post:
tags:
- Custom Nutritional Indicators
summary: ⚫🔵 Create a custom nutritional indicator translation
description: 'Create a translation for an specific custom nutritional indicator.
All the available indicators with their respective units can be found by using the endpoint ''/v2/info/nutrients''.
The defined translations can be retrieved by using the endpoint ''GET /v2/info/custom_nutritional_indicator''.'
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
code:
type: string
example: RSPBRRY_KET
translation:
type: string
example: Keatons de Frambuesa
language:
type: string
example: spa
description: JSON object containing the attributes of the new custom nutritional indicator translation.
responses:
'200':
description: Nutritional indicator translation successfully created
'400':
description: Bad request
'401':
description: Unauthorized, invalid token.
'403':
description: Forbidden
'404':
description: Not found
content:
application/json:
schema:
type: object
oneOf:
- type: object
properties:
message:
type: string
example: 'The provided code is not valid. It should be one of these: [u''RSPBRRY_KTNS'', u''CNZYM_Q10'']'
code:
type: integer
example: 1641
- type: object
properties:
message:
type: string
example: 'Parameter language is not valid. Valid values are {''ger'': ''german'', ''gre'': ''greek'', ''nld'': ''dutch'', ''fre'': ''french'', ''eng'': ''english'', ''ita'': ''italian'', ''spa'': ''spanish'', ''tur'': ''turkish'', ''cat'': ''catalan'', ''heb'': ''hebrew''}'''
code:
type: integer
example: 708
- type: object
properties:
message:
type: string
example: There is already a translation for this indicator in spanish
code:
type: integer
example: 100
security:
- Bearer: []
operationId: postV2CustomNutritionalIndicatorTranslation
x-operation-id-source: derived
delete:
tags:
- Custom Nutritional Indicators
summary: ⚫🔵 Delete an existent custom nutritional indicator translation
description: Delete a previously created custom nutritional indicator translation.
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
code:
type: string
example: RSPBRRY_KET
description: The translation code to be deleted.
language:
type: string
example: spa
description: The translation language to be deleted.
description: The request body contains the parameters to indentify the translation to be deleted.
responses:
'200':
description: Nutritional indicator translation successfully deleted
'400':
description: Bad request
'401':
description: Unauthorized, invalid token.
'403':
description: Forbidden
'404':
description: Not found
content:
application/json:
schema:
type: object
oneOf:
- type: object
properties:
message:
type: string
example: The provided code is not valid. No nutritional indicators defined.
code:
type: integer
example: 1641
- type: object
properties:
message:
type: string
example: 'The provided code already exists. Existing nutritional indicators: [u''RSPBRRY_KTNS'', u''CNZYM_Q10'']'
code:
type: integer
example: 1641
- type: object
properties:
message:
type: string
example: default label can't be deleted. Only updated.
code:
type: integer
example: 1642
- type: object
properties:
message:
type: string
example: 'No translations defined for RSPBRRY_KET in turkish. This indicator has these translation languages defined: [u''catalan'', u''english'', u''german'', u''catalan'', u''german'']'
code:
type: integer
example: 1642
- type: object
properties:
message:
type: string
example: No translations defined for RSPBRRY_KET
code:
type: integer
example: 1642
security:
- Bearer: []
operationId: deleteV2CustomNutritionalIndicatorTranslation
x-operation-id-source: derived
patch:
tags:
- Custom Nutritional Indicators
summary: ⚫🔵 Patch an existent custom nutritional indicator translation
description: Patch a previously created custom nutritional indicator translation.
parameters:
- in: query
name: code
schema:
type: string
example: RSPBRRY_KET
description: Code of the custom nutritional indicator translation to be patched.
required: true
description: The code of the custom nutritional indicator translation to be updated.
- in: query
name: base_language
schema:
type: string
example: spa
description: Language of the custom nutritional indicator translation to be patched.
required: true
description: The base language of the custom nutritional indicator translation to be updated.
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
language:
type: string
example: spa
description: The new language for the custom nutritional indicator translation. Optional.
translation:
type: string
example: Keatons de Frambuesa
description: The new translation for the custom nutritional indicator translation. Optional.
description: The request body contains the parameters to be updated.
responses:
'200':
description: Nutritional indicator translation successfully updated
'400':
description: Bad request
'401':
description: Unauthorized, invalid token.
'403':
description: Forbidden
'404':
description: Not found
content:
application/json:
schema:
type: object
oneOf:
- type: object
properties:
message:
type: string
example: 'The provided code is not valid. It should be one of these: [u''RSPBRRY_KTNS'', u''CNZYM_Q10'']'
code:
type: integer
example: 1641
- type: object
properties:
message:
type: string
example: The provided code is not valid. No nutritional indicators defined.
code:
type: integer
example: 1641
- type: object
properties:
message:
type: string
example: 'The provided code already exists. Existing nutritional indicators: [u''RSPBRRY_KTNS'', u''CNZYM_Q10'']'
code:
type: integer
example: 1641
- type: object
properties:
message:
type: string
example: Provide at least a value to update
code:
type: integer
example: 100
- type: object
properties:
message:
type: string
example: 'Parameter language is not valid. Valid values are {''ger'': ''german'', ''gre'': ''greek'', ''nld'': ''dutch'', ''fre'': ''french'', ''eng'': ''english'', ''ita'': ''italian'', ''spa'': ''spanish'', ''tur'': ''turkish'', ''cat'': ''catalan'', ''heb'': ''hebrew''}'''
code:
type: integer
example: 708
security:
- Bearer: []
operationId: patchV2CustomNutritionalIndicatorTranslation
x-operation-id-source: derived
components:
securitySchemes:
Bearer:
type: http
scheme: bearer
bearerFormat: JWT
x-build:
time: '2026-10-19T02:02:11.433999Z'
x-provenance:
method: harvested
publisher: LogMeal
source: https://docs.logmeal.com/openapi/logmeal_openapi.yaml
note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
stamped by stamp-openapi-provenance.py (roadmap#793)