← Divertissement

Recherche de recettes

GET /recipes/search

Recherchez des recettes de plats par nom ou par mot-clé d'ingrédient. Renvoie les recettes correspondantes avec leurs noms, vignettes, catégories et régions culinaires. Données de TheMealDB couvrant des centaines de recettes du monde entier. Utile pour les applications de cuisine, les outils de planification de repas, les fonctionnalités de découverte de recettes et les blogs culinaires qui ont besoin de données de recettes structurées.

Visualisez-le

Paramètres

q requis

Query

Exemples de requêtes

Utilisation de base
curl "https://nordapi.ee/api/v1/recipes/search?q=pasta"
Search for pasta recipes
curl "https://nordapi.ee/api/v1/recipes/search?q=pasta"
Search for chocolate desserts
curl "https://nordapi.ee/api/v1/recipes/search?q=chocolate+cake"
Search for chicken recipes
curl "https://nordapi.ee/api/v1/recipes/search?q=chicken"

Réponse en direct

{
  "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
}