screen size not supported

Recipe JSON example

Last updated 2026-05-20

When to use this

Use this for a recipe app, a meal-planner UI, or a cooking-content CMS. Includes ingredients, instructions, prep/cook time, tags, mealType, and a rating so you can sort or filter the list immediately.

Example JSON

A single recipe, as returned by /recipes/1.
{
  "id": 1,
  "name": "Classic Margherita Pizza",
  "ingredients": [
    "Pizza dough",
    "Tomato sauce",
    "Fresh mozzarella cheese",
    "Fresh basil leaves",
    "Olive oil",
    "Salt and pepper to taste"
  ],
  "instructions": [
    "Preheat the oven to 475°F (245°C).",
    "Roll out the pizza dough and spread tomato sauce evenly.",
    "Top with slices of fresh mozzarella and fresh basil leaves.",
    "Drizzle with olive oil and season with salt and pepper.",
    "Bake in the preheated oven for 12–15 minutes or until the crust is golden brown.",
    "Slice and serve hot."
  ],
  "prepTimeMinutes": 20,
  "cookTimeMinutes": 15,
  "servings": 4,
  "difficulty": "Easy",
  "cuisine": "Italian",
  "caloriesPerServing": 300,
  "tags": [
    "Pizza",
    "Italian"
  ],
  "userId": 45,
  "image": "https://jsonexamples.com/image/400?text=Recipe+1",
  "rating": 4.6,
  "reviewCount": 98,
  "mealType": [
    "Dinner"
  ]
}

Request examples

fetch('https://jsonexamples.com/recipes/1')
  .then(r => r.json())
  .then(recipe => console.log(recipe.name));

Try the live endpoint

Click below to call /recipes/1 from your browser.

// click the button to populate this block

Common variations

Recipe list by tag

Matches /recipes/tag/Italian.

{
  "recipes": [
    {
      "id": 1,
      "name": "Classic Margherita Pizza",
      "cuisine": "Italian",
      "rating": 4.6
    },
    {
      "id": 7,
      "name": "Spaghetti Carbonara",
      "cuisine": "Italian",
      "rating": 4.7
    }
  ],
  "total": 2,
  "skip": 0,
  "limit": 30
}
Compact ingredient-only response

Useful for an autocomplete or shopping list.

{
  "id": 1,
  "name": "Classic Margherita Pizza",
  "ingredients": [
    "Pizza dough",
    "Tomato sauce",
    "Fresh mozzarella cheese",
    "Fresh basil leaves"
  ]
}

Convert this JSON

Generated starting points for TypeScript, JSON Schema, and Zod. Refine before shipping to production.

export interface Recipe {
  "id": number;
  "name": string;
  "ingredients": string[];
  "instructions": string[];
  "prepTimeMinutes": number;
  "cookTimeMinutes": number;
  "servings": number;
  "difficulty": string;
  "cuisine": string;
  "caloriesPerServing": number;
  "tags": string[];
  "userId": number;
  "image": string;
  "rating": number;
  "reviewCount": number;
  "mealType": string[];
}