Skip to main content
POST
Get Cocktail Recipes

Request contract

  • Method and path: POST /apis/v1/api-ninjas/get-cocktail
  • Availability: enabled
  • Request URL template: https://api.aisa.one/apis/v1/api-ninjas/get-cocktail
Complete OpenAPI definition Effective request declaration (including authentication and referenced schemas):

Cost and request rules

Usage-based pricing. Default request estimate: $0.00089 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
ingredients
string

Comma-separated ingredients to search for. At least one of name or ingredients is required. Uses AND logic and is case-insensitive.

Examples:

"vodka,lime"

"rum,mint,sugar"

name
string

Cocktail name to search for. At least one of name or ingredients is required. Supports partial matches (e.g., 'marg' matches 'Margarita'). Case-insensitive.

Examples:

"margarita"

"bloody mary"

"mojito"

Response

Tool result data

details
object[]
required