Open Brewery DB

Food API · Works globally · 8,000+ breweries listed

TL;DR

Open Brewery DB is a free, community-maintained database of breweries, brewpubs, and cideries with over 8,000 listings worldwide. Search by name, city, state, or country, filter by brewery type (micro, regional, brewpub, taproom), and get details including address, phone, website, and GPS coordinates. No API key required, no rate limits announced — perfect for building a brewery finder, pub crawl planner, or beer tourism app.

Quick start: https://api.openbrewerydb.org/breweries

No API key needed — just make a request!

Browse all breweries: https://api.openbrewerydb.org/breweries

How to Use This API

1. List All Breweries

Returns paginated results with 20 per page by default:

https://api.openbrewerydb.org/breweries

2. Search by City

Find breweries in a specific location:

https://api.openbrewerydb.org/breweries?by_city=portland&per_page=50

3. Filter by Type

Only microbreweries or only brewpubs:

https://api.openbrewerydb.org/breweries?by_type=micro
https://api.openbrewerydb.org/breweries?by_type=brewpub

4. JavaScript — Brewery Finder

async function findBreweries(state) {
  const resp = await fetch(
    `https://api.openbrewerydb.org/breweries?by_state=${state}&per_page=20`
  );
  const breweries = await resp.json();
  breweries.forEach(b => {
    console.log(`${b.name} — ${b.city}, ${b.state}`);
    console.log(`  ${b.website_url || 'No website'}`);
    console.log(`  Type: ${b.brewery_type}`);
  });
}

findBreweries('colorado');

5. Python — Get Brewery Details

import requests

# Get a random brewery
resp = requests.get('https://api.openbrewerydb.org/breweries?per_page=1')
brewery = resp.json()[0]
print(f"Name: {brewery['name']}")
print(f"Type: {brewery['brewery_type']}")
print(f"Address: {brewery.get('street', 'N/A')}, {brewery['city']}, {brewery['state']} {brewery.get('postal_code', '')}")
print(f"Phone: {brewery.get('phone', 'N/A')}")
print(f"Web: {brewery.get('website_url', 'N/A')}")

Frequently Asked Questions

How many breweries are in the database?
Over 8,000 breweries, brewpubs, and cideries are currently listed, primarily in the United States with growing international coverage.
What search/filter parameters are available?
by_city, by_state, by_postal_code, by_country, by_type, by_name, by_tag, and per_page/page for pagination. You can combine multiple filters.
What brewery types are there?
micro, regional, brewpub, large, planning, bar, contract, proprietor, taproom, and ciderry. Each describes the scale and business model.
Do I need an API key?
No. Open Brewery DB is completely free with no authentication required for any endpoints.
Does the API include GPS coordinates?
Yes, each brewery includes latitude and longitude fields, making it easy to map breweries or calculate distances.
Can I get a random brewery?
There's no dedicated random endpoint, but you can use /breweries/random (returns 1 random) or combine with ?page=random&per_page=1.

API Details

API URL
https://api.openbrewerydb.org/breweries
Documentation
openbrewerydb.org
Category
Food
Authentication
Not Required
Geographic Coverage
Global — primarily US, growing international

What You Can Build