# Bien'ici France Real Estate Scraper — Annonces, Prix, DPE (`cyrilfaia/bienici-fr-scraper`) Actor

Extrait les annonces immobilières de bienici.com (achat ou location) par ville, code postal ou arrondissement : prix, prix au m², surface, pièces, DPE, coordonnées, photos, agence. Filtres prix, surface, pièces, neuf/ancien.

- **URL**: https://apify.com/cyrilfaia/bienici-fr-scraper.md
- **Developed by:** [Cyril Faia](https://apify.com/cyrilfaia) (community)
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $6.00 / 1,000 listings

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?

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

## Bien'ici France Real Estate Scraper — Annonces, Prix, DPE

Extract real estate listings from **bienici.com**, one of France's largest property portals (backed by the main French agency networks). Search **for sale or for rent** by city, postal code, arrondissement or département, with price, surface, rooms and new-build filters. Every row gives **price, price per m², surface, rooms, bedrooms, energy rating (DPE), GPS position, photos, agency name and the public ad URL**, in clean JSON, CSV or Excel.

Built for market studies, investor screening, agency benchmarking, new-listing alerts, and AI agents that need structured French property data.

### Why this Actor

- **Fast and reliable.** It reads the same JSON API the Bien'ici website uses, 100 listings per request, no browser, no login.
- **Real filters.** Transaction type, property types, min/max price, min/max surface, rooms, bedrooms, new-build only or excluded, sort by newest, price or price per m².
- **Location resolution built in.** Type "Marseille 7e", "13007", "Cassis" or "Bouches-du-Rhône": the Actor resolves it to Bien'ici's own zones.
- **Detail mode.** One extra request per ad brings the full record: DPE value and date, floor, year of construction, heating, elevator, terrace, parking, condominium fees, property tax, agency fee link.
- **Privacy by design.** Phone numbers are not exposed, and private sellers are never named; only professional sellers (agencies, developers, networks) appear by name.

### Output example

```json
{
  "id": "ag754248-549295133",
  "url": "https://www.bienici.com/annonce/ag754248-549295133",
  "title": "Appartement 4 pièces",
  "transactionType": "buy",
  "propertyType": "flat",
  "newProperty": false,
  "price": 329000,
  "pricePerSquareMeter": 3916.67,
  "priceHasDecreased": false,
  "surfaceArea": 84,
  "roomsQuantity": 4,
  "bedroomsQuantity": 3,
  "city": "Marseille 4e",
  "postalCode": "13004",
  "departmentCode": "13",
  "district": "Marseille 4e Arrondissement - Chutes Lavie",
  "latitude": 43.3153,
  "longitude": 5.4004,
  "positionPrecision": "exact",
  "energyClassification": "B",
  "greenhouseGazClassification": "A",
  "publicationDate": "2026-09-11T11:57:19.102Z",
  "modificationDate": "2026-09-17T08:53:03.053Z",
  "isExclusive": false,
  "sellerType": "agency",
  "sellerName": "…",
  "reference": "718772904173753",
  "photoCount": 12,
  "photos": ["https://photos.ubiflow.net/…/1.jpg", "…"],
  "description": "Découvrez cet appartement T4 de 84 m²…",
  "searchLocation": "Marseille 4e",
  "scrapedAt": "2026-09-17T12:03:11.402Z"
}
```

With `fetchDetails: true`, each item also carries `energyValue`, `energyDiagnosticDate`, `floor`, `floorQuantity`, `yearOfConstruction`, `heating`, `hasElevator`, `hasBalcony`, `hasTerrace`, `hasCellar`, `hasGarden`, `hasPool`, `parkingPlacesQuantity`, `isInCondominium`, `condominiumPartsQuantity`, `annualCondominiumFees`, `propertyTax`, `agencyFeePercentage`, `agencyFeeUrl`, `charges`, `deposit`, `isFurnished`, `availableDate`.

New-build programmes (`propertyType: "programme"`) report `price` and `surfaceArea` as `{ "min", "max" }` ranges.

### Input

| Field | Type | Description |
|---|---|---|
| `locations` | string\[] | Cities, postal codes, arrondissements or départements. Resolved through Bien'ici's own location search. |
| `zoneIds` | string\[] | Advanced: Bien'ici zone ids if you already know them. |
| `transaction` | `buy` / `rent` | Default `buy`. |
| `propertyTypes` | string\[] | `flat`, `house`, `programme`, `parking`, `terrain`, `loft`, `shop`, `building`, `castle`, `premises`, `office`, `townhouse`. Default flat + house. |
| `minPrice`, `maxPrice` | integer | EUR; monthly rent for rentals. |
| `minArea`, `maxArea` | integer | m². |
| `minRooms`, `minBedrooms` | integer | |
| `newProperty` | `all` / `only` / `exclude` | |
| `sort` | string | `newest` (default), `relevance`, `priceAsc`, `priceDesc`, `surfaceDesc`, `pricePerM2Asc`. |
| `maxItems` | integer | Stop after this many listings (0 = unlimited). Default 200. |
| `maxPagesPerLocation` | integer | 100 listings per page. Default 10. |
| `fetchDetails` | boolean | Full record per ad. Default false. |

Examples:

```json
{ "locations": ["Lyon"], "transaction": "rent", "propertyTypes": ["flat"], "maxPrice": 900, "minRooms": 2, "sort": "newest", "maxItems": 300 }
```

```json
{ "locations": ["13007", "13008"], "propertyTypes": ["house"], "minArea": 100, "newProperty": "exclude", "fetchDetails": true }
```

### Pricing

Pay per event, no subscription: one **listing** event per ad in listing mode, one **detail** event per enriched ad, plus a small **Actor start** fee. A 1 000-listing market snapshot costs a few dollars. Runs stop automatically at your maximum spend.

### Use cases

- **Market snapshots**: price per m² distribution by arrondissement, refreshed daily.
- **New-listing alerts**: schedule with `sort: "newest"` and push to Slack, email or a Google Sheet.
- **Investor screening**: filter by yield inputs (price, surface, rooms, DPE) and export to Excel.
- **Agency benchmarking**: share of listings per agency, exclusivity rate, price drops.
- **AI agents**: available through the Apify MCP server and agentic payments.

### Notes

- Positions may be exact or blurred depending on the advertiser (`positionPrecision`).
- The Actor reads public listing data only. It does not collect phone numbers, and private sellers are not identified.
- Use the output in compliance with Bien'ici's terms and applicable law; you are responsible for your use of the data.

# Actor input Schema

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

Villes, codes postaux, arrondissements ou départements, un par ligne (ex. « Marseille », « 13007 », « Lyon 3e », « Bouches-du-Rhône »). Résolus via la recherche Bien'ici.

## `zoneIds` (type: `array`):

Identifiants internes de zone (ex. « -76469 ») si vous les connaissez déjà.

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

Achat ou location.

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

flat, house, programme (neuf), parking, terrain, loft, shop, building, castle, premises, office, townhouse.

## `minPrice` (type: `integer`):

Prix ou loyer mensuel minimum.

## `maxPrice` (type: `integer`):

Prix ou loyer mensuel maximum.

## `minArea` (type: `integer`):

Surface habitable minimum.

## `maxArea` (type: `integer`):

Surface habitable maximum.

## `minRooms` (type: `integer`):

Nombre de pièces minimum.

## `minBedrooms` (type: `integer`):

Nombre de chambres minimum.

## `newProperty` (type: `string`):

Inclure tout, seulement le neuf, ou exclure le neuf.

## `sort` (type: `string`):

Ordre des résultats.

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

0 = illimité.

## `maxPagesPerLocation` (type: `integer`):

100 annonces par page.

## `fetchDetails` (type: `boolean`):

Une requête supplémentaire par annonce : DPE détaillé, étage, année de construction, chauffage, charges de copropriété, taxe foncière, équipements. Facturé par fiche.

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

Proxy Apify (datacenter suffit).

## Actor input object example

```json
{
  "locations": [
    "Marseille"
  ],
  "zoneIds": [],
  "transaction": "buy",
  "propertyTypes": [
    "flat",
    "house"
  ],
  "newProperty": "all",
  "sort": "newest",
  "maxItems": 200,
  "maxPagesPerLocation": 10,
  "fetchDetails": false,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `listings` (type: `string`):

One item per real estate ad.

## `listingsCsv` (type: `string`):

No description

# 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 = {
    "locations": [
        "Marseille"
    ],
    "zoneIds": [],
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("cyrilfaia/bienici-fr-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 = {
    "locations": ["Marseille"],
    "zoneIds": [],
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("cyrilfaia/bienici-fr-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 '{
  "locations": [
    "Marseille"
  ],
  "zoneIds": [],
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call cyrilfaia/bienici-fr-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,cyrilfaia/bienici-fr-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/dzpPZ7fvHxcymPtCW/builds/QxbJfreje741osrHw/openapi.json
