Discover/Diffordsguide API
live

Diffordsguide APIdiffordsguide.com

Search, list, and retrieve structured cocktail recipes from Difford's Guide. Get ingredients, steps, ratings, glass type, and garnish for thousands of drinks.

Endpoint health
verified 3d ago
list_cocktails
search_cocktails
get_cocktail_details
3/3 passing latest checkself-healing
Endpoints
3
Updated
22d ago

What is the Diffordsguide API?

The Difford's Guide API gives developers access to thousands of cocktail recipes across 3 endpoints, covering structured recipe data including ingredients, preparation steps, glass type, garnish, and ratings. Use search_cocktails to find drinks by name or ingredient keyword, get_cocktail_details to pull full recipe metadata for a single cocktail page, or list_cocktails to paginate through the directory in reverse chronological order.

Try it
Search keyword such as a cocktail name or ingredient (e.g. 'margarita', 'vodka', 'negroni').
api.parse.bot/scraper/20eec9e9-6f5e-4af3-9bfd-49aa28684d35/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Call it over HTTPgrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/20eec9e9-6f5e-4af3-9bfd-49aa28684d35/search_cocktails?query=margarita' \
  -H 'X-API-Key: $PARSE_API_KEY'
Python SDK · recommended

Typed, relational, agent-ready

A generated client with real types, enums, and the links between objects — the structure a flat JSON response can't carry. Autocompletes in your editor and reads cleanly to coding agents.

  • Fully typed · autocompletes
  • Objects link to objects
  • Typed errors & pagination

Typed Python client. Set up the SDK in your uv project, then pull this API’s typed client:

uv add parse-sdk
uv run parse init
uv run parse add --marketplace diffordsguide-com-api

uv run parse add --marketplace pulls a pinned snapshot of this canonical API — it won’t change underneath you. To customize it, subscribe and swap to your own copy.

"""Difford's Guide Cocktail API — search, browse, and get full recipes."""
from parse_apis.difford_s_guide_cocktail_api import DiffordsGuide, CocktailNotFound

client = DiffordsGuide()

# Search for cocktails by keyword — single-page results, capped by limit
for summary in client.cocktailsummaries.search(query="negroni", limit=3):
    print(summary.name, summary.url)

# Drill into the first search hit for the full recipe
hit = client.cocktailsummaries.search(query="margarita", limit=1).first()
if hit:
    cocktail = hit.details()
    print(cocktail.name, cocktail.rating, cocktail.rating_count)
    for ingredient in cocktail.ingredients:
        print(" ", ingredient)

# Browse the directory in reverse chronological order
for item in client.cocktailsummaries.list(limit=3):
    print(item.name, item.date)

# Direct point-lookup by URL
try:
    detail = client.cocktails.get(url="https://www.diffordsguide.com/cocktails/recipe/1255/margarita-on-the-rocks-diffords-recipe")
    print(detail.name, detail.cuisine, detail.glass)
except CocktailNotFound as exc:
    print(f"Recipe removed: {exc.url}")

print("exercised: cocktailsummaries.search / cocktailsummaries.list / hit.details / cocktails.get")
All endpoints · 3 totalmissing one? ·

Full-text search over Difford's Guide cocktail directory by name or ingredient keyword. Returns all matching results in a single page. Each result carries a name and URL suitable for drilling into full recipe details via get_cocktail_details.

Input
ParamTypeDescription
queryrequiredstringSearch keyword such as a cocktail name or ingredient (e.g. 'margarita', 'vodka', 'negroni').
Response
{
  "type": "object",
  "fields": {
    "total": "integer count of results returned",
    "results": "array of cocktail summary objects, each with 'name' (string) and 'url' (string)"
  },
  "sample": {
    "data": {
      "total": 24,
      "results": [
        {
          "url": "https://www.diffordsguide.com/cocktails/recipe/1255/margarita-on-the-rocks-diffords-recipe",
          "name": "Margarita on-the-rocks (Difford's recipe)"
        }
      ]
    },
    "status": "success"
  }
}

About the Diffordsguide API

What the API Covers

The Difford's Guide API exposes cocktail directory data across three endpoints. search_cocktails accepts a query string — a cocktail name like negroni or an ingredient like vodka — and returns a flat list of matching results, each with a name and url. The total field tells you how many matches came back. These URLs feed directly into get_cocktail_details.

Recipe Detail Fields

get_cocktail_details takes a full cocktail page URL and returns a structured object with up to 14 fields: name, tags (array of keyword strings), glass, image, steps (ordered preparation instructions), rating, cuisine, garnish, category, and url. Fields like glass, rating, cuisine, and garnish are nullable — not every recipe on the site specifies all of them. The steps array preserves preparation order, which matters for drinks with multiple build phases.

Browsing and Pagination

list_cocktails lets you paginate the full cocktail directory in reverse chronological order. Each page returns summary objects with name, description, url, image, and date. Set limit up to 100 per page. Pagination is cursor-based using a Unix timestamp string: the next_cursor field from one response becomes the cursor param for the next. When has_more is false, you've reached the end of the directory.

Reliability & maintenanceVerified

The Diffordsguide API is a managed, monitored endpoint for diffordsguide.com — not a raw scraper you maintain. Every endpoint is automatically health-checked on a schedule, and when diffordsguide.com changes and a check fails, the API is automatically queued for repair and re-verified. It is built to keep working as the site underneath it changes.

