# Brewery Directory Scraper - Names, Phones & Sites (`logiover/openbrewerydb-scraper`) Actor

Scrape the Open Brewery DB directory in bulk. Extract brewery name, type, street, city, state, postcode, country, phone, website and coordinates to CSV/JSON. Ideal for local B2B lead lists. No API key.

- **URL**: https://apify.com/logiover/openbrewerydb-scraper.md
- **Developed by:** [Logiover](https://apify.com/logiover) (community)
- **Categories:** Lead generation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.50 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Brewery Directory Scraper - Names, Phones & Sites

![Apify Actor](https://img.shields.io/badge/Apify-Actor-00A67E?logo=apify\&logoColor=white) ![No API key](https://img.shields.io/badge/No%20API%20key-required-2ea44f) ![Pay per result](https://img.shields.io/badge/Pricing-Pay%20per%20result-1C7ED6) ![Export](https://img.shields.io/badge/Export-JSON%20%7C%20CSV%20%7C%20Excel-F59E0B)

**Scrape the Open Brewery DB directory in bulk. Extract brewery name, type, street, city, state, postcode, country, phone, website and coordinates to CSV/JSON. Ideal for local B2B lead lists. No API key.**

***

### What does the Open Brewery DB Scraper do?

This Actor turns any Open Brewery DB search into a structured dataset. You give it by state or by city, it walks the result pages one after another, and it writes one clean row per brewerie into your dataset — ready to export as JSON, CSV or Excel, or to pull straight from the Apify API.

Open Brewery DB publishes a documented, keyless REST API covering breweries worldwide, and the Actor reads it directly. Phone numbers, websites and coordinates come back as structured fields, which is what makes the output usable as a lead list rather than a reference table. Pagination is followed automatically until it runs out of results, hits your page limit or hits your **Max items** cap, whichever comes first. Every row is de-duplicated across the whole run, so you are never billed twice for the same brewerie.

There is **no API key, no login and no browser** involved. That keeps runs fast and cheap, and it means you can schedule the Actor without worrying about credentials expiring.

### Who is it for?

- **B2B sales teams** selling equipment, ingredients or services to breweries.
- **Distributors and wholesalers** mapping accounts by city and state.
- **Hospitality and tourism products** building brewery directories.
- **Market researchers** measuring how a craft-beer market is distributed geographically.
- **Developers** needing a clean venue dataset with coordinates.

### Use cases

- Export every brewery in a state as a ready-to-call lead list.
- Map brewery density by city using the latitude and longitude fields.
- Filter to microbreweries or brewpubs using the brewery type.
- Build a contact list of breweries that publish a phone number and website.
- Track how many new breweries appear in a region over time.

### Why use this Open Brewery DB Scraper?

- 🔑 **Keyless** — no account, no API token, no cookies to paste.
- 📦 **14 fields per brewerie** — everything the result page exposes, already typed.
- 📄 **Real pagination** — it walks page after page instead of returning the first screen.
- 🎯 **Precise caps** — **Max items** stops the run exactly where you want it, so the bill is predictable.
- 📊 **Export anywhere** — JSON, CSV, Excel or HTML, plus the Apify API and integrations.
- 💸 **Pay per result** — you pay for rows you actually receive, with no platform fees to calculate.

### What data can you extract?

Every run produces one row per brewerie, with these fields:

| Field | Type | Description |
|-------|------|-------------|
| `breweryId` | string | Open Brewery DB identifier |
| `name` | string | Brewery name |
| `breweryType` | string | Type, e.g. micro, brewpub, regional |
| `street` | string | Street address |
| `city` | string | City |
| `stateProvince` | string | State or province |
| `postalCode` | string | Postal code |
| `country` | string | Country |
| `phone` | string | Phone number as published |
| `websiteUrl` | string | Brewery website |
| `latitude` | number | Latitude |
| `longitude` | number | Longitude |
| `page` | number | Result page the brewery appeared on |
| `scrapedAt` | string | ISO timestamp of extraction |

#### Output example

```json
{
  "breweryId": "ef970757-fe42-416f-931d-722451f1f59c",
  "breweryType": "large",
  "city": "San Diego",
  "country": "United States",
  "latitude": 32.714813,
  "longitude": -117.129593,
  "name": "10 Barrel Brewing Co",
  "page": 1,
  "phone": "6195782311",
  "postalCode": "92101-6618",
  "scrapedAt": "2026-09-15T07:44:34.624Z",
  "stateProvince": "California",
  "street": "1501 E St",
  "websiteUrl": "http://10barrel.com"
}
```

### How to use

#### Option A — by state

```json
{
  "maxItems": 1000,
  "maxPagesPerSearch": 20,
  "state": "california"
}
```

1. Open the Actor and fill in the state field.
2. Set **Max pages per search** and **Max items** to bound the run.
3. Click **Start**, then export from the **Output** tab.

#### Option B — by city

```json
{
  "city": "portland",
  "maxItems": 300,
  "maxPagesPerSearch": 10
}
```

Paste one or more Open Brewery DB URLs into **Start URLs** and the Actor paginates each of them independently.

### Input parameters

| Parameter | Type | Default | Description |
|-----------|------|---------|-------------|
| `city` | string | ``| Restrict to one city, e. |
| `state` | string |`` | Spell it out with underscores, e. |
| `country` | string | \`\` | Restrict to one country, e. |
| `maxPagesPerSearch` | integer | `4` | How many result pages to walk for each search. |
| `maxItems` | integer | `150` | Stop after this many breweries. |
| `maxConcurrency` | integer | `2` | Parallel requests. |
| `proxyConfiguration` | object | `{"useApifyProxy": true}` | Proxy used to fetch pages. |

### Tips for best results

- Filter by city, state or country to keep a run focused; leave them empty to walk the whole directory.
- The API returns 50 breweries per page, so a 20-page run yields roughly 1,000 rows.
- `breweryType` separates microbreweries, brewpubs, contract and regional operations.
- `phone` and `websiteUrl` are the two fields that turn this into a usable lead list — filter on them.
- Coordinates are published for most records, so the output drops straight into a map.
- Planning breweries have no address yet; exclude that type if you need a callable list.
- State names must be spelled out (`new_york`, not `NY`).
- Schedule a monthly run to catch newly registered breweries.
- Keep **Max concurrency** low — the API is free and community-run.
- Pair with the website contact scraper to enrich each brewery site with emails.

### Integrations

Send results straight into the tools you already use: **Google Sheets**, **Slack**, **Zapier**, **Make**, **Airtable** or any **Webhook**. You can also **schedule** the Actor to run hourly, daily or weekly and have each run append to the same dataset, which is how you build a price or availability history rather than a one-off snapshot.

### API usage

Run the Actor and collect results from any language. Replace `<YOUR_TOKEN>` with your Apify API token.

**cURL**

```bash
curl -X POST "https://api.apify.com/v2/acts/logiover~openbrewerydb-scraper/run-sync-get-dataset-items?token=<YOUR_TOKEN>" \
  -H "Content-Type: application/json" \
  -d '{"maxItems": 1000, "maxPagesPerSearch": 20, "state": "california"}'
```

**Node.js**

```javascript
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: '<YOUR_TOKEN>' });
const run = await client.actor('logiover/openbrewerydb-scraper').call({"maxItems": 1000, "maxPagesPerSearch": 20, "state": "california"});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);
```

**Python**

```python
from apify_client import ApifyClient

