# Singapore Yellow Pages business leads (`data_dino/singapore-yellow-pages`) Actor

Collect structured Singapore business lead records from Yellow Pages Singapore by keyword: business name, phone, WhatsApp, email, full address, categories, website, and the paid/verified badge.

- **URL**: https://apify.com/data_dino/singapore-yellow-pages.md
- **Developed by:** [Data Dino](https://apify.com/data_dino) (community)
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $5.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.

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

## Singapore Yellow Pages business leads

Collect decision-ready Singapore business lead records from Yellow Pages Singapore in one Apify run. Pick a business keyword and receive structured records with the business name, phone, WhatsApp, email, full address, categories, website, and the paid/verified badge — ready for export to JSON, CSV, or Excel.

### Why use this actor?

- **Keyword-driven search** — look up any business type such as plumber, aircon, dentist, or law firm, using Yellow Pages Singapore's own category and tag suggestions.
- **Decision-ready contact records** — every lead includes verified contact fields (phone, WhatsApp, email, website) plus the full street address, extracted from each business's directory page.
- **Verification signals** — each record flags the paid/verified tier badge and the claimed-business indicator, so you can prioritize established, paying businesses.
- **Traceable sources** — every record keeps its Yellow Pages listing URL, the source label, and the time it was observed.
- **Resilient collection** — stealth TLS-fingerprint-safe transport with automatic retries, per-worker exit rotation for the single collection, and configurable pacing to keep runs stable.

### Input

| Field | Type | Default | Description |
|---|---|---:|---|
| `keyword` | string | `plumber` | Business keyword to look up, e.g. `plumber`, `aircon`, `dentist`, or `law firm`. |
| `maxBusinesses` | integer | `10` | Maximum number of business lead records to collect. |
| `workers` | integer | `10` | Number of parallel workers; each uses its own exit, spreading the request load. |
| `pacing` | number | `0.4` | Minimum seconds between requests per worker. |
| `proxy` | string | *(empty)* | Optional proxy URL (e.g. `http://user:pass@host:port`) for managed proxy support. |

#### Example input

```json
{
  "keyword": "plumber",
  "maxBusinesses": 10,
  "workers": 10,
  "pacing": 0.4
}
```

### Output

The actor pushes one dataset item per business lead. Each item includes the business name, phone, WhatsApp, email, full address, category and category list, website, the verified tier badge and claimed indicators, the listing URL, the city (Singapore), the source label, the internal listing ID, the URL slug, and the observation timestamp. Missing source values are returned as `null`.

A representative result:

```json
{
  "businessName": "Ace Guard Pte Ltd",
  "phone": "+65 6804 6129",
  "whatsapp": null,
  "email": "sales@aceguard.com.sg",
  "address": "24 Sin Ming Lane, Midview City #01-79",
  "category": "Security Services",
  "categories": ["Security Services"],
  "website": "https://www.aceguard.com.sg",
  "verified": true,
  "tier": "Gold",
  "claimed": true,
  "url": "https://www.yellowpages.com.sg/listing/ace-guard-pte-ltd/",
  "city": "Singapore",
  "source": "Yellow Pages Singapore",
  "listingId": 30849,
  "slug": "ace-guard-pte-ltd",
  "observedAt": "2025-11-09T17:25:00.000Z"
}
```

### Practical limitations

- Results reflect the public Yellow Pages Singapore directory at run time and may change as businesses are added, moved, or removed.
- The directory is curate (~600 businesses), so a keyword with no matching category or tag falls back to the full directory — the same behavior as the site's own "More results" link.
- The site is protected by a bot-management service; automatic retries and per-worker exit rotation help, but no result is guaranteed.
- A run that cannot retrieve any records is reported as failed rather than returning invented data.
- Use collected information in accordance with Yellow Pages Singapore's terms and applicable privacy and data-use requirements.

# Actor input Schema

## `keyword` (type: `string`):

What kind of business to look for, e.g. plumber, aircon, dentist, or 'law firm'. Matches Yellow Pages Singapore's own category and tag suggestions.

## `maxBusinesses` (type: `integer`):

Maximum number of business lead records to collect (default: 10).

## `workers` (type: `integer`):

Number of parallel workers; each worker uses its own residential exit, spreading the request load (default: 10).

## `pacing` (type: `number`):

Minimum seconds between requests per worker (default: 0.4).

## `proxy` (type: `string`):

Optional HTTP(S) proxy URL to route requests through, e.g. http://user:pass@host:port. Leave empty for direct connections.

## Actor input object example

```json
{
  "keyword": "plumber",
  "maxBusinesses": 10,
  "workers": 10,
  "pacing": 0.4
}
```

# Actor output Schema

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

All scraped business lead records, one item per row. Field shape: businessName, phone, whatsapp, email, address, category, categories, website, verified, tier, claimed, url, city, source, listingId, slug, observedAt.

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("data_dino/singapore-yellow-pages").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 = {}

# Run the Actor and wait for it to finish
run = client.actor("data_dino/singapore-yellow-pages").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 '{}' |
apify call data_dino/singapore-yellow-pages --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,data_dino/singapore-yellow-pages"
        }
    }
}
```

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/e7sXlriYI6czWXmd5/builds/WlsLV98CkPyKGnidh/openapi.json
