LCBO API

Food & Drink / API Key Intermediate HTTPS
Varies by plan (check documentation)

Overview

The LCBO API provides access to the Liquor Control Board of Ontario product catalog, including wines, spirits, and beers sold in Ontario, Canada. It requires a free API key and lets you search products, browse stores, and check inventory. It is a good intermediate-level API for building beverage discovery or inventory tracking apps.

💡

Beginner Tip

Request your free API key at lcboapi.com and include it as a query parameter (?access_key=YOUR_API_KEY) in every request URL — forgetting it returns a 401 error.

Available Data

Use case: Integrate alcohol data into web and mobile applications
LCBO data via REST API
JSON-formatted response data
Requires API key authentication

Example Response

JSON Response
{
  "status": "success",
  "data": {
    "result": "Data from LCBO",
    "description": "Alcohol",
    "timestamp": "2025-01-15T10:00:00Z"
  }
}

Field Reference

id Unique LCBO product identifier.
name Full product name as listed in the LCBO catalog.
primary_category Top-level category such as "Wine", "Spirits", or "Beer".
price_in_cents Retail price in Canadian cents (divide by 100 for dollars).
alcohol_content Alcohol by volume expressed as a percentage multiplied by 100 (e.g., 1350 = 13.5%).
origin Country or region of origin for the product.

Implementation Example

const url = "https://lcboapi.com/";
// Replace headers or query params with the values required by this API.
const response = await fetch(url, {
  headers: {
  "X-API-Key": "YOUR_API_KEY"
  }
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
console.log(data);

What Can You Build?

Note: These code examples are AI-generated and unverified. Always refer to the official API documentation for accurate usage.

Common Errors & Troubleshooting

401 Unauthorized The access_key query parameter is missing or the key is invalid.
Append ?access_key=YOUR_API_KEY to every request URL. Sign up at lcboapi.com to obtain a free key.
Empty result set The search term does not match any LCBO products, or the product is out of season or discontinued.
Try broader search terms and check the total_count field in the response to confirm whether any results exist.
Missing items on later pages By default only the first page of results is returned (per_page=10).
Use the pager object in the response to iterate pages: add &page=2, &page=3, etc., until pager.is_final_page is true.

Matrix Score Breakdown

🌐 Reachability 30/30
⚡ Speed 10/20
🔒 Security 15/15
🛠 Developer XP 12/20
✓ Reliability 10/15

Partially tested on Apr 5, 2026

Technical Specifications

Auth API Key
HTTPS REQUIRED
CORS UNKNOWN
Category Food & Drink
Difficulty Intermediate
Verified: 2026-04-04

Similar APIs

View All →