client = ApifyClient('<YOUR_TOKEN>')
run = client.actor('logiover/openbrewerydb-scraper').call(run_input={"maxItems": 1000, "maxPagesPerSearch": 20, "state": "california"})
for item in client.dataset(run['defaultDatasetId']).iterate_items():
    print(item)
```

### Use with AI agents (MCP)

This Actor is available through the Apify MCP server, so an AI agent can call it as a tool. Point your agent at `https://mcp.apify.com` and it can run the Open Brewery DB Scraper on demand — for example: *"Pull the first 500 breweries from Open Brewery DB and summarise the price distribution."* The agent receives the same structured rows you would get from the UI.

### FAQ

#### Do I need a Open Brewery DB account or API key?

No. The Actor reads publicly available pages only. There is nothing to authenticate and no credentials to rotate.

#### How many breweries can I get in one run?

As many as the search exposes. Raise **Max pages per search** and **Max items** together; the run stops at whichever limit it reaches first.

#### Why did I get fewer rows than I asked for?

The search ran out of breweries. That is normal for narrow queries — broaden the search or add more searches to one run.

#### Are results de-duplicated?

Yes. Each brewerie is emitted once per run, even when it appears on several pages, so you are never billed twice for the same record.

#### Why are some fields empty?

Open Brewery DB does not publish every attribute for every brewerie. Empty means the source did not show it, not that extraction failed.

