# Yellow Pages Australia Business Search (`resourceful_playbook/yellowpages-au-businesses`) Actor

Search Yellow Pages Australia by business type and location and get clean business leads: name, category, phone, website, address, suburb, state, postcode, rating, review count and listing URL.

- **URL**: https://apify.com/resourceful_playbook/yellowpages-au-businesses.md
- **Developed by:** [AU Data Tools](https://apify.com/resourceful_playbook) (community)
- **Categories:** Lead generation, Business
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per event

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?

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 Business Search

Search [Yellow Pages Australia](https://www.yellowpages.com.au) by business type and location (e.g. "plumber" in "Canberra ACT") and get clean, structured business listings as JSON: name, category, phone, website, street address, suburb, state, postcode, star rating, review count and listing URL.

### What you get

```json
{
  "listingId": "578718127",
  "name": "Water Tight Canberra Pty Ltd",
  "category": "Plumbers & Gasfitters",
  "categories": ["Plumbers & Gasfitters"],
  "phone": "(02) 5133 5767",
  "website": "https://watertightcanberra.com.au",
  "address": "39 London Circuit",
  "suburb": "Canberra",
  "state": "ACT",
  "postcode": "2601",
  "fullAddress": "39 London Circuit, Canberra, ACT 2601",
  "rating": 5,
  "reviewCount": 4,
  "yearsInBusiness": 16,
  "openingHours": ["Mo-Su"],
  "slogan": "Your Local Plumbers In Canberra City",
  "url": "https://www.yellowpages.com.au/canberra-act/bpp/water-tight-canberra-pty-ltd-578718127",
  "searchWhat": "plumber",
  "searchWhere": "Canberra ACT",
  "source": "yellowpages.com.au",
  "scrapedAt": "2026-10-23T01:00:00.000Z"
}
```

Fields that a listing does not show (e.g. no website, no street address, no reviews) are `null`.

### Use cases

- B2B lead lists: every plumber, electrician or accountant in a suburb, city or state, with phone and website
- Local market research: how many competitors operate in an area and how they are rated
- Enriching a CRM with business addresses, postcodes and websites
- Feeding an AI agent that answers "find me a few well-reviewed electricians near Parramatta"

### Input

| Field | Notes |
|---|---|
| `what` | Business type or keyword, e.g. `plumber`, `electrician`, `cafe`, `dentist` (default `plumber`) |
| `where` | Suburb, city or state, e.g. `Canberra ACT`, `Parramatta NSW`, `VIC` (default `Canberra ACT`) |
| `maxResults` | Stop after this many businesses (default `30`, `0` = no limit) |
| `maxPages` | Maximum result pages to read, about 30 businesses per page (default `5`) |

### Pricing

Pay only for what you use: **US$0.005 per run + US$0.001 per result** (about US$1 per 1,000 results). The free Apify plan's monthly credits cover thousands of results, so you can try it at no cost.

### Feedback

Found a bug or want a field added? Open an issue on the **Issues** tab and it will be looked at quickly.

### Notes

Yellow Pages maps your search to its own category and location (e.g. "plumber" becomes "Plumbers & Gasfitters"), so results match what you would see on the website, including businesses that service the area. Only publicly listed business details are collected (business phone, website and address); no personal emails are gathered. Results are deduplicated by listing ID within a run. Requests are paced politely. This Actor is not affiliated with Yellow Pages Australia.

# Actor input Schema

## `what` (type: `string`):

What you are looking for, e.g. plumber, electrician, cafe, dentist, accountant.

## `where` (type: `string`):

Australian location, e.g. Canberra ACT, Parramatta NSW, Brisbane, VIC.

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

Stop after this many businesses (0 = no limit, bounded by Max pages).

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

Maximum number of result pages to read (about 30 businesses per page).

## Actor input object example

```json
{
  "what": "plumber",
  "where": "Canberra ACT",
  "maxResults": 30,
  "maxPages": 5
}
```

# 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 = {
    "what": "plumber",
    "where": "Canberra ACT"
};

// Run the Actor and wait for it to finish
const run = await client.actor("resourceful_playbook/yellowpages-au-businesses").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 = {
    "what": "plumber",
    "where": "Canberra ACT",
}

# Run the Actor and wait for it to finish
run = client.actor("resourceful_playbook/yellowpages-au-businesses").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 '{
  "what": "plumber",
  "where": "Canberra ACT"
}' |
apify call resourceful_playbook/yellowpages-au-businesses --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,resourceful_playbook/yellowpages-au-businesses"
        }
    }
}
```

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/Q0WaZJyYi7XCwRCYy/builds/fpbjdzxo9BLc1U1a9/openapi.json
