zapi.
APIsPricingDocsMCP
APIsPricingDocsMCPSign in
zapi.
APIsPricingDocsMCP
APIsPricingDocsMCPSign in
On this page
  • Playground
  • Code examples
  • Full reference
  • Related APIs
Food & Drink/TheMealDB
Logo TheMealDB

TheMealDB

Search and look up meal recipes with ingredients and preparation instructions.

Endpoints
2
Requests
2
Updated
3 months ago
For LLMs
llms.txt
Endpoint health2 days ago
  • searchpassing, 0.8s
  • lookuppassing, 0.2s
2/2 passingdaily 01:00 WIB

Playground

2 endpoints
GET/v1/food:themealdb/search5m cache1 paramchecking key…
Parameters
querystringrequired

Meal keyword (English)

·
Response
EXAMPLE
{
  "ok": true,
  "count": 25,
  "meals": [
    {
      "idMeal": "52795",
      "strArea": "India",
      "strMeal": "Chicken Handi",
      "strTags": null,
      "strSource": "",
      "strYoutube": "https://www.youtube.com/watch?v=IO0issT0Rmc",
      "ingredients": [
        {
          "name": "Chicken",
          "measure": "1.2 kg"
        },
        {
          "name": "Onion",
          "measure": "5 thinly sliced"
        },
        {
          "name": "Tomatoes",
          "measure": "2 finely chopped"
        }
      ],
      "strCategory": "Chicken",
      "strMealThumb": "https://www.themealdb.com/images/media/meals/wyxwsp1486979827.jpg",
      "strInstructions": "Take a large pot or wok, big enough to cook all the chicken, and heat the oil in it. Once the oil is hot, add sliced onion and fry them until deep golden brown. Then take them out …"
    },
    {
      "idMeal": "53358",
      "strArea": "India",
      "strMeal": "Chicken Mandi",
      "strTags": null,
      "strSource": "",
      "strYoutube": "",
      "ingredients": [
        {
          "name": "Chicken",
          "measure": "1"
        },
        {
          "name": "Basmati Rice",
          "measure": "2 cups"
        },
        {
          "name": "Water",
          "measure": "4 cups"
        }
      ],
      "strCategory": "Chicken",
      "strMealThumb": "https://www.themealdb.com/images/media/meals/er4d081765186828.jpg",
      "strInstructions": "1. Clean and cut the chicken; marinate briefly with salt, turmeric and a little oil.\r\n2. Rinse and soak basmati rice 20–30 minutes.\r\n3. In a large pot, heat ghee/oil. Fry chopped o…"
    },
    {
      "idMeal": "53110",
      "strArea": "Australian",
      "strMeal": "Sticky Chicken",
      "strTags": null,
      "strSource": "https://www.bbcgoodfood.com/recipes/sticky-chicken",
      "strYoutube": "https://www.youtube.com/watch?v=o8tz2BOltTg",
      "ingredients": [
        {
          "name": "Chicken drumsticks",
          "measure": "8"
        },
        {
          "name": "Soy Sauce",
          "measure": "2 tblsp"
        },
        {
          "name": "Honey",
          "measure": "1 tablespoon"
        }
      ],
      "strCategory": "Chicken",
      "strMealThumb": "https://www.themealdb.com/images/media/meals/cj56fs1762340001.jpg",
      "strInstructions": "step 1\r\nMake 3 slashes on each of the drumsticks. Mix together the soy, honey, oil, tomato purée and mustard. Pour this mixture over the chicken and coat thoroughly. Leave to marin…"
    }
  ]
}

Code examples

Search
zpi-sdkrecommended
// npm i zpi-sdk
import { ZpiClient } from "zpi-sdk";

const client = new ZpiClient({ apiKey: "zpi_xxxxxxxxxxxxxxxxxxxxxxxx" });

const data = await client.run("food:themealdb", "search", {
  "query": "chicken"
});
console.log(data);
Full SDK reference →
request.sh
curl -X GET "https://api.zpi.web.id/v1/food:themealdb/search?query=chicken" \
  -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"

Full reference

2 endpoints · plain text
GETSearch/v1/food:themealdb/searchSearch meals by name.

Parameters

querystringrequired
Meal keyword (English)

Request

curl -X GET "https://api.zpi.web.id/v1/food:themealdb/search?query=chicken" \
  -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"

Example response

