Skip to main content

Python API wrapper for Funda.nl, the Dutch real estate platform. Reverse-engineered mobile API client, no scraping, no Selenium, no CAPTCHA.

Project description

pyfunda

PyPI version Python versions License

pyfunda is a Python API wrapper for Funda.nl, the Netherlands' largest Dutch real estate platform. It talks to Funda's reverse engineered mobile JSON API, so you get clean typed objects for listings, prices, media, brokers, and price history without HTML scraping, Selenium, a headless browser, or CAPTCHA solving.

Funda has no public developer API. pyfunda is the only working opensource Python client that hits Funda's app facing *.funda.io endpoints directly, the same ones the official Android app uses.

pip install pyfunda

Use pyfunda as a Funda API client or Funda Python SDK to fetch Dutch property listings, run search queries by city and price, pull listing detail and media, get broker info and reviews, read price history, and stream new listings. If you have been looking for a working fundascraper alternative or a Netherlands housing API, this is the only Python wrapper hitting the same *.funda.io endpoints the Funda Android app uses.

If you find this useful, consider giving it a star, it helps others discover the project.

Star History Chart

Why I'm open-sourcing this?

After pyfunda, I got messages asking why I'd give this away when aggregators will just take it and sell it. They're right, every week there's a new "revolutionary AI-powered housing finder" charging EUR40/month or a EUR250 "success fee." They all pull from the same one or two sources and wrap it in a fancy UI completely built with AI.

That's exactly why I'm open-sourcing it.

These services are selling air to people who are looking for any kind of hope. The data is public. The APIs aren't hard to figure out. You shouldn't have to pay someone to refresh a webpage for you. Funda could kill this entire market overnight by offering a public API. They don't, so here we are.

Here's the code, do it yourself. Send my library link to any AI service you use and ask it to build whatever tool you think will make your life easier while searching for your next home.

With pyfunda, I've already done all the heavy lifting for you.

Why pyfunda?

Because it simply works.

Funda has no public developer API. If you want Dutch real estate data programmatically, your options are limited:

Library Approach Limitations
whchien/funda-scraper HTML scraping Listing dates blocked since Q4 2023 (requires login). Breaks when Funda changes frontend.
khpeek/funda-scraper Scrapy Last updated 2016. No longer maintained.
joostboon/Funda-Scraper Selenium Requires manual CAPTCHA solving. Slow browser automation.
Official API Broker API Only available to registered brokers. Not accessible to regular developers.

pyfunda takes a different approach: it uses Funda's app-facing JSON APIs instead of scraping browser HTML.

  • Pure Python, no browser or Selenium needed
  • No manual CAPTCHA solving
  • Typed Python objects for listings, prices, media, brokers, coordinates, and history
  • Search, listing detail, enrichment, broker, price-history, polling, and parallel batch workflows
  • Raw Funda payloads are still available when you need fields that pyfunda does not model yet

Installation

pip install pyfunda

For local development:

uv sync
uv run python -m unittest discover -s tests

Quick Start

from funda import Funda

with Funda() as client:
    # Get a listing by global id, tiny id, or Funda URL
    listing = client.listing(43117443)
    print(listing.title, listing.city, listing.price.amount)

    # Search listings
    results = client.search("amsterdam", max_price=500000)
    for item in results:
        print(item.title, item.price.amount, item.url)

How It Works

This library uses Funda's undocumented app-facing APIs, which provide clean JSON responses unlike the website that embeds data in Nuxt.js/JavaScript bundles.

Discovery Process

The original API was reverse engineered by intercepting and analyzing HTTPS traffic from the official Funda Android app:

  1. Configured an Android device to route traffic through an intercepting proxy
  2. Used the Funda app normally - browsing listings, searching, opening shared URLs
  3. Identified the *.funda.io API infrastructure separate from the www.funda.nl website
  4. Analyzed request/response patterns to understand the query format and available filters
  5. Discovered how the app resolves URL-based IDs (tinyId) to internal IDs (globalId)

API Architecture

The app-facing APIs live across several *.funda.io services:

Endpoint Method Purpose
listing-detail-page.funda.io/api/v4/listing/object/nl/{globalId} GET Fetch listing by internal ID
listing-detail-page.funda.io/api/v4/listing/object/nl/tinyId/{tinyId} GET Fetch listing by URL ID
listing-search-wonen.funda.io/_msearch/template POST Search listings
listing-search-wonen.funda.io/geo-wonen-alias-prod/_search/template POST Autocomplete location/search-box text
listing-detail-summary.funda.io/api/v1/listing/nl/{globalId} GET Fetch lightweight listing summary
contacts-flows-bff.funda.io/.../contact-block GET Fetch realtor contact block
contacts-bff.funda.io/.../contact-form GET Fetch contact-form availability
local-listings.funda.io/api/v1/similarlistings GET Fetch similar and recently sold listing IDs
marketinsights.funda.io/v2/localinsights/preview/... GET Fetch neighbourhood market insights
brokerpresentation-office-pages-bff.funda.io/.../office-page/... GET Fetch broker profile and listings
reviews-office-pages-bff.funda.io/.../reviews/nl GET Fetch broker review aggregates
api.walterliving.com/hunter/lookup POST Fetch price history data

The request transport, headers, retry profiles, and TLS fingerprint rotation are internal implementation details. Normal users only construct Funda() and call the public methods below.

Documentation

Disclaimer

This is an unofficial library and is not affiliated with, authorized, maintained, sponsored, or endorsed by Funda or any of its affiliates. Use at your own risk.

This library only accesses publicly available listing data through Funda's undocumented internal APIs. Using this library may violate Funda's Terms of Service. The authors are not responsible for any consequences of using this software.

This project is intended for personal use, research, and educational purposes only.

  • The APIs are undocumented and may change or break at any time without notice.
  • Please use this library responsibly and avoid excessive requests that could burden Funda's infrastructure.
  • Data may be subject to copyright and usage restrictions. Ensure your use complies with applicable laws.

License

AGPL-3.0

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

pyfunda-3.1.1.tar.gz (65.3 kB view details)

Uploaded Source

Built Distribution

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

pyfunda-3.1.1-py3-none-any.whl (46.6 kB view details)

Uploaded Python 3

File details

Details for the file pyfunda-3.1.1.tar.gz.

File metadata

  • Download URL: pyfunda-3.1.1.tar.gz
  • Upload date:
  • Size: 65.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.13 {"installer":{"name":"uv","version":"0.11.13","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for pyfunda-3.1.1.tar.gz
Algorithm Hash digest
SHA256 0c4c33de63586f1fa5d226772d02c2f6efb66ef7cc8f0fbd179f025956720c49
MD5 4efe967e9ff0106d9fadf34ea067421b
BLAKE2b-256 5d3ce797202c87aacaea0ae539649e5f9d57299da4feb18a53a23e8061d0f318

See more details on using hashes here.

File details

Details for the file pyfunda-3.1.1-py3-none-any.whl.

File metadata

  • Download URL: pyfunda-3.1.1-py3-none-any.whl
  • Upload date:
  • Size: 46.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.13 {"installer":{"name":"uv","version":"0.11.13","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for pyfunda-3.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b5bdb0d789dd198db2b501c64b1ebfc2db7bce751be8bf4ceb2ad644a3bc19f0
MD5 c6166fdb3c7bcf457454921e46418aad
BLAKE2b-256 2e44bebae804be01c1239a953a44c810490dfde5084510de6f236c93fdc51640

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