# Open Brewery DB Scraper (`parseforge/open-brewery-db-scraper`) Actor

Scrapes brewery records from the Open Brewery DB API. Filter by search query, city, state, type, or country and get each brewery as a flat row with name, address, phone, website, and coordinates.

- **URL**: https://apify.com/parseforge/open-brewery-db-scraper.md
- **Developed by:** [ParseForge](https://apify.com/parseforge) (community)
- **Categories:** Lead generation, E-commerce, Other
- **Stats:** 3 total users, 0 monthly users, 89.7% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

from $8.00 / 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?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

[![ParseForge](https://raw.githubusercontent.com/ParseForge/apify-assets/main/banner.jpg)](https://apify.com/parseforge?fpr=vmoqkp)

### Open Brewery DB Scraper

**Scrape brewery data from the Open Brewery DB API, filtering by city, state, type, or country, up to a million records per run.** Every brewery comes with its name, address, website, and coordinates. No API key required. Export to CSV, JSON, Excel, or XML.

The Open Brewery DB is a free, public dataset of breweries, but querying it at scale or shaping the data for your own tools takes work. This Actor reads the API directly, lets you filter by search query, city, state, type, or country, and returns each matching brewery as a clean, flat row.\n\nNo registration, no API key, and no rate-limit headaches. set your filters and run.

| Who uses it | What they scrape Open Brewery DB for |
|---|---|
| Beverage industry analysts | Mapping the density and types of breweries across a region. |
| Travel and tourism app builders | Building a local guide of breweries for a city or state. |
| Market researchers | Tracking the growth of microbreweries versus large operations in a country. |
| Data journalists | Compiling a dataset on the craft beer industry for a story. |

### What it does

This Actor collects brewery records from the Open Brewery DB API by search query or location filters and returns each one as a flat row.

- 🔎 **Free text search:** Search across brewery names, cities, and states with a single query.
- 📍 **Location filters:** Narrow results by city, state, or country to target a specific region.
- 🏷️ **Brewery type filter:** Select from micro, nano, brewpub, regional, large, and more.
- 📊 **Flat output:** Every brewery is a single row with a fixed schema, ready for spreadsheets or databases.

Results export to CSV, JSON, Excel, or XML, or straight from the API.

### What you can do with Open Brewery DB data

**🗺️ Build a local brewery guide.**

A tourism app developer filters breweries by city and type to populate a "brewpubs in Portland" feature.

**📈 Analyze craft beer market trends.**

A market researcher pulls all microbreweries in California to count openings and closings over time.

**🌍 Map global brewery distribution.**

A data journalist scrapes all breweries by country to create a world map of craft beer density.

**🔗 Enrich a CRM with brewery data.**

A sales team searches for breweries by name to append addresses and phone numbers to their lead list.

### Why choose this scraper

| | What you get |
|---|---|
| **No API key** | Start scraping immediately without registration or authentication. |
| **Full dataset access** | Pull up to a million brewery records in a single run. |
| **Structured output** | Get a clean, consistent schema for every brewery, every time. |

### How it compares

This Actor offers the same core Open Brewery DB data as other scrapers, with a focus on flexible filtering and high-volume runs.

| Feature | ParseForge | Open Brewery Db Scraper | Open Brewery DB Scraper | Open Brewery DB Scraper |
|---|---|---|---|---|
| Filter by country | Yes | Not listed | Not listed | Yes |
| Filter by brewery type | Yes | Yes | Yes | Yes |
| Free text search query | Yes | Not listed | Yes | Yes |
| No API key required | Yes | Yes | Yes | Yes |
| Up to 1,000,000 records per run | Yes | Not listed | Not listed | Not listed |

### Configure the run

Drive the Actor with a free text search query or by setting city, state, type, and country filters. All filters are optional and can be combined, except search query which overrides the others. The Input tab lists every parameter.

A first run with the defaults:

```json
{
 "maxItems": 10
}
```

A larger pull:

```json
{
 "maxItems": 200
}
```

### Pricing

Pay-per-result: **$0.0085 per result** collected. You pay only for the results written to your dataset.

| Results collected | Approximate cost |
|---|---|
| 100 results | $0.85 |
| 1,000 results | $8.50 |
| 10,000 results | $85.00 |

New Apify accounts start with $5 in free credit.

### Free users

Free-plan runs return up to 10 results as a preview. [Upgrade your Apify plan](https://console.apify.com/sign-up?fpr=vmoqkp) to collect up to 1,000,000 results per run.

### Run it

1. [Create a free Apify account with $5 in credit](https://console.apify.com/sign-up?fpr=vmoqkp).
2. Open the [Open Brewery DB Scraper](https://apify.com/parseforge/open-brewery-db-scraper?fpr=vmoqkp).
3. Set your inputs and any filters, then click **Start**.
4. Export the results as CSV, Excel, JSON, or XML from the **Dataset** tab.

Run it programmatically through the [Apify API](https://docs.apify.com/api/v2) (`run-sync-get-dataset-items`) or the [ApifyClient](https://docs.apify.com/api/client/js) for JavaScript and Python.

### Use with AI agents (MCP)

Give an AI agent live access to Open Brewery DB through the Model Context Protocol. Add the Actor to Claude, Cursor, or any MCP client:

```bash
claude mcp add --transport http apify "https://mcp.apify.com/?tools=parseforge/open-brewery-db-scraper"
```

Then prompt it in plain language to run the scraper and read back the results.

### Troubleshooting

**Why am I getting no results?**

Check that your filter values are spelled correctly and that the combination of filters does not conflict. If you are using a search query, it overrides city, state, type, and country filters.

**Why did my run stop after only 10 items?**

Free Apify accounts are limited to 10 items as a preview. Upgrade to a paid plan to increase the "Max Items" limit up to 1,000,000.

**I filtered by state but got breweries from other states.**

The "By State" filter is designed for US states. For international locations, use the "By Country" filter instead.

**The search query is not returning the brewery I expected.**

The search query performs a broad text match. Try using a more specific term or a partial name. If you know the exact city or state, use the location filters for a more precise match.

### FAQ

| Question | Answer |
|---|---|
| Do I need an API key to use this scraper? | No. The Open Brewery DB is a free, open dataset and this Actor reads it directly without any authentication. |
| What data does each brewery record include? | Each record returns the brewery name, type, full address, city, state, country, phone number, website URL, and geographic coordinates. |
| Can I filter breweries by multiple criteria at once? | Yes. You can combine city, state, type, and country filters. If you use the search query field, it overrides the other location filters. |
| How many breweries can I scrape in one run? | Free users are limited to 10 items as a preview. Paid users can set a maximum of up to 1,000,000 items per run. |
| Does this scraper work for breweries outside the United States? | Yes. The Open Brewery DB includes international breweries. Use the "By Country" filter to target a specific country like "England" or "Ireland". |
| What brewery types can I filter by? | You can filter by micro, nano, regional, brewpub, large, planning, bar, contract, proprietor, and closed breweries. |
| Can I search for a specific brewery by name? | Yes. Use the "Search Query" field to perform a free text search that looks across brewery names, cities, and states. |
| What formats can I export the data to? | You can export your dataset to CSV, JSON, Excel, or XML directly from the Apify platform. |
| Is the data from Open Brewery DB updated regularly? | The Actor pulls data from the live Open Brewery DB API each time it runs, so you always get the current dataset. |

### Related actors

Browse the full [ParseForge collection](https://apify.com/parseforge?fpr=vmoqkp) for more scrapers.

🆘 **Need help?** Email parseforge@protonmail.com with your run ID, your input, and what you expected.

⚠️ **Disclaimer.** This Actor is unofficial and is not affiliated with, endorsed by, or sponsored by Open Brewery DB. It collects only publicly available data. You are responsible for using the collected data in compliance with the source's terms of service and applicable data-protection laws, including GDPR, CCPA, and PIPL. Do not use it to collect personal data unlawfully.

# Actor input Schema

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

Free users: Limited to 10 items (preview). Paid users: Optional, max 1,000,000

## `searchQuery` (type: `string`):

Free text search across brewery names, cities, states, and more. When set, other filters (city, state, type, country) are ignored.

## `byCity` (type: `string`):

Filter by city name, e.g. 'San Diego' or 'Portland'.

## `byState` (type: `string`):

Filter by US state name, e.g. 'California' or 'Oregon'. For non-US, use byCountry.

## `byType` (type: `string`):

Filter by brewery type.

## `byCountry` (type: `string`):

Filter by country name, e.g. 'United States' or 'England'.

## Actor input object example

```json
{
  "maxItems": 10
}
```

# Actor output Schema

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

No description

# 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 = {
    "maxItems": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("parseforge/open-brewery-db-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 = { "maxItems": 10 }

# Run the Actor and wait for it to finish
run = client.actor("parseforge/open-brewery-db-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 '{
  "maxItems": 10
}' |
apify call parseforge/open-brewery-db-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,parseforge/open-brewery-db-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/BZ08Wk7Ahqv19ntWP/builds/JAh9uPX1FqqZ54HWc/openapi.json
