# Yellow Pages Swiss Business Lead Generator (`lead.gen.labs/yellow-pages-swiss-business-lead-generator`) Actor

Extract high-quality business leads from YellowPages Swiss with ease! This Actor scrapes company names, addresses, phone numbers, websites, and descriptions based on your chosen category

- **URL**: https://apify.com/lead.gen.labs/yellow-pages-swiss-business-lead-generator.md
- **Developed by:** [LeadGen Labs](https://apify.com/lead.gen.labs) (community)
- **Categories:** Lead generation, Automation
- **Stats:** 9 total users, 2 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-usage

## 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

## **YellowPages Swiss Business Lead Generator: Extract Leads from YellowPages.swiss**

### **Introduction**

**YellowPages.swiss** is a leading online business directory in Switzerland, offering a vast database of companies across various industries. Whether you're a **sales professional, marketer, or entrepreneur**, accessing structured business data from YellowPages Swiss can supercharge your **lead generation, outreach, and market research** efforts.

With comprehensive listings and reliable business information, this platform is a **goldmine for B2B and B2C connections**. Our **YellowPages Swiss Business Lead Generator** automates the extraction of business details, helping you find the right leads effortlessly.

#### **Popular Business Categories on YellowPages.swiss**

Here are some of the most sought-after business categories available on **YellowPages.swiss**:

1. **Hospitality & Travel**: Hotels, Restaurants, Tour Operators, Car Rentals
2. **Home & Repair Services**: Plumbers, Electricians, Cleaning Services, Locksmiths
3. **Medical & Health**: Dentists, Clinics, Pharmacies, Physiotherapists
4. **Auto Services**: Car Dealerships, Mechanics, Towing Services
5. **Finance & Legal**: Banks, Insurance Agencies, Law Firms, Accountants
6. **Retail & Shopping**: Clothing Stores, Electronics Shops, Supermarkets
7. **Beauty & Wellness**: Hair Salons, Spas, Personal Trainers
8. **Education & Training**: Language Schools, Tutors, Driving Schools
9. **Technology & IT Services**: Software Companies, Web Developers, IT Consultants
10. **Entertainment & Events**: Event Planners, DJs, Wedding Services

This Actor is designed to **extract key business details** from these categories, including **contact information, addresses, and websites**, enabling targeted outreach for various business needs.

***

### **Features**

The **YellowPages Swiss Business Lead Generator** includes:

- **Category-Based Search** – Extract leads from specific business categories (e.g., "Hotels," "Auto Repairs").
- **Comprehensive Business Data** – Retrieve business names, addresses, phone numbers, websites, and descriptions.
- **Efficient & Fast Scraping** – Optimized for high-speed, reliable data extraction.
- **Customizable Lead Filtering** – Focus on specific industries or business types to refine your lead list.
- **Seamless Apify Integration** – Automatically store extracted leads in structured datasets for easy export and analysis.

These features make this **an essential tool for sales teams, marketers, and business researchers** looking to scale their lead generation efforts.

***

### **How to Use**

Using the **YellowPages Swiss Business Lead Generator** is simple:

1. **Input the Business Category** – Define the type of business leads you need (e.g., "Restaurants," "IT Services").
2. **Run the Actor** – Start the extraction process and let the Actor scrape relevant business details.
3. **Collect the Data** – Download structured business leads for your marketing, sales, or research purposes.

In just a few minutes, you can build a **high-quality business contact list** without any manual effort.

***

### **Feature Requests & Feedback**

We are continuously improving the **YellowPages Swiss Business Lead Generator** to provide better accuracy and efficiency. If you have suggestions or feature requests, feel free to **reach out** or raise an issue.

***

🔍 **Start generating Swiss business leads today with the YellowPages Swiss Business Lead Generator!** 🚀

# Actor input Schema

## `business_category` (type: `string`):

The Category of Business List to search for.

## `max_pages` (type: `integer`):

The maximum number of pages to scrape.

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

Specifies proxy servers that will be used by the scraper in order to hide its origin.

## Actor input object example

```json
{
  "business_category": "Hotels",
  "max_pages": 1,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# 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 = {
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("lead.gen.labs/yellow-pages-swiss-business-lead-generator").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 = { "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    } }

# Run the Actor and wait for it to finish
run = client.actor("lead.gen.labs/yellow-pages-swiss-business-lead-generator").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 '{
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}' |
apify call lead.gen.labs/yellow-pages-swiss-business-lead-generator --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,lead.gen.labs/yellow-pages-swiss-business-lead-generator"
        }
    }
}
```

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/A1Iew8T3rXwD06lAe/builds/AgdAdGd97MGy9G0Iv/openapi.json
