Overview
Recherche de communes françaises renvoyant, au format JSON, les indicateurs calculés par ScrapImmo à partir des transactions DVF (DGFiP) et de la carte des loyers (DGALN) : prix médian au m², loyer de référence, rendement locatif brut, évolution des prix sur un an et sur cinq ans, zonage de tension locative, population, et un score d’investissement accompagné de son niveau de risque. Un paramètre `q` est attendu (nom de commune ou code de département) ; la réponse contient jusqu’à 200 communes, classées par score. Aucune authentification n’est requise. Exemple : `https://www.scrapimmo.fr/api/villes/search?q=lille` Le jeu de données complet, couvrant les 3 029 communes, est téléchargeable en CSV sous Licence Ouverte Etalab 2.0 sur <https://www.scrapimmo.fr/donnees-ouvertes>
API Prix immobiliers et rendement locatif par commune is a government API from Scrapimmo. It needs no API key. It is served over HTTPS.
At a glance
- Authentication
- No auth
- HTTPS
- Yes
- CORS
- Unknown
- Category
- Government
- Base URL
https://www.scrapimmo.fr/api/villes/search
Make a first request
Replace the placeholders; the documentation says exactly where credentials go.
curl -X GET "https://www.scrapimmo.fr/api/villes/search" \
-H "Accept: application/json"const response = await fetch("https://www.scrapimmo.fr/api/villes/search", {
method: "GET",
headers: {
"Accept": "application/json",
},
});
const data = await response.json();
console.log(data);import requests
response = requests.request(
"GET",
"https://www.scrapimmo.fr/api/villes/search",
headers={
"Accept": "application/json",
},
timeout=30,
)
print(response.json())Questions
Does the API Prix immobiliers et rendement locatif par commune API need an API key?
No. The API Prix immobiliers et rendement locatif par commune API can be called without an API key or sign-up, which makes it handy for prototypes and front-end demos.
Does the API Prix immobiliers et rendement locatif par commune API support HTTPS?
Yes, the API Prix immobiliers et rendement locatif par commune API is served over HTTPS.
What are alternatives to the API Prix immobiliers et rendement locatif par commune API?
Other Government APIs include EPA, UK Companies House, Open Government, Canada, Federal Register, Census.gov.
Similar government APIs
Compare alternatives →EPA
GovernmentWeb services and data sets from the US Environmental Protection Agency
UK Companies House
GovernmentUK Companies House Data from the UK government
Open Government, Canada
GovernmentCanadian Government Open Data
Federal Register
GovernmentThe Daily Journal of the United States Government
Census.gov
GovernmentThe US Census Bureau provides various APIs and data sets on demographics and businesses
Colorado Information Marketplace
GovernmentColorado State Government Open Data
Listed from data.gouv.fr (Licence Ouverte).