# TheCocktailDB API

> TheCocktailDB API on Apizie: 4 endpoints (Search, By ingredient, Lookup, Random) returned as clean JSON through one API key. 4 endpoints are live now. Call it over REST at https://zieapi.vercel.app/v1/food:thecocktaildb/{endpoint} or from Claude, ChatGPT and Cursor through the Apizie MCP server. Free plan: 1,000 requests a month.

- Project key: `food:thecocktaildb`
- Category: Food & Drink
- Status: live
- Source: https://www.thecocktaildb.com/api.php
- Page: https://zieapi.vercel.app/api/food/thecocktaildb
- OpenAPI: https://zieapi.vercel.app/api/food/thecocktaildb/openapi.json

Cocktail recipes, ingredients and images (free tier).

## Endpoints

### Search
`GET https://zieapi.vercel.app/v1/food:thecocktaildb/search`

| Parameter | Type | Required | Description |
|---|---|---|---|
| name | string | yes |  |

### By ingredient
`GET https://zieapi.vercel.app/v1/food:thecocktaildb/by-ingredient`

| Parameter | Type | Required | Description |
|---|---|---|---|
| ingredient | string | yes |  |

### Lookup
`GET https://zieapi.vercel.app/v1/food:thecocktaildb/lookup`

| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes |  |

### Random
`GET https://zieapi.vercel.app/v1/food:thecocktaildb/random`

## Example
```
curl "https://zieapi.vercel.app/v1/food:thecocktaildb/search" \
  -H "x-api-key: $APIZIE_KEY"
```

## FAQ

### How do I call the TheCocktailDB API?
Create a free Apizie key, then send GET https://zieapi.vercel.app/v1/food:thecocktaildb/search with the header x-api-key. Every endpoint returns { project, data, timestamp }.

### Is the TheCocktailDB API free on Apizie?
Yes. The Free plan includes 1,000 requests a month at 100 requests a minute, no credit card.

### Can AI agents use the TheCocktailDB API?
Yes. Add the Apizie MCP server (https://zieapi.vercel.app/mcp) to Claude, ChatGPT, Cursor or VS Code, then ask in plain language. The agent calls run_scraper with project key food:thecocktaildb.

### What is the status of the TheCocktailDB API?
Live: works with just an Apizie key
