# Yellow Pages Australia Scraper — Business Leads (`he_work/yellow-pages-au-scraper`) Actor

Scrape yellowpages.com.au for any business type and location: name, phone, website, full address (street, suburb, state, postcode), categories, opening hours, description and listing link.

- **URL**: https://apify.com/he_work/yellow-pages-au-scraper.md
- **Developed by:** [HE Work](https://apify.com/he_work) (community)
- **Categories:** Lead generation, Business, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.55 / 1,000 businesses

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

## Yellow Pages Australia Scraper — Business Leads

> ✅ **Checked daily.** An automated test runs this Actor on the Apify cloud every day and checks that it still returns real data, so if the website changes and something breaks, it's caught the same day and fixed.

Build **lead lists from yellowpages.com.au**: give it business types and locations, and get every matching business with phone, website, full address, categories and opening hours. Fast HTTP scraping (no browser); blocked pages are retried automatically through an Australian residential proxy.

### What you get

| Field | Example |
|---|---|
| `name` | `Damien's Plumbing Services` |
| `phone`, `website` | `(07) 3283 5689`, `https://damiensplumbingservices.com.au` |
| `street`, `suburb`, `state`, `postcode`, `address` | `12 Waterton Street`, `Clontarf`, `QLD`, `4019` |
| `categories` | `Grease Trap Cleaning Services`, `Backflow Prevention Devices & Services` |
| `opening_hours` | `[{"days": "Mon - Fri", "hours": "7:00 am - 7:00 pm"}, ...]` |
| `slogan`, `description`, `highlights` | what the business says about itself |
| `is_ad` | sponsored placement or organic result |
| `listing_id`, `url` | Yellow Pages listing ID and page |
| `search_term`, `search_location`, `scraped_at` | which search found it |

### Input

| Field | Default | Description |
|---|---|---|
| `searchTerms` | – | Business types or keywords, e.g. `plumber`, `accountant` |
| `locations` | – | e.g. `Brisbane, QLD`, `Parramatta, NSW`, `VIC`. Every term is searched in every location |
| `maxPagesPerSearch` | `5` | Pages per term × location (~30 businesses per page) |
| `maxResults` | `500` | Hard cap for the run |
| `includeAds` | `true` | Keep sponsored listings (flagged `is_ad`) |

A business found by several of your searches is returned (and charged) **once**. The run's `OUTPUT` record shows each search's pages, results and status.

### Example input

```json
{
  "searchTerms": [
    "plumber",
    "accountant"
  ],
  "locations": [
    "Brisbane, QLD",
    "Melbourne, VIC"
  ],
  "maxPagesPerSearch": 4,
  "maxResults": 20,
  "includeAds": true,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "AU"
  }
}
```

### Example output

One item from a real run (long texts shortened):

```json
{
  "listing_id": "580284767",
  "name": "Redshaw Plumbing & Drainage",
  "categories": [
    "Plumbers & Gasfitters"
  ],
  "phone": "1300 377 191",
  "website": "https://www.redshaw.com.au",
  "street": "100 Crescent Street",
  "suburb": "Gatton",
  "state": "QLD",
  "postcode": "4343",
  "address": "100 Crescent Street, Gatton, QLD 4343",
  "slogan": "Expert Plumbing And Gasfitting",
  "description": "We are fully licensed and insured, which gives you peace of mind that the job will be carried out at the highest quality every time. Call us today for a free…",
  "highlights": [
    "Earthmoving Services Free Quotes And 24 Hrs - 7 Day Call Out"
  ],
  "opening_hours": [
    {
      "days": "Mon - Sun",
      "hours": "Open 24 Hours"
    }
  ],
  "review_count": "(4)",
  "is_ad": false,
  "url": "https://www.yellowpages.com.au/gatton-qld/bpp/redshaw-plumbing-drainage-580284767",
  "search_term": "plumber",
  "search_location": "Brisbane, QLD",
  "scraped_at": "2026-11-05T06:21:29.679683+00:00"
}
```

### How it compares

| | This Actor | Typical alternative |
|---|---|---|
| Fields per result | 20 (see *Example output*) | Varies by actor |
| Freshness | Read live from the source when the run starts | Varies |
| Reliability | Tested daily by an automated run on the Apify cloud (see the top of this page) | — |
| Price | $3.00 per 1,000 business | $3.00–$3.00 per 1,000 results (comparable Actors on the Apify Store, 6 Nov 2026) |

### Pricing

Pay per result, no monthly fee:

- **$3.00 per 1,000 business**: One business listing delivered to your dataset.
- $0.0001 per run (start).

Bronze plans pay 5% less, Silver 10% less, Gold and above 15% less.

**Examples:** 1,000 business = $3.00; 10,000 = $30.00.

### FAQ

**How do I run it on a schedule?** Create a task with your input and add a schedule in Apify Console (e.g. daily at 6 am). Each run writes a fresh dataset.

**How do I get the data?** Download the dataset as JSON, CSV, Excel, XML or HTML from the run page, or read it with the Apify API / Python and JavaScript clients. Integrations (Google Sheets, Make, Zapier, n8n, webhooks) work out of the box.

**Do I need proxies or an account on the site?** No. Proxies are handled inside the Actor and included in the price; no login is needed.

**What if a run returns fewer results than expected?** Check the run's key-value store `OUTPUT` record (when present) for a per-request report, then open an issue on the Issues tab with the run link and we'll look into it.

**Is it legal?** The Actor only collects publicly available data. You are responsible for using it in line with the website's terms, copyright and data-protection rules (GDPR, CCPA) — don't collect personal data you have no legal basis for.

### Notes

- Data comes from public Yellow Pages search results; no login.
- If you contact businesses, follow Australia's Spam Act 2003 and Privacy Act 1988.

# Actor input Schema

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

e.g. plumber, electrician, accountant, cafe.

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

Suburb, city or state, e.g. 'Brisbane, QLD', 'Parramatta, NSW', 'VIC'. Every term is searched in every location.

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

Result pages per term x location (about 30 businesses per page).

## `maxResults` (type: `integer`):

Hard cap on businesses (and cost) for the run.

## `includeAds` (type: `boolean`):

Keep paid/sponsored placements (they are flagged with is_ad).

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

Pages are fetched directly; only blocked pages are retried through this proxy.

## Actor input object example

```json
{
  "searchTerms": [
    "plumber",
    "accountant"
  ],
  "locations": [
    "Brisbane, QLD",
    "Melbourne, VIC"
  ],
  "maxPagesPerSearch": 4,
  "maxResults": 20,
  "includeAds": true,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "AU"
  }
}
```

# Actor output Schema

## `businesses` (type: `string`):

One row per business.

## `report` (type: `string`):

Per-search pages, businesses and status.

# 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": [
        "plumber"
    ],
    "locations": [
        "Brisbane, QLD"
    ],
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ],
        "apifyProxyCountry": "AU"
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("he_work/yellow-pages-au-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": ["plumber"],
    "locations": ["Brisbane, QLD"],
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
        "apifyProxyCountry": "AU",
    },
}

# Run the Actor and wait for it to finish
run = client.actor("he_work/yellow-pages-au-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": [
    "plumber"
  ],
  "locations": [
    "Brisbane, QLD"
  ],
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "AU"
  }
}' |
apify call he_work/yellow-pages-au-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,he_work/yellow-pages-au-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/dGsPpKFu4sXgpg05W/builds/H4JIltWbGvcQ8Vsxi/openapi.json
