# Saylor Innovations Data Desk – Cocktail Recipe Search

> Saylor Innovations Data Desk – Cocktail Recipe Search is a paid API for AI agents from saylorinnovations.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-28).

Search for cocktail recipes by name, returning ingredients with measures, glass type, category, alcoholic status, instructions, and tags from TheCocktailDB

## Facts

- Endpoint: GET https://saylorinnovations.com/api/food/cocktail?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-28
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/saylor-innovations-data-desk-cocktail-recipe-search-e5720e28
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_YEv4rAquSzLWh7t3TXDOp

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability saylor-innovations-data-desk-cocktail-recipe-search-e5720e28
```

Example prompt: Can you look up the full recipe for a negroni — ingredients, measures, what glass to use, and how to make it?

## When to prefer this

Use this endpoint when you need structured cocktail recipe data including ingredients, measures, glass type, and instructions, especially when the source attribution to TheCocktailDB is acceptable. Prefer this over web scraping or general LLM knowledge when you need reliable, structured recipe data with exact quantities. Best suited for single cocktail lookups by name rather than browsing by ingredient or category.

## Known failure modes

- No cocktail found matching the search term — returns empty cocktails array
- Misspelled or ambiguous cocktail name returns no results or unintended matches
- Query parameter 'q' missing — returns validation error
- Upstream TheCocktailDB unavailable — may return 500 or timeout
- Very generic query (e.g. 'rum') may return no direct name match

## How this service works

Cocktail recipe search by name - ingredients with measures, glass, category, alcoholic or not, instructions and tags from TheCocktailDB

## Output

Returns the interpreted query string, the data source attribution, a count of matching cocktails, and an array of cocktail objects each containing the cocktail name, ingredients with their measures, recommended glass type, category, alcoholic/non-alcoholic classification, preparation instructions, and tags.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "q"
     ],
     "properties": {
      "q": {
       "type": "string",
       "description": "Cocktail name, e.g. margarita, negroni, mojito"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "json"
    },
    "example": {
     "type": "object",
     "required": [
      "query",
      "cocktails"
     ],
     "properties": {
      "count": {
       "type": "number",
       "description": "Number of items returned"
      },
      "query": {
       "type": "string",
       "description": "The query as the server interpreted it"
      },
      "source": {
       "type": "string",
       "description": "Data source the values come from"
      },
      "cocktails": {
       "type": "array"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/saylor-innovations-data-desk-cocktail-recipe-search-e5720e28/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from saylorinnovations.com](https://www.zero.xyz/host/saylorinnovations.com/llms.txt)
