Request and Response Structure
Learn about the request and response structure of TheCocktailDB API.
Request structure
The request for TheCocktailDB API contains the endpoint the user wants to call. Each endpoint serves a different function. Here is a list of the base URLs which can be used:
Function | Base URI |
Search cocktails by ingredient, first letter, or name |
|
Lookup cocktails or ingredients by database IDs |
|
Get a random cocktail recipe |
|
Filter cocktails by ingredients, alcoholic filters, categories, or glass type |
|
List the available categories, glasses, ingredients, or alcoholic filters |
|
Note: ...