# 🇬🇧 OnTheMarket UK Scraper | Property Listings (`misterkhan/onthemarket-scraper`) Actor

Extract property listings from OnTheMarket UK (onthemarket.com) from $0.75/1k results across London, Leeds & Glasgow — prices in GBP, bedrooms, bathrooms, floor area, addresses, coordinates, photos & agent details.

- **URL**: https://apify.com/misterkhan/onthemarket-scraper.md
- **Developed by:** [Khan](https://apify.com/misterkhan) (community)
- **Categories:** Real estate, AI, Automation
- **Security:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.75 / 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.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

### What does OnTheMarket UK Scraper do?

OnTheMarket UK Scraper is an Apify Actor that extracts residential and commercial property listings for sale and rent from **OnTheMarket** (onthemarket.com)—one of the UK's leading property portals. It captures asking prices in British Pounds (`price`), short price tags (`short-price`), price qualifier terms (`price-qualifier`), property types (`humanised-property-type`), listing headlines (`property-title`), bedrooms, bathrooms, full addresses (`address`), cover photos (`cover-image`), managing agent details (`agent`), geographic coordinates (`location`), canonical detail links (`details-url`), and listing permalinks (`url`).

Whether you are tracking UK property market pricing across London, Manchester, Birmingham, Leeds, Edinburgh, or Glasgow, monitoring new instructions and price reductions, benchmarking local agent activity, or aggregating multi-portal UK real estate data alongside Rightmove, this Actor provides clean, structured records in seconds with zero manual proxy setup.

***

> 🛡️ **Zero Proxy Configuration Required:** UK residential IP routing and anti-blocking are **handled automatically on the backend** — simply paste your OnTheMarket search URLs and click **Start**.

### What data can you extract with OnTheMarket UK Scraper?

**💶 Price & Currency** — formatted asking price `price` (e.g., £575,000), condensed `short-price` (e.g., £575k), `price-qualifier` (e.g., Guide price, Offers in region of), and `currency` (GBP) <br>
**🏠 Property Type & Classification** — readable type `humanised-property-type` (e.g., 2 bedroom apartment), headline `property-title`, and unique listing `id` <br>
**📍 Address & Geographic Location** — full street and postal `address`, latitude and longitude coordinates in `location`, `country` (GB), and `portal` identifier <br>
**🛏️ Rooms & Bathrooms** — room counts including `bedrooms` and `bathrooms` <br>
**🏢 Estate Agency Details** — managing branch details in `agent` including agency name, contact telephone, logo URL, and agent branch URL <br>
**🖼️ Photos & Media** — primary listing photo in `cover-image` <br>
**🔗 Canonical Links** — direct property link in `url`, relative detail path in `details-url`, and request `source_url` <br>

***

### Why scrape property listings from OnTheMarket?

**💪 Capture Early Instruction Advantage** — many UK estate agencies publish listings to OnTheMarket first (New & Exclusive) before other portals, giving investors earlier deal visibility <br>
**🕵️ Calculate Accurate Gross Rental Yields** — combine asking prices with local rental values across UK postal sectors to identify profitable buy-to-let opportunities <br>
**✨ Standardized UK Real Estate Schema** — combine OnTheMarket data directly with Rightmove and European property datasets using standardized schemas <br>
**👍 Seamless Search Filter Compatibility** — apply OnTheMarket filters for price min/max, bedroom counts, property types, and radius, and paste the URL directly <br>
**📩 Real-Time Dataset Streaming** — every property listing streams directly to your Apify dataset as it is discovered, ready for instant export to Google Sheets, BigQuery, Airtable, Make, or n8n <br>

***

### How do I use OnTheMarket UK Scraper?

OnTheMarket UK Scraper is built for fast, zero-configuration operation in Apify Console:

1. Click **Try for free** on the Actor page to open Apify Console.
2. Search on onthemarket.com, apply any filters (for sale, to rent, location, price min/max, bedrooms), and copy the search result URL from your browser.
3. Paste one or more search URLs into **Start URLs** (`startUrls`) (for example: `https://www.onthemarket.com/for-sale/property/london/`).
4. Set **Max Results** (`maxItems`) to specify the maximum number of listings to collect.
5. Click **Start** and watch structured property records stream into the dataset log in real time.
6. Download your dataset from the **Output** or **Dataset** tab in **JSON, CSV, Excel (.xlsx), or HTML table** format.

***

### Input

OnTheMarket UK Scraper accepts a clean 2-parameter JSON configuration. Click on the [Input tab](https://apify.com/misterkhan/onthemarket-scraper/input-schema) for the interactive form.

```json
{
  "startUrls": [
    {
      "url": "https://www.onthemarket.com/for-sale/property/london/"
    }
  ],
  "maxItems": 40
}
```

**🌐 Start URLs (`startUrls`)** — one or more onthemarket.com search result URLs or property listing URLs <br>
**🔢 Max Results (`maxItems`)** — maximum number of property listings to collect per run (default: 40; free accounts can collect up to 40 items per run, while paid Apify plans support unlimited bulk runs) <br>

***

### Output sample

Results stream in real time into your default Apify Dataset. Below is an excerpt of a real record extracted from onthemarket.com:

```json
[
  {
    "id": 17498708,
    "property-title": "Coral Apartments, 17 Western Gateway, Royal Victoria Dock, London, E16",
    "humanised-property-type": "2 bedroom apartment",
    "price": "£575,000",
    "short-price": "£575k",
    "price-qualifier": "Guide price",
    "currency": "GBP",
    "bedrooms": 2,
    "bathrooms": 2,
    "address": "Coral Apartments, 17 Western Gateway, Royal Victoria Dock, London, E16",
    "cover-image": "https://media.onthemarket.com/properties/17498708/1557022138/image-0-480x320.webp",
    "agent": {
      "name": "Chestertons - Royal Docks",
      "telephone": "020 7768 4406",
      "details-url": "/agents/branch/chestertons-royal-docks/",
      "logo-url": "https://media.onthemarket.com/agents/companies/20/150612092121722/logo-190x100.jpg"
    },
    "location": {
      "lat": 51.5085,
      "lon": 0.0215
    },
    "details-url": "/details/17498708/",
    "portal": "onthemarket.com",
    "country": "GB",
    "source_url": "https://www.onthemarket.com/for-sale/property/london/",
    "url": "https://www.onthemarket.com/details/17498708/"
  }
]
```

***

### How much does it cost to scrape OnTheMarket?

This Actor uses transparent **Pay-Per-Event (Pay-Per-Result)** pricing with a **`$0.00` Actor run start fee**:

**🆓 Free Plan — $5.00 / 1,000 listings** ($0.00500 per result, up to 40 results per run) <br>
**🥉 Starter (Bronze) Plan — $1.35 / 1,000 listings** ($0.00135 per result, unlimited results) <br>
**🥈 Scale (Silver) Plan — $0.95 / 1,000 listings** ($0.00095 per result, unlimited results) <br>
**🥇 Business+ (Gold) Plan — $0.75 / 1,000 listings** ($0.00075 per result, unlimited results) <br>

With the monthly free credit included on Apify Free plans, you can extract **up to 1,000 OnTheMarket property listings every month at zero cost**.

***

> 💡 **Predictable, All-Inclusive Pay-Per-Event Pricing:** There is a **`$0.00` run start fee** and **no separate proxy configuration required**. You only pay the flat per-result rate above for data successfully delivered to your dataset — works out of the box on both **Free** and **Paid** Apify plans.

### How many listings can you scrape with OnTheMarket UK Scraper?

OnTheMarket UK Scraper supports city-wide, borough-wide, and national harvesting across the UK:

- **Partition Large Metropolitan Areas:** When querying major hubs like London, Manchester, or Birmingham, use postcode or borough-level search URLs (such as E14, SW11, NW3) in `startUrls`.
- **Target Specific Criteria:** Apply OnTheMarket's property type filters (Houses, Flats, Bungalows) and price filters before copying the URL into `startUrls`.
- **Exact Volume Limits:** Use `maxItems` to cap each run to the exact volume needed for your valuation pipeline or automated alert trigger.

***

### Want to scrape other European & Global Real Estate Portals?

Combine this Actor with our other published European and global property scrapers:

🇬🇧 **[Rightmove UK Property Scraper](https://apify.com/misterkhan/rightmove-scraper)** — scrape UK property listings, GBP asking prices, and floor plans across London and Manchester (From $0.75 / 1K) <br>
🇮🇪 **[Daft.ie Ireland Property Scraper](https://apify.com/misterkhan/daft-ie-scraper)** — scrape Irish property listings, EUR asking prices, and bedrooms across Dublin, Cork, and Galway (From $0.75 / 1K) <br>
🇪🇸 **[Idealista Property Scraper](https://apify.com/misterkhan/idealista-scraper)** — extract Spanish residential and commercial property listings, EUR prices, m², and rooms (From $0.75 / 1K) <br>
🇫🇷 **[PAP.fr France FSBO Property Scraper](https://apify.com/misterkhan/pap-fr-particuliers-scraper)** — scrape direct private-owner (Particulier à Particulier) property sales and rentals across France (From $0.75 / 1K) <br>
🇫🇷 **[MeilleursAgents France Property Scraper](https://apify.com/misterkhan/meilleursagents-france-scraper)** — scrape French property listings and price-per-m² valuation benchmarks (From $0.75 / 1K) <br>

***

### Integrations and OnTheMarket UK Scraper

OnTheMarket UK Scraper connects with any cloud data pipeline or BI tool through [Apify integrations](https://docs.apify.com/platform/integrations):

- **No-Code Automation:** Trigger runs and route listings via **Make, Zapier, n8n, Clay, or Pipedream**.
- **Spreadsheets & Warehouses:** Sync property inventory directly into **Google Sheets, Airtable, BigQuery, Snowflake, or PostgreSQL**.
- **Instant Webhooks:** Configure webhooks to alert your team when new listings match your criteria.

***

### Using OnTheMarket UK Scraper with the Apify API

The Apify API gives you programmatic access to launch runs, monitor execution status, and stream dataset items in JSON, CSV, or Excel format.

- **Node.js:** Install the `apify-client` NPM package to call `misterkhan/onthemarket-scraper`.
- **Python:** Install the `apify-client` PyPI package to pull datasets directly into pandas or analytics pipelines.
- **AI Agents & MCP:** Connect this Actor to Claude, Cursor, or custom AI agents via the **Apify MCP Server** (`https://mcp.apify.com`).

Check out the [Apify API reference docs](https://docs.apify.com/api/v2) or click on the [API tab](https://apify.com/misterkhan/onthemarket-scraper/api) for ready-to-run code snippets.

***

### Frequently asked questions about OnTheMarket UK Scraper

**🛡️ Do I need to configure proxies? <br>**
No — everything works out of the box with zero setup. Regional routing, session management, and anti-blocking are handled automatically on the backend so you do not need to configure custom proxy settings.

**🏙️ Can I scrape both for-sale and to-rent listings on onthemarket.com? <br>**
Yes. Simply paste any search result URL for properties for sale (/for-sale/) or to rent (/to-rent/) from onthemarket.com into `startUrls`.

**🇬🇧 Does it capture agent contact information? <br>**
Yes. Each record includes the managing agency's branch name, telephone number, and logo URL inside the `agent` object.

***

### Is it legal to scrape OnTheMarket data?

Our scrapers extract publicly available real estate listing metadata displayed on onthemarket.com. They do not bypass authenticated account portals or harvest private personal data. Always ensure your use of extracted data complies with local and international regulations and copyright frameworks. Read Apify's [guide on the legality of web scraping](https://blog.apify.com/is-web-scraping-legal/) to learn more.

***

### Your feedback

We keep this Actor under active maintenance. If a run finishes successfully but returns fewer results than you expected, hangs, or errors — please **open an Issue before posting a public review** so we can diagnose and fix it for you.

**🛠️ How to report** — Use the Actor’s [Issues tab](https://apify.com/misterkhan/onthemarket-scraper/issues/open) in Apify Console. Include the run ID, your input JSON, and what you expected vs. what you got. <br>
**⏱️ Response time** — We aim to reply within 24 hours on business days. <br>
**⭐ Reviews** — Happy with the results? A short positive review helps other users find a reliable scraper. Ran into a problem? Open an Issue first — we’ll work with you to resolve it before you leave a rating. <br>

# Actor input Schema

## `location` (type: `string`):

City, region, or municipality in UK (e.g. 'London'). Optional when startUrls is provided.

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

Paste one or more OnTheMarket UK (onthemarket.com) search or listing URLs (e.g., `https://www.onthemarket.com/for-sale/property/london/`).

## `maxItems` (type: `integer`):

Maximum number of property listings to collect (Free plan runs collect up to 40 results per run; paid plans support unlimited results).

## Actor input object example

```json
{
  "location": "London",
  "startUrls": [
    {
      "url": "https://www.onthemarket.com/for-sale/property/london/"
    }
  ],
  "maxItems": 20
}
```

# Actor output Schema

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

All extracted property listings from OnTheMarket UK (onthemarket.com).

## `usage_summary` (type: `string`):

Execution telemetry and extraction summary stored in the default key-value store.

# 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 = {
    "location": "London",
    "startUrls": [
        {
            "url": "https://www.onthemarket.com/for-sale/property/london/"
        }
    ],
    "maxItems": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("misterkhan/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 = {
    "location": "London",
    "startUrls": [{ "url": "https://www.onthemarket.com/for-sale/property/london/" }],
    "maxItems": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("misterkhan/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 '{
  "location": "London",
  "startUrls": [
    {
      "url": "https://www.onthemarket.com/for-sale/property/london/"
    }
  ],
  "maxItems": 20
}' |
apify call misterkhan/onthemarket-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,misterkhan/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/cDX3ESB690C7jIogF/builds/8QqXTLv4jbFNRz2tJ/openapi.json
