# Herold.at Scraper (`memo23/herold-at-scraper`) Actor

Scrape herold.at (Austria Yellow Pages) into structured business rows: name, phone, email when listed, website, address, hours, rating, and Firmenbuch. Keyword plus city, nationwide category, or a Herold search or profile URL. HTTP only, no browser. JSON or CSV out. $5 per 1,000 listings.

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

## Pricing

from $5.00 / 1,000 listings

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

## Herold.at Scraper

<p align="center"><img src="https://raw.githubusercontent.com/muhamed-didovic/muhamed-didovic.github.io/main/assets/logo-herold-at.png" alt="Herold.at Scraper logo" width="160" /></p>

Turn a Herold Gelbe Seiten search into structured Austrian business rows: name, phone, email when listed, website, address, hours, rating, Firmenbuch, and profile link.

Keyword + city, nationwide category, or a herold.at URL. JSON or CSV out.

This is **herold.at** (Herold Business Data). It is not [Gelbe Seiten DE](https://apify.com/memo23/gelbeseiten-scraper), [local.ch](https://apify.com/memo23/local-ch-scraper), or [PagineGialle](https://apify.com/memo23/paginegialle-scraper).

### Why Use This Scraper?

- Phone, email, and website on many search cards
- Profile pass for weekday hours, coordinates, reviews, and Firmenbuch
- Pagination via `/seite/2/`, `/seite/3/`, …
- HTTP only. No browser

### Overview

Built for sales teams, agencies, and researchers who need Austrian **business** leads from Herold.

Every start type becomes **one dataset row per listing**. A keyword search and a profile URL emit the same flat shape. Rows are de-duplicated by Herold listing id.

### Supported Inputs

#### Search terms and locations

| Field | Example |
| --- | --- |
| `searchTerms` | `["elektriker"]`, `["restaurant", "steuerberater"]` |
| `locations` | `["Wien"]`, `["Graz"]`, `["wien--2-leopoldstadt"]` |

Every term is searched in every location. Leave `locations` empty for a nationwide category search.

#### URL types

| URL type | Pattern | Example |
| --- | --- | --- |
| Search | `/gelbe-seiten/{city}/{category}/` | `https://www.herold.at/gelbe-seiten/wien/elektriker/` |
| Nationwide | `/gelbe-seiten/{category}/` | `https://www.herold.at/gelbe-seiten/elektriker/` |
| Search page | `/gelbe-seiten/{city}/{category}/seite/N/` | `https://www.herold.at/gelbe-seiten/wien/elektriker/seite/2/` |
| Profile | `/gelbe-seiten/{city}/{id}/{slug}/` | `https://www.herold.at/gelbe-seiten/wien/p2zCQ/ing-rudolf-mayer-elektrotechnik-gmbh/` |

Search URLs paginate automatically. Use `/seite/N/`.

**Unsupported:** herold.at Telefonbuch people lookup, Herold marketing pages, firmeneintrag forms.

### Use Cases

| Audience | What they take from a run |
| --- | --- |
| Sales and outreach | Phone + website + email (when listed) by trade and city |
| Agencies | Cross-joined term × city lists in one dataset |
| Local SEO | Category, rating, and the Herold profile URL |
| Researchers | Firmenbuch, hours, and coordinates for a trade in a city |

### How It Works

1. Cross-join `searchTerms` × `locations` (or nationwide if no city), plus any herold.at Gelbe Seiten URLs.
2. Fetch the search page.
3. Page with `/seite/N` in parallel, stopping at `maxItems` or `maxPages`.
4. Read name, phone, email, website, and address from the search card.
5. Optionally open the profile for hours, reviews, coordinates, and Firmenbuch.
6. De-duplicate by listing id and push one row per business.

<p align="center"><img src="https://raw.githubusercontent.com/muhamed-didovic/muhamed-didovic.github.io/main/assets/how-it-works-herold-at.png" alt="How the Herold.at scraper turns a search into business rows" width="800" /></p>

### Input Configuration

| Field | Type | Required | Notes |
| --- | --- | --- | --- |
| `searchTerms` | array | one of the start types | What you would type into Herold |
| `locations` | array | no | Austrian city / district. Empty = nationwide |
| `startUrls` | array | one of the start types | Search or profile URL |
| `maxItems` | integer | no | Default 50. Free users capped at 50. |
| `scrapeDetails` | boolean | no | Default true. Hours, geo, reviews, Firmenbuch. |
| `maxPages` | integer | no | Default 20. |
| `maxConcurrency` | integer | no | Default 5. |
| `proxy` | object | no | Default is Apify residential. Turn off only on a home IP. |

#### Example input

```json
{
  "searchTerms": ["elektriker"],
  "locations": ["Wien"],
  "maxItems": 50
}
```

### Output Overview

One flat row per business. Contact and address fields sit at the top level. `searchTerm` tells you which input produced the row. Email is present when Herold publishes one on the card or the profile.

### Output Samples

Search: elektriker in Wien, with profile enrich.

```json
{
  "listingId": "p2zCQ",
  "name": "Ing. Rudolf Mayer Elektrotechnik GmbH",
  "phone": "+43 1 4855722",
  "email": "office@elektro-mayer.at",
  "website": "https://www.elektro-mayer.at",
  "companyRegister": "FN 471382 i",
  "street": "Wattgasse 9-11 Stiege 3",
  "postalCode": "1160",
  "city": "Wien",
  "region": "Wien",
  "latitude": 48.21291,
  "longitude": 16.31799,
  "hours": ["Monday 09:00 - 16:00"],
  "heroldUrl": "https://www.herold.at/gelbe-seiten/wien/p2zCQ/ing-rudolf-mayer-elektrotechnik-gmbh/"
}
```

### Key Output Fields

**Identity:** `listingId`, `slug`, `name`, `heroldUrl`, `isPremium`

**Contact:** `phone`, `phones`, `fax`, `email`, `website`, `social`

**Place:** `address`, `street`, `postalCode`, `city`, `region`, `country`, `latitude`, `longitude`

**Company:** `vatId`, `taxId`, `companyRegister`, `paymentMethods`

**Directory:** `category`, `categories`, `rating`, `reviewCount`, `hours`, `description`, `images`, `logo`, `reviews`

**Provenance:** `searchTerm`, `scrapedAt`

### Pricing

| Event | When | Rate |
| --- | --- | --- |
| Actor start | Once per run, per GB of memory | $0.005 |
| Listing | Each unique business in the dataset | $0.005 ($5 / 1k) |
| Contact phone | Row has a phone | $0.002 |
| Contact email | Row has an email | $0.05 |

Phone and email are billed only when Herold publishes that field. A miss is free. Many cards already include both, so `scrapeDetails` is for hours, geo, and Firmenbuch.

### FAQ

**Will every row have an email?** No. Phone is common. Inbox is only on some listings. Phone and email are billed as extra events only when the field is present.

**What does scrapeDetails add?** Weekday hours, coordinates, reviews, and Firmenbuch. Phone, email, and website are already on many search cards.

**Do I need a proxy?** On Apify, keep the residential proxy on. Local runs from a home IP can turn it off.

**Does it scrape the Herold Telefonbuch?** No. Business listings on Gelbe Seiten only.

### Support

- Issues: [Actor Issues](https://console.apify.com/actors/ov8PSKktB6Jiv3Ydf/issues)
- Author site: <https://muhamed-didovic.github.io/>
- Email: <muhamed.didovic@gmail.com>

### Additional Services

Bulk Bundesland sweeps, scheduled refreshes, or a private API wrapper: <muhamed.didovic@gmail.com>

### Explore More Scrapers

Directory cousins: [PagineGialle](https://apify.com/memo23/paginegialle-scraper), [local.ch](https://apify.com/memo23/local-ch-scraper), [Gelbe Seiten](https://apify.com/memo23/gelbeseiten-scraper), [Yellow Pages US](https://apify.com/memo23/yellow-pages-us-scraper), [Yellow Pages Canada](https://apify.com/memo23/yellowpages-ca-scraper), [Canada411](https://apify.com/memo23/canada411-scraper), and [PagesJaunes.fr](https://apify.com/memo23/pagesjaunes-scraper-cheerio). More actors on [memo23](https://apify.com/memo23) and [didovic](https://apify.com/didovic).

### 🤖 For AI Agents & LLM Apps

Compact reference for AI agents calling this actor via the [Apify MCP server](https://mcp.apify.com) or the Apify API (actor: `memo23/herold-at-scraper`).

**Purpose:** Extract Herold.at business listings (name, phone, email when listed, website, Firmenbuch, split address, hours) by keyword + city or URL.

**Minimal input:**

```json
{
  "searchTerms": ["elektriker"],
  "locations": ["Wien"],
  "maxItems": 10
}
```

**Output:** one dataset row per business — `listingId`, `slug`, `name`, `phone`, `phones`, `fax`, `email`, `website`, `vatId`, `taxId`, `companyRegister`, `social`, `address`, `street`, `postalCode`, `city`, `region`, `country`, `latitude`, `longitude`, `category`, `categories`, `rating`, `reviewCount`, `hours`, `description`, `images`, `logo`, `reviews`, `paymentMethods`, `isPremium`, `heroldUrl`, `searchTerm`, `scrapedAt`.

**Behaviors an agent should know:**

- Always set `maxItems`. Free users are capped at 50.
- `searchTerms` without `locations` runs a nationwide category search.
- `startUrls` work on their own (herold.at Gelbe Seiten only).
- Email is often already on the search card. Keep `scrapeDetails` true for hours and Firmenbuch.
- Each listing is $0.005. A phone on the row is $0.002. An email is $0.05. Start is $0.005 per GB.
- Austria business directory only. Not the Herold people Telefonbuch.
- Cloud runs need the default residential proxy.

### ⚠️ Disclaimer

This Actor is an independent tool and is not affiliated with, endorsed by, or sponsored by Herold Business Data GmbH or herold.at. All trademarks mentioned are the property of their respective owners.

The scraper reads publicly listed Austrian business data from herold.at. Users are responsible for ensuring their use complies with Herold Terms of Service, applicable data-protection law (GDPR / DSG), and any contractual obligations of their own organization.

### SEO Keywords

herold scraper, herold.at scraper, scrape herold.at, Austrian yellow pages scraper, herold API, Austrian business listings scraper, Austria phone email scraper, Wien leads scraper, Apify herold, Austrian restaurant leads, Graz business scraper, local SEO Austria data, herold email scraper, Austrian directory scraper, Gelbe Seiten Österreich

# Actor input Schema

## `searchTerms` (type: `array`):

What you would type into Herold, e.g. <b>elektriker</b>, <b>restaurant</b>, <b>steuerberater</b>. One row per term. Every term is searched in every city below. Leave cities empty for a nationwide category.

## `locations` (type: `array`):

Austrian city, Bundesland, or district slug, e.g. <b>Wien</b>, <b>Graz</b>, <b>wien--2-leopoldstadt</b>. Empty = nationwide.

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

Stop after this many unique businesses across the whole run. Free plan is capped at 50.

## `startUrls` (type: `array`):

Examples: <code>https://www.herold.at/gelbe-seiten/wien/elektriker/</code> or <code>https://www.herold.at/gelbe-seiten/wien/p2zCQ/ing-rudolf-mayer-elektrotechnik-gmbh/</code>.

## `scrapeDetails` (type: `boolean`):

Opens the profile for weekday hours, coordinates, reviews, and Firmenbuch. Phone, email, and website are already on many search cards. Turn off to skip the extra profile requests.

## `maxPages` (type: `integer`):

Each search page is one /seite/N. Page 2 is /seite/2/.

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

How many pages and profiles to load at the same time.

## `proxy` (type: `object`):

On by default. Herold's edge can block datacenter IPs; a residential proxy is how cloud runs get listings.

## Actor input object example

```json
{
  "searchTerms": [
    "elektriker"
  ],
  "locations": [
    "Wien"
  ],
  "maxItems": 50,
  "scrapeDetails": true,
  "maxPages": 20,
  "maxConcurrency": 5,
  "proxy": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# Actor output Schema

## `overview` (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 = {
    "searchTerms": [
        "elektriker"
    ],
    "locations": [
        "Wien"
    ],
    "proxy": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("memo23/herold-at-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 = {
    "searchTerms": ["elektriker"],
    "locations": ["Wien"],
    "proxy": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    },
}

# Run the Actor and wait for it to finish
run = client.actor("memo23/herold-at-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 '{
  "searchTerms": [
    "elektriker"
  ],
  "locations": [
    "Wien"
  ],
  "proxy": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}' |
apify call memo23/herold-at-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,memo23/herold-at-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/ov8PSKktB6Jiv3Ydf/builds/F8qgpiACLycuL2UYF/openapi.json
