TheCocktailDB List API

List available categories, glasses, and ingredients

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/thecocktaildb-list-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

thecocktaildb-list-api-openapi.yml Raw ↑
openapi: 3.0.3
info:
  title: TheCocktailDB Filter List API
  description: An open, crowd-sourced database of cocktails and drinks from around the world with a free API. Search cocktails by name, ingredient, category, glass type, or alcoholic content. Includes detailed recipes, measurements, and images.
  version: '1.0'
  contact:
    url: https://www.thecocktaildb.com/
  x-generated-from: documentation
servers:
- url: https://www.thecocktaildb.com/api/json/v1/1
  description: Production API server (free tier with API key 1)
security: []
tags:
- name: List
  description: List available categories, glasses, and ingredients
paths:
  /list.php:
    get:
      operationId: listCategories
      summary: TheCocktailDB List Categories, Glasses, Ingredients, or Alcoholic Filters
      description: List all available categories ('c=list'), glasses ('g=list'), ingredients ('i=list'), or alcoholic filters ('a=list').
      tags:
      - List
      parameters:
      - name: c
        in: query
        description: Set to 'list' to retrieve all categories
        required: false
        schema:
          type: string
          enum:
          - list
      - name: g
        in: query
        description: Set to 'list' to retrieve all glass types
        required: false
        schema:
          type: string
          enum:
          - list
      - name: i
        in: query
        description: Set to 'list' to retrieve all ingredients
        required: false
        schema:
          type: string
          enum:
          - list
      - name: a
        in: query
        description: Set to 'list' to retrieve all alcoholic filter options
        required: false
        schema:
          type: string
          enum:
          - list
      responses:
        '200':
          description: List of available filter values
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListResponse'
              examples:
                ListCategories200Example:
                  summary: Default listCategories 200 response
                  x-microcks-default: true
                  value:
                    drinks:
                    - strCategory: Ordinary Drink
                    - strCategory: Cocktail
                    - strCategory: Shake
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
components:
  schemas:
    ListResponse:
      type: object
      description: List of available filter values
      properties:
        drinks:
          type: array
          description: Array of list items
          items:
            type: object
            additionalProperties:
              type: string