# Páginas Amarillas Scraper: 9 LATAM Countries + Mexico (`yugenox/paginas-amarillas-scraper`) Actor

Business leads from the Páginas Amarillas yellow pages in Colombia, Argentina, Peru, Chile, Ecuador, Guatemala, Panama, El Salvador and Nicaragua, plus Mexico's Sección Amarilla: name, phones (E.164), WhatsApp, emails, website, address, city, region, coordinates. No login.

- **URL**: https://apify.com/yugenox/paginas-amarillas-scraper.md
- **Developed by:** [Yugenox Corp](https://apify.com/yugenox) (community)
- **Categories:** Lead generation, Business
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.50 / 1,000 businesses

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 Scraper: 9 LATAM Countries + Mexico

Get business leads from the **Páginas Amarillas** yellow pages in **Colombia, Argentina, Peru, Chile, Ecuador, Guatemala, Panama, El Salvador and Nicaragua**, plus **Mexico's Sección Amarilla**, in one run and one table. Phones and emails are included in the price, with no extra detail fee.

Type a keyword such as "restaurantes" or "plomeros", pick the countries and optionally some cities, and you get one row per business: name, main phone in international (E.164) format, every other phone, WhatsApp, published emails, website, Facebook and Instagram, street address, city, region, coordinates, logo, photos and the listing link.

### Use cases

- **Outbound sales and call centres**: dialable phone lists by trade and city, ready for a dialer.
- **Lead generation agencies**: SMB lists for clients across Latin America in one format.
- **SaaS, fintech and payments teams** selling to small businesses: size a market per city and category.
- **Market research**: count businesses per category, region or listing tier.

### Input

| Field | What it does |
|---|---|
| Countries | CO, AR, PE, CL, EC, GT, PA, SV, NI and MX (Mexico uses Sección Amarilla) |
| Keywords or categories | e.g. `restaurantes`, `plomeros`, `abogados`, `dentistas`. Spanish works best |
| Cities | optional, e.g. `Bogotá`, `Medellín`, `Lima`, `Buenos Aires`. Leave it empty to search the whole country |
| Max businesses | cap for the whole run (0 = everything) |
| Only businesses with | keep only rows with a phone, email, website or WhatsApp. Skipped rows are free |
| Search links | optional search links copied from the sites |

Example:

```json
{ "countries": ["CO", "PE"], "keywords": ["restaurantes"], "cities": ["Bogotá", "Lima"], "maxResults": 200 }
```

### Output (a real row, trimmed)

```json
{
  "country": "Colombia",
  "countryCode": "CO",
  "businessId": "26034639",
  "name": "PRODUCTOS INDUSTRIALES Y DESECHABLES",
  "phone": "+573142685843",
  "phones": ["+573142685843", "+573244150050"],
  "whatsapp": "+573142685843",
  "email": "productosindustriales@hotmail.com",
  "website": "https://www.productosindustrialesydesechables.com",
  "facebook": "https://www.facebook.com/productosindustrialesydesechables",
  "address": "Cra. 21 #52 - 10",
  "city": "Bogotá, D.C.",
  "region": "Bogotá",
  "latitude": 4.64039,
  "longitude": -74.07196,
  "listingTier": "LANP",
  "isPaid": true,
  "listingUrl": "https://www.paginasamarillas.com.co/empresas/productos-industriales-y-desechables/bogota-dc-16549262?ad=26034639",
  "searchKeyword": "restaurantes",
  "searchLocation": "Bogotá",
  "position": 1
}
```

Other fields: `slogan`, `description`, `emails`, `instagram`, `socialLinks`, `googleMapsUrl`, `openingHours`, `branches`, `logoUrl`, `imageUrls`, `source`, `page`, `scrapedAt`. Mexican rows use the same columns.

### Pricing

**$2.50 per 1,000 businesses**, with phones, emails and websites included and no detail fee, plus a $0.001 start fee per run. You pay only for the rows you get. Rows skipped by your filter are not charged.

### Tips

- A first search often has 100+ businesses per city. Set **Max businesses** to what you need.
- The sites rank paid listings first, so emails and websites are most common near the top. Deeper pages hold more free listings, which often have only a phone.
- A city ranks local businesses first. Listings that cover the whole country can still appear, and every row carries its own city and region.
- Some listings on one country's site really belong to another country. They are skipped and not charged, so each row's country is accurate.

### FAQ

**Is it legal to scrape Páginas Amarillas?** The actor reads only public business directory pages that anyone can open without an account, and it follows each site's robots.txt. You are responsible for how you use the data, including local rules on marketing calls and email (for example Colombia's Ley 1581, Argentina's Ley 25.326 and Peru's Ley 29733).

