POST /food/ingredients/map

Map Ingredients to Grocery Products

Map a set of ingredients to products you can buy in the grocery store.

Request Traces

Request Headers

POST https://api.spoonacular.com/food/ingredients/map
Accept: application/json

Request Content

{
   "ingredients":    [
      {
      },
   ],
   "servings": 0,
}

HTTP Response

HTTP 200

Success

[
   {
      "ingredientImage": "string",
      "meta":       [
         {
         },
      ],
      "original": "string",
      "originalName": "string",
      "products":       [
         {
            "id": 0,
            "title": "string",
            "upc": "string",
         },
      ],
   },
]
HTTP 401

Unauthorized

HTTP 403

Forbidden

HTTP 404

Not Found