Edamam Shopping List API

The *Shopping List API* provides aggregation of shopping item quantities over one or more ingredient lists, and optional referral to external shopping services. A `shopping-list` call may be issued on a recipe preparation plan, e.g. for recipes assigned to a meal plan's slots, to obtain total shopping quantities for the products involved. Each item in the plan may be scaled individually for the shopping list by indicating the planned consumption as a number of servings; in the absence of such indication, consumption (and therefore preparation) of the complete output of the recipe will be assumed. Both recipes and directly consumable foodstuffs are supported as items in the plan.

Operations 1

POST /api/shopping-list/v2 Create Shopping List From Total Meal Quantities

Documentation

Specifications

Schemas & Data

Other Resources

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/edamam-recipes-shopping-list-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

edamam-recipes-shopping-list-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: '2.0'
  title: Food Database Food Nutrition Request - AI Vision (Beta) Food Nutrition Request - AI Vision (Beta) Shopping List API
  description: 'The *Shopping List API* provides aggregation of shopping item quantities over one or more ingredient lists, and

    optional referral to external shopping services.


    A `shopping-list` call may be issued on a recipe preparation plan, e.g. for recipes assigned to a meal plan''s

    slots, to obtain total shopping quantities for the products involved.  Each item in the plan may be scaled

    individually for the shopping list by indicating the planned consumption as a number of servings; in the absence

    of such indication, consumption (and therefore preparation) of the complete output of the recipe will be assumed.

    Both recipes and directly consumable foodstuffs are supported as items in the plan.'
servers:
- url: https://api.edamam.com
tags:
- name: Shopping List
  description: 'The *Shopping List API* provides aggregation of shopping item quantities over one or more ingredient lists, and

    optional referral to external shopping services.


    A `shopping-list` call may be issued on a recipe preparation plan, e.g. for recipes assigned to a meal plan''s

    slots, to obtain total shopping quantities for the products involved.  Each item in the plan may be scaled

    individually for the shopping list by indicating the planned consumption as a number of servings; in the absence

    of such indication, consumption (and therefore preparation) of the complete output of the recipe will be assumed.

    Both recipes and directly consumable foodstuffs are supported as items in the plan.'
paths:
  /api/shopping-list/v2:
    post:
      tags:
      - Shopping List
      summary: Create Shopping List From Total Meal Quantities
      parameters:
      - name: beta
        in: query
        schema:
          type: boolean
        description: Turn on support for beta features
      - name: shopping-cart
        in: query
        required: false
        schema:
          type: boolean
        description: (BETA only) Generate a shopping cart page for the the foods aggregated in the shopping list
      requestBody:
        description: Meal quantities
        content:
          application/json:
            schema:
              properties:
                entries:
                  description: Recipe preparation plan, as product quantity required for each given recipe
                  type: array
                  items:
                    $ref: '#/components/schemas/RecipeEntry'
            examples:
              Recipe preparation plan, by servings:
                $ref: '#/components/examples/Recipe_preparation_plan_-_by_servings'
              Recipe preparation plan, by total quantity:
                $ref: '#/components/examples/Recipe_preparation_plan_-_by_total_quantity'
      responses:
        200:
          description: Shopping list generated successfully
          content:
            application/json:
              schema:
                properties:
                  entries:
                    description: Aggregated ingredient quantities.
                    type: array
                    items:
                      $ref: '#/components/schemas/ShoppingEntry'
                  _links:
                    description: Links to resources related to the generated shopping list
                    type: object
                    properties:
                      shopping-cart:
                        allOf:
                        - description: (BETA only) Shopping cart link
                        - $ref: '#/components/schemas/LinkEntry'
              examples:
                Shopping list:
                  $ref: '#/components/examples/Shopping_list'
        400:
          description: Malformed or invalid request
      security:
      - app_id: []
        app_key: []
        Edamam-Account-User: []
      - basic: []
        Edamam-Account-User: []
components:
  examples:
    Recipe_preparation_plan_-_by_servings:
      value:
        entries:
        - quantity: 1
          measure: http://www.edamam.com/ontologies/edamam.owl#Measure_serving
          item: http://www.edamam.com/ontologies/edamam.owl#recipe_1
        - quantity: 3
          measure: http://www.edamam.com/ontologies/edamam.owl#Measure_serving
          item: http://www.edamam.com/ontologies/edamam.owl#recipe_2
        - quantity: 2
          measure: http://www.edamam.com/ontologies/edamam.owl#Measure_serving
          item: http://www.edamam.com/ontologies/edamam.owl#recipe_3
    Shopping_list:
      value:
        entries:
        - foodId: food_abcdefghijklmnoprqstuvwxyzab
          food: ABC
          quantities:
          - quantity: 2
            measure: http://www.edamam.com/ontologies/edamam.owl#Measure_unit
            qualifiers:
            - large
          - quantity: 5
            measure: http://www.edamam.com/ontologies/edamam.owl#Measure_unit
        - foodId: food_defghijklmnoprqstuvwxyzabcde
          food: DEF
          quantities:
          - quantity: 1500
            measure: http://www.edamam.com/ontologies/edamam.owl#Measure_milliliter
        - foodId: food_ghijklmnoprqstuvwxyzabcdefgh
          food: GHI
          quantities:
          - quantity: 120
            measure: http://www.edamam.com/ontologies/edamam.owl#Measure_milliliter
        - foodId: food_jklmnoprqstuvwxyzabcdefghijk
          food: JKL
          quantities:
          - quantity: 230
            measure: http://www.edamam.com/ontologies/edamam.owl#Measure_gram
        - foodId: food_xyzabcdefghijklmnoprqstuvwxy
          food: XYZ
          quantities:
          - quantity: 300
            measure: http://www.edamam.com/ontologies/edamam.owl#Measure_gram
    Recipe_preparation_plan_-_by_total_quantity:
      value:
        entries:
        - quantity: 1
          item: http://www.edamam.com/ontologies/edamam.owl#recipe_1
        - quantity: 1
          item: http://www.edamam.com/ontologies/edamam.owl#recipe_2
        - quantity: 2
          item: http://www.edamam.com/ontologies/edamam.owl#recipe_3
  schemas:
    ShoppingEntry:
      type: object
      properties:
        foodId:
          description: Food ID
          type: string
        food:
          description: Food label
          type: string
        quantities:
          description: 'Total quantity required of the specified food item for fulfillment of the requested quantities for the complete recipe preparation plan.  One sub-total is given per each specific shopping measure type.

            '
          type: array
          items:
            type: object
            required:
            - quantity
            - measure
            properties:
              quantity:
                description: Required quantity of the specified units of measure
                type: number
              measure:
                description: Unit of measure (URI)
                type: string
              qualifiers:
                description: Qualifiers applicable to the shopping item, e.g. "large", "small", etc.
                type: array
                items:
                  type: string
    LinkEntry:
      type: object
      required:
      - href
      properties:
        title:
          description: Human-readable link title
          type: string
        href:
          description: Target URL
          type: string
    RecipeEntry:
      type: object
      required:
      - quantity
      - item
      properties:
        quantity:
          description: 'Total quantity of the specified recipe''s product that will be prepared, in given units of measure (see `measure`)

            '
          type: number
        measure:
          description: 'Unit of measure (URI) for the total quantity; if omitted, the unit is the total quantity of a single preparation of the given recipe

            '
          type: string
          enum:
          - http://www.edamam.com/ontologies/edamam.owl#Measure_serving
        item:
          description: Item (recipe of food) URI
          type: string