# Pages Jaunes Scraper — French Business Listings (`junipr/pagesjaunes`) Actor

Extract public PagesJaunes business listings, phone numbers, addresses, categories, websites, ratings, and review metadata for French area leads.

- **URL**: https://apify.com/junipr/pagesjaunes.md
- **Developed by:** [junipr](https://apify.com/junipr) (community)
- **Categories:** Lead generation, Developer tools
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $14.85 / 1,000 directory search checkeds

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

## Pages Jaunes Scraper — French Business Listings

Extract public PagesJaunes business listings, phone numbers, addresses, categories, websites, ratings, and review metadata for French area leads.

### What this actor does

Extract public PagesJaunes business listings, phone numbers, addresses, categories, websites, ratings, and review metadata for French area leads. The actor is configured for public or user-supplied sources, evidence-backed output rows, capped runs, and KVS summaries for blocked, empty, duplicate, or capped work.

### What you can use it for

- Build repeatable pagesjaunes datasets for analysis and automation.
- Export records with source URLs, evidence fields, and run summaries.
- Run buyer-ready tasks for: Scrape French business listings by city; Export phone numbers from PagesJaunes; Collect area lead data in France.

Search-intent terms: pages jaunes scraper, french business directory, annuaire scraper, france area leads, business listings france.

### Inputs

The input schema supports the actor's source fields plus cost and quality controls. Important caps include `searchTerms`, `locations`, `urls`, `businessUrls`, `maxResultsPerSearch`, `maxReviews`, `proxyConfiguration`. Public task examples below provide small, safe starting inputs.

### Outputs

Paid dataset rows and paid KVS artifacts are written only after the configured PPE charge succeeds. Rows include source/evidence fields where the actor can determine them and avoid fabricated values.

### Key-value store reports

Every run writes `SUMMARY.md` and `SUMMARY.json`. Diagnostic CSV or JSON reports are used for blocked pages, no-result pages, duplicates, unsupported inputs, and capped runs instead of paid dataset rows.

### Pricing

This actor uses pay-per-event pricing with Apify platform usage included in the event prices. Store discount tiers are configured for FREE, BRONZE, SILVER, and GOLD users.

| Event | Unit | FREE | BRONZE | SILVER | GOLD |
|---|---:|---:|---:|---:|---:|
| `actor-start` | run | $0.05000 | $0.05000 | $0.04500 | $0.04000 |
| `directory-search-checked` | page | $0.01485 | $0.01485 | $0.01337 | $0.01188 |

Primary paid output event: `directory-search-checked`. Runtime-paid dataset rows and runtime-paid artifacts use this active paid-output event unless a future pricing revision adds an actor-specific artifact boundary with matching code.

### Cost controls and max-charge behavior

Default max charge: $50.00. When the run reaches the max charge or an event-charge limit, it stops gracefully and writes free summary diagnostics without adding unpaid dataset rows.

### Platform usage / proxy / browser / API notes

The configured model is fixed-inclusive PPE: platform usage is included in event prices and the platform-usage pass-through toggle is off. Features that require browser rendering, proxies, provider APIs, or additional fetches are bounded by the input caps and priced through explicit events.

### Reliability notes and limitations

The actor processes public or permissioned inputs only. Blocked pages, login walls, unsupported formats, empty results, and provider errors are recorded as diagnostics. The actor does not fabricate rankings, prices, reviews, sentiment, traffic, compliance status, or private contact data when source evidence is unavailable.

### Example inputs

```json
{
  "searchTerms": [
    "Scrape French business listings by city"
  ],
  "locations": [
    "Paris"
  ],
  "urls": [
    "https://apify.com/"
  ],
  "businessUrls": [
    "https://apify.com/"
  ],
  "maxResultsPerSearch": 25,
  "paginate": false,
  "sortBy": "relevance",
  "radius": 1,
  "openNow": false,
  "withWebsite": false,
  "withReviews": false,
  "minRating": 1,
  "includeOpeningHours": false,
  "includeReviews": false,
  "maxReviews": 25,
  "includePhotos": false,
  "visitProfile": false,
  "proxyConfiguration": {
    "useApifyProxy": true
  },
  "maxChargeUsd": 10,
  "debugMode": false,
  "saveRawHtmlToKvs": false,
  "requestTimeout": 30000,
  "maxRetries": 1,
  "maxConcurrency": 1,
  "sourceMode": "livePublic",
  "suppliedSnapshotHtml": "pagesjaunes",
  "suppliedSnapshotJson": "pagesjaunes",
  "suppliedSnapshotText": "pagesjaunes"
}
```

### Public task examples

- Scrape French business listings by city: Dataset rows matching the scrape french business listings by city use case, plus SUMMARY.md and SUMMARY.json reports in the key-value store.
- Export phone numbers from PagesJaunes: Dataset rows matching the export phone numbers from pagesjaunes use case, plus SUMMARY.md and SUMMARY.json reports in the key-value store.
- Collect area lead data in France: Dataset rows matching the collect area lead data in france use case, plus SUMMARY.md and SUMMARY.json reports in the key-value store.

### Ethical/allowed-use notes

Use this actor only for public data, owned files, or sources you have permission to process. Respect source terms, privacy expectations, robots guidance, and applicable laws. Do not use the actor to collect secrets, bypass access controls, or make unsupported legal, financial, medical, or compliance decisions.

# Actor input Schema

## `searchTerms` (type: `array`):

Business type or keyword to search. E.g. \["plombier", "restaurant japonais", "avocat"].

## `locations` (type: `array`):

Location(s) to search. E.g. \["Paris 75001", "Lyon", "Marseille"]. Accepts city, arrondissement, or department.

## `urls` (type: `array`):

Direct pagesjaunes.fr search result URLs.

## `businessUrls` (type: `array`):

Direct pagesjaunes.fr business profile URLs for detailed extraction.

## `maxResultsPerSearch` (type: `integer`):

Maximum listings per search combination. Min: 1, Max: 500.

## `paginate` (type: `boolean`):

Paginate through all results pages.

## `sortBy` (type: `string`):

Sort order: relevance, distance, rating.

## `radius` (type: `integer`):

Search radius in km. Leave empty for pagesjaunes default. 1-50 km.

## `openNow` (type: `boolean`):

Filter to businesses currently open.

## `withWebsite` (type: `boolean`):

Filter to businesses that have a website listed.

## `withReviews` (type: `boolean`):

Filter to businesses that have at least one review.

## `minRating` (type: `number`):

Minimum rating filter (1-5).

## `includeOpeningHours` (type: `boolean`):

Extract full opening hours schedule.

## `includeReviews` (type: `boolean`):

Extract up to 5 most recent reviews. Requires visiting profile page.

## `maxReviews` (type: `integer`):

Max reviews per business when includeReviews is true.

## `includePhotos` (type: `boolean`):

Extract photo URLs from business profiles.

## `visitProfile` (type: `boolean`):

Visit each business's individual profile page for complete data. Slower but more comprehensive.

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

Proxy settings for requests.

## `maxChargeUsd` (type: `number`):

Stop before paid output would exceed the configured max charge.

## `debugMode` (type: `boolean`):

Write extra free diagnostics to the key-value store.

## `saveRawHtmlToKvs` (type: `boolean`):

Save raw snapshots as free debug artifacts when enabled.

## `requestTimeout` (type: `integer`):

Maximum time to wait for a request or page load.

## `maxRetries` (type: `integer`):

Maximum retry attempts per source.

## `maxConcurrency` (type: `integer`):

Maximum concurrent requests. High-risk marketplace and SERP actors default to a low value.

## `sourceMode` (type: `string`):

Use public live targets, supplied snapshots, or provider-backed source data when supported.

## `suppliedSnapshotHtml` (type: `string`):

Optional HTML snapshot for deterministic public-data extraction tests or controlled source capture.

## `suppliedSnapshotJson` (type: `string`):

Optional JSON snapshot/provider response for deterministic public-data extraction tests or controlled source capture.

## `suppliedSnapshotText` (type: `string`):

Optional plain text snapshot for text-analysis actors.

## Actor input object example

```json
{
  "searchTerms": [
    "boulangerie"
  ],
  "locations": [
    "Paris"
  ],
  "maxResultsPerSearch": 1,
  "paginate": false,
  "sortBy": "relevance",
  "openNow": false,
  "withWebsite": false,
  "withReviews": false,
  "includeOpeningHours": false,
  "includeReviews": false,
  "maxReviews": 0,
  "includePhotos": false,
  "visitProfile": false,
  "proxyConfiguration": {
    "useApifyProxy": true
  },
  "maxChargeUsd": 50,
  "debugMode": false,
  "saveRawHtmlToKvs": false,
  "requestTimeout": 30000,
  "maxRetries": 1,
  "maxConcurrency": 1,
  "sourceMode": "livePublic"
}
```

# Actor output Schema

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

Individual business listing records scraped from pagesjaunes.fr.

## `summary` (type: `string`):

Billing, paid row, diagnostic, duplicate, and artifact summary.

## `runStatus` (type: `string`):

Free diagnostic run status, including no-result and blocked-page counters.

## `kvsArtifacts` (type: `string`):

Actor-specific CSV/JSON/Markdown report artifacts.

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("junipr/pagesjaunes").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 = {}

# Run the Actor and wait for it to finish
run = client.actor("junipr/pagesjaunes").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 '{}' |
apify call junipr/pagesjaunes --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/hj9gxiMM9MIbl4TgP/builds/lyRAs4eMW4Xc1yja8/openapi.json
