OnTheMarket Scraper - UK Property Listings avatar

OnTheMarket Scraper - UK Property Listings

Pricing

from $2.10 / 1,000 results

Go to Apify Store
OnTheMarket Scraper - UK Property Listings

OnTheMarket Scraper - UK Property Listings

Extract OnTheMarket UK property listings as clean JSON: prices, bedrooms, locations, agents, photos, property details, timestamps, and listing URLs.

Pricing

from $2.10 / 1,000 results

Rating

0.0

(0)

Developer

Evp Labs

Evp Labs

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

15 hours ago

Last modified

Features

Limited permissions

Share

Extract property listings from OnTheMarket.com, one of the UK's leading property portals: sale and rental listings with prices, addresses, bedrooms, tenure, EPC ratings, estate agent details, photos and full key facts such as council tax, ground rent, service charge, nearest station/school and broadband speed.

The Actor reads the structured __NEXT_DATA__ JSON embedded in every OnTheMarket page and optionally enriches each listing from its detail page. No browser rendering, no login, no proxy required - it is fast, cheap and stable.

What you can scrape

  • Property investors - monitor new listings in target postcodes, filter by beds/price, spot price reductions via addedReduced.
  • Estate agents & proptech - competitor inventory, stock levels per branch, listing quality (photos, virtual tours, spotlight flags).
  • Relocation & tenant services - live rental feeds with monthly price, tenancy info, broadband speed and transport links.
  • Analytics & research - track asking prices, time-on-market proxies and turnover per area over time.
  • Lead generation - collect agent branches and their active stock.

Quick start input

Target source: onthemarket.com. Paste this JSON into the Actor input tab for a fast first run, or use it as the body of the Apify API run call:

{
"mode": "for-sale",
"location": "london",
"fetchDetails": true,
"maxItems": 10
}

The default input is intentionally small. Raise maxItems only after validating the first property listing records.

Input

FieldTypeDefaultDescription
modestringfor-salefor-sale or to-rent - maps to /for-sale/property/<location>/ or /to-rent/property/<location>/.
locationstringlondonLocation slug as it appears in OnTheMarket URLs: london, manchester, edinburgh, bristol, cornwall, or an outcode like se6.
minPriceinteger-Minimum price in GBP (min-price filter; monthly rent for to-rent).
maxPriceinteger-Maximum price in GBP (max-price filter).
minBedsinteger-Minimum bedrooms (min-bedrooms filter).
maxBedsinteger-Maximum bedrooms (max-bedrooms filter).
fetchDetailsbooleantrueAlso fetch each property's detail page for description, tenure, EPC, key facts, POIs and floorplan. Disable for faster list-only harvests.
maxItemsinteger15Maximum properties to collect (30 per results page).
proxyConfigurationobjectdisabledOptional Apify proxy. Not needed normally - enable only for very large runs.

Example input

{
"mode": "for-sale",
"location": "london",
"minPrice": 200000,
"maxPrice": 400000,
"minBeds": 2,
"maxItems": 100
}

Output

One flat JSON item is produced per property listing. Download the dataset as JSON, CSV, Excel, or HTML, or consume it through the Apify API.

Field reference

