Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

TheCocktailDB Search API

Search for cocktails and ingredients

TheCocktailDB Search API is one of 5 APIs that TheCocktailDB publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Search. The published artifact set on APIs.io includes an OpenAPI specification.

This API exposes 1 operation across 1 path, and defines 2 schemas. It is described by OpenAPI 3.0.3, at version 1.0.

Requests are made against a single base URL, https://www.thecocktaildb.com/api/json/v1/1.

1 operations 1 paths 2 schemas 1 GET

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.3
API Version
1.0
Base URL
https://www.thecocktaildb.com/api/json/v1/1
Resource Areas
1

Paths & Operations 1

Across 1 path, the API surfaces 1 operation — 1 GET. Each is listed below with its method, path, parameters, and response codes.

Search 1

Search for cocktails and ingredients

GET
/search.php
TheCocktailDB Search Cocktails by Name or First Letter
searchCocktailsByName 3 params → 200

Schemas 2

The contract defines 2 schemas that model the data the API accepts and returns. The most detailed are Drink (25 properties), CocktailsResponse (1 property). Each schema is shown below with its type and property counts.

Drink
object
Full cocktail details including ingredients, instructions, and media
25 properties
CocktailsResponse
object
Response containing a list of cocktails
1 property

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

thecocktaildb-search-api-openapi.yml Raw ↑

Other APIs TheCocktailDB publishes across the network.

TheCocktailDB API
TheCocktailDB Filter API
TheCocktailDB List API
TheCocktailDB Lookup API