{
  "ok": true,
  "count": 25,
  "meals": [
    {
      "idMeal": "52795",
      "strArea": "India",
      "strMeal": "Chicken Handi",
      "strTags": null,
      "strSource": "",
      "strYoutube": "https://www.youtube.com/watch?v=IO0issT0Rmc",
      "ingredients": [
        {
          "name": "Chicken",
          "measure": "1.2 kg"
        },
        {
          "name": "Onion",
          "measure": "5 thinly sliced"
        },
        {
          "name": "Tomatoes",
          "measure": "2 finely chopped"
        }
      ],
      "strCategory": "Chicken",
      "strMealThumb": "https://www.themealdb.com/images/media/meals/wyxwsp1486979827.jpg",
      "strInstructions": "Take a large pot or wok, big enough to cook all the chicken, and heat the oil in it. Once the oil is hot, add sliced onion and fry them until deep golden brown. Then take them out …"
    },
    {
      "idMeal": "53358",
      "strArea": "India",
      "strMeal": "Chicken Mandi",
      "strTags": null,
      "strSource": "",
      "strYoutube": "",
      "ingredients": [
        {
          "name": "Chicken",
          "measure": "1"
        },
        {
          "name": "Basmati Rice",
          "measure": "2 cups"
        },
        {
          "name": "Water",
          "measure": "4 cups"
        }
      ],
      "strCategory": "Chicken",
      "strMealThumb": "https://www.themealdb.com/images/media/meals/er4d081765186828.jpg",
      "strInstructions": "1. Clean and cut the chicken; marinate briefly with salt, turmeric and a little oil.\r\n2. Rinse and soak basmati rice 20–30 minutes.\r\n3. In a large pot, heat ghee/oil. Fry chopped o…"
    },
    {
      "idMeal": "53110",
      "strArea": "Australian",
      "strMeal": "Sticky Chicken",
      "strTags": null,
      "strSource": "https://www.bbcgoodfood.com/recipes/sticky-chicken",
      "strYoutube": "https://www.youtube.com/watch?v=o8tz2BOltTg",
      "ingredients": [
        {
          "name": "Chicken drumsticks",
          "measure": "8"
        },
        {
          "name": "Soy Sauce",
          "measure": "2 tblsp"
        },
        {
          "name": "Honey",
          "measure": "1 tablespoon"
        }
      ],
      "strCategory": "Chicken",
      "strMealThumb": "https://www.themealdb.com/images/media/meals/cj56fs1762340001.jpg",
      "strInstructions": "step 1\r\nMake 3 slashes on each of the drumsticks. Mix together the soy, honey, oil, tomato purée and mustard. Pour this mixture over the chicken and coat thoroughly. Leave to marin…"
    }
  ]
}
GETLookup/v1/food:themealdb/lookupLook up a meal by its ID.

Parameters

mealIdstringrequired
Meal numeric id

Request

curl -X GET "https://api.zpi.web.id/v1/food:themealdb/lookup?mealId=52772" \
  -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"

Example response

{
  "ok": true,
  "meal": {
    "idMeal": "52772",
    "strArea": "Japanese",
    "strMeal": "Teriyaki Chicken Casserole",
    "strTags": "Meat,Casserole",
    "strSource": null,
    "strYoutube": "https://www.youtube.com/watch?v=4aZr5hZXP_s",
    "ingredients": [
      {
        "name": "soy sauce",
        "measure": "3/4 cup"
      },
      {
        "name": "water",
        "measure": "1/2 cup"
      },
      {
        "name": "brown sugar",
        "measure": "1/4 cup"
      },
      {
        "name": "ground ginger",
        "measure": "1/2 teaspoon"
      },
      {
        "name": "minced garlic",
        "measure": "1/2 teaspoon"
      },
      {
        "name": "cornstarch",
        "measure": "4 Tablespoons"
      },
      {
        "name": "chicken breasts",
        "measure": "2"
      },
      {
        "name": "stir-fry vegetables",
        "measure": "1 (12 oz.)"
      },
      {
        "name": "brown rice",
        "measure": "3 cups"
      }
    ],
    "strCategory": "Chicken",
    "strMealThumb": "https://www.themealdb.com/images/media/meals/wvpsxx1468256321.jpg",
    "strInstructions": "Preheat oven to 350° F. Spray a 9x13-inch baking pan with non-stick spray.\r\nCombine soy sauce, ½ cup water, brown sugar, ginger and garlic in a small saucepan and cover. Bring to a boil over medium heat. Remove lid and cook for one minute once boiling.\r\nMeanwhile, stir together the corn starch and 2 tablespoons of water in a separate dish until smooth. Once sauce is boiling, add mixture to the saucepan and stir to combine. Cook until the sauce starts to thicken then remove from heat.\r\nPlace the chicken breasts in the prepared pan. Pour one cup of the sauce over top of chicken. Place chicken in oven and bake 35 minutes or until cooked through. Remove from oven and shred chicken in the dish using two forks.\r\n*Meanwhile, steam or cook the vegetables according to package directions.\r\nAdd the cooked vegetables and rice to the casserole dish with the chicken. Add most of the remaining sauce, reserving a bit to drizzle over the top when serving. Gently toss everything together in the casserole dish until combined. Return to oven and cook 15 minutes. Remove from oven and let stand 5 minutes before serving. Drizzle each serving with remaining sauce. Enjoy!"
  }
}

Related APIs

More in food

GoFood

food/gofood

Cari restoran GoFood per kota/area & kategori masakan (data SSR). Catatan: detail menu per-resto tidak tersedia (di-gate WAF upstream).

162 calls·5m cache

Open Food Facts

food/openfoodfacts

Retrieve product information, ingredients, and nutritional data from packaged foods.

11 calls·5m cache

Punch Drink

food/punchdrink

Cocktail & drink recipe scraper untuk Punch Drink — cari resep cocktail, ambil detail (bahan, cara, garnish), dan koleksi terbaru.

6 calls·10m cache

Resep Koki

food/resepkoki

Scraper resep masakan Indonesia dari Resep Koki — pencarian, detail resep lengkap (bahan, langkah, durasi), dan resep terbaru.

7 calls·10m cache

Dapur Umami

food/dapurumami

Scraper resep Dapur Umami — kumpulan resep masakan Indonesia, pencarian by keyword, detail resep (bahan, langkah, durasi, porsi).

6 calls·10m cache

Cookpad

food/cookpad

Cookpad recipe scraper — cari resep berdasarkan kata kunci, ambil detail resep, bahan, langkah dan waktu.

6 calls·1h cache
Browse APIsPricingDocsMCP serverGet an API key
zapi.One key, one response shape.
TermsPrivacyCookiesAUPRefunds© 2026