Μετάβαση στο περιεχόμενο
GET /v1/search

Search recipes by name

Δοκιμάστε το ζωντανά

10 δωρεάν κλήσεις την ημέρα — χωρίς εγγραφή, χωρίς κλειδί API. Μέσω του gateway του oanor.

Προσαρμοσμένες κεφαλίδες (προαιρετικά)
api.oanor.com/recipes-api

Δουλεύει. Πάρε ένα κλειδί API και χρησιμοποίησέ το στο έργο σου.

Λάβετε ένα κλειδί API

Αποσπάσματα κώδικα

curl "https://api.oanor.com/recipes-api/v1/search" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/recipes-api/v1/search", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/recipes-api/v1/search");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
    "https://api.oanor.com/recipes-api/v1/search",
    headers={"x-oanor-key": "oanor_test_..."}
)

Παράδειγμα απόκρισης

Πραγματική απόκριση αυτού του endpoint, από τον τελευταίο έλεγχο υγείας.

{
    "data": {
        "count": 1,
        "query": "arrabiata",
        "recipes": [
            {
                "id": "52771",
                "area": "Italian",
                "name": "Spicy Arrabiata Penne",
                "tags": [
                    "Pasta",
                    "Curry"
                ],
                "source": null,
                "youtube": "https://www.youtube.com/watch?v=1IszT_guI08",
                "category": "Vegetarian",
                "thumbnail": "https://www.themealdb.com/images/media/meals/ustsqw1468250014.jpg",
                "ingredients": [
                    {
                        "measure": "1 pound",
                        "ingredient": "penne rigate"
                    },
                    {
                        "measure": "1/4 cup",
                        "ingredient": "olive oil"
                    },
                    {
                        "measure": "3 cloves",
                        "ingredient": "garlic"
                    },
                    {
                        "measure": "1 tin",
                        "ingredient": "chopped tomatoes"
                    },
                    {
                        "measure": "1/2 teaspoon",
                        "ingredient": "red chilli flakes"
                    },
                    {
                        "measure": "1/2 teaspoon",
                        "ingredient": "italian seasoning"
                    },
                    {
                        "measure": "6 leaves",
                        "ingredient": "basil"
                    },
                    {
                        "measure": "sprinkling",
                        "ingredient": "Parmigiano-Reggiano"
                    }
                ],
                "instructions": "Bring a large pot of water to a boil. Add kosher salt to the boiling water, then add the pasta. Cook according to the package instructions, about 9 minutes.\r\nIn a large skillet over medium-high heat, add the olive oil and heat until the oil starts to shimmer. Add the garlic and cook, stirring, until fragrant, 1 to 2 minutes. Add the chopped tomatoes, red chile flakes, Italian seasoning and salt and pepper to taste. Bring to a boil and cook for 5 minutes. Remove from the heat and add the chopped basil.\r\nDrain the pasta and add it to the sauce. Garnish with Parmigiano-Reggiano flakes and more basil and serve warm."
            }
        ]
    },
    "meta": {
        "timestamp": "2026-05-29T22:42:23.784Z",
        "request_id": "8ab35b34-796c-4aba-9bf5-52da0df8cd6f"
    },
    "status": "ok",
    "message": "Recipes retrieved successfully",
    "success": true
}