# SeLoger France Real Estate Scraper (`devilscrapes/seloger-france-real-estate-scraper`) Actor

Scrape normalized sale and rental listings from SeLoger, France's leading property portal. We rotate browser fingerprints, retry through blocks, and keep the dataset clean — validated price, area, rooms, and agency data in every row.

- **URL**: https://apify.com/devilscrapes/seloger-france-real-estate-scraper.md
- **Developed by:** [DevilScrapes](https://apify.com/devilscrapes) (community)
- **Categories:** Real estate
- **Stats:** 2 total users, 1 monthly users, 87.5% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per event

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?

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

<div align="center">
  <img src=".actor/icon.svg" width="160" alt="Devil Scrapes mark" />

## SeLoger France Real Estate Scraper

**💰 $2.00 / 1 000 results**  ·  pay only for results  ·  no credit card to try

*We do the dirty work so your dataset stays clean.* 😈

Scrape normalized sale and rental listings from SeLoger, France's leading property portal. We rotate browser fingerprints, retry through blocks, and keep the dataset clean — validated price, area, rooms, and agency data in every row.

</div>

***

### 🎯 What this scrapes

SeLoger is France's dominant property portal. The current Apify Store field for it is either near-zero-scale or the one incumbent with real run volume (34,729 runs / 386 users) that carries just 2 reviews — thin trust despite proven demand. This Actor wraps a single portal in a clean, validated schema (price, area, rooms, energy rating, coordinates, agency contact) with per-listing and per-page fault isolation, so one bad row or one blocked page never sinks the whole run.

### 🔥 What we handle for you

- 🛡️ **Browser fingerprint rotation** — `curl-cffi` impersonates real Chrome / Firefox / Safari TLS handshakes so the target sees a browser, not Python.
- 🌐 **Residential proxy rotation** via Apify Proxy — fresh session and exit IP on every block.
- 🔁 **Retries with exponential backoff** on `408 / 429 / 5xx` — up to 5 attempts per page, `Retry-After` honoured.
- 🧱 **Rate-limit-aware pacing** — when the target pushes back, we slow down instead of getting banned.
- 🧊 **Clean, typed dataset rows** — Pydantic-validated, ISO-8601 timestamps, stable IDs, JSON / CSV / Excel export straight from the Apify Console.
- 💰 **Pay-Per-Event pricing** — you only pay for results that hit your dataset. No data, no charge.

### 💡 Use cases

- **Investor deal screening** — pull price/m², rooms, and location data for a whole neighborhood or postal code in one run.
- **PropTech aggregation** — feed a normalized, Pydantic-validated SeLoger dataset into a downstream listings pipeline.
- **Relocation and expat services** — build a client-facing French property feed without hand-scraping seloger.com listing by listing.
- **Agency/lister lead lists** — collect agency and agent names behind active listings for outreach.

### ⚙️ How to use it

1. Click **Try for free** at the top of the page.
2. Fill in the input form — most fields have sensible defaults.
3. Click **Start**. Output streams into the run's dataset.
4. Export from **Storage → Dataset** as JSON, CSV, or Excel — or fetch via the API.

### 📥 Input

| Field | Type | Required | Default | Notes |
|---|---|:--:|---|---|
| `searchUrls` | `array` | no | '—' | Direct seloger.com search-results or listing detail URLs to scrape as-is. Up to 50. One of Search URLs or Location is… |
| `location` | `string` | no | 'paris-75000' | Location slug — currently only 'paris-75000' is supported for direct location search. For any other city, paste a… |
| `transactionType` | `string` | no | 'sale' | Sale vs. rent — maps to SeLoger's 'achat'/'location' URL segments. |
| `propertyType` | `string` | no | 'apartment' | Property taxonomy. 'apartment'/'house'/'land'/'parking' work for location search; 'commercial' currently requires… |
| `maxResults` | `integer` | no | 100 | Cap on rows returned; may be limited to the first confirmed page per search until pagination is validated. |
| `enrichDetails` | `boolean` | no | True | Fetch each listing's detail page for description, coordinates, agency, energy rating, and the full photo gallery. |
| `proxyConfiguration` | `object` | no | {'useApifyProxy': True} | Apify Proxy configuration. Defaults to RESIDENTIAL — this target is protected against automated traffic. |

#### Example input

```json
{
  "location": "paris-75000",
  "transactionType": "sale",
  "propertyType": "apartment",
  "maxResults": 5,
  "enrichDetails": true,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

### 📤 Output

Every row is one dataset item.

| Field | Type | Notes |
|---|---|---|
| `listing_id` | `string` | Numeric id from '.htm' URLs, or short token from '/annonce/' URLs. |
| `url` | `string` | Canonical detail URL. |
| `transaction_type` | `string` | 'sale' or 'rent', as requested. |
| `property_type` | `string` | Shared taxonomy value. |
| `title` | `string` | JSON-LD name or card summary. |
| `price` | `['number', 'null']` | JSON-LD offers.price. |
| `currency` | `string` | Always 'EUR'. |
| `price_per_sqm` | `['number', 'null']` | Computed when price and area are both present. |
| `area_sqm` | `['number', 'null']` | JSON-LD floorSize.value, unit MTK = m². |
| `rooms` | `['integer', 'null']` | JSON-LD numberOfRooms. |
| `bedrooms` | `['integer', 'null']` | Parsed from summary text. |
| `floor` | `['string', 'null']` | Raw label, not normalized. |
| `energy_rating` | `['string', 'null']` | DPE letter A-G when published; extraction needs-cloud-recon. |
| `location_city` | `string` | From breadcrumb / URL slug. |
| `location_district` | `['string', 'null']` | Live-confirmed district field. |
| `location_postal_code` | `['string', 'null']` | Live-confirmed zipCode field. |
| `location_region` | `['string', 'null']` | From breadcrumb. |
| `latitude` | `['number', 'null']` | Live-confirmed inline GeoJSON Point. |
| `longitude` | `['number', 'null']` | Live-confirmed inline GeoJSON Point. |
| `agency_name` | `['string', 'null']` | Live-confirmed logo alt text, split heuristic. |
| `agent_name` | `['string', 'null']` | Live-confirmed logo alt text, split heuristic. |
| `agency_phone` | `['string', 'null']` | Best-effort; not confirmed statically parseable — never guessed. |
| `listed_date` | `['string', 'null']` | JSON-LD datePosted, ISO 8601. |
| `description_snippet` | `['string', 'null']` | JSON-LD description, first ~300 chars. |
| `image_urls` | `array` | mms.seloger.com gallery photos (empty OK). |
| `scraped_at` | `string` | ISO-8601 UTC row-creation timestamp. |

#### Example output

```json
{
  "listing_id": "275658639",
  "url": "https://www.seloger.com/annonces/achat/appartement/paris-12eme-75/bel-air-sud/275658639.htm",
  "transaction_type": "sale",
  "property_type": "apartment",
  "title": "Appartement \u00e0 vendre T3/F3 53 m\u00b2 490000 \u20ac Bel-Air Paris (75012)",
  "price": 490000.0,
  "currency": "EUR",
  "price_per_sqm": 9245.28,
  "area_sqm": 53.0,
  "rooms": 3,
  "bedrooms": 2,
  "floor": "4/6",
  "energy_rating": null,
  "location_city": "Paris 12\u00e8me arrondissement",
  "location_district": "Bel-Air",
  "location_postal_code": "75012",
  "location_region": "Ile-de-France",
  "latitude": 48.836230001681116,
  "longitude": 2.40313082725819,
  "agency_name": "efficity",
  "agent_name": "Boban Janevski",
  "agency_phone": null,
  "listed_date": "2026-07-23T02:41:00.000Z",
  "description_snippet": "PARIS XII\u00e8me - MICHEL BIZOT - PLEIN SUD TRAVERSANT ET LUMINEUX AVEC ASCENSEUR ET CAVE...",
  "image_urls": [
    "https://mms.seloger.com/1/8/7/2/1872b9c3-3cc4-440f-9083-3725a842cc43.jpg"
  ],
  "scraped_at": "2026-08-13T12:00:00+00:00"
}
```

### 💰 Pricing

Pay-Per-Event — you pay only when these events fire:

| Event | USD | What it is |
|---|---:|---|
| `actor-start` | $0.2 | One-off warm-up charge per run |
| `result-row` | $0.0018 | Per unique dataset item |

Example: 1 000 results at the rates above ≈ **$2.00**. No subscription, no minimum, no card to start — Apify gives every new account $5 of free credit.

### 🚧 Limitations

v1 covers seloger.com only — no LogicImmo, Bien'ici, or other French portals. New-development/promoter microsites, mortgage-calculator, and area-guide pages are out of scope. agency\_phone ships null by design (no statically-parseable source found); energy\_rating is null pending a confirmed extraction path. Page-2+ results per search are not guaranteed until pagination is validated — a status message names any shortfall.

### ❓ FAQ

**Do I need a SeLoger account or API key?**

No. This Actor scrapes SeLoger's own publicly listed property data — no login, no API key.

**Why is energy\_rating usually null?**

SeLoger's DPE energy-rating markup isn't reliably parseable yet — we ship it null rather than risk a wrong letter grade, and revisit once we confirm a stable source.

**Does this cover every French property type?**

Apartment, house, land, and parking are all live-confirmed for location-based search. Commercial has no confirmed SeLoger URL slug yet, so it only works if you paste a commercial search URL into Search URLs directly.

**What happens if a page gets blocked?**

We rotate the session and browser fingerprint and retry with backoff; if a page still fails, we skip it, log why, and keep going — never crash the whole run.

### 💬 Your feedback

Spotted a bug, hit a weird edge case, or need a new field? Open an
issue on the Actor's **Issues** tab on Apify Console — we ship
fixes weekly and we read every report.

***

<div align="center">

Built by **[Devil Scrapes](https://apify.com/DevilScrapes)** 😈 — a small fleet of
opinionated public-data Actors. Honest pricing, real engineering, zero fine print.

</div>

# Actor input Schema

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

Direct seloger.com search-results or listing detail URLs to scrape as-is. Up to 50. One of Search URLs or Location is required.

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

Location slug — currently only 'paris-75000' is supported for direct location search. For any other city, paste a seloger.com search URL into Search URLs instead.

## `transactionType` (type: `string`):

Sale vs. rent — maps to SeLoger's 'achat'/'location' URL segments.

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

Property taxonomy. 'apartment'/'house'/'land'/'parking' work for location search; 'commercial' currently requires Search URLs.

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

Cap on rows returned; may be limited to the first confirmed page per search until pagination is validated.

## `enrichDetails` (type: `boolean`):

Fetch each listing's detail page for description, coordinates, agency, energy rating, and the full photo gallery.

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

Apify Proxy configuration. Defaults to RESIDENTIAL — this target is protected against automated traffic.

## Actor input object example

```json
{
  "location": "paris-75000",
  "transactionType": "sale",
  "propertyType": "apartment",
  "maxResults": 20,
  "enrichDetails": true,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `datasetItems` (type: `string`):

All dataset items as JSON.

## `datasetItemsCsv` (type: `string`):

Same data exported to CSV.

## `datasetView` (type: `string`):

Open the run dataset in the Console.

# 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 = {
    "location": "paris-75000",
    "transactionType": "sale",
    "propertyType": "apartment",
    "maxResults": 20,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("devilscrapes/seloger-france-real-estate-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 = {
    "location": "paris-75000",
    "transactionType": "sale",
    "propertyType": "apartment",
    "maxResults": 20,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("devilscrapes/seloger-france-real-estate-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 '{
  "location": "paris-75000",
  "transactionType": "sale",
  "propertyType": "apartment",
  "maxResults": 20,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call devilscrapes/seloger-france-real-estate-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,devilscrapes/seloger-france-real-estate-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/NDZg1ngk4qBIBDGeX/builds/ufFpbfbuCQlEpUZhE/openapi.json
