# OnTheMarket Scraper & API - UK Property for Sale & to Rent (`rel8ble/onthemarket-scraper`) Actor

OnTheMarket scraper for UK property: homes for sale, to rent and new homes by town, borough or postcode. One row per listing: price, beds, baths, type, address, lat / lng, features, photos, agent, phone; optional tenure, council tax, EPC. Daily new-listing alerts. $0.40 per 1,000.

- **URL**: https://apify.com/rel8ble/onthemarket-scraper.md
- **Developed by:** [Giovanni Rich](https://apify.com/rel8ble) (community)
- **Categories:** Real estate, Lead generation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$0.40 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## OnTheMarket Scraper & API - UK Property for Sale & to Rent

**OnTheMarket scraper** for UK property investors, estate and letting agents, proptech data teams, mortgage brokers, relocation services and market researchers: pull **houses and flats for sale, homes to rent and new homes** from OnTheMarket.com, one of the UK's three big property portals, by **town, city, borough or postcode district** (`london`, `manchester`, `sw11`, `camden-north-west-london`), as clean JSON, CSV or Excel. Each row has the **price (as a number too), bedrooms, bathrooms, property type, address, latitude / longitude, key features, added / reduced status, photos, and the estate agent with branch phone**. Switch on details for the **full postcode, description, tenure, council tax band, EPC rating, nearest stations, floor plans and brochure**. Use it as an **OnTheMarket API**, a UK rental and sale price tracker, a new-instruction feed for agents, or a deal finder, from your own code, Make, Zapier or n8n.

It works over plain HTTP, with **no browser and no login**. The default input (60 London homes for sale) took **2.5 seconds and 3 requests**; 30 Manchester homes with full details took 24.5 s (32 requests) in the 21 Nov 2026 local test runs.

### What you get

- **Listing data**: property ID and link, title, property type, bedrooms, bathrooms, price text and number (GBP; monthly rent for lettings with its period), price qualifier (Guide price, Offers over ...), short price, display address, latitude / longitude, key features, "Added today" / "Reduced < 7 days" status, reduced flag, label (New home, Only With Us, Featured ...), spotlight / premium / 3D-tour flags, photos.
- **Agent**: branch name, branch phone, branch ID, branch page, logo.
- **Details** (`includeDetails`, one request per property): full postcode, description as plain text, tenure (e.g. "Leasehold | 77 yrs left"), council tax band, EPC rating, page views, nearest stations with distance, floor plan images, PDF brochure, branch address, and every key fact OnTheMarket shows (`keyInfo`: deposit, furnishing, heating, broadband, water ...).
- Only agent-published listing data; no buyer, tenant or vendor personal data.

### Sample output

Real rows from the 21 Nov 2026 local run with the default input (`london`, for sale, 60 rows, 2.5 s):

| Title | Price | Address | Beds | Agent | Status |
|---|---|---|---|---|---|
| 2 bedroom flat for sale | £350,000 | Balham High Road, London | 2 | Barnard Marcus - Tooting | Added > 14 days |
| 3 bedroom house for sale | £2,100,000 | The Vale, Acton, W3 | 3 | Home FullStop - Marylebone | Added yesterday |
| 3 bedroom semi-detached house for sale | £1,105,000 | Egerton Road, Twickenham TW2 | 3 | Londra Estate - London | Added today |
| 1 bedroom flat for sale | £225,000 (Offers in excess of) | Warton Road, LONDON, London, E15 | 1 | Bairstow Eves - Leytonstone | Reduced today |
| 3 bedroom end of terrace house for sale | £600,000 | The Blemmere at Roe Wood Park, Tring Gardens RM3 | 3 | Bellway Homes - Roe Wood Park | Added > 14 days |

Fill rates on those 60 rows: price, address, coordinates, features, photos, agent name and phone 100%, bedrooms 97%, bathrooms 93%, 3D tour 97%. With details on 30 Manchester sale listings: postcode, description, tenure and stations 100%, floor plans 97%, page views 93%, brochure 67%, council tax band 63%, EPC 60%. Lettings carry no tenure; their council tax is often "Ask agent" (the band is then null and the text stays in `keyInfo`).

### Use cases

- **Investors and deal finders**: list every reduced or new property in a postcode district with price, beds and coordinates; join to rents for yield.
- **Rental market analysis**: monthly rents by bedroom count and area (`searchType: "to-rent"`, `bedrooms: ["1","2","3"]`).
- **Estate and letting agents**: watch competitors' new instructions and price reductions per branch and area.
- **Proptech and mortgage teams**: feed listings with tenure, council tax and EPC into valuation or lead models.
- **Relocation and research**: compare prices across towns; map listings near stations.
- **Scheduled monitoring**: run it daily on an Apify schedule with the same locations and join on `propertyId` to catch new listings, price reductions and properties that leave the market.
- **AI agents**: an agent can call this actor with a UK place and read back homes with prices (see the MCP note below).

### Pricing

**$0.40 per 1,000 properties** (pay per result; was $0.50 until 23 Nov 2026), details included. Apify platform usage is included in that price. Filtered rows, duplicates and failed requests are never charged, and there is no start fee. A 60-row run costs $0.024, and Apify's free plan ($5 of monthly credit) covers about 12,500 properties.

Compared with the other OnTheMarket actors (live Apify Store API, 21 Nov 2026, users re-checked 23 Nov 2026, total users / users in the last 30 days, price per 1,000 rows):

| Actor | Users | Price / 1,000 |
|---|---|---|
| **This actor** | 1 / 0 | **$0.40**, details included, no start fee |
| jungle_synthesizer/rightmove-zoopla-onthemarket-uk-scraper | 71 / 20 | $1.00 + $0.0001 per run |
| fatihtahta/onthemarket-scraper | 53 / 8 | $1.99 |
| memo23/onthemarket-property-scraper | 37 / 7 | $1.50 + $0.0005 per run |
| shahidirfan/onthemarket-property-scraper | 27 / 9 | $0.99 |

60% below the most-used OnTheMarket actor ($1.00 there, $0.40 here). Not the cheapest in every case (23 Nov 2026): studio-amba and adaptive_labs list free OnTheMarket actors (you pay Apify usage yourself) and illehius' Rightmove / Zoopla / OnTheMarket actor lists $0.01 per 1,000 plus a second event; plastic_bisque charges $0.49 + $0.00005 per run. Speed: 60 listings in 2.5 s (3 pages) here; the rivals were not run for this comparison, so no speed figure is claimed for them.

### FAQ

**Which location names work?**
Whatever OnTheMarket uses in its search URLs, the part after `/property/`: cities and towns (`manchester`, `bristol`), postcode districts (`sw11`, `m14`), boroughs and areas (`camden-north-west-london`), regions (`london`, `greater-london`). Search the place once on onthemarket.com and copy it from the URL. Unknown names are reported in the log and `RUN_SUMMARY` (nothing charged).

**Why do I get at most about 1,000 properties per search?**
OnTheMarket shows 34 pages per search. To go further, split the search: by exact bedroom count (`bedrooms`), property type, or smaller areas such as postcode districts.

**Why can't I sort or filter by price in the URL?**
OnTheMarket's robots.txt bars automated programs from price, bedroom-range, sort and radius parameters, and its terms allow automated access only to programs that identify themselves and follow robots.txt. This actor does both: it sends its own user agent, reads robots.txt at the start of every run and skips any barred page. Price and bedroom limits are applied as filters on the results instead (filtered rows are free), and price / bedroom parameters in start URLs are turned into those filters.

**Is the price a number?**
Yes: `priceValue` is the first pound amount (the monthly rent for lettings, with `priceFrequency` "pcm"). The original text and the qualifier ("Guide price", "Offers over") are kept.

**For AI agents (MCP):** input is UK locations (town, borough or postcode district) plus for-sale / to-rent and optional bedrooms and price range; output is one JSON row per property with price, beds, address, coordinates and agent phone; typical cost is $0.024 for 60 properties; use it when you need current UK homes for sale or to rent.

### Example inputs for common jobs

London homes for sale (default):

```json
{ "locations": ["london"], "maxResultsPerSearch": 60 }
```

Rents for 1, 2 and 3 bedroom homes in three postcode districts:

```json
{ "locations": ["sw11", "e14", "m14"], "searchType": "to-rent", "bedrooms": ["1", "2", "3"], "maxResultsPerSearch": 0 }
```

Houses in Bristol and Leeds under £300,000, with tenure, council tax and EPC:

```json
{ "locations": ["bristol", "leeds"], "propertyType": "houses", "maxPrice": 300000, "includeDetails": true, "maxResultsPerSearch": 200 }
```

New homes in Greater Manchester:

```json
{ "locations": ["greater-manchester"], "searchType": "new-homes", "maxResultsPerSearch": 0 }
```

OnTheMarket search URLs:

```json
{ "startUrls": ["https://www.onthemarket.com/for-sale/property/sw11/", "https://www.onthemarket.com/to-rent/2-bed-property/manchester/"], "maxResultsPerSearch": 0 }
```

### How to use

1. Open the actor and type **locations** as OnTheMarket names them, or paste OnTheMarket search URLs.
2. Pick **for sale, to rent or new homes**, a **property type**, and optionally exact **bedroom counts** (one search each).
3. Set **Max properties per search** (default 60; 0 = all OnTheMarket shows), filters, and **details** if you need postcode, tenure, council tax and EPC.
4. Click **Start**. Download the dataset as JSON, CSV, Excel or HTML, or read it through the API.

### Input

| Field | Type | Default | What it does |
|---|---|---|---|
| `locations` | array | `["london"]` | OnTheMarket location names, one search each. |
| `searchType` | string | `for-sale` | `for-sale`, `to-rent` or `new-homes`. |
| `propertyType` | string | `property` | `property` (all), `houses`, `flats-apartments`, `bungalows`. |
| `bedrooms` | array | - | Exact bedroom counts, one search each (0 = studio). |
| `startUrls` | array | - | onthemarket.com search pages. |
| `maxResultsPerSearch` | integer | 60 | Rows per location x bedroom count (or URL). 0 = all (~1,000 max). |
| `includeDetails` | boolean | false | Postcode, description, tenure, council tax, EPC, stations, floor plans, brochure, key facts. |
| `minPrice` / `maxPrice` | integer | 0 | Price limits in GBP (monthly rent for lettings). |
| `minBedrooms` / `maxBedrooms` | integer | - | Bedroom limits. |
| `keywords` | array | - | Title, address or features must contain one of these words. |
| `excludeSharedOwnership` | boolean | false | Skip shared-ownership listings. |
| `maxConcurrency` | integer | 3 | Parallel requests (the run is paced at ~80 pages / minute). |
| `maxRequestRetries` | integer | 5 | Retries per failed request. |
| `proxyConfiguration` | object | Apify Proxy | Datacenter proxy. |

### Output example

One real row from the 21 Nov 2026 local run (default input; photo list shortened):

```json
{
  "propertyId": "19948144",
  "url": "https://www.onthemarket.com/details/19948144/",
  "title": "1 bedroom flat for sale",
  "propertyType": "Flat",
  "bedrooms": 1,
  "bathrooms": 1,
  "price": "£225,000",
  "priceValue": 225000,
  "priceFrequency": null,
  "priceQualifier": "Offers in excess of",
  "shortPrice": "£225k",
  "address": "Warton Road, LONDON, London, E15",
  "latitude": 51.536757,
  "longitude": -0.007762,
  "features": ["Tenure: Leasehold (106 years remaining)", "Nearest station 0.3mi.", "Nearest school 0.1mi."],
  "addedOrReduced": "Reduced today",
  "isReduced": true,
  "label": "Reduced today",
  "isSpotlight": false,
  "isPremium": true,
  "hasVirtualTour": true,
  "coverImageUrl": "https://media.onthemarket.com/properties/19948144/1651870941/image-0-480x320.jpg",
  "imageUrls": ["https://media.onthemarket.com/properties/19948144/1651870941/image-0-480x320.jpg", "..."],
  "agentName": "Bairstow Eves - Leytonstone",
  "agentPhone": "020 4645 2930",
  "agentId": "73381",
  "agentUrl": "https://www.onthemarket.com/agents/branch/bairstow-eves-leytonstone/",
  "agentLogoUrl": "https://media.onthemarket.com/agents/companies/14646/260126141925387/logo-190x100.jpg",
  "searchType": "for-sale",
  "postcode": null,
  "description": null,
  "tenure": null,
  "councilTaxBand": null,
  "epcRating": null,
  "totalViews": null,
  "nearestStations": [],
  "floorplanUrls": [],
  "brochureUrl": null,
  "agentAddress": null,
  "keyInfo": {},
  "inputSearch": "london",
  "searchLocation": "London",
  "position": 5,
  "sourceUrl": "https://www.onthemarket.com/for-sale/property/london/",
  "scrapedAt": "2026-11-21T16:00:27.347Z"
}
```

With `includeDetails: true` a Manchester row reads, for example, `"postcode": "M40 1QD"`, `"tenure": "Freehold"`, `"councilTaxBand": "C"`, `"epcRating": "B"`, `"keyInfo": {"Tenure": "Freehold", "Council tax": "Band C", "Heating": "Gas central", ...}`. The dataset has two table views in the Apify console: **Properties** and **With details**. A `RUN_SUMMARY` record lists per-search counts, properties on the site, ignored inputs and stop reasons.

### Integrations

Run it on an Apify schedule, through the Apify REST API, the JavaScript / Python clients, Make, Zapier, n8n, Google Sheets, or from AI agents via the Apify MCP server. Join runs on `propertyId` to spot new listings, price changes and withdrawals.

This actor is not affiliated with OnTheMarket. It identifies itself with its own user agent (`rel8ble-onthemarket-scraper/1.0`), follows OnTheMarket's robots.txt on every request and paces itself, as OnTheMarket's terms (3.3) require of automated programs.

Need a custom scraper or a ready dataset? Hire me on Fiverr: https://www.fiverr.com/rel8ble

# Actor input Schema

## `locations` (type: `array`):

UK places as OnTheMarket names them in its URLs: towns, cities, boroughs, postcode districts, e.g. "london", "manchester", "sw11", "bristol", "camden-north-west-london". One search each. Default \["london"] (demo).

## `searchType` (type: `string`):

Optional. for-sale (default), to-rent or new-homes.

## `propertyType` (type: `string`):

Optional. property (all, default), houses, flats-apartments or bungalows.

## `bedrooms` (type: `array`):

Optional. One search per count (0 = studio), e.g. \["1", "2", "3"]. Also a way past the ~1,000-listing cap OnTheMarket puts on one search.

## `startUrls` (type: `array`):

Optional. Search pages, e.g. https://www.onthemarket.com/for-sale/property/sw11/. Price / bedroom parameters become filters (robots.txt bars them as URL parameters).

## `maxResultsPerSearch` (type: `integer`):

Optional. Rows per location / bedroom count / URL, integer >= 0. Default 60; 0 = all OnTheMarket shows (about 1,000). You pay per row.

## `includeDetails` (type: `boolean`):

Optional. Opens each property page (one request per row, slower) for full postcode, description, tenure, council tax band, EPC, stations, floor plans and brochure. Default false.

## `minPrice` (type: `integer`):

Optional. 0 = none. Monthly rent for lettings.

## `maxPrice` (type: `integer`):

Optional. 0 = none.

## `minBedrooms` (type: `integer`):

Optional.

## `maxBedrooms` (type: `integer`):

Optional.

## `keywords` (type: `array`):

Optional. Keep only properties whose title, address or features contain one of these words, e.g. "garden", "parking", "chain free".

## `excludeSharedOwnership` (type: `boolean`):

Optional. Default false.

## `maxConcurrency` (type: `integer`):

Optional, advanced. Parallel requests, 1-6 (the run is paced at about 80 pages a minute either way). Default 3.

## `maxRequestRetries` (type: `integer`):

Optional, advanced. 0-15. Default 5.

## `proxyConfiguration` (type: `object`):

Optional, advanced. Default Apify Proxy (datacenter).

## Actor input object example

```json
{
  "locations": [
    "london"
  ],
  "searchType": "for-sale",
  "propertyType": "property",
  "maxResultsPerSearch": 60,
  "includeDetails": false,
  "minPrice": 0,
  "maxPrice": 0,
  "excludeSharedOwnership": false,
  "maxConcurrency": 3,
  "maxRequestRetries": 5,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `results` (type: `string`):

One row per UK property for sale or to rent, with price, beds, location and agent.

## `summary` (type: `string`):

Per-search counts, ignored inputs and stop reasons.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "locations": [
        "london"
    ],
    "maxResultsPerSearch": 60,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("rel8ble/onthemarket-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "locations": ["london"],
    "maxResultsPerSearch": 60,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("rel8ble/onthemarket-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "locations": [
    "london"
  ],
  "maxResultsPerSearch": 60,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call rel8ble/onthemarket-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,rel8ble/onthemarket-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/9ap9JSjwGT2OgogoW/builds/dLRpUx2MCLysWCal1/openapi.json
