# Pagesjaunes Scraper (`saswave/pagesjaunes-scraper`) Actor

$0.8 / 1000 results. Non official French Yellow page scraper. Pagesjaunes.fr scraper. Extract non protected, public available informations from search results: city, name, email, phonenumber, SIRET, NAF, creation date and more. Helps you research your local professional

- **URL**: https://apify.com/saswave/pagesjaunes-scraper.md
- **Developed by:** [SASWAVE](https://apify.com/saswave) (community)
- **Categories:** Automation, Lead generation, Social media
- **Stats:** 548 total users, 31 monthly users, 72.2% runs succeeded, 6 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

from $0.80 / 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.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — 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 Scraper

The **PagesJaunes Scraper** is a **non-official scraper** for the French Yellow Pages (`pagesjaunes.fr`).

It extracts publicly available information from search results to help you **research local professionals and businesses** in France.

### ✨ Features

The scraper can extract:

- Business name (`raison_social`)

- Address and postal code (`adresse`, `postal_code`)

- City (`city`)

- Phone numbers (`tel`)

- SIRET number (`siret`)

- NAF code (`NAF`)

- Legal form (`forme_juridique`)

- Company creation date (`creation_date`)

- Activity and multiple activity categories (`activite`, `multi_activite`)

- Social media links (`external_links`)

- Search page URL and profile URL

This is ideal for **local business research, or market analysis**.

### Output

```json
{
  "url": "https://www.pagesjaunes.fr/pros/58129129",
  "id": "58129129",
  "ref": "input_url",
  "description": "Artisan qualifié à Paris depuis plus de 20 ans dans le domaine de la plomberie, serrurerie, vitrerie et rénovation, dépannage d'urgence. Devis gratuit sur simple appel, main d'œuvre à prix raisonnable, nous sommes à votre écoute pour tout conseil.Et nous nous déplaçons dans tous les arrondissements de Paris.Nous essayer c'est nous adopté !",
  "raison_social": "Atie Bat",
  "adresse": "4 rue Alphonse Baudin 75011 Paris",
  "postal_code": "75011",
  "city": "Paris",
  "tel": [
    "01 43 ** ** **"
  ],
  "siret": "83956570200017",
  "siren": "839565702",
  "employee_count": "",
  "type": "Siège",
  "NAF": "4322A",
  "forme_juridique": "5710",
  "creation_date": "4 mai 2018",
  "activite": "Plombiers",
  "multi_activite": [
    "Plombiers",
    "Entreprises d'électricité générale",
    "Dépannage plomberie",
    "Vitrerie",
    "Dépannage serrurerie",
    "Entreprises d'électricité industrielle"
  ],
  "external_links": [
    {
      "site_externe": "https://www.atie-bat.fr/contact"
    }
  ],
  "opening_hours": {
    "Lundi": [
      "06h00 - 23h00"
    ],
    "Mardi": [
      "06h00 - 23h00"
    ],
    "Mercredi": [
      "06h00 - 23h00"
    ],
    "Jeudi": [
      "06h00 - 23h00"
    ],
    "Vendredi": [
      "06h00 - 23h00"
    ],
    "Samedi": [
      "Fermé"
    ],
    "Dimanche": [
      "06h00 - 23h00"
    ]
  },
  "is_verified": true,
  "aggregate_rating": {
    "bestRating": "5",
    "ratingValue": 5,
    "reviewCount": "36",
    "worstRating": "0"
  },
  "image": "https://www.pagesjaunes.fr/media/newdam/28/a6/30/00/00/17/c6/27/f1/36/680228a630000017c627f136/680228a630000017c627f137.jpg",
  "images": [
    "https://www.pagesjaunes.fr/media/newdam/28/a6/30/00/00/17/c6/27/f1/36/680228a630000017c627f136/680228a630000017c627f137.jpg",
    "https://www.pagesjaunes.fr/media/newdam/08/ab/30/00/00/52/1b/24/78/5d/67ed08ab300000521b24785d/67ed08ab300000521b24785e.jpg",
    "https://www.pagesjaunes.fr/media/newdam/02/f1/30/00/00/44/16/24/77/f0/67ed02f130000044162477f0/67ed02f130000044162477f1.jpg",
    "https://www.pagesjaunes.fr/media/newdam/d0/e7/30/00/00/47/50/05/be/58/67c6d0e7300000475005be58/67c6d0e7300000475005be59.jpg",
    "https://www.pagesjaunes.fr/media/newdam/12/52/2f/00/00/9d/2f/38/ba/28/677d12522f00009d2f38ba28/677d12522f00009d2f38ba29.jpg"
  ]
}
```

### 🚀 Use Cases

Lead Generation: Extract local business contacts for sales or marketing

Market Research: Collect business types and activities per city or region

Business Analytics: Analyze SIRET numbers, NAF codes, and company creation dates

Directory Building: Aggregate structured data for internal databases

### 💡 Notes

Works with keyword and city queries to filter search results

Returns structured JSON output for easy integration

Scraper only accesses publicly available information

### Disclaimers

This Actor is not affiliated with or endorsed by Solocal or PagesJaunes. It only accesses publicly available information in accordance with applicable database and trademark laws.

### 🛟 SUPPORT

Share your runs with the developer team and create issues on error to help us improve actor quality.

You might discover edge case we didn't test yet

We stay available anytime

# Actor input Schema

## `url` (type: `array`):

Search url to extract results from

## `pros_urls` (type: `array`):

Extract infos about a specific list of profiles, ex: https://www.pagesjaunes.fr/pros/09222539

## Actor input object example

```json
{
  "url": [
    "https://www.pagesjaunes.fr/annuaire/region/alsace/maison-dhotes"
  ]
}
```

# Actor output Schema

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

No description

# 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 = {
    "url": [
        "https://www.pagesjaunes.fr/annuaire/region/alsace/maison-dhotes"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("saswave/pagesjaunes-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 = { "url": ["https://www.pagesjaunes.fr/annuaire/region/alsace/maison-dhotes"] }

# Run the Actor and wait for it to finish
run = client.actor("saswave/pagesjaunes-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 '{
  "url": [
    "https://www.pagesjaunes.fr/annuaire/region/alsace/maison-dhotes"
  ]
}' |
apify call saswave/pagesjaunes-scraper --silent --output-dataset

```

## MCP server setup

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