Get a Random Cocktail

Learn how we can get a random cocktail recipe using this API.

There are times when we want to drink something but are not sure what we should go for. TheCocktailDB API can help us in this kind of situation.

Fetch for a random cocktail

TheCocktailDB API provides us with an endpoint that we can use to get the recipe for a random cocktail. The base URL of this endpoint is https://www.thecocktaildb.com/api/json/v1/1/random.php

Get hands-on with 1200+ tech skills courses.