The D-I Wine API

Our catalog and where to find our wines are open data. Distributors and trade partners can also read live pricing and availability with a key. Every record follows WineGraph contract v1, so the same parser reads our data and WineGraph's.

OpenAPI 3.1 · Discovery document · Open data under CC BY 4.0, credit “D-I Wine (d-i.wine)”

Open data

No key. Cached for 15 minutes. Images are permanent links. Some notes are the producer's own words: each record lists those fields in rights.producerText. They are shared with permission, need credit to the producer, and are not under CC BY.

  • GEThttps://www.d-i.wine/api/v1/producers

    The producers we import: story, philosophy, vineyard and production notes, hero image, coordinates and a one-page overview PDF.

  • GEThttps://www.d-i.wine/api/v1/products?producer=

    Our current wines: bottle images, tasting, winemaking and vineyard notes, grapes, soil, élevage and the unpriced tech sheet.

  • GEThttps://www.d-i.wine/api/v1/stockists?country=japan&producer=&state=&role=

    Restaurants, shops and distributors that carry our producers, the same list as the site's “Where to find” sections. No dates or volumes.

Partner API

Send Authorization: Bearer diw_live_…. A distributor key returns our national FOB price book with exact cases available; a trade key returns New York trade pricing with availability in ranges.

  • GEThttps://www.d-i.wine/api/v1/trade/offers?expand=product

    Price and availability for every wine in your book. Add expand=product for the images and notes in the same call.

  • GEThttps://www.d-i.wine/api/v1/trade/prices

    Prices only: per bottle, per case, quantity breaks and any scheduled change.

  • GEThttps://www.d-i.wine/api/v1/trade/availability

    Availability only.

  • GEThttps://www.d-i.wine/api/v1/trade/changes?since=2026-11-16T00:00:00Z

    Wines whose price or stock changed since a time, plus the price-change events. Poll it.

curl -H "Authorization: Bearer $DIW_KEY" https://www.d-i.wine/api/v1/trade/offers

Example response (illustrative values):

{
  "contractVersion": "v1",
  "entityType": "trade.offer",
  "publisher": "d-i-wine",
  "feed": "distributor",
  "asOf": { "stock": "2026-11-16T22:00:00.000Z", "prices": "2026-11-16T11:45:00.000Z" },
  "items": [{
    "key": "example producer|example cuvee|2023",
    "itemNumber": 10001,
    "producerName": "Example Producer",
    "wineName": "Example Cuvée",
    "vintage": "2023",
    "caseSize": 12,
    "priceBook": "national",
    "currency": "USD",
    "price": { "bottle": 20, "case": 240, "breaks": [{ "minBottles": 60, "bottle": 19, "case": 228 }] },
    "upcomingPrice": null,
    "availability": { "status": "in_stock", "cases": 38 },
    "url": "https://www.d-i.wine/wines/example-cuvee-2023"
  }]
}

Freshness

Stock updates from our warehouse at 5:00 and 17:00 Eastern; prices at 6:45. Every partner response carries asOf, and availability already subtracts wine we are holding for other orders. Limit: 600 requests an hour per key.

Want a key?

Tell us who you are and what system will call it. Test keys return the same shapes, with availability in ranges.