GET /cocktails/search
按名称搜索鸡尾酒配方(例如 margarita、mojito、old fashioned)。返回匹配的鸡尾酒及名称、图片、带计量的原料、调制说明、杯型和是否含酒精。数据来自 TheCocktailDB。适用于调酒应用、饮品配方网站、餐厅菜单构建器和派对规划工具。
q
必填
Query
| 名称 | 必填 | 默认值 | 描述 |
|---|---|---|---|
q |
是 | - | Query |
curl "https://nordapi.ee/api/v1/cocktails/search?q=margarita"
curl "https://nordapi.ee/api/v1/cocktails/search?q=margarita"
curl "https://nordapi.ee/api/v1/cocktails/search?q=mojito"
curl "https://nordapi.ee/api/v1/cocktails/search?q=old+fashioned"
{
"count": 6,
"data": [
{
"alcoholic": "Alcoholic",
"category": "Ordinary Drink",
"glass": "Cocktail glass",
"id": "11007",
"ingredients": [
{
"ingredient": "Tequila",
"measure": "1 1/2 oz "
},
{
"ingredient": "Triple sec",
"measure": "1/2 oz "
},
{
"ingredient": "Lime juice",
"measure": "1 oz "
},
{
"ingredient": "Salt",
"measure": null
}
],
"instructions": "Rub the rim of the glass with the lime slice to make the salt stick to it. Take care to moisten only the outer rim and sprinkle the salt on it. The salt should present to the lips of the imbiber and never mix into the cocktail. Shake the other ingredients with ice, then carefully pour into the glass.",
"name": "Margarita",
"thumbnail": "https://www.thecocktaildb.com/images/media/drink/5noda61589575158.jpg"
},
{
"alcoholic": "Alcoholic",
"category": "Ordinary Drink",
"glass": "Cocktail glass",
"id": "11118",
"ingredients": [
{
"ingredient": "Tequila",
"measure": "1 1/2 oz "
},
{
"ingredient": "Blue Curacao",
"measure": "1 oz "
},
{
"ingredient": "Lime juice",
"measure": "1 oz "
},
{
"ingredient": "Salt",
"measure": "Coarse "
}
],
"instructions": "Rub rim of cocktail glass with lime juice. Dip rim in coarse salt. Shake tequila, blue curacao, and lime juice with ice, strain into the salt-rimmed glass, and serve.",
"name": "Blue Margarita",
"thumbnail": "https://www.thecocktaildb.com/images/media/drink/bry4qh1582751040.jpg"
},
{
"alcoholic": "Alcoholic",
"category": "Ordinary Drink",
"glass": "Old-Fashioned glass",
"id": "17216",
"ingredients": [
{
"ingredient": "Tequila",
"measure": "4.5 cl"
},
{
"ingredient": "Lime Juice",
"measure": "1.5 cl"
},
{
"ingredient": "Agave syrup",
"measure": "2 spoons"
}
],
"instructions": "Shake and strain into a chilled cocktail glass.",
"name": "Tommy's Margarita",
"thumbnail": "https://www.thecocktaildb.com/images/media/drink/loezxn1504373874.jpg"
},
{
"alcoholic": "Alcoholic",
"category": "Other / Unknown",
"glass": "Margarita/Coupette glass",
"id": "16158",
"ingredients": [
{
"ingredient": "Ice",
"measure": "1 cup "
},
{
"ingredient": "Tequila",
"measure": "2 oz "
},
{
"ingredient": "Cream of coconut",
"measure": "1/4 cup "
},
{
"ingredient": "Lime juice",
"measure": "3 tblsp fresh "
}
],
"instructions": "Place all ingredients in a blender and blend until smooth. This makes one drink.",
"name": "Whitecap Margarita",
"thumbnail": "https://www.thecocktaildb.com/images/media/drink/srpxxp1441209622.jpg"
},
{
"alcoholic": "Alcoholic",
"category": "Ordinary Drink",
"glass": "Cocktail glass",
"id": "12322",
"ingredients": [
{
"ingredient": "Strawberry schnapps",
"measure": "1/2 oz "
},
{
"ingredient": "Tequila",
"measure": "1 oz "
},
{
"ingredient": "Triple sec",
"measure": "1/2 oz "
},
{
"ingredient": "Lemon juice",
"measure": "1 oz "
},
{
"ingredient": "Strawberries",
"measure": "1 oz "
},
{
"ingredient": "Salt",
"measure": null
}
],
"instructions": "Rub rim of cocktail glass with lemon juice and dip rim in salt. Shake schnapps, tequila, triple sec, lemon juice, and strawberries with ice, strain into the salt-rimmed glass, and serve.",
"name": "Strawberry Margarita",
"thumbnail": "https://www.thecocktaildb.com/images/media/drink/tqyrpw1439905311.jpg"
},
{
"alcoholic": "Alcoholic",
"category": "Cocktail",
"glass": "Collins glass",
"id": "178332",
"ingredients": [
{
"ingredient": "Watermelon",
"measure": "1/2 cup"
},
{
"ingredient": "Mint",
"measure": "5"
},
{
"ingredient": "Grapefruit Juice",
"measure": "1/3 Cup"
},
{
"ingredient": "Lime",
"measure": "Juice of 1/2"
},
{
"ingredient": "Tequila",
"measure": "1 shot"
},
{
"ingredient": "Watermelon",
"measure": "Garnish with"
},
{
"ingredient": "Mint",
"measure": "Garnish with"
}
],
"instructions": "In a mason jar muddle the watermelon and 5 mint leaves together into a puree and strain. Next add the grapefruit juice, juice of half a lime and the tequila as well as some ice. Put a lid on the jar and shake. Pour into a glass and add more ice. Garnish with fresh mint and a small slice of watermelon.",
"name": "Smashed Watermelon Margarita",
"thumbnail": "https://www.thecocktaildb.com/images/media/drink/dztcv51598717861.jpg"
}
],
"success": true
}