Skip to main content

FundaMonitor provides the easiest way to monitor real estate data from Funda, the Dutch housing website. You can track houses either for sale or for rent, and access historical data from the past few years.

Project description

FundaMonitor 🏡

Project Status: Active – The project has reached a stable, usable state and is being actively developed. Build Status codecov Downloads PyPI version PEP8

FundaMonitor provides the easiest way to monitor real estate data from Funda, the Dutch housing website. You can track houses either for sale or for rent, and access historical data from the past few years.

Please note:

  1. Scraping this website is ONLY allowed for personal use (as per Funda's Terms and Conditions).
  2. Any commercial use of this Python package is prohibited. The author holds no liability for any misuse of the package.

Install

Install with pip:

pip install funda-monitor

Clone the repository:

git clone https://github.com/whchien/funda-monitor.git
cd funda-monitor
export PYTHONPATH=${PWD}
python funda_monitor/scrape.py --area amsterdam --want_to rent --page_start 1 --n_pages 3 --save

Quickstart

from funda_monitor import FundaScraper

scraper = FundaScraper(
    area="amsterdam", 
    want_to="rent", 
    find_past=False, 
    page_start=1, 
    n_pages=3, 
    min_price=500, 
    max_price=2000
)
df = scraper.run(raw_data=False, save=True, filepath="test.csv")
df.head()

image

  • Note for Windows Users: Please add if __name__ == "__main__": before your script.

Customizing Your Scraping

You can pass several arguments to FundaScraper() for customized scraping:

  • area: Specify the city or specific area you want to look for, e.g. Amsterdam, Utrecht, Rotterdam, etc.
  • want_to: Choose either buy or rent to find houses either for sale or for rent.
  • find_past: Set to True to find historical data; the default is False.
  • page_start: Indicate which page to start scraping from; the default is 1.
  • n_pages: Indicate how many pages to scrape; the default is 1.
  • min_price: Indicate the lowest budget amount.
  • max_price: Indicate the highest budget amount.
  • min_floor_area: Indicate the minimum floor area.
  • max_floor_area: Indicate the maximum floor area.
  • days_since:: Specify the maximum number of days since the listing date.
  • property_type: Specify the desired property type(s).
  • sort: Specify sorting criteria.

The scraped raw result contains following information:

  • url
  • price
  • address
  • description
  • listed_since
  • zip_code
  • size
  • year_built
  • living_area
  • kind_of_house
  • building_type
  • num_of_rooms
  • num_of_bathrooms
  • layout
  • energy_label
  • insulation
  • heating
  • ownership
  • exteriors
  • parking
  • neighborhood_name
  • date_list
  • date_sold
  • term
  • price_sold
  • last_ask_price
  • last_ask_price_m2
  • city

To fetch the data without preprocessing, specify scraper.run(raw_data=True).

Note: Information regarding listing dates is no longer available since Q4 2023. Funda requires users to log in to see this information.

More information

Check the example notebook for further details. If you find this project helpful, please give it a star.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

funda_monitor-1.1.2.tar.gz (25.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

funda_monitor-1.1.2-py3-none-any.whl (27.4 kB view details)

Uploaded Python 3

File details

Details for the file funda_monitor-1.1.2.tar.gz.

File metadata

  • Download URL: funda_monitor-1.1.2.tar.gz
  • Upload date:
  • Size: 25.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.0

File hashes

Hashes for funda_monitor-1.1.2.tar.gz
Algorithm Hash digest
SHA256 1a78519420235f384639e752f7f59c6bd9998f3a8d5c38be20c4a569f9e317f7
MD5 fa193824fd9da02fceeffd052e99fb2a
BLAKE2b-256 d95b6b5025453b5340e2c1d425f8ff4b1d65ea20067656bb530bc9422e830add

See more details on using hashes here.

File details

Details for the file funda_monitor-1.1.2-py3-none-any.whl.

File metadata

  • Download URL: funda_monitor-1.1.2-py3-none-any.whl
  • Upload date:
  • Size: 27.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.0

File hashes

Hashes for funda_monitor-1.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 7cded9820ca71ae0884a01c6731b53c281e0740aa6e4ad64ed8387af68ff1373
MD5 b85b8838575d17d0318502de951073e7
BLAKE2b-256 086115199514052795006e1bf66189f90308818c614a052719495da6b781f650

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page