# Yellow Pages Australia Business Directory Scraper (`jungle_synthesizer/yellowpages-com-au-australia-business-directory-scraper`) Actor

Scrapes Australian business listings from Yellow Pages AU (Thryv/Sensis) by category and suburb/state — name, address, phone, ratings, and enriched detail (email, ABN, services, payment methods) on request.

- **URL**: https://apify.com/jungle\_synthesizer/yellowpages-com-au-australia-business-directory-scraper.md
- **Developed by:** [BowTiedRaccoon](https://apify.com/jungle_synthesizer) (community)
- **Categories:** Lead generation
- **Stats:** 2 total users, 1 monthly users, 50.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.60 / 1,000 record scrapeds

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

## Yellow Pages Australia Business Directory Scraper

Pull structured business listings from Yellow Pages Australia (yellowpages.com.au) by trade
category and suburb — name, address, phone, ratings, and (on request) email, ABN and services.

***

### Yellow Pages Australia Business Directory Scraper Features

- Searches by trade/category and suburb, or sweeps a category nationwide with no location filter
- Extracts name, full address (street, suburb, state, postcode), coordinates, phone, ratings and opening hours
- Optional detail-page enrichment adds email, ABN, website, payment methods, services and a description
- Deduplicates businesses that appear under more than one category
- Flags paid/sponsored listings separately from free ones

***

### Who Uses Yellow Pages Australia Business Directory Scraper?

- **Outbound sales and franchise-development teams** — build territory-scoped prospect lists by trade
- **Lead generation agencies** — source verified local-business contacts across any Australian category
- **Trade marketplaces** — populate supply-side listings for a category before launch
- **KYB / compliance teams** — pull ABN alongside business name and address for verification workflows

***

### How Yellow Pages Australia Business Directory Scraper Works

1. Give it one or more trade categories, optionally scoped to specific suburbs/states
2. It pages through the matching results, saving each business's listing details
3. With `enrichDetails` on, it also opens each business's own page for email, ABN, services and payment methods
4. Records land in your dataset, deduplicated by business

***

### Input

```json
{
  "categories": ["plumbers-gasfitters", "electrical-contractors"],
  "locations": ["Sydney, NSW"],
  "enrichDetails": false,
  "maxItems": 200
}
```

| Field          | Type    | Default | Description |
|----------------|---------|---------|-------------|
| `categories`   | array   | 15 curated trade categories | Trade/category search terms or slugs. The site covers roughly 2,000 categories — pass any of them. Leave empty for a nationwide sweep of common trades. |
| `locations`    | array   | — (nationwide) | "Suburb, STATE" strings (e.g. `"Sydney, NSW"`) to scope the search. Leave empty to browse each category across all of Australia instead of one suburb. |
| `enrichDetails`| boolean | `false` | Also fetch each business's own page for email, ABN, website, services, payment methods and a description. Roughly doubles requests per record. |
| `maxItems`     | integer | —       | Maximum number of business records to return. |

**Nationwide sweep of specific trades:**

```json
{ "categories": ["locksmiths"], "maxItems": 500 }
```

**Full detail enrichment for a suburb:**

```json
{ "categories": ["accountants"], "locations": ["Melbourne, VIC"], "enrichDetails": true, "maxItems": 100 }
```

***

### Yellow Pages Australia Business Directory Scraper Output Fields

```json
{
  "listing_id": "579542028",
  "lid": "1002195544374",
  "name": "Hit The Switch",
  "category": "Electrical Contractors",
  "categories_all": ["Electrical Contractors"],
  "street": "Se 10 1 Main Street",
  "suburb": "Box Hill",
  "state": "VIC",
  "postcode": "3128",
  "latitude": -37.8191,
  "longitude": 145.1221,
  "phone": "0130 020 5205",
  "mobile": null,
  "email": "info@hittheswitch.com.au",
  "website": "https://hittheswitch.com.au",
  "abn": "25 916 612 316",
  "opening_hours": ["Mo-Fr 08:30-17:00"],
  "is_open_now": true,
  "rating_avg": 5,
  "rating_count": 96,
  "review_snippets": ["Excellent Work: We are very happy with the work..."],
  "services": ["Safety checks", "Testing and tagging", "Emergency lighting"],
  "payment_methods": ["mastercard", "visa", "cash"],
  "description": "We aim to achieve outstanding results...",
  "is_paid_listing": false,
  "listing_url": "https://www.yellowpages.com.au/box-hill-vic/bpp/hit-the-switch-579542028",
  "source_query_clue": "electrician",
  "source_query_location": "Melbourne, VIC",
  "scraped_at": "2026-09-01T15:00:00.000Z"
}
```

| Field                    | Type    | Description |
|---------------------------|---------|-------------|
| `listing_id`               | string  | Numeric id embedded in the listing's detail URL |
| `lid`                      | string  | Tracking id from the listing URL, when present |
| `name`                     | string  | Business name |
| `category`                 | string  | Primary category |
| `categories_all`           | array   | Every category the business is listed under |
| `street`                   | string  | Street address |
| `suburb`                   | string  | Suburb |
| `state`                    | string  | NSW | VIC | QLD | WA | SA | TAS | ACT | NT |
| `postcode`                 | string  | Postcode |
| `latitude` / `longitude`   | number  | Coordinates, when published |
| `phone`                    | string  | Landline phone number |
| `mobile`                   | string  | Mobile phone number — `enrichDetails` only, sparse |
| `email`                    | string  | Email address — `enrichDetails` only |
| `website`                  | string  | Business website — `enrichDetails` only |
| `abn`                      | string  | Australian Business Number, where published — `enrichDetails` only |
| `opening_hours`            | array   | Opening hours, where published |
| `is_open_now`               | boolean | Whether the business is open right now, computed from `opening_hours` in its local timezone |
| `rating_avg` / `rating_count` | number/integer | Average rating and number of ratings |
| `review_snippets`          | array   | Up to 5 review title + excerpt snippets — `enrichDetails` only |
| `services`                 | array   | Listed services/USPs — `enrichDetails` only |
| `payment_methods`          | array   | Accepted payment methods — `enrichDetails` only |
| `description`              | string  | Business description — `enrichDetails` only |
| `is_paid_listing`           | boolean | Whether this is a paid/sponsored listing |
| `listing_url`              | string  | Canonical listing URL |
| `source_query_clue`        | string  | The category/trade term that found this record |
| `source_query_location`    | string  | The location filter that found this record (`null` in nationwide mode) |
| `scraped_at`                | string  | When the record was scraped |

***

### FAQ

#### Does this cover the whole of Australia, or just one city?

Leave `locations` empty and it sweeps each requested category nationwide — no suburb list
needed. Set `locations` when you want results scoped to a specific suburb or state.

#### What's the difference between the base fields and `enrichDetails`?

The base run returns everything visible on the search results page — name, address, phone,
rating, category. Turning on `enrichDetails` fetches each business's own page as well, adding
email, ABN, website, services, payment methods and a description. It costs one extra request per
business.

#### Will I get duplicate businesses if a business is listed under two categories?

No — records are deduplicated by business across categories and pages within a run.

***

### Need More Features?

Have a request or found an issue? Message us through the Actor's **Issues** tab on the Apify
Store and we'll take a look.

### Why Use Yellow Pages Australia Business Directory Scraper?

- **Category or nationwide, your choice** — scope to a suburb or sweep a trade across the whole country in one run
- **KYB-ready** — ABN is available alongside every business's name and address when enrichment is on
- **Deduplicated by design** — a business listed under three categories still lands once in your dataset

# Actor input Schema

## `sp_intended_usage` (type: `string`):

What will this data feed? E.g. lead lists, KYB checks, price tracking.

## `sp_improvement_suggestions` (type: `string`):

Provide any feedback or suggestions for improvements.

## `sp_contact` (type: `string`):

We'll personally help with your use case. No spam.

## `categories` (type: `array`):

Trade/category search terms (e.g. "plumbers-gasfitters", "electrical-contractors") or free-text keywords. The site publishes ~2,000 categories, far too many to enumerate as a fixed list — pass any category slug or keyword. Leave empty to sweep a curated default set of 15 common trade/service categories nationwide.

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

Suburb + state to scope the search (e.g. "Sydney, NSW"). The site covers ~15,000 suburbs, too many to enumerate — pass any "Suburb, STATE" string the site's own search accepts. Leave empty to browse each category nationwide instead of per-suburb.

## `enrichDetails` (type: `boolean`):

Fetch each listing's own page for email, ABN, services, payment methods and a description, in addition to the base listing fields. Roughly doubles requests per record (bills as a premium record) since it is a separate fetch per business.

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

Maximum number of business records to scrape.

## Actor input object example

```json
{
  "sp_intended_usage": "Describe your intended use...",
  "sp_improvement_suggestions": "Share your suggestions here...",
  "sp_contact": "Share your email here...",
  "enrichDetails": false,
  "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 = {
    "sp_intended_usage": "Describe your intended use...",
    "sp_improvement_suggestions": "Share your suggestions here...",
    "sp_contact": "Share your email here...",
    "maxItems": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("jungle_synthesizer/yellowpages-com-au-australia-business-directory-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 = {
    "sp_intended_usage": "Describe your intended use...",
    "sp_improvement_suggestions": "Share your suggestions here...",
    "sp_contact": "Share your email here...",
    "maxItems": 10,
}

# Run the Actor and wait for it to finish
run = client.actor("jungle_synthesizer/yellowpages-com-au-australia-business-directory-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 '{
  "sp_intended_usage": "Describe your intended use...",
  "sp_improvement_suggestions": "Share your suggestions here...",
  "sp_contact": "Share your email here...",
  "maxItems": 10
}' |
apify call jungle_synthesizer/yellowpages-com-au-australia-business-directory-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,jungle_synthesizer/yellowpages-com-au-australia-business-directory-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/soV79vjQdlKhcqRlg/builds/7Y1ERhfYFGuR8sHZU/openapi.json
