GET /recipes/search
Search for meal recept by namn or ingredient keyword. Returnerar matchande recept med namn, thumbnail bilder, kategorier, and cuisine regioner. Data från TheMealDB, som täcker hundreds of recept från runt om i världen. Användbart för cooking appar, meal att planera verktyg, recipe discovery funktioner, and food blogs som behöver structured recipe data.
q
obligatorisk
Query
| Namn | Obligatorisk | Standard | Beskrivning |
|---|---|---|---|
q |
Ja | - | Query |
curl "https://nordapi.ee/api/v1/recipes/search?q=pasta"
curl "https://nordapi.ee/api/v1/recipes/search?q=pasta"
curl "https://nordapi.ee/api/v1/recipes/search?q=chocolate+cake"
curl "https://nordapi.ee/api/v1/recipes/search?q=chicken"
{
"count": 1,
"data": [
{
"area": "Italian",
"category": "Seafood",
"id": "52777",
"ingredients": [
{
"ingredient": "mozzarella balls",
"measure": "200 g"
},
{
"ingredient": "baby plum tomatoes",
"measure": "250 g"
},
{
"ingredient": "fresh basil",
"measure": "1 bunch"
},
{
"ingredient": "farfalle",
"measure": "350 g"
},
{
"ingredient": "extra virgin olive oil",
"measure": "3 tablespoons"
},
{
"ingredient": "Green Olives",
"measure": "40 g"
},
{
"ingredient": "tuna",
"measure": "200 g"
},
{
"ingredient": "salt",
"measure": "to taste"
},
{
"ingredient": "pepper",
"measure": "to taste"
}
],
"instructions": "Bring a large saucepan of salted water to the boil\r\nAdd the pasta, stir once and cook for about 10 minutes or as directed on the packet.\r\nMeanwhile, wash the tomatoes and cut into quarters. Slice the olives. Wash the basil.\r\nPut the tomatoes into a salad bowl and tear the basil leaves over them. Add a tablespoon of olive oil and mix.\r\nWhen the pasta is ready, drain into a colander and run cold water over it to cool it quickly.\r\nToss the pasta into the salad bowl with the tomatoes and basil.\r\nAdd the sliced olives, drained mozzarella balls, and chunks of tuna. Mix well and let the salad rest for at least half an hour to allow the flavours to mingle.\r\nSprinkle the pasta with a generous grind of black pepper and drizzle with the remaining olive oil just before serving.",
"name": "Mediterranean Pasta Salad",
"source": "https://thelemonsqueezy.com/recipe/mediterranean-pasta-salad/",
"tags": [
"Pasta",
"Baking"
],
"thumbnail": "https://www.themealdb.com/images/media/meals/wvqpwt1468339226.jpg",
"youtube": "https://www.youtube.com/watch?v=e52IL8zYmaE"
}
],
"success": true
}