OnTheMarket Property Scraper avatar

OnTheMarket Property Scraper

Pricing

from $0.80 / 1,000 onthemarket listing scrapeds

Go to Apify Store
OnTheMarket Property Scraper

OnTheMarket Property Scraper

Collect UK property listings for sale and to rent from OnTheMarket list pages: price, bedrooms, address, agent, photo links and dates. Pay per listing.

Pricing

from $0.80 / 1,000 onthemarket listing scrapeds

Rating

0.0

(0)

Developer

nanodata

nanodata

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

12 days ago

Last modified

Categories

Features

Limited permissions

Share

Collect UK property listings from OnTheMarket results pages, for sale or to rent. Give it one or more list links and get one structured row per listing: price, bedrooms, address, map position, tags, agent details and photo links.

What you can do with it

  • Track asking prices and new listings in a town, county or London.
  • Compare sale and rental prices for the same area.
  • Find reduced, chain free, shared ownership, retirement and new home listings through the tags field.
  • Build lists of listings with the agent branch and phone number shown on the page.
  • Feed a spreadsheet, dashboard or alert with fresh listings every day.

An empty input ({}) runs a small demo: homes for sale in London, 5 listings.

Input

FieldTypeDescriptionDefault
startUrlsstring[]OnTheMarket results links for sale (/for-sale/...) or to rent (/to-rent/...). Add ?page=N to start at a later page.London, for sale (demo)
maxResultsintegerMaximum listings for each start link, 1 to 1000.50 (5 in the demo)

Example:

{
"startUrls": [
"https://www.onthemarket.com/for-sale/property/london/",
"https://www.onthemarket.com/to-rent/property/manchester/"
],
"maxResults": 40
}

Numbers may be given as text ("40"). A value that is not a number stops the run with a clear message in the run status.

The actor follows the rules in the site's robots.txt. A start link is skipped, with a message in the log and the run status, when the rules do not allow it. This covers, for example:

  • links with /flat/ or /apartment/ in the path,
  • bedroom count pages other than the plain, flats and houses variants (for example 3-bed-detached),
  • links with filter or sort parameters such as max-price, min-price, radius, sort-field or view=map,
  • agent search, agent contact and similar pages.

The actor opens results pages only. It never opens listing photos, floor plans or energy certificates. If every start link is skipped, the run stops at the start and nothing is charged.

Output

One row per listing. Fields the page does not show are null. Sponsored advert cards in the results are left out.

FieldDescription
property_id, urlOnTheMarket listing id and link
transactionsale or rent
title, property_typeShort title and type, for example 2 bedroom flat for sale and Flat
price_text, price_amount, price_currencyPrice as shown, as a number, and GBP
price_qualifier, price_shortQualifier such as Guide price or Shared ownership, and the short price
rent_period, rent_per_weekRent period (pcm) and the weekly rent when shown
bedrooms, bathroomsRoom counts
address, postcode_districtAddress as shown and the postcode district read from it
latitude, longitudeMap position when shown
tenure, featuresTenure and the feature lines on the card
tagsLabels worked out from the listing text: new home, retirement, auction, shared ownership, chain free, reduced, recently added, featured
main_label, added_reduced_text, icon_labelsCard label, added or reduced text, badges
has_virtual_tour, is_premium, premium_text, is_spotlightCard flags
fees_label, fees_textTenant fees note on rent listings
image_count, cover_image_url, image_urlsPhoto links exactly as given by the site. Photos are not downloaded
agent_id, agent_name, agent_url, agent_phone, agent_logo_urlAgent or developer details as shown for the listing
development_featuresDevelopment summary lines on new home listings
search_query, search_url, page_numberWhich start link and results page found the listing
data_source, scraped_atAlways website, and the UTC collection time

Sample row (shortened):

{
"property_id": 20560690,
"url": "https://www.onthemarket.com/details/20560690/",
"title": "3 bedroom flat for sale",
"transaction": "sale",
"property_type": "Flat",
"price_text": "£375,000",
"price_amount": 375000,
"price_currency": "GBP",
"price_qualifier": "Offers in excess of",
"bedrooms": 3,
"bathrooms": 2,
"address": "Sydenham Road, London, SE26",
"postcode_district": "SE26",
"latitude": 51.426194,
"longitude": -0.05367,
"tenure": "Share of freehold",
"tags": ["reduced", "featured"],
"added_reduced_text": "Reduced < 7 days",
"image_count": 5,
"agent_name": "Mann - Sydenham",
"agent_phone": "020 8115 3261",
"agent_url": "https://www.onthemarket.com/agents/branch/mann-sydenham/",
"search_query": "https://www.onthemarket.com/for-sale/property/london/",
"page_number": 2,
"data_source": "website"
}

Results are de-duplicated by listing id within a run, also after a restart.

Run outcomes

SituationResult
Listings foundRun succeeds, status "Delivered N listings."
Search has no listings, or the link has no results pageRun succeeds with 0 rows, nothing is charged, and the status says so
The charge limit you set is reachedRun succeeds and stops, status "Stopped at the max charge limit. N listings delivered."
Every start link is skipped by the site's rules, or the site does not answer any requestRun fails with a status that says what happened. Retry later if the site did not answer
Input is not valid (for example maxResults is not a number)Run fails at the start with the reason in the status

Pricing

Pay per event:

EventNamePrice
Run start, charged once with the first delivered rowsactor-start$0.001
One listing deliveredonthemarket-listing-result$0.0008

Nothing is charged when no listing is delivered. If you set a maximum total charge for the run, the run stops before a row would go over it. See the Pricing tab for current prices.

Limitations

  • The site shows about 34 pages of 30 listings for one search, so one link returns up to roughly 1000 listings. Split a large area into smaller towns or districts to cover more.
  • The actor reads results pages only. It does not open each listing, so the full description, floor plans and the complete photo gallery are not included. image_count counts the photos given in the results data, which is usually a preview of 5.
  • Filter and sort parameters in links are not allowed by the site's robots.txt, so use area links and filter the dataset afterwards.
  • tags and postcode_district are worked out from the text on the card. A listing that does not mention a feature gets no tag for it.
  • Some listings show no price, bedrooms, bathrooms or map position. Those fields are null.
  • Page layout changes on the site can cause a run to fail until the actor is updated.

FAQ

Can I scrape both sale and rental listings? Yes. Use a /for-sale/ link for sales and a /to-rent/ link for rentals. You can mix both in one run.

How many listings can I get from one link? Up to about 1000, because the site stops a search at about 34 pages. Use narrower areas to cover a larger market.

Why do some fields come back empty? Listings only show what the agent published. Sale rows have no rent period, and many listings have no tenure, tags or map position.

Can I use a link with filters? Not with the filter parameters that the site's robots.txt does not allow, for example price range, radius or sort order. Those links are skipped with a message. Use plain area links.

How fresh is the data? Each run reads the live results pages, so rows reflect the site at the time of the run. scraped_at records the time.

Can I get the full listing description or all photos? No. This actor returns what the results pages show: title, features, price, agent and photo links.