← Underholdning

Oppskriftssøk

GET /recipes/search

Søk etter måltidsoppskrifter etter navn eller ingrediensnøkkelord. Returnerer matchende oppskrifter med navn, miniatyrbilder, kategorier og kjøkkenregioner. Data fra TheMealDB, som dekker hundrevis av oppskrifter fra hele verden. Nyttig for kokeboker, måltidsplanleggingsverktøy, oppskriftsoppdagelsesfunksjoner og matblogger som trenger strukturerte oppskriftsdata.

Parametere

q påkrevd

Query

Eksempelforespørsler

Grunnleggende bruk
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"

Livesvar

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