published

Cocktail DB

Cocktail DB API offers developers free access to a comprehensive database of cocktail recipes, suitable for creating bartending apps, recipe websites, and drink suggestion tools.

Developed by TheCocktailDB

99.95%Uptime
140msLatency
1.8kStars
No AuthAuth
NoCredit Card
RESTStyle
1.0Version
API Endpoints

Reference for available routes, request structures, and live examples.

Returns cocktail details based on the search query name.

Full Endpoint URL
https://www.thecocktaildb.com/search.php?s={cocktail_name}
Implementation Example
curl -X GET 'https://www.thecocktaildb.com/search.php?s={cocktail_name}'
Request Payload
{
  "s": "string (required) - Name of the cocktail to search"
}
Expected Response
{
  "drinks": [
    {
      "idDrink": "11007",
      "strDrink": "Margarita",
      "strIngredient1": "Tequila",
      "strIngredient2": "Triple sec",
      "strIngredient3": "Lime juice",
      "strInstructions": "Rub the rim of the glass with the lime slice to make the salt stick to it..."
    }
  ]
}
Version:v1
Limit:unlimited
Real-World Applications
  • Building cocktail recipe mobile or web appsOptimized Capability
  • Creating ingredient-based drink search featuresOptimized Capability
  • Adding random cocktail generators to party planning sitesOptimized Capability
  • Developing drink suggestion bots for chat appsOptimized Capability
  • Integrating with bar/restaurant digital menusOptimized Capability
Advantages
  • No authentication required
  • Extensive database of cocktail recipes and ingredients
  • Free to use for public projects
  • Simple, easy-to-understand endpoints
  • Consistent JSON output
Limitations
  • Limited to cocktail-related data only
  • No official support or SLA
  • No official SDKs
  • Data updates/community-driven; may lag behind new drinks
  • No advanced search or filtering features (e.g., by glass type or origin country)

FAQs

API Specifications

1.0
Pricing Model
Free with optional donation/sponsorship for commercial use
Credit Card
Not Required
Response Formats
JSON
Supported Languages
9 Languages
SDK Support
REST Only
Time to Hello World

Less than 5 minutes

Rate Limit

Unlimited for public use, polite usage recommended

Free Tier Usage

Unlimited access to all API endpoints for personal and non-commercial projects. Commercial usage may require sponsorship on Patreon.

Use Case: Best For

Developers building cocktail or bartending apps, rapid prototypes, hobby projects, educational use, and drink recommendation tools.

Not Recommended For

Enterprise applications needing complex filtering, historical data, or strict support SLAs.

#food#recipes#cocktails

Explore Related APIs

Discover similar APIs to Cocktail DB

View All APIs
OPEN SOURCE

Foodish

The Foodish API provides developers with free access to random images of food from multiple categories, ideal for enhancing food-related applications and websites.

Food & DrinkView Details
OPEN SOURCE

Open Food Facts

Open Food Facts API offers developers access to a comprehensive crowd-sourced database of food products, suitable for various health-focused applications.

Food & DrinkView Details
OPEN SOURCE

The MealDB

The MealDB API offers developers free access to a vast database of meal recipes, ingredients, and categories, suitable for building culinary apps and websites.

Food & DrinkView Details