# SeLoger Scraper: French Real Estate Listings, Prices & €/m² (`dltik/seloger-scraper`) Actor

Scrape SeLoger.com French property listings (buy & rent): price, €/m², surface, rooms, DPE/GES energy class, GPS, owner-vs-agency. HTTP-only, no browser. Filter by department, city, postal code, price, surface and type.

- **URL**: https://apify.com/dltik/seloger-scraper.md
- **Developed by:** [Walid](https://apify.com/dltik) (community)
- **Categories:** Real estate, Lead generation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

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

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

## SeLoger Scraper — French Real Estate Listings, Prices & €/m²

> Scrape **SeLoger.com** property listings (buy & rent) — **price, €/m², surface, rooms, DPE/GES energy class, GPS, owner-vs-agency** — filtered by department, city, postal code, price, surface and type. **HTTP-only, no browser.** **$5 / 1,000 listings.**

⭐ **Bookmark this SeLoger Scraper** to keep it on top of your Apify dashboard — Apify ranks actors by bookmarks.

### What is the SeLoger Scraper?

The **SeLoger Scraper** extracts real-estate listings from [SeLoger.com](https://www.seloger.com/), one of France's largest property portals. It reads SeLoger's internal search API directly (HTTP-only, Chrome fingerprint that passes PerimeterX on a French residential IP), so it is fast and needs no browser. For every listing you get the **price**, **price per m²**, **surface**, **number of rooms**, **DPE/GES energy class**, **GPS coordinates**, **postal code / city**, and an **owner-vs-agency** flag.

### Use cases

- **Market analysis** — pull every active listing in a department or city to compute average €/m² and price distribution.
- **Comparable (comps) databases** — feed a proptech/valuation model with fresh SeLoger inventory.
- **Investment screening** — filter by low €/m² and E/F/G DPE (renovation potential).
- **Lead generation** — surface owner-listed (particulier) ads.
- **Price monitoring** — schedule daily runs to track new listings and price changes.

### Input

Target by `departments`, `cities` or `postalCodes`, then filter on price, surface, rooms and type.

```json
{
  "transaction": "buy",
  "departments": ["38"],
  "propertyTypes": ["apartment"],
  "priceMax": 300000,
  "surfaceMin": 60,
  "maxResults": 100,
  "proxyConfiguration": { "useApifyProxy": true, "apifyProxyGroups": ["RESIDENTIAL"], "apifyProxyCountry": "FR" }
}
```

> **Proxy:** SeLoger is PerimeterX-protected and needs a **French residential IP**. The default `apifyProxyGroups: ["RESIDENTIAL"]`, `apifyProxyCountry: "FR"` works reliably. For very large pulls you can pass your own residential proxy via `customProxyUrl`.

### Output

One record per listing with price, €/m², surface, rooms, DPE/GES, GPS, address, owner-vs-agency flag and the listing URL.

### Multiple portals at once?

This actor scrapes **SeLoger only**. If you need **Leboncoin + SeLoger + Bien'ici + PAP + Logic-immo deduplicated into one list** (the same property across portals merged into a single record, with DPE backfill from ADEME), use the **[Pige Immo FR](https://apify.com/dltik/pige-immo-fr-scraper)** scraper instead.

### Pricing

**Pay per event: $5 per 1,000 listings** ($0.005 per listing scraped).

# Actor input Schema

## `transaction` (type: `string`):

Buy or rent.

## `departments` (type: `array`):

French department codes to search (e.g. \["75", "38", "13"]). Provide departments, cities or postalCodes.

## `cities` (type: `array`):

City names to search (e.g. \["Paris", "Lyon"]). Provide departments, cities or postalCodes.

## `postalCodes` (type: `array`):

Postal codes to search (e.g. \["75011", "69003"]). Provide departments, cities or postalCodes.

## `propertyTypes` (type: `array`):

Filter by type: apartment, house, land, parking, building, other. Empty = all types.

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

Minimum price in euros.

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

Maximum price in euros.

## `surfaceMin` (type: `integer`):

Minimum living surface in m².

## `surfaceMax` (type: `integer`):

Maximum living surface in m².

## `roomsMin` (type: `integer`):

Minimum number of rooms (pièces).

## `roomsMax` (type: `integer`):

Maximum number of rooms (pièces).

## `onlyWithPhotos` (type: `boolean`):

Keep only listings that have at least one photo.

## `newOnly` (type: `boolean`):

Keep only new-build programmes.

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

Maximum number of listings to return.

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

SeLoger requires a French residential IP. Defaults to Apify Residential (country FR).

## `customProxyUrl` (type: `string`):

Optional. Your own FR residential/mobile proxy URL (http://user:pass@host:port). Overrides Apify Proxy.

## Actor input object example

```json
{
  "transaction": "buy",
  "departments": [
    "38"
  ],
  "cities": [],
  "postalCodes": [],
  "propertyTypes": [],
  "onlyWithPhotos": false,
  "newOnly": false,
  "maxResults": 100,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "FR"
  }
}
```

# Actor output Schema

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

All scraped SeLoger listings.

# 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 = {
    "departments": [
        "38"
    ],
    "cities": [],
    "postalCodes": [],
    "propertyTypes": [],
    "maxResults": 100,
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ],
        "apifyProxyCountry": "FR"
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("dltik/seloger-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 = {
    "departments": ["38"],
    "cities": [],
    "postalCodes": [],
    "propertyTypes": [],
    "maxResults": 100,
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
        "apifyProxyCountry": "FR",
    },
}

# Run the Actor and wait for it to finish
run = client.actor("dltik/seloger-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 '{
  "departments": [
    "38"
  ],
  "cities": [],
  "postalCodes": [],
  "propertyTypes": [],
  "maxResults": 100,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "FR"
  }
}' |
apify call dltik/seloger-scraper --silent --output-dataset

```

## MCP server setup

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