# SeLoger Scraper - France Property & Agent Data (`benthepythondev/seloger-scraper`) Actor

Scrape SeLoger (France's #1 property portal), for sale or to rent: price, rooms, surface (m2), city, postcode, energy class, agency name + agent contact, image and listing URL. Search by city/department or paste a SeLoger URL.

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

## Pricing

from $2.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.

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

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use 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 — France Property & Agent Data

Scrape **SeLoger**, France's #1 real-estate portal, **for sale or to rent** — and get clean, structured listings: price, surface (m²), rooms, bedrooms, energy class, full location (city, postcode, district), the **listing agency + assigned contact agent**, photos and the listing URL. Search by any French city or department, or paste a SeLoger search URL straight from your browser. It reads SeLoger's own embedded result data, so there's no flaky HTML scraping.

Built for real-estate research, lead generation, market analysis and price monitoring across France. Export to JSON/CSV/Excel, run on a schedule, call via API, or connect to Make, Zapier or n8n.

### 🔎 What is the SeLoger Scraper?

Give it French locations (e.g. `paris-75`, `lyon-69`, `marseille-13`) and choose sale or rent, and it returns matching property listings as structured, flat rows up to your requested limit. Perfect for building a clean French property dataset, sourcing agency leads, or tracking a local market. You can also paste full SeLoger search URLs to keep every filter you set on the site (price range, number of rooms, property type, exact area).

#### What data does it extract?

- **Title**, **headline** and **listing URL**
- **Price** (numeric + formatted) and **price per m²**
- **Operation** (sale / rent) and **currency**
- **Rooms**, **bedrooms**, **surface (m²)** and **plot size**
- **Property type** (apartment, house, land, commercial…)
- **Energy class** (DPE rating A–G)
- **City**, **postcode**, **district** and **country**
- **Agency name**, **agency profile URL** and **agency website**
- **Contact agent name** (lead generation)
- **Advertiser type** (professional / private) and exclusive / new flags
- **Main photo** and **photo count**
- **Description**, **creation date** and **last-update date**

### ⬇️ Input

| Field | Type | Description |
|-------|------|-------------|
| `location` | array | French places as `city-department`, e.g. `paris-75`, `lyon-69`. Bare city names work for major cities. |
| `searchUrls` | array | SeLoger search-results URLs to scrape exactly (keeps all your filters). |
| `operation` | string | `sale` (achat) or `rent` (location). Applies to `location`. |
| `maxResults` | integer | Max listings per search. Default `35`. |
| `useResidentialProxy` | boolean | Route via Apify residential FR IPs (only if direct ever gets blocked). |

#### Example input

```json
{
  "location": ["paris-75", "lyon-69"],
  "operation": "sale",
  "maxResults": 35
}
````

### ⬆️ Output

One record per listing:

```json
{
  "id": "26RIVXQ1C2JV",
  "legacy_id": "273480761",
  "url": "https://www.seloger.com/annonces/achat/appartement/paris-18eme-75/montmartre/273480761.htm",
  "operation": "sale",
  "property_type": "APARTMENT",
  "property_type_label": "Appartement",
  "title": "Appartement à vendre",
  "price": 599000,
  "price_raw": "599 000 €",
  "price_per_sqm": "13 022 €/m²",
  "currency": "EUR",
  "price_period": null,
  "rooms": 2,
  "bedrooms": 1,
  "area_sqm": 46,
  "plot_sqm": null,
  "energy_class": "D",
  "address_city": "Paris 18ème arrondissement",
  "postcode": "75018",
  "district": "Montmartre",
  "country": "FRA",
  "agency": "HOSMAN",
  "agency_profile_url": "https://www.seloger.com/professionnels-immobilier/WtMqscdpofRGem6EfxeLRb",
  "agency_website": "https://www.hosman.co/",
  "agent_name": "Delphine Leuthereau",
  "advertiser_type": "PROFESSIONAL",
  "is_private_owner": false,
  "is_new": true,
  "is_exclusive": true,
  "has_3d_visit": true,
  "headline": "Superbe 2 pièces de 46,5 m² - Dernier étage baigné de lumière",
  "description": "Hosman vous propose à la vente ce véritable coup de cœur...",
  "image": "https://mms.seloger.com/a/1/1/e/a11efc71-1fcb-4d91-b702-11e16e8738b0.jpg",
  "num_images": 8,
  "created_date": "2026-06-26T14:47:00Z",
  "updated_date": "2026-06-30T02:11:13Z",
  "search": "paris-75"
}
```

### 💡 Use cases

- 🏠 **Property market research** — build a structured dataset of French listings by city, price, surface and energy rating.
- 📇 **Agency lead generation** — collect agency names, profile URLs and websites plus the contact agent on each listing.
- 📈 **Price & inventory monitoring** — run on a schedule to track new listings, price changes and time-on-market in a neighbourhood.
- 🔗 **Enrichment & automation** — feed clean JSON into Make, Zapier, n8n, a CRM or a BI dashboard.

### ❓ FAQ

**Which areas does it cover?** All of France. Search by `city-department` (e.g. `paris-75`, `lyon-69`, `marseille-13`, `nantes-44`) or paste any SeLoger search URL.

**For sale or to rent?** Both. Set `operation` to `sale` (achat) or `rent` (location), or paste a SeLoger sale/rental URL.

**How do I get more than 35 results?** SeLoger server-renders about 35 listings per search page. To gather more, add several locations (e.g. each Paris arrondissement or several cities) or paste multiple search URLs. The actor de-duplicates by listing id.

**Can I keep my SeLoger filters (price, rooms, type)?** Yes — set your filters on seloger.com, then paste the resulting URL into `searchUrls`.

**Does it return the agency and agent?** Yes. Each listing includes the agency name, the agency's SeLoger profile URL and website, and the assigned contact agent name (when SeLoger exposes them).

**Do I need a proxy?** No. SeLoger is reached directly. A `useResidentialProxy` (France) toggle is provided only as a fallback if direct requests ever get blocked.

**In what format is the data?** Clean, flat JSON — one row per listing — exportable to JSON, CSV or Excel, or available through the Apify API and integrations.

**How fast is it?** Each search loads in a couple of seconds and returns up to ~35 fully structured listings.

**Is it legal?** This actor collects only publicly available listing information from SeLoger's public search pages. Use the data responsibly and in line with SeLoger's terms, French law and the GDPR — especially any personal data such as contact names. You are responsible for how you use the output.

### 🔗 You might also like

- **Immobiliare.it Scraper** — Italy's #1 property portal.
- **Idealista Scraper** — Spain property and agency data.
- **Rightmove Scraper** — UK property and agent leads.
- **Funda Scraper** — Netherlands property and makelaar data.
- **ImmobilienScout24 Scraper** — Germany property listings.

**Keywords:** seloger scraper, seloger api, scrape seloger, france real estate scraper, french property data, seloger listings, immobilier france scraper, paris property scraper, lyon real estate data, france rental scraper, achat location seloger, real estate lead generation france, property price monitoring france, estate agent leads france, seloger crawler, france housing data, dpe energy class, apify real estate.

# Actor input Schema

## `location` (type: `array`):

French places to search. Use 'city-department', e.g. 'paris-75', 'lyon-69', 'marseille-13', 'bordeaux-33'. Bare names work for major cities (e.g. 'paris', 'nice'). Each becomes one SeLoger search. For an exact area or filtered search, use Search URLs instead.

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

SeLoger search-results URLs to scrape exactly (paste from your browser to keep all filters: price, rooms, type, area). Used in addition to any locations.

## `operation` (type: `string`):

Whether to scrape properties for sale (achat) or to rent (location). Applies to the Locations field.

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

Maximum number of listings to return per location or search URL. SeLoger server-renders about 35 listings per search page; to get more, add several locations or paste multiple search URLs.

## `useResidentialProxy` (type: `boolean`):

Route requests through Apify residential (FR) proxies. Keep this ON: SeLoger blocks datacenter IPs, so French residential IPs are required to load listings. Turn off only if you supply your own working proxy.

## Actor input object example

```json
{
  "location": [
    "paris-75"
  ],
  "searchUrls": [
    "https://www.seloger.com/immobilier/achat/immo-paris-75/"
  ],
  "operation": "sale",
  "maxResults": 10,
  "useResidentialProxy": true
}
```

# 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-75"
    ],
    "searchUrls": [
        "https://www.seloger.com/immobilier/achat/immo-paris-75/"
    ],
    "operation": "sale",
    "maxResults": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("benthepythondev/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 = {
    "location": ["paris-75"],
    "searchUrls": ["https://www.seloger.com/immobilier/achat/immo-paris-75/"],
    "operation": "sale",
    "maxResults": 10,
}

# Run the Actor and wait for it to finish
run = client.actor("benthepythondev/seloger-scraper").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 '{
  "location": [
    "paris-75"
  ],
  "searchUrls": [
    "https://www.seloger.com/immobilier/achat/immo-paris-75/"
  ],
  "operation": "sale",
  "maxResults": 10
}' |
apify call benthepythondev/seloger-scraper --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "SeLoger Scraper - France Property & Agent Data",
        "description": "Scrape SeLoger (France's #1 property portal), for sale or to rent: price, rooms, surface (m2), city, postcode, energy class, agency name + agent contact, image and listing URL. Search by city/department or paste a SeLoger URL.",
        "version": "1.0",
        "x-build-id": "bXBMauSWIcU4L5yYU"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/benthepythondev~seloger-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-benthepythondev-seloger-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/benthepythondev~seloger-scraper/runs": {
            "post": {
                "operationId": "runs-sync-benthepythondev-seloger-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/benthepythondev~seloger-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-benthepythondev-seloger-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "properties": {
                    "location": {
                        "title": "Locations",
                        "type": "array",
                        "description": "French places to search. Use 'city-department', e.g. 'paris-75', 'lyon-69', 'marseille-13', 'bordeaux-33'. Bare names work for major cities (e.g. 'paris', 'nice'). Each becomes one SeLoger search. For an exact area or filtered search, use Search URLs instead.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "searchUrls": {
                        "title": "Search URLs",
                        "type": "array",
                        "description": "SeLoger search-results URLs to scrape exactly (paste from your browser to keep all filters: price, rooms, type, area). Used in addition to any locations.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "operation": {
                        "title": "For sale or to rent",
                        "enum": [
                            "sale",
                            "rent"
                        ],
                        "type": "string",
                        "description": "Whether to scrape properties for sale (achat) or to rent (location). Applies to the Locations field.",
                        "default": "sale"
                    },
                    "maxResults": {
                        "title": "Max results per search",
                        "minimum": 1,
                        "maximum": 35,
                        "type": "integer",
                        "description": "Maximum number of listings to return per location or search URL. SeLoger server-renders about 35 listings per search page; to get more, add several locations or paste multiple search URLs.",
                        "default": 35
                    },
                    "useResidentialProxy": {
                        "title": "Use residential proxy (France)",
                        "type": "boolean",
                        "description": "Route requests through Apify residential (FR) proxies. Keep this ON: SeLoger blocks datacenter IPs, so French residential IPs are required to load listings. Turn off only if you supply your own working proxy.",
                        "default": true
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