This isn't an official diffordsguide.com API — it's an independent, maintained REST wrapper over public data. Where the source has no official API (or only a limited one), Parse gives you a stable contract over a source that never promised one, and keeps it current. Need a new endpoint or field? You can revise it yourself in plain English and the agent rebuilds it against the live site in minutes — contributing the change back to the shared API is free.

Last verified
3d ago
Latest check
3/3 endpoints passing
Maintenance
Monitored & self-healing
Will this API break when the source site changes?+
It's built not to. Every endpoint is health-checked on a schedule with automated test probes. When the source site changes and a check fails, the API is automatically queued for repair and re-verified — that's the self-healing layer. Each API page shows when its endpoints were last verified. And because marketplace APIs are shared, any fix reaches everyone using it.
Is this an official API from the source site?+
No — Parse APIs are independent, managed REST wrappers over publicly available data. That is the point: where a site has no official API (or only a limited one), Parse gives you a maintained, monitored endpoint for that data and keeps it working as the site changes — so you get a stable contract over a source that never promised one.
Can I fix or extend this API myself if I need a new endpoint or field?+
Yes — and you don't have to wait on us. This API was generated by the Parse agent, which stays attached. Describe the change in plain English ("add an endpoint that returns reviews", "fix the price field") in the revise box on the API page or via the revise_api MCP tool, and the agent rebuilds it against the live site in minutes. Contributing the change back to the public API is free.
What happens if I call an endpoint that has an issue?+
Errors are machine-readable: a bad call returns a clean status with the list of available endpoints and a repair hint, so an agent (or you) can recover or trigger a fix instead of failing silently. Confirmed failures feed the automatic repair queue.
Common use cases
  • Build a cocktail search tool that lets users query by ingredient and retrieve full recipes including steps and garnish
  • Populate a drink database by paginating list_cocktails and storing name, image, date, and URL for each entry
  • Generate ingredient-based cocktail recommendations using search_cocktails with spirit or mixer keywords
  • Display recipe cards with glass type, garnish, and rating pulled from get_cocktail_details
  • Track newly published cocktails by monitoring the date field from list_cocktails in reverse chronological order
  • Filter cocktails by category or tags to power a themed menu builder for bar or event planning apps
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000100 req/min

One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does Difford's Guide have an official developer API?+
Difford's Guide does not publish a documented public developer API. This Parse API provides structured access to the cocktail data available on diffordsguide.com.
What does get_cocktail_details actually return beyond the recipe steps?+
In addition to the ordered steps array, the endpoint returns glass (e.g. coupe, rocks), garnish, rating (a numeric average or null), tags (an array of keyword strings), category, cuisine, and the cocktail image URL. Fields that aren't specified on the source page come back as null.
Does search_cocktails support filtering by spirit, flavor profile, or category?+
The endpoint accepts a single query string and returns all matches without additional filter parameters. You can search by ingredient keyword (e.g. rum, lemon juice), but server-side filtering by category, rating, or glass type is not supported. After fetching results, you can filter locally using the category or tags fields from get_cocktail_details. You can fork this API on Parse and revise it to add a dedicated filter endpoint.
Does the API expose individual ingredient quantities and measurements?+
Not currently as discrete structured fields. Ingredient amounts appear within the steps array as part of the preparation instructions rather than as a separate ingredients-with-quantities array. You can fork this API on Parse and revise it to parse and expose ingredients as a structured list with amounts.
How does pagination work in list_cocktails, and is there a way to jump to a specific page?+
Pagination uses a Unix timestamp cursor. Each response includes a next_cursor string and a has_more boolean. Pass next_cursor as the cursor param in your next request to advance. To start from the beginning, omit cursor or pass '0'. Random-access pagination to a specific offset is not supported — you must walk the cursor chain sequentially.
Page content last updated . Spec covers 3 endpoints from diffordsguide.com.
Related APIs in Food DiningSee all →
thecocktaildb.com API
Discover and explore thousands of cocktail recipes by searching by name, ingredient, category, or glass type, plus get random drink suggestions and detailed information about cocktail components. Filter drinks by whether they're alcoholic or non-alcoholic, and browse complete lists of available categories, glasses, and ingredients.
liquor.com API
Find and browse thousands of cocktail recipes with ratings and user reviews, search drinks by ingredient or category, and read curated articles about spirits and mixology. Get detailed recipe instructions, comments from other users, and expert content all in one place.
epicurious.com API
Search Epicurious recipes by ingredient or cuisine, view detailed recipe information including ingredients and instructions, and read user reviews to find the best dishes to cook. Get everything you need to discover and prepare new meals from one of the web's most trusted recipe sources.
tasty.co API
Search and discover Tasty.co recipes by ingredients or cuisine, then access detailed cooking instructions, ingredient lists, and video guides for each dish. Browse popular recipes and get pro cooking tips to perfect your meals.
seriouseats.com API
Search and retrieve thousands of recipes and expert cooking advice from Serious Eats to find exactly what you're looking for in the kitchen. Get detailed recipe information including ingredients, instructions, and trusted culinary expertise to help you cook with confidence.
whiskybase.com API
Search and discover whiskies from a comprehensive database, explore new releases, check marketplace prices and listings, and browse distilleries and their collections. Get instant access to top-rated whiskies, distillery information, and current market data all in one place.
vivino.com API
Search and discover wines across thousands of options while accessing detailed information like user reviews, pricing, winery profiles, and food pairing recommendations. Explore grape varieties, compare wines side-by-side, and find the perfect bottle based on ratings and availability.
bbcgoodfood.com API
Search thousands of recipes with full ingredient lists, cooking directions, and nutritional information. Browse recipes by topic and category, and access user reviews and ratings for each dish.