Skip to content

TheCocktailDB API

4 endpointsEntertainment & BooksGlobalsocial:read

Cocktails with ingredients, measures, glass and instructions from thecocktaildb.com pages.

View as Markdown
GET/thecocktaildb/drinkOne cocktail from its TheCocktailDB page: ingredients with measures, glass, tags and instructions.
GET/thecocktaildb/searchCocktails whose name matches a search, from TheCocktailDB's search page.
GET/thecocktaildb/letterCocktails whose name starts with one letter.
GET/thecocktaildb/ingredientOne cocktail ingredient from its page, with the cocktails that use it.

drink

GET/v1/thecocktaildb/drink

One cocktail from its TheCocktailDB page: ingredients with measures, glass, tags and instructions.

scope social:read1 unitcached 24 h

Parameters

id
string
required
Cocktail id such as 11007, or the cocktail's thecocktaildb.com URL.
e.g. 11007
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

10 fields
glassstring
idstring
imageUrlstring
ingredientsIngredient[]
measurestring
namestring
instructionsstring
namestring
tagsstring[]
urlstring
curl "https://api.hoshime.com/v1/thecocktaildb/drink?id=11007" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Response shape
{
  "data": {
    "glass": "…",
    "id": "abc123",
    "imageUrl": "https://…",
    "ingredients": [
      {
        "measure": "…",
        "name": "…"
      }
    ],
    "instructions": "…",
    "name": "…",
    "tags": [
      "…"
    ],
    "url": "https://…"
  },
  "meta": {
    "cached": false,
    "endpoint": "drink",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "platform": "thecocktaildb",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

letter

GET/v1/thecocktaildb/letter

Cocktails whose name starts with one letter.

scope social:read1 unitcached 6 hpaginated

Parameters

letter
string
required
One letter, a to z.
e.g. m
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

4 fields
idstring
imageUrlstring
namestring
urlstring
curl "https://api.hoshime.com/v1/thecocktaildb/letter?letter=m" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Response shape
{
  "data": [
    {
      "id": "abc123",
      "imageUrl": "https://…",
      "name": "…",
      "url": "https://…"
    }
  ],
  "meta": {
    "cached": false,
    "endpoint": "letter",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "pagination": {
      "nextCursor": "EpcDEgV…",
      "hasMore": true,
      "total": null
    },
    "platform": "thecocktaildb",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}

ingredient

GET/v1/thecocktaildb/ingredient

One cocktail ingredient from its page, with the cocktails that use it.

scope social:read1 unitcached 24 h

Parameters

id
string
required
Ingredient id such as 4, or the ingredient's thecocktaildb.com URL.
e.g. 4
tunnel
string
Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy.
proxy
string
Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it.
profileId
string
Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only.

Response data

9 fields
drinksDrinkSummary[]
idstring
imageUrlstring
namestring
urlstring
idstring
imageUrlstring
namestring
urlstring
curl "https://api.hoshime.com/v1/thecocktaildb/ingredient?id=4" \
  -H "Authorization: Bearer $HOSHIME_TOKEN"
200 Response shape
{
  "data": {
    "drinks": [
      {
        "id": "abc123",
        "imageUrl": "https://…",
        "name": "…",
        "url": "https://…"
      }
    ],
    "id": "abc123",
    "imageUrl": "https://…",
    "name": "…",
    "url": "https://…"
  },
  "meta": {
    "cached": false,
    "endpoint": "ingredient",
    "fetchedAt": "2026-11-06T09:41:00Z",
    "platform": "thecocktaildb",
    "requestId": "req_2Xb9kQ…",
    "units": 1
  }
}
esc
↑↓ move↵ open