#### What export formats are supported?

JSON, CSV, Excel, HTML and RSS from the **Output** tab, plus the Apify API and any integration you connect.

#### How fast is it?

It is pure HTTP with no browser, so a page of results typically takes a second or two. Raise **Max concurrency** carefully — the source rate-limits aggressive crawling.

#### Can I schedule it?

Yes. Use the Apify scheduler to run it on any interval and append each run to the same dataset for time-series analysis.

#### Does it work behind a proxy?

It uses Apify Proxy automatically. You can switch groups or supply your own proxies in **Proxy configuration**.

#### How often does the data change?

Open Brewery DB updates continuously. Re-run whenever you need current data; the Actor always reads the live pages, never a cache.

#### Is the output schema stable?

Yes. Field names and types are fixed, so downstream pipelines will not break between runs.

#### What if the site changes its layout?

Open an issue on the **Issues** tab and it gets fixed. The Actor is actively maintained.

### Is it legal?

This Actor reads only publicly available pages on Open Brewery DB — the same content any visitor sees without logging in. It does not bypass authentication, does not collect private data and does not attempt to defeat access controls. You are responsible for how you use the output: respect the source's terms of service, applicable copyright, and data-protection law such as GDPR where personal data is involved. Scraping public data is generally lawful in the EU and the US, but the responsibility for the downstream use of that data sits with you.

### Related scrapers

- [Website Contact Scraper](https://apify.com/logiover/website-contact-scraper) — Enrich sites with emails
- [OpenStreetMap POI Scraper](https://apify.com/logiover/openstreetmap-business-poi-scraper) — Local business points of interest
- [Leads Scraper](https://apify.com/logiover/b2b-lead-scraper) — B2B lead building
- [Work Email Finder](https://apify.com/logiover/work-email-finder) — Find work email addresses

# Changelog

This Actor's version history is a separate document: https://apify.com/logiover/openbrewerydb-scraper/changelog.md

# Actor input Schema

## `city` (type: `string`):

Restrict to one city, e.g. portland.

## `state` (type: `string`):

Spell it out with underscores, e.g. new\_york.

## `country` (type: `string`):

Restrict to one country, e.g. united\_states.

## `maxPagesPerSearch` (type: `integer`):

How many result pages to walk for each search. Set 0 for no limit.

## `maxItems` (type: `integer`):

Stop after this many breweries. Set 0 for no limit.

## `maxConcurrency` (type: `integer`):

Parallel requests. Lower this if the site rate-limits you.

## `proxyConfiguration` (type: `object`):

Proxy used to fetch pages. Defaults to Apify Proxy (automatic). You usually do not need to change this.

## Actor input object example

```json
{
  "city": "",
  "state": "california",
  "country": "",
  "maxPagesPerSearch": 4,
  "maxItems": 150,
  "maxConcurrency": 2,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `results` (type: `string`):

All breweries extracted in this run.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "state": "california",
    "maxPagesPerSearch": 4,
    "maxItems": 150,
    "maxConcurrency": 2
};

// Run the Actor and wait for it to finish
const run = await client.actor("logiover/openbrewerydb-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "state": "california",
    "maxPagesPerSearch": 4,
    "maxItems": 150,
    "maxConcurrency": 2,
}

# Run the Actor and wait for it to finish
run = client.actor("logiover/openbrewerydb-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "state": "california",
  "maxPagesPerSearch": 4,
  "maxItems": 150,
  "maxConcurrency": 2
}' |
apify call logiover/openbrewerydb-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,logiover/openbrewerydb-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/OLpg4QppGPbx8VnGZ/builds/GoIak5fMIeUVy3NV6/openapi.json
