Menu

Comparing UK rents by bedroom count with OnTheMarket data in Python (no browser)
📰

Comparing UK rents by bedroom count with OnTheMarket data in Python (no browser)

DEV Community: api·Gio Rich·4 days ago
#SXNmHzU3
#devtoapi#devto#dev#onthemarket#bedrooms
Long article (1379 words) — no AI summary yet.
Reading 0:00
15s threshold

I built this actor; it's a paid tool on Apify with a free trial credit. This article was drafted with AI and published by me.

OnTheMarket is one of the UK's three big property portals, next to Rightmove and Zoopla, and some agents list there first ("Only With Us"). If you are checking what two-bed flats rent for around SW11, or which listings in a postcode district were just reduced, you want rows in a spreadsheet, not a page you scroll. OnTheMarket has no export and no public API.

I built OnTheMarket Scraper to turn OnTheMarket searches into clean JSON over plain HTTP. This post shows how to call it from Python, what a row looks like, and two small scripts: a median rent table by bedroom count, and a feed of reduced listings.

How it works

You give it locations the way OnTheMarket writes them in its URLs ( london , manchester , sw11 , camden-north-west-london ) or paste OnTheMarket search URLs, and pick for-sale , to-rent or new-homes .…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.