For Agents
Programmatically search cocktails, lookup cocktail or ingredient details. Covers 5 operations.
Use for: I need to cocktails, I want to lookup cocktail or ingredient details, Search for a random cocktail, Find all filter cocktails
Not supported: Does not handle payments, communications, or crm - use for developer tools only.
An open, crowd-sourced database of drinks and cocktails from around the world. The API exposes 5 endpoints.
Install Jentic One Beta
Jentic One is a self-hosted execution layer for AI agents. It lets your agent call the TheCocktailDB API, or any other public or private API you need. You set the rules, the agent never sees your credentials, and every call is logged.
Two steps, two machines. Install the instance in a safe environment, then register your agent from wherever it runs.
Step 1: Jentic One Host machine
# On the machine that will host your Jentic One instance:
curl -fsSL "https://jentic.com/install.sh?src=apis&api=%2Fapis%2Fthecocktaildb.com%2Fthecocktaildb" | shStep 2: Agent machine
# On the machine where your agent runs (keep this separate from the instance):
curl -fsSL "https://jentic.com/install.sh?src=apis&api=%2Fapis%2Fthecocktaildb.com%2Fthecocktaildb" | sh
jentic register # connects your agent to your Jentic One instanceJentic One is in public beta. The setup above keeps your agent separate from the instance, which is what you want before using real credentials: an agent running as the same OS user as Jentic One can read its stored keys directly. Just evaluating? A single local install is fine to start. See the secure deployment guide for the tiers.
What an agent can do with TheCocktailDB API.
Search cocktails
Lookup cocktail or ingredient details
Get a random cocktail
Filter cocktails
List categories, glasses, ingredients, or alcoholic filters
Patterns agents use TheCocktailDB API for, with concrete tasks.
★ Developer Tools Operations
Use the TheCocktailDB API to perform developer tools operations programmatically. The API provides 5 endpoints covering core functionality including search cocktails, lookup cocktail or ingredient details, get a random cocktail.
Call GET /search.php to search cocktails
Automated Filter.Php Management
Automate filter.php operations by combining multiple TheCocktailDB API endpoints. Agents can lookup cocktail or ingredient details and then get a random cocktail in a single workflow.
Call GET /lookup.php to lookup cocktail or ingredient details, then verify the result
AI Agent Integration via Jentic
AI agents discover and call TheCocktailDB API endpoints through Jentic without managing credentials directly. An agent searches for the required operation by intent, receives the matching endpoint schema, and executes the call with Jentic-managed authentication. This eliminates the need to read API documentation or handle none tokens manually.
Search Jentic for 'search cocktails', load the operation schema, and execute with Jentic-managed credentials
5 endpoints — an open, crowd-sourced database of drinks and cocktails from around the world.
METHOD
PATH
DESCRIPTION
/search.php
Search cocktails
/lookup.php
Lookup cocktail or ingredient details
/random.php
Get a random cocktail
/filter.php
Filter cocktails
/list.php
List categories, glasses, ingredients, or alcoholic filters
/search.php
Search cocktails
/lookup.php
Lookup cocktail or ingredient details
/random.php
Get a random cocktail
/filter.php
Filter cocktails
/list.php
List categories, glasses, ingredients, or alcoholic filters
What agents get from Jentic-routed access to this vendor.
Setup
Wiring TheCocktailDB by hand means placing your API key in the path against www.thecocktaildb.com and handling each search and lookup endpoint yourself. Through Jentic you install once, import TheCocktailDB from the API Directory, store the key once, and your agent calls it.
Permission scoping
TheCocktailDB is read-only, passing search and filter terms as query parameters on endpoints like /search.php and /lookup.php, so limit the agent to the operations it needs, such as searching cocktails or fetching a random drink. You choose that set, so an endpoint is only reachable if you include it.
Credential isolation
Your TheCocktailDB API key is stored once, encrypted, by your own Jentic One instance and injected at execution time. It never enters the agent's prompt, logs, or context.
Intent-based discovery
Agents search Jentic by intent such as 'search for a cocktail' or 'get a random drink recipe', and Jentic returns the matching TheCocktailDB operation with its input schema so the agent calls the right endpoint without browsing the reference docs.
Alternatives and complements available in the Jentic catalogue.
Github
Alternative developer tools API
Choose Github when you need a different approach to developer tools operations
Specific to using TheCocktailDB API through Jentic.
What authentication does the TheCocktailDB API use?
The TheCocktailDB API uses no authentication. Through Jentic, these credentials are stored encrypted in your Jentic One instance and injected at execution time, so raw secrets never enter the agent context.
Can I search cocktails with the TheCocktailDB API?
Yes. Use the GET /search.php endpoint. The API returns structured JSON responses that agents can parse and act on directly.
What are the rate limits for the TheCocktailDB API?
Rate limits are not specified in the OpenAPI spec. Check the vendor documentation for current limits. Through Jentic, rate limiting is handled automatically with retry logic built into the execution layer.
How do I search cocktails through Jentic?
Install the Jentic SDK with pip install jentic, authenticate through Jentic One, the self-hosted execution layer, then search for 'search cocktails'. Jentic returns the matching TheCocktailDB API operation with its input schema. Load the schema and execute the call - credentials are injected automatically.
How many endpoints does the TheCocktailDB API have?
The TheCocktailDB API exposes 5 endpoints covering filter.php, list.php, lookup.php operations.
GET STARTED