{"uid":"cap_YEv4rAquSzLWh7t3TXDOp","slug":"saylor-innovations-data-desk-cocktail-recipe-search-e5720e28","name":"Saylor Innovations Data Desk – Cocktail Recipe Search","description":"Cocktail recipe search by name - ingredients with measures, glass, category, alcoholic or not, instructions and tags from TheCocktailDB","url":"https://saylorinnovations.com/api/food/cocktail?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"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"}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_r-qc5YhyyvIIzKpSWdWJm","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Search for cocktail recipes by name, returning ingredients with measures, glass type, category, alcoholic status, instructions, and tags from TheCocktailDB","exampleAgentPrompt":"Can you look up the full recipe for a negroni — ingredients, measures, what glass to use, and how to make it?","exampleUseCases":[{"title":"Home bartender making a classic","prompt":"I want to make a margarita tonight — can you pull up the full recipe with all the ingredients, amounts, and instructions?"},{"title":"Party host planning a cocktail menu","prompt":"I'm hosting a party and want to serve mojitos — what are all the ingredients with measures, what glass do I need, and is it alcoholic?"},{"title":"Checking if a cocktail is non-alcoholic","prompt":"Is a Shirley Temple alcoholic? Can you look it up and give me the full recipe and category?"}],"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-28T00:31:15.939Z","isFirstParty":false,"canonicalSlug":"saylor-innovations-data-desk-cocktail-recipe-search-e5720e28"}