GETGet Cocktail
https://api-cocktails.dataandapis.com/v1/cocktails/{slug}
Path parameters
| Parameter | Example | |
|---|---|---|
| slug | margarita | Required |
Example request
curl "https://api-cocktails.dataandapis.com/v1/cocktails/margarita" \
-H "X-Api-Key: YOUR_API_KEY"{
"name": "Margarita",
"slug": "margarita",
"category": "Sour",
"glass": "Margarita glass",
"alcoholic": true,
"ingredients": [
{
"name": "Tequila",
"measure": "2 oz"
},
{
"name": "Lime juice",
"measure": "1 oz"
},
{
"name": "Triple sec",
"measure": "1 oz"
}
],
"garnish": "Salt rim and a lime wheel",
"instructions": "Shake all ingredients with ice and strain into a salt-rimmed glass over fresh ice.",
"tags": [
"tequila",
"citrus",
"iba"
]
}



