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.
Call it yourself
curl for this page
This API
curl "https://apis.io/api/v1/apis/free-cocktail-api-random-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 form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
OpenAPI Specification
openapi: 3.2.0
info:
title: Free Cocktail Filter Random API
description: TheCocktailDB Free API provides access to a vast database of cocktail recipes, ingredients, glassware, and images. Search by name, ingredient, category, glass, or alcohol content, look up details by ID, list available filters, or fetch a random cocktail.
version: '1.0'
contact:
name: TheCocktailDB
url: https://www.thecocktaildb.com/api.php
servers:
- url: https://www.thecocktaildb.com/api/json/v1/{apiKey}
description: TheCocktailDB JSON API. Use API key "1" for development.
variables:
apiKey:
default: '1'
description: API key. "1" is the free test key; premium keys unlock additional endpoints.
tags:
- name: Random
description: Fetch random cocktails.
paths:
/random.php:
get:
summary: Get a random cocktail
operationId: randomCocktail
tags:
- Random
responses:
'200':
description: Random cocktail.
content:
application/json:
schema:
$ref: '#/components/schemas/DrinkList'
components:
schemas:
DrinkList:
type: object
properties:
drinks:
type: array
items:
$ref: '#/components/schemas/Drink'
Drink:
type: object
properties:
idDrink:
type: string
strDrink:
type: string
strCategory:
type: string
strAlcoholic:
type: string
strGlass:
type: string
strInstructions:
type: string
strDrinkThumb:
type: string
format: uri