TheCocktailDB · Example Payload

Thecocktaildb Drink Example

CocktailsDrinksRecipesFood and BeverageOpen Data

Thecocktaildb Drink Example is an example object payload from TheCocktailDB, with 29 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

idDrinkstrDrinkstrDrinkAlternatestrTagsstrVideostrCategorystrIBAstrAlcoholicstrGlassstrInstructionsstrInstructionsESstrInstructionsDEstrInstructionsFRstrInstructionsITstrDrinkThumbstrIngredient1strIngredient2strIngredient3strIngredient4strIngredient5strMeasure1strMeasure2strMeasure3strMeasure4strMeasure5strImageSourcestrImageAttributionstrCreativeCommonsConfirmeddateModified

Example Payload

Raw ↑
{
  "idDrink": "11007",
  "strDrink": "Margarita",
  "strDrinkAlternate": null,
  "strTags": "IBA,ContemporaryClassic",
  "strVideo": null,
  "strCategory": "Ordinary Drink",
  "strIBA": "Contemporary Classics",
  "strAlcoholic": "Alcoholic",
  "strGlass": "Cocktail glass",
  "strInstructions": "Rub the rim of the glass with the lime slice to make the salt stick to it. Take care to moisten only the outer rim and sprinkle the salt on it. The salt should present to the lips of the imbiber and never mix into the cocktail. Shake the other ingredients with ice, then carefully pour into the glass.",
  "strInstructionsES": null,
  "strInstructionsDE": null,
  "strInstructionsFR": null,
  "strInstructionsIT": null,
  "strDrinkThumb": "https://www.thecocktaildb.com/images/media/drink/5noda61589575158.jpg",
  "strIngredient1": "Tequila",
  "strIngredient2": "Triple sec",
  "strIngredient3": "Lime juice",
  "strIngredient4": "Salt",
  "strIngredient5": null,
  "strMeasure1": "1 1/2 oz",
  "strMeasure2": "1/2 oz",
  "strMeasure3": "1 oz",
  "strMeasure4": null,
  "strMeasure5": null,
  "strImageSource": "https://commons.wikimedia.org/wiki/File:Klassiche_Margarita.jpg",
  "strImageAttribution": "Cocktailmarler",
  "strCreativeCommonsConfirmed": "Yes",
  "dateModified": "2015-08-18 14:42:59"
}

Work with this as data

Every example 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 examples

4 MCP tools reach this
  • find_examplesBrowse and filter every example in the catalog.
  • 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 example
curl "https://apis.io/api/v1/examples/thecocktaildb-drink-example"
All examples
curl "https://apis.io/api/v1/examples?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.