Detect Property Flips
detect_flipsDetects short-hold resales ("flips") in one French commune.
REQUIRED:
code_insee: 5-digit INSEE commune code (e.g., "33063" for Bordeaux) code_commune is accepted as a compatibility alias.
OPTIONAL:
type_local: "Maison" (default). "Appartement" returns available: false and is not charged: DVF parcel/address matching can't tell flats in the same building apart, so apartment flips aren't published until matching on the copropriete lot is available.
A flip is a clean DVF sale followed by a resale of the same house 18 to 24 months later. Matching uses cadastral section + plan first, then a conservative normalized-address + surface fallback.
Returns aggregate-only indicators: flip rate, median gross margin, median margin percentage, median holding period, and matching-method counts. It never returns transaction addresses or owners. The 24-month window is anchored to the latest DVF mutation available in the requested commune.
Cost: 10 credits per call
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code_insee | No | 5-digit INSEE commune code (e.g., '33063' for Bordeaux) | |
| type_local | No | Property type. Houses are analyzed; "Appartement" returns available: false (apartment flips can't be matched reliably yet). Default: houses. | |
| code_commune | No | Legacy 5-digit INSEE-code alias for code_insee (not DVF's raw commune fragment) |