Recipes

Get recipes by meal type

get/recipes/meal-type/{mealType}

Request

  • Base URL
    https://dummyjson.com
  • URL
    https://dummyjson.com/recipes/meal-type/{mealType}
  • Auth
    none required

Path parameters

mealTypestring required

Query parameters

limitinteger

Items per page. Use 0 to return all items.

skipinteger

Number of items to skip.

selectstring

Comma-separated fields to include (id is always included).

sortBystring

Field to sort by.

order'asc' | 'desc'

Sort order.

delayinteger

Artificial response delay in milliseconds (0–5000).

Response

Recipes for meal type

totalinteger
skipinteger
limitinteger

Example response

{
  "recipes": [
    {
      "id": 1,
      "name": "Classic Margherita Pizza",
      "ingredients": [
        "Pizza dough"
      ],
      "instructions": [
        "Preheat the oven to 475°F (245°C)."
      ],
      "prepTimeMinutes": 20,
      "cookTimeMinutes": 15,
      "servings": 4,
      "difficulty": "Easy",
      "cuisine": "Italian",
      "caloriesPerServing": 300,
      "tags": [
        "Pizza"
      ],
      "userId": 166,
      "image": "https://cdn.dummyjson.com/recipe-images/1.webp",
      "rating": 4.6,
      "reviewCount": 98,
      "mealType": [
        "Dinner"
      ]
    }
  ],
  "limit": 30
}

Changes

No recorded changes to this operation across all 1 revision of this API.