TheMealDB serves recipes with ingredients, instructions, and photos. The 1 in the path is the public test key.
The test key 1 in the URL works for development. Production use needs a paid key in its place.
Full reference: https://www.themealdb.com/api.php
curl "https://www.themealdb.com/api/json/v1/1/search.php?s=arrabiata"
{
"meals": [
{
"idMeal": "52771",
"strMeal": "Spicy Arrabiata Penne",
"strMealAlternate": null,
"strCategory": "Vegetarian",
"strArea": "Italian",
"strCountry": "Italy",
"strMealThumb": "https://www.themealdb.com/images/media/meals/ustsqw1468250014.jpg",
"strTags": "Pasta,Curry",
"strYoutube": "https://www.youtube.com/watch?v=1IszT_guI08",
"strIngredient1": "penne rigate",
"strIngredient2": "olive oil",
"strIngredient3": "garlic",
"strIngredient4": "chopped tomatoes",
"strIngredient5": "red chilli flakes",
"strIngredient6": "italian seasoning"
}
]
}
curl "https://www.themealdb.com/api/json/v1/1/filter.php?a=Mexican"
{
"meals": [
{
"strMeal": "Braised Beef Chilli",
"strMealThumb": "https://www.themealdb.com/images/media/meals/uuqvwu1504629254.jpg",
"idMeal": "52826",
"strArea": "Mexican",
"strCountry": "Mexico"
},
{
"strMeal": "Cajun spiced fish tacos",
"strMealThumb": "https://www.themealdb.com/images/media/meals/uvuyxu1503067369.jpg",
"idMeal": "52819",
"strArea": "Mexican",
"strCountry": "Mexico"
}
]
}
curl https://www.themealdb.com/api/json/v1/1/categories.php
{
"categories": [
{
"idCategory": "1",
"strCategory": "Beef",
"strCategoryThumb": "https://www.themealdb.com/images/category/beef.png",
"strCategoryDescription": "Beef is the culinary name for meat from cattle, particularly skeletal muscle. Humans have been eating beef since prehistoric times.[1] Beef is a source of high-quality protein and essential nutrients.[2]"
},
{
"idCategory": "2",
"strCategory": "Chicken",
"strCategoryThumb": "https://www.themealdb.com/images/category/chicken.png"
}
]
}