Recipes

Last updated 2026-05-20

Copy-ready recipe JSON with ingredients, instructions, prep time, tags, meal type, and ratings. Search, filter by tag or meal, paginate. Live REST endpoint at /recipes.

Recipes

fetch('https://jsonexamples.com/recipes')
  .then(res => res.json())
  .then(console.log);
Response
{
  "recipes": [
    {
      "id": 1,
      "name": "Classic Margherita Pizza",
      "ingredients": ["Pizza dough", "Tomato sauce", "Fresh mozzarella cheese"],
      "prepTimeMinutes": 20,
      "cookTimeMinutes": 15,
      "servings": 4,
      "difficulty": "Easy",
      "cuisine": "Italian",
      "tags": ["Pizza", "Italian"],
      "userId": 45,
      "rating": 4.6,
      "reviewCount": 3,
      "mealType": ["Dinner"]
    }
    // 30 items
  ],
  "total": 100,
  "skip": 0,
  "limit": 30
}
fetch('https://jsonexamples.com/recipes/1')
  .then(res => res.json())
  .then(console.log);
Response
{
  "id": 1,
  "name": "Classic Margherita Pizza",
  "ingredients": ["Pizza dough", "Tomato sauce"],
  "instructions": ["Preheat the oven to 475°F (245°C).", "..."],
  "prepTimeMinutes": 20,
  "cookTimeMinutes": 15,
  "servings": 4,
  "difficulty": "Easy",
  "cuisine": "Italian",
  "tags": ["Pizza", "Italian"],
  "rating": 4.6,
  "mealType": ["Dinner"]
}
  • Use limit and skip for pagination. limit=0 returns all items.
  • Pass select with comma-separated keys to trim the payload.
fetch('https://jsonexamples.com/recipes?limit=10&skip=10&select=name,image')
  .then(res => res.json())
  .then(console.log);
Response
{
  "recipes": [
    { "id": 11, "name": "Chicken Biryani", "image": "..." }
    // 10 items
  ],
  "total": 50,
  "skip": 10,
  "limit": 10
}
fetch('https://jsonexamples.com/recipes/tags')
  .then(res => res.json())
  .then(console.log);
Response
[
  "Pizza", "Italian", "Vegetarian", "Stir-fry", "Asian", "Cookies", "Dessert",
  "Baking", "Pasta", "Chicken", "Salsa", "Salad", "Quinoa", "Bruschetta",
  "Beef", "Caprese", "Shrimp", "Biryani", "Main course", "Indian", "Pakistani",
  "Karahi", "Keema"
]
fetch('https://jsonexamples.com/recipes/tag/Pakistani')
  .then(res => res.json())
  .then(console.log);
Response
{
  "recipes": [
    { "id": 11, "name": "Chicken Biryani", "tags": ["Biryani", "Pakistani"] }
  ],
  "total": 7,
  "skip": 0,
  "limit": 7
}
fetch('https://jsonexamples.com/recipes/meal-type/snack')
  .then(res => res.json())
  .then(console.log);
Response
{
  "recipes": [
    { "id": 3, "name": "Chocolate Chip Cookies", "mealType": ["Snack", "Dessert"] }
  ],
  "total": 3,
  "skip": 0,
  "limit": 3
}

Related examples