FieldTypeDescription
idstringOnTheMarket property ID (from the details URL)
titlestringProperty title (detail page SEO title or 'N bedroom
urlstringCanonical URL of the property details page
listingTypestringfor-sale or to-rent
pricenumberNumeric price in GBP (monthly rent for to-rent). Absent for POA listings.
priceCurrencystringCurrency of the price, always GBP (present only when price is set)
priceLabelstringPrice as displayed on the site
priceQualifierstringPrice qualifier such as 'Offers in excess of', 'Guide price' or 'pcm' for rentals
addressstringDisplay address of the property
postcodestringUK postcode outcode extracted from the address (OnTheMarket does not publish full postcodes)
citystringTown/city where the property is located
latitudenumberLatitude of the property location
longitudenumberLongitude of the property location
bedroomsintegerNumber of bedrooms
bathroomsintegerNumber of bathrooms
sittingRoomsintegerNumber of reception/sitting rooms when listed
propertyTypestringHumanised property type: Flat, Detached, Terraced, Property, ...
tenurestringTenure information, e.g. 'Freehold' or 'Leasehold | 105 yrs left'
epcRatingstringEnergy Performance Certificate rating (A-G) when available
addedReducedstringHumanised added/reduced label, e.g. 'Added yesterday', 'Added > 14 days', 'Reduced on ...'
totalViewsstringTotal view count as shown on the site, e.g. '2500+'
agentNamestringEstate agent branch name
agentUrlstringURL of the agent branch page on OnTheMarket
agentPhonestringAgent telephone number as displayed
agentIdintegerInternal OnTheMarket agent/branch ID
imageUrlstringURL of the main property photo
imageUrlsstring[]URLs of all property photos (1024px on detail pages, 480px on list-only items)
imageCountintegerNumber of property photos
floorplanUrlstringURL of the first floorplan image when available
descriptionstringProperty description trimmed to about 400 characters
featuresstring[]Bullet-point features shown on the search card (often include tenure, nearest station and school)
propertyLabelsstring[]Property labels such as Retirement, New build, Auction
nearestStationstringName of the nearest train/tube station from the detail page
nearestSchoolstringName of the nearest school from the detail page
broadbandSpeedMbpsnumberMaximum broadband download speed in Mbps measured by OnTheMarket
spotlightbooleanWhether the listing is a paid Spotlight/featured placement
exclusivebooleanWhether the listing is an OnTheMarket exclusive
newHomebooleanWhether the property is a new-build home
recentlyAddedbooleanWhether the property was added recently
virtualTourbooleanWhether a virtual/Matterport tour is attached
tenancyInfostringTenancy fees/deposit information shown for rentals (trimmed to ~300 chars)

Real sample output (latest live dataset)

{
"id": "20863132",
"title": "Redden Court Road, Harold Wood 2 bed apartment for sale - £270,000",
"url": "https://www.onthemarket.com/details/20863132/",
"listingType": "for-sale",
"price": 270000,
"priceCurrency": "GBP",
"priceLabel": "£270,000",
"priceQualifier": "Guide price",
"address": "Redden Court Road, Harold Wood",
"city": "Harold Wood",
"latitude": 51.5853998,
"longitude": 0.229061,
"bedrooms": 2,
"bathrooms": 1,
"propertyType": "Apartment",
"tenure": "Leasehold | 118 yrs left",
"epcRating": "C",
"addedReduced": "Added yesterday",
"agentName": "haart Estate Agents - Harold Wood",
"agentUrl": "https://www.onthemarket.com/agents/branch/haart-estate-agents-harold-wood/",
"agentPhone": "01708 573651",
"agentId": 5359,
"imageUrl": "https://media.onthemarket.com/properties/20863132/1662300373/image-0-1024x1024.jpg",
"imageUrls": [
"https://media.onthemarket.com/properties/20863132/1662300373/image-0-1024x1024.jpg",
"https://media.onthemarket.com/properties/20863132/1662300373/image-1-1024x1024.jpg",
"https://media.onthemarket.com/properties/20863132/1662300373/image-2-1024x1024.jpg",
"https://media.onthemarket.com/properties/20863132/1662300373/image-3-1024x1024.jpg"
],
"imageCount": 11,
"floorplanUrl": "https://media.onthemarket.com/properties/20863132/1662300373/floor-plan-0-1024x1024.jpg",
"description": "Situated in a sought-after and well-connected residential location in Harold Wood, this beautifully presented two double bedroom, second-floor apartment offers an excellent combination of space, comfort and convenience, making it an ideal purchase for first...",
"features": [
"Tenure: Leasehold (118 years remaining)",
"Two Double Bedroom Apartment",
"Communal Parking",
"Long Length Lease"
],
"propertyLabels": [
"Study"
],
"nearestStation": "Harold Wood",
"nearestSchool": "Redden Court School",
"broadbandSpeedMbps": 35,
"exclusive": true,
"recentlyAdded": true,
"param_ground_rent": "£10 per annum | review period: unconfirmed",
"param_service_charge": "£1,500 per annum",
"param_council_tax": "Band B",
"param_broadband": "Super-fast 35Mbps *"
}

How it works

  1. Builds an OnTheMarket search URL from mode, location, price and bedroom filters - e.g. https://www.onthemarket.com/for-sale/property/london/?min-price=200000&min-bedrooms=2.
  2. Fetches result pages with a plain HTTP client (CheerioCrawler) at up to 10 concurrent requests, parsing the embedded __NEXT_DATA__ JSON (30 properties per page).
  3. With fetchDetails enabled, visits each property's /details/<id>/ page and merges description, tenure, EPC, key facts, stations/schools and floorplan into the same flat item. Detail failures fall back to the search-card data.
  4. Paginates automatically until maxItems is reached.

Use with AI agents (MCP), n8n, Make, and Python

  • AI agents / MCP: add https://mcp.apify.com/?tools=evpp/onthemarket-uk to your MCP client, then ask the agent to scrape OnTheMarket data or export the latest dataset.
  • n8n / Make / Zapier: run Actor evpp/onthemarket-uk with the quick-start input, then map dataset items into Google Sheets, a CRM, a webhook, or a monitoring workflow.
  • Python: install the client with pip install apify-client and run:
import json
from apify_client import ApifyClient
client = ApifyClient()
run_input = json.loads('''{"mode":"for-sale","location":"london","fetchDetails":true,"maxItems":10}''')
run = client.actor("evpp/onthemarket-uk").call(run_input=run_input)
items = list(client.dataset(run["defaultDatasetId"]).iterate_items())
print(items[0])

The same dataset is available as JSON, CSV, Excel, XML, RSS, and HTML through the Apify API.

Cost

The Actor runs on HTTP requests only - no browser, so a single run costs almost nothing in compute. With fetchDetails on, scraping 1,000 properties (about 34 search pages + 1,000 detail pages) typically finishes in ~10 minutes on 256-512 MB of memory; list-only mode is roughly 30x cheaper. With pay-per-event pricing of $3.00 per 1,000 properties, cost is linear and predictable.

Limits & notes

  • OnTheMarket caps deep pagination at roughly page 34 (~1,000 results). For large harvests, split runs by location, price band or bedroom count.
  • Prices are asking prices in GBP; rentals are monthly (pcm in priceQualifier, weekly equivalent stays in priceLabel). POA listings have no price field.
  • postcode is the outcode (e.g. SE6) - OnTheMarket does not publish full postcodes.
  • description is trimmed to ~400 characters and tenancyInfo to ~300 for compact items.
  • Please respect OnTheMarket's terms of service - this Actor reads publicly available listing pages only.

FAQ

Do I need a proxy? No - listing pages are fetched directly and the default works. Enable a proxy only if you run very large jobs and hit rate limits.

How fresh is the data? Real-time: every run fetches live pages, and addedReduced surfaces new and reduced listings.

Why param_* fields? Detail pages carry a variable set of key facts (tenure, ground rent, service charge, council tax, broadband, mobile signal). Instead of hardcoding a few, the Actor exports all of them flat so nothing is lost.

Can I scrape a city that is not in the enum? Yes - location is free text. Use any OnTheMarket location slug from the site's search URLs (cambridge, st-albans, cornwall, ...).

What does fetchDetails: false do? It skips detail pages entirely, so a 1,000-item run needs only ~34 requests. You lose description, tenure, epcRating, param_*, POIs and floorplan, but keep all search-card fields.