# PagesJaunes France Leads Scraper — Phone, Email, SIRET (`scrapersdelight/pagesjaunes-france-scraper`) Actor

Scrape French business leads from PagesJaunes (pagesjaunes.fr) by activity + city/postal code: company name, phone, email, full postal address, website, SIRET/SIREN and NAF code. Warmed got-scraping clears the bot wall — no login. Export JSON/CSV/Excel.

- **URL**: https://apify.com/scrapersdelight/pagesjaunes-france-scraper.md
- **Developed by:** [Scrapers Delight](https://apify.com/scrapersdelight) (community)
- **Categories:** Automation, Lead generation, Agents
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$3.00 / 1,000 lead scrapeds

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/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

## 🇫🇷 PagesJaunes France Leads Scraper — Phone, Email, Address, SIRET

**Turn [pagesjaunes.fr](https://www.pagesjaunes.fr) — the French Yellow Pages — into a clean B2B lead list.**
Search any activity in any French city or postal code and get one row per business with the contact
data agencies, call-centers and SaaS teams actually prospect on: **name, phone, email, full postal
address, website, and the legal identifiers SIRET / SIREN / NAF (APE) code.**

At **$3 per 1,000 leads** it is the **cheapest** way to pull PagesJaunes leads on Apify. No login, no
setup — paste an activity + a city and run.

---

### 💡 What does this Actor do?

PagesJaunes is France's largest public business directory. This Actor searches it like a real Chrome
browser, walks the result pages, opens each business's detail page (fiche), and returns a structured
lead record. It handles PagesJaunes' Cloudflare bot-wall automatically — **no proxy required by
default.**

You give it two things:

- **What** — an activity, category, or business name (the site's *quoi* box): `restaurant`,
  `plombier`, `agence immobilière`, `boulangerie`…
- **Where** — a city, postal code, department or region (the site's *où* box): `Lyon`, `75015`,
  `Bordeaux`, `Rhône`…

### 📤 What you get — one row per business

| Field | Description |
|---|---|
| `name` | Business / trade name (nom de l'établissement) |
| `phone` | Phone in E.164 format, e.g. `+33482839065` |
| `phone_display` | Phone as shown on PagesJaunes, e.g. `04 82 83 90 65` |
| `phones` | Every displayed number for the business |
| `email` | Public contact email, when the business exposes one |
| `address` | Full postal address |
| `street` | Street line (rue) |
| `postal_code` | 5-digit postcode (code postal) |
| `city` | City / commune (ville) |
| `category` | Activity as listed on PagesJaunes |
| `website` | Business website (decoded from the listing) |
| `siret` | 14-digit SIRET establishment number |
| `siren` | 9-digit SIREN company number |
| `naf_code` | NAF / APE activity code, e.g. `5610A` |
| `legal_form` | Legal form, e.g. *SAS, société par actions simplifiée* |
| `created_on` | Company creation date, when shown |
| `establishment_type` | e.g. *Siège* (head office) / *Établissement* |
| `rating` / `review_count` | Partner (Google) rating and review count, when shown |
| `description` | Business description snippet |
| `latitude` / `longitude` | Geo coordinates, when present |
| `detail_url` | The PagesJaunes fiche URL |
| `scraped_at` | ISO timestamp of the scrape |

Rows without at least a **name + phone or address** are dropped, so you never pay for empty leads.

### ⚙️ Example input

```json
{
  "what": "plombier",
  "where": "75015",
  "maxItems": 100,
  "maxPages": 5,
  "includeCompanyDetails": true
}
````

### 📈 Example output (one item)

```json
{
  "merchant_id": "64850585",
  "name": "Restaurant Clem & Louis",
  "phone": "+33482839065",
  "phone_display": "04 82 83 90 65",
  "email": null,
  "address": "4 rue St Jérôme 69007 Lyon",
  "street": "4 rue St Jérôme",
  "postal_code": "69007",
  "city": "Lyon",
  "category": "restaurants",
  "website": "https://www.clem-louis.com",
  "siret": "94121056900013",
  "siren": "941210569",
  "naf_code": "5610A",
  "legal_form": "SAS, société par actions simplifiée",
  "latitude": 45.750248,
  "longitude": 4.84442,
  "detail_url": "https://www.pagesjaunes.fr/pros/64850585",
  "scraped_at": "2026-07-09T10:00:00.000Z"
}
```

### 💰 Pricing — pay per result

**$3.00 per 1,000 leads** (`$0.003` per lead). You are charged only for leads actually returned —
nothing for empty pages or blocked rows. Cheaper than the other PagesJaunes scrapers on the store.

### 🌐 Proxy — leave it off

PagesJaunes' bot-wall is a **TLS-fingerprint** challenge, not an IP block. This Actor impersonates a
real Chrome (TLS + client-hints) and warms the challenge cookie on the homepage, so it passes with
**no proxy** — the fastest, cheapest mode. If a run's IP is ever flagged (403s or empty pages),
switch the **Proxy** input to **Apify Proxy → RESIDENTIAL, country FR** and re-run.

### ❓ FAQ

**Do I need a PagesJaunes account or API key?** No. It reads the public directory.

**Where does the phone number come from?** PagesJaunes reveals numbers through an AJAX call when you
click "Afficher le N°". The Actor performs that reveal for each lead, so the phone is filled in
automatically.

**Why is `email` sometimes empty?** Most PagesJaunes listings expose a phone and website but route
email through a contact form. When a public email is present, it's captured; otherwise the field is
`null`.

**Can I get SIRET / SIREN / NAF for every business?** They come from the business's detail page and
are present whenever PagesJaunes shows the "Sur l'établissement" (B2B) block. Keep **Fetch company
details** on to collect them.

**How many results per city?** PagesJaunes paginates ~20 businesses per page. Raise **Max result
pages** to go deeper, or set **Max leads** to `0` for everything in scope.

**How do I search a whole postal code or department?** Put the code (`75015`) or department
(`Rhône`) in **Where**.

**Is it fast?** Yes — it runs with no browser (pure HTTP) and enriches leads concurrently.

**What formats can I export?** JSON, CSV, Excel, HTML or an API feed — like any Apify dataset.

**Does it deduplicate?** Yes, by the PagesJaunes business id within a run.

**Can I schedule it?** Yes — schedule the Actor and get fresh leads on a cadence.

### ⚖️ Legal & fair use

This Actor collects data from a **public** business directory. **You are responsible for how you use
it** and for complying with PagesJaunes' Terms of Service.

**GDPR note:** French business listings can contain personal data (e.g. a sole trader's name, a
direct phone or email). Under the **GDPR** you need a lawful basis to process personal data, must
respect data-subject rights, and — for B2B prospecting — France's rules (CNIL guidance on
professional emailing / opt-out). Use the output for legitimate B2B outreach, honor opt-outs and
deletion requests, and do not use it for spam. This is guidance, not legal advice — consult your own
counsel for your use case.

# Actor input Schema

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

What to search on PagesJaunes — an activity, category, or business name (the site's 'quoi' box). Examples: "restaurant", "plombier", "agence immobilière", "boulangerie".

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

Where to search (the site's 'où' box) — a city, postal code, department, or region. Examples: "Lyon", "75015", "Bordeaux", "Rhône".

## `maxItems` (type: `integer`):

Stop after this many leads (cost/speed guard). Set 0 for every result across all pages up to the safety cap.

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

How many search-result pages to walk (about 20 businesses per page). Raise it to go deeper into a city/activity.

## `includeCompanyDetails` (type: `boolean`):

Open each business's detail page (fiche) to add website, email (when public), SIRET, SIREN, NAF/APE code, legal form and geo. Turn off for a faster name+phone+address-only run.

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

Use Apify Residential, country FR (the default) — PagesJaunes' Cloudflare wall 403s Apify datacenter IPs, so a French residential IP is required to get results. Verified: residential-FR returns full leads; other proxy modes return empty from Apify.

## `requestConcurrency` (type: `integer`):

Max parallel requests while enriching leads. Higher = faster; keep modest to stay under the site's rate limits.

## Actor input object example

```json
{
  "what": "restaurant",
  "where": "Lyon",
  "maxItems": 20,
  "maxPages": 1,
  "includeCompanyDetails": true,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "FR"
  },
  "requestConcurrency": 5
}
```

# Actor output Schema

## `records` (type: `string`):

The dataset of scraped PagesJaunes business leads (one item per business).

# 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": "restaurant",
    "where": "Lyon",
    "maxItems": 20,
    "maxPages": 1,
    "includeCompanyDetails": true,
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ],
        "apifyProxyCountry": "FR"
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("scrapersdelight/pagesjaunes-france-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 = {
    "what": "restaurant",
    "where": "Lyon",
    "maxItems": 20,
    "maxPages": 1,
    "includeCompanyDetails": True,
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
        "apifyProxyCountry": "FR",
    },
}

# Run the Actor and wait for it to finish
run = client.actor("scrapersdelight/pagesjaunes-france-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).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": "restaurant",
  "where": "Lyon",
  "maxItems": 20,
  "maxPages": 1,
  "includeCompanyDetails": true,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "FR"
  }
}' |
apify call scrapersdelight/pagesjaunes-france-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=scrapersdelight/pagesjaunes-france-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "PagesJaunes France Leads Scraper — Phone, Email, SIRET",
        "description": "Scrape French business leads from PagesJaunes (pagesjaunes.fr) by activity + city/postal code: company name, phone, email, full postal address, website, SIRET/SIREN and NAF code. Warmed got-scraping clears the bot wall — no login. Export JSON/CSV/Excel.",
        "version": "0.1",
        "x-build-id": "6t0SNhXsJCCXHph0X"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/scrapersdelight~pagesjaunes-france-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-scrapersdelight-pagesjaunes-france-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/scrapersdelight~pagesjaunes-france-scraper/runs": {
            "post": {
                "operationId": "runs-sync-scrapersdelight-pagesjaunes-france-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/scrapersdelight~pagesjaunes-france-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-scrapersdelight-pagesjaunes-france-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "properties": {
                    "what": {
                        "title": "Activity / business name (quoi)",
                        "type": "string",
                        "description": "What to search on PagesJaunes — an activity, category, or business name (the site's 'quoi' box). Examples: \"restaurant\", \"plombier\", \"agence immobilière\", \"boulangerie\"."
                    },
                    "where": {
                        "title": "City / postal code (où)",
                        "type": "string",
                        "description": "Where to search (the site's 'où' box) — a city, postal code, department, or region. Examples: \"Lyon\", \"75015\", \"Bordeaux\", \"Rhône\"."
                    },
                    "maxItems": {
                        "title": "Max leads",
                        "minimum": 0,
                        "type": "integer",
                        "description": "Stop after this many leads (cost/speed guard). Set 0 for every result across all pages up to the safety cap.",
                        "default": 100
                    },
                    "maxPages": {
                        "title": "Max result pages",
                        "minimum": 1,
                        "type": "integer",
                        "description": "How many search-result pages to walk (about 20 businesses per page). Raise it to go deeper into a city/activity.",
                        "default": 3
                    },
                    "includeCompanyDetails": {
                        "title": "Fetch company details (email, website, SIRET/SIREN/NAF)",
                        "type": "boolean",
                        "description": "Open each business's detail page (fiche) to add website, email (when public), SIRET, SIREN, NAF/APE code, legal form and geo. Turn off for a faster name+phone+address-only run.",
                        "default": true
                    },
                    "proxyConfiguration": {
                        "title": "Proxy",
                        "type": "object",
                        "description": "Use Apify Residential, country FR (the default) — PagesJaunes' Cloudflare wall 403s Apify datacenter IPs, so a French residential IP is required to get results. Verified: residential-FR returns full leads; other proxy modes return empty from Apify.",
                        "default": {
                            "useApifyProxy": true,
                            "apifyProxyGroups": [
                                "RESIDENTIAL"
                            ],
                            "apifyProxyCountry": "FR"
                        }
                    },
                    "requestConcurrency": {
                        "title": "Request concurrency",
                        "minimum": 1,
                        "maximum": 10,
                        "type": "integer",
                        "description": "Max parallel requests while enriching leads. Higher = faster; keep modest to stay under the site's rate limits.",
                        "default": 5
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