**Does it access any private data?** No. There is no login and nothing behind one. It collects what businesses publish in their own directory listings: business names, business phones, emails and websites.

**Why do some rows have no email or website?** The business did not publish one. Use "Only businesses with" to keep only rows that have one. Skipped rows are free.

**Which countries are covered?** Colombia, Argentina, Peru, Chile, Ecuador, Guatemala, Panama, El Salvador and Nicaragua (Páginas Amarillas), plus Mexico (Sección Amarilla).

# Actor input Schema

## `countries` (type: `array`):

Which countries' yellow pages to search. Each keyword is searched in every country you pick. Mexico uses Sección Amarilla.

## `keywords` (type: `array`):

What businesses to find, as you would type them on the site. Spanish works best, e.g. "restaurantes", "plomeros", "abogados", "dentistas", "hoteles", "ferreterías".

## `cities` (type: `array`):

Optional cities, e.g. "Bogotá", "Medellín", "Buenos Aires", "Lima", "Santiago". Leave empty to search the whole country. A city ranks local businesses first; paid listings that cover the whole country can still appear, and every row has its own city and region. For Mexico add the state after a comma for a precise match ("Guadalajara, Jalisco").

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

Maximum businesses for the whole run, shared between your searches. 0 = everything (up to 50,000).

## `onlyWith` (type: `string`):

Keep only businesses that list this contact. Skipped businesses are not charged. (Mexican listings carry no email in search results, so "An email" applies to the other countries only.)

## `startUrls` (type: `array`):

Optional: search links copied from one of the sites, e.g. https://www.paginasamarillas.com.co/buscar/q/plomeros/ or https://www.seccionamarilla.com.mx/resultados/plomeros/monterrey/1.

## `maxPagesPerSearch` (type: `integer`):

Result pages to read per keyword, country and city (up to 50 businesses each).

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

Apify Proxy (datacenter) is the default and comes with every Apify plan.

## Actor input object example

```json
{
  "countries": [
    "CO"
  ],
  "keywords": [
    "restaurantes"
  ],
  "cities": [
    "Bogotá"
  ],
  "maxResults": 20,
  "onlyWith": "any",
  "maxPagesPerSearch": 400,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

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

All scraped businesses.

## `run` (type: `string`):

Status and statistics for this run.

## `report` (type: `string`):

RUN_REPORT: how the run ended, counts per search and requests.

# 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 = {
    "countries": [
        "CO"
    ],
    "keywords": [
        "restaurantes"
    ],
    "cities": [
        "Bogotá"
    ],
    "maxResults": 20,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("yugenox/paginas-amarillas-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 = {
    "countries": ["CO"],
    "keywords": ["restaurantes"],
    "cities": ["Bogotá"],
    "maxResults": 20,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("yugenox/paginas-amarillas-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 '{
  "countries": [
    "CO"
  ],
  "keywords": [
    "restaurantes"
  ],
  "cities": [
    "Bogotá"
  ],
  "maxResults": 20,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call yugenox/paginas-amarillas-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,yugenox/paginas-amarillas-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/haR42Y4eo3sKMkx4I/builds/LDaD9yxlkM91GimRW/openapi.json
