LogMeal Units of Measurement and Easy Modulation API

Endpoints with information about cooking measures and easy modulation.⚡ Monitor plan or above ⚡

Operations 3

GET /v2/dataset/referenceIngredients ⚫🔴🔵 Returns a list of ingredients that can be used as salt, sugar and oil for a… #
GET /v2/dataset/weightMeasures/dishes ⚫🔴🔵 Returns information about all weight measures used to display dish weights #
GET /v2/dataset/weightMeasures/ingredients ⚫🔴🔵 Returns information about all weight measures used to display ingredient… #

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/logmeal:logmeal-units-of-measurement-and-easy-modulation-api"
All apis
curl "https://apis.io/api/v1/apis?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.

OpenAPI Specification

logmeal-units-of-measurement-and-easy-modulation-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: 2.1.0
  title: Food AI Engine API Documentation Units of Measurement and…
  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: Units of Measurement and Easy Modulation
  description: 'Endpoints with information about cooking measures and easy modulation.

    ⚡ Monitor plan or above ⚡'
  externalDocs:
    url: https://docs.logmeal.com/docs/guides-features-units-of-measurement#/
paths:
  /v2/dataset/referenceIngredients:
    get:
      tags:
      - Units of Measurement and Easy Modulation
      summary: ⚫🔴🔵 Returns a list of ingredients that can be used as salt, sugar and oil for a…
      description: This endpoint returns a complete list of the ingredients that can be used as the user's choice of salt, sugar and oil. When calculating recipe information we'll check if the user has defined any of these reference ingredients and use them instead of any other types of salt, sugar & oil present in the recipe.
      parameters:
      - 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: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  salt:
                    type: array
                    items:
                      type: object
                      properties:
                        avgQuantity:
                          type: number
                          description: Average quantity of this ingredient in all recipes.
                        id:
                          type: integer
                          example: 562
                        modifier_type:
                          type: string
                          enum:
                          - null
                          - sugar
                          - salt
                          - oil
                        name:
                          type: string
                          example: oil
                        unit:
                          type: string
                          enum:
                          - g
                          - ml
                        state:
                          type: string
                          enum:
                          - solid
                          - liquid
                      description: An object describing an ingredient, with its id and name translated into your language.
                    description: An array of ingredients objects.
                    example:
                    - id: 114
                      name: Eggplant
                    - id: 569
                      name: Egg
                  sugar:
                    type: array
                    items:
                      type: object
                      properties:
                        avgQuantity:
                          type: number
                          description: Average quantity of this ingredient in all recipes.
                        id:
                          type: integer
                          example: 562
                        modifier_type:
                          type: string
                          enum:
                          - null
                          - sugar
                          - salt
                          - oil
                        name:
                          type: string
                          example: oil
                        unit:
                          type: string
                          enum:
                          - g
                          - ml
                        state:
                          type: string
                          enum:
                          - solid
                          - liquid
                      description: An object describing an ingredient, with its id and name translated into your language.
                    description: An array of ingredients objects.
                    example:
                    - id: 114
                      name: Eggplant
                    - id: 569
                      name: Egg
                  oil:
                    type: array
                    items:
                      type: object
                      properties:
                        avgQuantity:
                          type: number
                          description: Average quantity of this ingredient in all recipes.
                        id:
                          type: integer
                          example: 562
                        modifier_type:
                          type: string
                          enum:
                          - null
                          - sugar
                          - salt
                          - oil
                        name:
                          type: string
                          example: oil
                        unit:
                          type: string
                          enum:
                          - g
                          - ml
                        state:
                          type: string
                          enum:
                          - solid
                          - liquid
                      description: An object describing an ingredient, with its id and name translated into your language.
                    description: An array of ingredients objects.
                    example:
                    - id: 114
                      name: Eggplant
                    - id: 569
                      name: Egg
        '400':
          description: Invalid syntax
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: integer
                  message:
                    type: string
        '401':
          description: Unauthorized, invalid token
        '403':
          description: You are not allowed to this method.
        '404':
          description: The specified URL was not found or couldn’t be retrieved
      security:
      - Bearer: []
      operationId: getV2DatasetReferenceIngredients
      x-operation-id-source: derived
  /v2/dataset/weightMeasures/dishes:
    get:
      tags:
      - Units of Measurement and Easy Modulation
      summary: ⚫🔴🔵 Returns information about all weight measures used to display dish weights
      description: 'This endpoint returns an object populated with useful information for displaying dish weight measures such as the

        full length and abbreviated name of each measure, and its conversion rate to grams. The conversion rate is

        specially important as our API requires all weights to be provided to us in grams.


        All measures returned will be translated into the user-preferred language. Check endpoint ''/profile/modifyUserProfileInfo'' for extra details.'
      parameters:
      - 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: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  cooking_measures:
                    type: object
                    properties:
                      id:
                        type: object
                        properties:
                          id:
                            type: integer
                            description: ID for this measure.
                          grams_conversion:
                            type: number
                            format: float
                            description: Number of grams for 1 unit of this measure.
                          name:
                            type: string
                            description: Translated name of this unit.
                  weight:
                    type: object
                    properties:
                      id:
                        type: object
                        properties:
                          id:
                            type: integer
                            description: ID for this measure.
                          grams_conversion:
                            type: number
                            format: float
                            description: Number of grams for 1 unit of this measure.
                          name:
                            type: string
                            description: Translated name of this unit.
                          short:
                            type: string
                            description: A short name for this unit.
                          system:
                            type: string
                            description: Type of measurement system being used, metric or imperial.
                          state:
                            type: string
                            enum:
                            - liquid
                            - solid
                            description: Typical state of the dish. This indicates which 'weight' measures are allowed depending on the corresponding dish type provided in /dataset/dishes. For dishes under type 'drink' the state 'liquid' applies. For any other food type the state 'solid' applies.
        '400':
          description: Invalid syntax
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: integer
                  message:
                    type: string
        '401':
          description: Unauthorized, invalid token
        '403':
          description: You are not allowed to this method.
        '404':
          description: The specified URL was not found or couldn’t be retrieved
      security:
      - Bearer: []
      operationId: getV2DatasetWeightMeasuresDishes
      x-operation-id-source: derived
  /v2/dataset/weightMeasures/ingredients:
    get:
      tags:
      - Units of Measurement and Easy Modulation
      summary: ⚫🔴🔵 Returns information about all weight measures used to display ingredient…
      description: 'This endpoint returns an object populated with useful information for displaying ingredient weight measures such as the

        full length and abbreviated name of each measure, and its conversion rate to grams. The conversion rate is

        specially important as our API requires all weights to be provided to us in grams.


        All measures returned will be translated into the user-preferred language. Check endpoint ''/profile/modifyUserProfileInfo'' for extra details.'
      parameters:
      - 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: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  cooking_measures:
                    type: object
                    properties:
                      id:
                        type: object
                        properties:
                          id:
                            type: integer
                            description: ID for this measure.
                          grams_conversion:
                            type: number
                            format: float
                            description: Number of grams for 1 unit of this measure.
                          name:
                            type: string
                            description: Translated name of this unit.
                  weight:
                    type: object
                    properties:
                      id:
                        type: object
                        properties:
                          id:
                            type: integer
                            description: ID for this measure.
                          grams_conversion:
                            type: number
                            format: float
                            description: Number of grams for 1 unit of this measure.
                          name:
                            type: string
                            description: Translated name of this unit.
                          short:
                            type: string
                            description: A short name for this unit.
                          system:
                            type: string
                            description: Type of measurement system being used, metric or imperial.
                          state:
                            type: string
                            enum:
                            - liquid
                            - solid
                            description: Typical state of the ingredient. This indicates which 'weight' measures are allowed depending on the corresponding ingredient state provided in /dataset/ingredients.
        '400':
          description: Invalid syntax
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: integer
                  message:
                    type: string
        '401':
          description: Unauthorized, invalid token
        '403':
          description: You are not allowed to this method.
        '404':
          description: The specified URL was not found or couldn’t be retrieved
      security:
      - Bearer: []
      operationId: getV2DatasetWeightMeasuresIngredients
      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)