# PAP.fr Scraper: French Private-Seller Listings (`reventadata/pap-scraper`) Actor

Private-seller homes for sale or rent on pap.fr, France: price, area, rooms, bedrooms, postcode, energy class and photos. Add details for the full text, street, publication date and the owner phone.

- **URL**: https://apify.com/reventadata/pap-scraper.md
- **Developed by:** [reventadata](https://apify.com/reventadata) (community)
- **Categories:** Real estate, Automation
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.00 / 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/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

## PAP.fr Scraper - French Private-Seller Property Listings

> **Unofficial.** This Actor is not affiliated with, authorised by, endorsed by, or in any
> way officially connected to PAP (De Particulier a Particulier). "PAP" is a trademark of its
> respective owner and is used here only to describe what this tool reads. It reads the same
> public pages a browser does.

Reads property listings that private sellers and landlords publish on pap.fr, for sale or for rent in France, and saves one clean row per listing.

### What does it do?

Give it pap.fr result pages (any sale or rental search you built on the site) or just a city name, and it walks the result pages and returns each listing with its price, area, rooms, photos and description. Optionally it opens every listing page too, for the full text, street, publication date and the phone number the owner published.

### Why use it?

- **Private sellers only:** pap.fr lists homes without an agency in between; promo and new-build cards that sit between the listings are left out.
- **Structured columns:** price as a number, area, rooms, bedrooms, postcode, energy class, photos.
- **Sale and rental:** rentals carry the monthly rent and `pricePeriod: month`.
- **Public data only:** nothing from behind a login.

### How to use it

1. Run a search on pap.fr and copy the address of the results page into `searchUrls`, or type a city into `location`.
2. Set `maxItems` and, for long searches, `maxPages`.
3. Turn on `includeDetails` when you want the full description, street, publication date and owner phone.
4. Run it and download the dataset as JSON, CSV or Excel.

#### Input

| Field | Type | Description |
|---|---|---|
| `searchUrls` | array | pap.fr result pages, plain address without a question mark. |
| `location` | string | City or postcode, used when `searchUrls` is empty. The first match pap.fr suggests is searched. |
| `offerType` | string | `sale` or `rent` (with `location`). |
| `propertyType` | string | `apartment` or `house` (with `location`). |
| `priceMin`, `priceMax` | integer | Price band in euros, given together (with `location`). |
| `maxItems` | integer | Stop after this many listings. |
| `maxPages` | integer | Result pages per search, up to 25. |
| `includeDetails` | boolean | Read each listing page too. Off by default; one extra page per listing. |
| `proxyConfiguration` | object | Proxy settings, handled for you by default. |

#### Sample input

```json
{
    "searchUrls": ["https://www.pap.fr/annonce/vente-appartement-paris-75-g439"],
    "maxItems": 10,
    "maxPages": 2
}
```

#### Sample output

The sample shows the first 3 of the listing's 12 photo addresses.

```json
{
    "id": "463900634",
    "url": "https://www.pap.fr/annonces/appartement-paris-11e-75011-r463900634",
    "offerType": "sale",
    "price": 308000,
    "currency": "EUR",
    "location": "Paris 11E (75011)",
    "postalCode": "75011",
    "rooms": 1,
    "bedrooms": null,
    "areaM2": 27.0,
    "otherTags": null,
    "description": "Appartement 1 pièce / 27 m2 – Paris 11 rue Alexandre Dumas. Idéalement situé dans le 11-ème arrondissement, au 2ᵉ étage d’un immeuble parisien avec ascenseur, cet appartement d’une pièce offre un...",
    "descriptionComplete": false,
    "imageUrl": "https://cdn.pap.fr/photos/pap/ff/36/ff36938f1f3f2c1bbb8b9a79c9e7f39b/f-p2.webp",
    "imageUrls": [
        "https://cdn.pap.fr/photos/pap/ff/36/ff36938f1f3f2c1bbb8b9a79c9e7f39b/f-p2.webp",
        "https://cdn.pap.fr/photos/pap/ac/27/ac278603e3b50de37106ea6a2a056b51/a-p2.webp",
        "https://cdn.pap.fr/photos/pap/a4/26/a42636d77be5e3668d6e8f0d80cc10a7/a-p2.webp"
    ],
    "energyClass": "E",
    "badge": "exclusif",
    "chips": [
        "Seulement sur PAP"
    ],
    "pricePeriod": null,
    "detailFetched": false,
    "searchUrl": "https://www.pap.fr/annonce/vente-appartement-paris-75-g439",
    "scrapedAt": "2026-11-18T00:00:00+00:00"
}
```

With `includeDetails` on, each row also carries the full `description`, all photos, `street`, `city`, `propertyType`, `features`, `reference`, `publishedDate`, `previousPrice` after a price drop, `contactChannel` and `sellerPhone`. `sellerPhone` is the number the owner published on the listing page; it is empty when the owner gave none, and empty when the page shows the site's own contact line instead of the owner's.

### Limits

- pap.fr shows at most 25 pages (about 15 cards each) for any search. A search with more results needs a narrower price band or area, run as separate searches.
- Apartments for sale and for rent are the cases checked. House searches use the same pages, but their rows were not checked.
- The run stops when the pay-per-event spending limit you set is reached.

### Pricing

Pay-per-event: **$0.001 per listing** saved to the dataset (**$1.00 per 1,000 listings**), plus **$0.00005** charged once when the run starts. No subscription.

With **Add details from each listing page** (`includeDetails`) on, each listing detail page that was read and saved in a row is also charged **$0.002 per detail page** (**$2.00 per 1,000 detail pages**). A detail page that could not be read is not charged, and with the option off there is no detail-page charge.

### Privacy & Compliance

The Actor reads public pages that need no login. Listing text, photos and the phone number an owner published on the page are in the rows because the site shows them to every visitor. Check the site's terms and the data-protection rules that apply to you (for example the French and EU rules on contacting people) before you use contact details for outreach; pap.fr notes that many owners refuse commercial approaches.

### Support

Open an issue on the Actor page with the search address you used and the run link.

# Actor input Schema

## `searchUrls` (type: `array`):

Result pages copied from pap.fr, for example https://www.pap.fr/annonce/vente-appartement-paris-75-g439. The plain address without a question mark. Leave empty to use Location instead.

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

City or postcode to search, such as Lyon. Used only when Search page URLs is empty; the first match pap.fr suggests is searched.

## `offerType` (type: `string`):

Buy or rent. Used with Location.

## `propertyType` (type: `string`):

Apartment or house. Used with Location.

## `priceMin` (type: `integer`):

Lower end of the price band in euros. Give it together with Maximum price. Used with Location.

## `priceMax` (type: `integer`):

Upper end of the price band in euros. Give it together with Minimum price. Used with Location.

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

Stop after this many listings are saved.

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

Result pages to read for each search. pap.fr shows at most 25 pages (about 15 cards each) for any search.

## `includeDetails` (type: `boolean`):

Reads every listing's own page for the full description, all photos, street, publication date, reference, price before a drop and the owner's phone when the owner published one. Slower: one extra page per listing.

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

Proxy settings. Handled for you by default.

## Actor input object example

```json
{
  "searchUrls": [
    "https://www.pap.fr/annonce/vente-appartement-paris-75-g439"
  ],
  "offerType": "sale",
  "propertyType": "apartment",
  "maxItems": 10,
  "maxPages": 2,
  "includeDetails": false,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "UNBLOCKER"
    ]
  }
}
```

# Actor output Schema

## `dataset` (type: `string`):

Private-seller property listings read from pap.fr.

# 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 = {
    "searchUrls": [
        "https://www.pap.fr/annonce/vente-appartement-paris-75-g439"
    ],
    "maxItems": 10,
    "maxPages": 2,
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "UNBLOCKER"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("reventadata/pap-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 = {
    "searchUrls": ["https://www.pap.fr/annonce/vente-appartement-paris-75-g439"],
    "maxItems": 10,
    "maxPages": 2,
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["UNBLOCKER"],
    },
}

# Run the Actor and wait for it to finish
run = client.actor("reventadata/pap-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 '{
  "searchUrls": [
    "https://www.pap.fr/annonce/vente-appartement-paris-75-g439"
  ],
  "maxItems": 10,
  "maxPages": 2,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "UNBLOCKER"
    ]
  }
}' |
apify call reventadata/pap-scraper --silent --output-dataset

```

## MCP server setup

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