# France Property Sales (DVF) — Real Sold Prices (`openregistry/france-property-sales-dvf`) Actor

Real sold prices of French homes, flats, land and commercial premises from the official DVF open data. One row per sale: price, date, address, coordinates, surface, rooms, price per m². Filter by postal code, commune, department, date, property type and price.

- **URL**: https://apify.com/openregistry/france-property-sales-dvf.md
- **Developed by:** [Mahé Perrin](https://apify.com/openregistry) (community)
- **Categories:** Real estate, Business
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$1.00 / 1,000 sale delivereds

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

## France Property Sales (DVF) — Real Sold Prices

What did that house, that flat, that plot **actually sell for**? This Actor returns the real transaction prices recorded by the French tax administration ("Demandes de valeurs foncières", DVF), not asking prices from listing sites.

The data is the official DVF open data (DGFiP / Etalab, Licence Ouverte 2.0), read through the public Opendatasoft open-data API that republishes the geolocated edition. This Actor is an independent tool, not affiliated with the French administration or with Opendatasoft. No login, no cookies, no proxy.

### One row per sale

The raw files hold one line per building unit and per land plot, so a house with a garage and a garden takes three or four lines, and adding them up counts the garden twice. This Actor rebuilds each sale: **one row per transaction**, with duplicates removed, surfaces summed and the property type worked out. You pay per sale, not per raw line.

### What you can do with it

- **Comparable sales** for a valuation: flats sold in a postal code over the last 12 months, with price per m².
- **Market studies**: prices by commune, by property type, over five years.
- **Investor screening**: sales under a price ceiling, plots of land, commercial premises.
- **Lead context** for agents and brokers: what sold recently in a street or a neighbourhood.

### Input

| Field | What it does |
|---|---|
| `postalCodes`, `inseeCodes`, `departments` | Where (a sale matching any of them is kept) |
| `soldAfter`, `soldBefore` | Date of the deed |
| `propertyTypes` | `house`, `apartment`, `commercial`, `land`, `outbuilding`, `mixed`, `unspecified` |
| `minPrice`, `maxPrice` | Price range in euros |
| `saleTypes` | `sale`, `offPlan`, `buildingLand`, `auction`, `exchange`, `expropriation` |
| `maxResults` | Stops the run, so you control the cost |

```json
{
  "postalCodes": ["35000", "35200", "35700"],
  "soldAfter": "2025-01-01",
  "propertyTypes": ["apartment"],
  "minPrice": 150000,
  "maxPrice": 400000,
  "maxResults": 1000
}
```

### Output

Most recent sales first.

| Field | Example |
|---|---|
| `soldAt`, `saleType`, `price` | 2025-12-31, sale, 225000 |
| `propertyType` | house |
| `builtSurface`, `rooms`, `landSurface`, `carrezSurface` | 42, 2, 165, null |
| `pricePerSqm` | 5357 |
| `address`, `postalCode`, `city`, `inseeCode`, `department` | 12 RUE GILLES LANGUEDOC, 35000, Rennes, 35238, 35 |
| `latitude`, `longitude` | 48.122373, -1.686993 |
| `houses`, `apartments`, `commercialUnits`, `outbuildings` | 1, 0, 0, 1 |
| `units` | each unit: type, surface, rooms, lot numbers, parcel |
| `landPlots`, `parcelIds` | each plot: parcel, land use, surface |

### Limits to know

- **Period**: the source covers the last five full years (currently January 2021 to December 2025) and is updated twice a year, so the latest months are always missing.
- **Not covered**: Alsace-Moselle (departments 57, 67, 68) and Mayotte, which use a different land register.
- `price` is the price of the whole sale. `pricePerSqm` is a plain division by the built surface, given only when the sale contains houses only or apartments only; it does not separate the value of land, garages or cellars.
- `propertyType` is judged on the whole sale: a house sold together with a shop is `mixed`. Off-plan sales often come without a description of the unit and appear as `unspecified`.
- Two strictly identical units on the same parcel and without lot numbers are merged into one, a side effect of removing the duplicates of the source.
- The filter on property type is applied after sales are rebuilt, so a run may read many more sales than it delivers. Only delivered sales are charged.

### Personal data

DVF contains no names, but an address and a price can relate to a person. The terms of use of the source forbid using the data to re-identify people and forbid making it indexable by search engines. You are responsible for your own use of the data, including GDPR.

### Pricing

Pay per sale delivered. Sales skipped by your filters are never charged.

### Step-by-step guide

- [Prix de vente immobiliers réels (DVF) par commune ou code postal, en Excel](https://app.mahedesk.com/outils/guides/prix-immobilier-dvf-excel/) (en français)

# Actor input Schema

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

Five-digit postal codes, e.g. 35000, 75011. Location filters are combined: a sale matching any of them is kept.

## `inseeCodes` (type: `array`):

Official commune codes, e.g. 35238 (Rennes), 75111 (Paris 11th), 69383 (Lyon 3rd).

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

Department codes, e.g. 75, 35, 2A, 974. Not covered by the source: 57, 67, 68 (Alsace-Moselle) and Mayotte.

## `soldAfter` (type: `string`):

Date of the deed (YYYY-MM-DD).

## `soldBefore` (type: `string`):

Date of the deed (YYYY-MM-DD).

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

Judged on the whole sale: a house sold with its garage and garden is a house. Leave empty for every type.

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

Keep sales at or above this price.

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

Keep sales at or below this price.

## `saleTypes` (type: `array`):

Leave empty for every type. Ordinary sales are about 93% of the data.

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

The run stops once this many sales are delivered, most recent first.

## Actor input object example

```json
{
  "postalCodes": [
    "35000"
  ],
  "saleTypes": [
    "sale"
  ],
  "maxResults": 100
}
```

# Actor output Schema

## `sales` (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 = {
    "postalCodes": [
        "35000"
    ],
    "saleTypes": [
        "sale"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("openregistry/france-property-sales-dvf").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 = {
    "postalCodes": ["35000"],
    "saleTypes": ["sale"],
}

# Run the Actor and wait for it to finish
run = client.actor("openregistry/france-property-sales-dvf").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 '{
  "postalCodes": [
    "35000"
  ],
  "saleTypes": [
    "sale"
  ]
}' |
apify call openregistry/france-property-sales-dvf --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,openregistry/france-property-sales-dvf"
        }
    }
}
```

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/eBKhp7VBvtpGL7z4R/builds/eVbb824viRk0YMoIM/openapi.json
