# Páginas Amarillas Colombia Scraper - Business Leads (`bovi/paginasamarillas-scraper`) Actor

Collect business listings from Páginas Amarillas Colombia. Get names, phones, email and websites. Run with searchTerm, location or startUrl; no directory login. Pricing: $0.0032 per saved result plus $0.00005 per Actor Start on the Free plan.

- **URL**: https://apify.com/bovi/paginasamarillas-scraper.md
- **Developed by:** [Vitalii Bondarev](https://apify.com/bovi) (community)
- **Categories:** Lead generation, Business, Marketing
- **Features:** Limited permissions
- **Stats:** 1 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.20 / 1,000 páginas amarillas colombia scraper - business leads

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

## Páginas Amarillas Colombia Scraper

Scrape paginasamarillas.com.co for business leads with phones, WhatsApp, email, websites, locations and company details from the directory's public search endpoint and public company pages. Search mode returns up to `maxResults` records. On the Free plan a saved result costs $0.0032.

- Run it from your Apify account without a directory login or cookies.
- Build B2B lead lists by business category and Colombian city.
- Keep only businesses that publish a phone, email, website or WhatsApp number.
- Map competitors and suppliers with addresses, coordinates and branch data.
- Enrich CRM records with social links, descriptions, services and opening hours.

### What you get

The Actor reads the directory’s public search endpoint and public company pages. Search runs return one record per saved business; company-page details are collected when `withDetails` is enabled.

| Field family | Fields | Type | Notes |
| --- | --- | --- | --- |
| Identity | `businessName`, `category` (the search term the listing was found with; empty for a single-company `startUrl`), `slogan`, `description`, `about`, `productType`, `isPremium`, `listingId`, `accountId`, `url`, `observedAt` | string, boolean | Business name, listing type, IDs and company page URL |
| Phone contacts | `phone`, `phoneE164`, `phoneCountryCode`, `allPhonesList`, `allPhonesE164`, `phones`, `whatsapp` | string, array | Main phone, normalized numbers, labels and WhatsApp |
| Digital contacts | `email`, `emails`, `website` | string, array | Main and all published email addresses plus website |
| Social links | `facebook`, `instagram`, `messenger`, `youtube`, `socialLinks` | string, object | Individual social URLs and all contact links grouped by type |
| Location | `address`, `locality`, `city`, `region`, `country`, `latitude`, `longitude`, `mapUrl` | string, number | Address, Colombian region, coordinates and Google Maps link |
| Branches | `branchCount`, `branches` | number, array | Number of branches and the branch list |
| Details and media | `logo`, `images`, `services`, `openingHours`, `rating`, `reviewText` | string, array, number | Logo, images, services, opening hours, rating and featured review |
| Lead flags | `hasPhone`, `hasWhatsapp`, `hasEmail`, `hasWebsite` | boolean | Boolean checks for published contact details |

### Sample output

The record below is shortened. `phoneE164`, `whatsapp`, `email` and `website` are shown as `<hidden for privacy>` because they are contact details of a listed business; real runs return them when the listing publishes them.

```json
{
  "businessName": "PRODUCTOS INDUSTRIALES Y DESECHABLES",
  "category": "restaurantes",
  "slogan": "Elige a Productos Industriales y Desechables MED.",
  "phone": "(+57) 314 2685843",
  "phoneE164": "<hidden for privacy>",
  "whatsapp": "<hidden for privacy>",
  "email": "<hidden for privacy>",
  "website": "<hidden for privacy>",
  "address": "Cra. 21 #52 - 10",
  "city": "Bogotá, D.C.", "region": "Bogotá", "country": "Colombia",
  "latitude": 4.64039,
  "longitude": -74.07196,
  "services": ["Guantes", "Tapabocas", "Polainas", "Batas", "Ropa Desechable", "Higiene y Estética", "Aseo y Cafetería", "Desechables y Plásticos"],
  "isPremium": false,
  "hasPhone": true, "hasWhatsapp": true, "hasEmail": true, "hasWebsite": true,
  "url": "https://www.paginasamarillas.com.co/empresas/productos-industriales-y-desechables/bogota-dc-16549262?ad=26034639",
  "listingId": "26034639"
}
```

### Pricing

This Actor uses pay-per-event pricing. You pay only for the events listed below. This Actor does not use the Pay per event + usage option, so the platform usage of your runs (compute, proxy traffic and storage) is not billed to you separately.

| Charge event | Billing unit | Free plan price |
| --- | --- | ---: |
| `apify-actor-start` | One Actor Start event | $0.00005 |
| `apify-default-dataset-item` | One saved dataset result | $0.0032 |

For 1,000 saved results and one Actor Start event on the Free plan: 1,000 x $0.0032 = $3.20 for results, plus $0.00005 for the start. For 10,000 saved results and one Actor Start event on the Free plan: 10,000 x $0.0032 = $32.00 for results, plus $0.00005 for the start.

In search mode, `maxResults` limits the number of saved records and therefore limits result-item charges.

### How to use

1. **Enter** a business category or keyword in `searchTerm`, such as `restaurantes`, and optionally enter a Colombian city in `location`.
2. **Add** a recognized `startUrl` when you want to start from a directory results URL or a single `/empresas/...` company page; a recognized search URL supplies the search term and location instead. An unrecognised `startUrl` is ignored with a warning and `searchTerm` is used.
3. **Choose** a `maxResults` value (the schema accepts 1 to 1000000, but a search run is capped at about 100,000 listings) and decide whether to open company pages with `withDetails`.
4. **Apply** `colombiaOnly`, contact filters or `premiumOnly` to keep the types of listings you need.
5. **Leave** `proxyConfiguration` at its default (Apify Proxy, `RESIDENTIAL` group) or change it.
6. **Run** the Actor and inspect the dataset records or download the results.
7. **Repeat** the run through Apify Schedules.

Example input:

```json
{
  "searchTerm": "restaurantes",
  "location": "medellin",
  "maxResults": 50,
  "withDetails": true,
  "colombiaOnly": true,
  "onlyWithWhatsapp": true
}
```

Export the dataset as JSON or CSV, or read it through the Apify dataset API.

### Input parameters

| Parameter | What it does | Default |
| --- | --- | --- |
| `searchTerm` | Searches for a business category or keyword when no recognized `startUrl` is provided. | `restaurantes` |
| `location` | Narrows a search to a Colombian city or locality. An empty value searches the country-level index. | Empty string |
| `startUrl` | Uses a recognized directory results URL or a single company page instead of the search term and city. | Empty string |
| `maxResults` | Maximum number of businesses to save in search mode. Accepted range: 1–1000000; a search run reads at most 2000 pages of 50 listings, so about 100,000 listings is the real ceiling. | `50` |
| `withDetails` | Opens each company page to add services, rating and a featured review. | `true` |
| `colombiaOnly` | Keeps records whose derived country is Colombia. | `true` |
| `onlyWithEmail` | Keeps businesses that publish an email address. | `false` |
| `onlyWithPhone` | Keeps businesses that publish a phone number. | `false` |
| `onlyWithWebsite` | Keeps businesses that publish a website. | `false` |
| `onlyWithWhatsapp` | Keeps businesses that publish a WhatsApp number. | `false` |
| `premiumOnly` | Keeps listings identified as paid premium listings. | `false` |
| `proxyConfiguration` | Apify Proxy settings; optional, the site is reachable without a proxy. | Apify Proxy on, `RESIDENTIAL` group |

### Limits and edge cases

| Condition | What you see | What to do |
| --- | --- | --- |
| The search term and filters match no listings | The dataset contains no records. | Broaden the category or city, disable a restrictive contact filter, or check `colombiaOnly`. |
| The search is very broad | The Actor saves only up to `maxResults`, and never more than about 100,000 listings per run (2000 pages × 50). | Set `maxResults` to the number of records required, or split the search by `location` or category to go past the ceiling. |
| `withDetails` is `false` | Company pages are not opened; contacts, address and coordinates from search data are still returned. | Turn `withDetails` on when you need company-page services, rating or review data. |
| A company-page detail request fails during a search | The detail error is logged; the record is built from available search data and pushed to the dataset. | Review the record and rerun with details enabled if the extra fields are required. |
| A search request keeps failing | The run can stop at that request; records pushed before it remain in the dataset. | Run again. |
| A single-company `startUrl` is not found or has no parseable company data | No record is pushed for that company page. | Verify that the URL is a public Páginas Amarillas company page. |
| `startUrl` points to a company page | The Actor fetches that page and pushes one record when company data is found. Search filters are not applied in this mode. | Use a results URL or search inputs when you need filtering across listings. |
| The shared index contains a non-Colombian listing | With `colombiaOnly` enabled, records whose derived country is not Colombia are filtered out. | Disable the filter only when those indexed listings are wanted. |

### FAQ

#### How much does it cost to scrape Colombian businesses?

On the Free plan each saved dataset result costs $0.0032; see Pricing for the Actor Start event.

#### Why did my run return no records?

No records can result when the search has no matches or when contact, premium or Colombia-only filters exclude every candidate. A single-company `startUrl` also returns no record when the page is not found or contains no parseable company data. Broaden the search, relax filters or verify the URL.

#### What happens when company-page details cannot be collected?

During a search, a failed detail request is logged and the Actor falls back to the search data for that listing. With `withDetails` disabled, the Actor does not open company pages, so company-page fields such as services, rating and review text are not added from those pages.

#### Does using public data make my outreach legal?

The Actor extracts public data from the Páginas Amarillas directory’s public search endpoint and public company pages. Whether a particular use is allowed depends on the source terms and applicable law for your use case; review those requirements before using the results.

### Related actors

- [Better Business Bureau Scraper — BBB Directory](https://apify.com/bovi/better-business-bureau-scraper) — related business-directory data for companies listed with the Better Business Bureau.
- [Gelbe Seiten Scraper — German Business Directory](https://apify.com/bovi/gelbeseiten-directory) — another Actor for extracting business-directory listings, focused on Germany.
- [2GIS Places Scraper — Russia & CIS Business Directory](https://apify.com/bovi/2gis-places-scraper) — related places and business-directory data for Russia and CIS markets.

# Actor input Schema

## `searchTerm` (type: `string`):

Business category or keyword to search, e.g. "restaurantes", "abogados", "hoteles". Used when no Start URL is given.

## `location` (type: `string`):

Optional Colombian city or locality to narrow the search, e.g. "medellin", "cali", "bogota". Leave empty to search the whole country.

## `startUrl` (type: `string`):

Optional paginasamarillas.com.co results URL (https://www.paginasamarillas.com.co/servicios/restaurantes or https://www.paginasamarillas.com.co/medellin/servicios/abogados) or a single company page (/empresas/...). When set, the search term and city are taken from it.

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

Maximum number of businesses to save.

## `withDetails` (type: `boolean`):

Open every company page to add opening hours, services, rating and a featured review. Slower, but richer data.

## `colombiaOnly` (type: `boolean`):

The directory search index also contains listings from sister sites (Ecuador, Peru, Guatemala and others). Keep only Colombian businesses.

## `onlyWithEmail` (type: `boolean`):

Keep only businesses that publish an email address.

## `onlyWithPhone` (type: `boolean`):

Keep only businesses that publish a phone number.

## `onlyWithWebsite` (type: `boolean`):

Keep only businesses that publish a website.

## `onlyWithWhatsapp` (type: `boolean`):

Keep only businesses that publish a WhatsApp number.

## `premiumOnly` (type: `boolean`):

Keep only paid (premium) advertisers.

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

Optional. The site is reachable without a proxy; enable Apify Proxy if requests get blocked.

## Actor input object example

```json
{
  "searchTerm": "restaurantes",
  "maxResults": 50,
  "withDetails": true,
  "colombiaOnly": true,
  "onlyWithEmail": false,
  "onlyWithPhone": false,
  "onlyWithWebsite": false,
  "onlyWithWhatsapp": false,
  "premiumOnly": false,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# Actor output Schema

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

Dataset with the scraped records.

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

// Run the Actor and wait for it to finish
const run = await client.actor("bovi/paginasamarillas-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 = {
    "searchTerm": "restaurantes",
    "maxResults": 50,
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    },
}

# Run the Actor and wait for it to finish
run = client.actor("bovi/paginasamarillas-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 '{
  "searchTerm": "restaurantes",
  "maxResults": 50,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}' |
apify call bovi/paginasamarillas-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,bovi/paginasamarillas-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/qMh4JcOtOiepnj3Gx/builds/Z9qlUEAsLoNcRhdtl/openapi.json
