# OnTheMarket Scraper — UK Property & Estate Agent Leads (`logiover/onthemarket-scraper`) Actor

Scrape OnTheMarket UK property listings: price, address, bedrooms, bathrooms, tenure, coordinates and the marketing estate agent with name, phone and profile URL. Sale and rental, any location slug. Keyless. Export JSON, CSV or Excel.

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

## Pricing

from $3.50 / 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/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## OnTheMarket Scraper — UK Property & Estate Agent Leads

Export UK property listings from **OnTheMarket** — price, address, bedrooms, tenure, coordinates and the marketing agent's name and telephone — to JSON, CSV or Excel. Keyless, no login.

### What does OnTheMarket Scraper do?

OnTheMarket is the UK's agent-owned portal and the third major listing source alongside Rightmove and Zoopla. Its stock overlaps but is not identical: agencies list here first under the portal's "new and exclusive" window, so properties often appear before they reach the larger portals.

The Actor reads the search page's own Redux state rather than the rendered cards. That matters for two columns buyers care about most. **Coordinates** arrive as real latitude and longitude instead of a map pin you would have to geocode. And every listing carries its **marketing agent** — name, agency profile URL and a **direct telephone number** — which turns a property export into an estate-agency lead list.

Tenure is a special case: OnTheMarket publishes it inside the free-text feature bullets rather than as a field. It is extracted into its own `tenure` column so leasehold and freehold stock can be filtered without string surgery, while the full bullet list is kept as well.

### Who is it for?

- **Estate agencies** tracking competitor stock, pricing and listing age by area.
- **Proptech, CRM and portal vendors** prospecting agency branches by phone.
- **Property investors** filtering leasehold versus freehold at a price band.
- **Market analysts** measuring asking prices per bedroom across postcodes.
- **Developers** building UK property feeds that need coordinates.

### Use cases

- Build an estate-agency contact list for a town, with phone numbers and stock counts.
- Spot new instructions early using the listing age and spotlight labels.
- Compare asking price per bedroom between neighbouring postcodes.
- Filter freehold houses under a budget across a whole city.
- Map inventory density from exact coordinates.

### Why use this Actor?

- **Agent leads included** — name, phone and agency profile on every row.
- **Exact coordinates** — latitude and longitude, no geocoding step.
- **Tenure extracted** from the marketing bullets into its own column.
- **Sale and rental** from one channel switch.
- **Price qualifier kept** — "Offers in excess of" is not silently dropped.
- **Keyless** — no account, no API token, no login.

### What data can you extract?

Every row carries the property ID and URL, title, full address, price as label and number with currency, price qualifier, bedroom and bathroom counts, property type, tenure, the complete feature bullets, latitude and longitude, agent name, phone, ID and profile URL, listing age and label, image count and cover image, virtual-tour and spotlight flags, and the transaction type.

### How to use it

1. Search your area on OnTheMarket and copy the **location slug** from the URL (e.g. `london`, `manchester`, `se1`).
2. Choose sale or rental, and optionally a property type.
3. Set a price band and minimum bedrooms if you need them.
4. Set **Maximum results** and run, then export JSON, CSV or Excel.

### Input example

```json
{
  "location": "manchester",
  "channel": "for-sale",
  "propertyType": "houses",
  "minPrice": 200000,
  "maxPrice": 600000,
  "minBedrooms": 3,
  "maxResults": 1000
}
```

### Notes and limits

- OnTheMarket paginates to roughly 1,000 properties per search. For larger areas, slice the search by price band or by narrower location slugs and merge the exports.
- Prices are asking prices, and some new-build entries quote a development's starting price rather than a specific unit's.
- Agent telephone numbers are the branch's advertised marketing line, not a personal number.
- This Actor exports the search results, not full property pages — open the property URL for the complete description, floorplan and EPC.
- You are responsible for how you use listing and agency data, including under UK GDPR and PECR when contacting agencies.

### FAQ

**Do I need an OnTheMarket account?**
No. Listings are public and the Actor needs nothing from you.

**Where do I find the location slug?**
Run a search on OnTheMarket and copy the segment after `/for-sale/property/` in the URL.

**Does it cover rentals?**
Yes — switch the channel to "To rent".

**How is this different from a Rightmove export?**
Different portal, different stock. OnTheMarket carries agent-exclusive listings that appear here first, so running both gives fuller coverage of a market.

**How am I charged?**
Pay per result — you pay for the properties delivered.

# Actor input Schema

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

OnTheMarket location slug from the search URL, e.g. london, manchester, bristol, se1.

## `channel` (type: `string`):

Sale or rental listings.

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

Narrow to one property type. Leave as any to include everything.

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

Only return properties at or above this price. 0 disables the filter.

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

Only return properties at or below this price. 0 disables the filter.

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

Only return properties with at least this many bedrooms. 0 disables the filter.

## `maxResults` (type: `integer`):

Stop after this many properties. OnTheMarket renders 30 per page and the Actor walks pages until the target is met.

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

OnTheMarket serves listings in the page source; the default datacenter proxy is enough.

## Actor input object example

```json
{
  "location": "london",
  "channel": "for-sale",
  "propertyType": "",
  "minPrice": 0,
  "maxPrice": 0,
  "minBedrooms": 0,
  "maxResults": 500,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `propertyId` (type: `string`):

No description

## `title` (type: `string`):

No description

## `address` (type: `string`):

No description

## `propertyUrl` (type: `string`):

No description

## `priceLabel` (type: `string`):

No description

## `priceAmount` (type: `string`):

No description

## `currency` (type: `string`):

No description

## `priceQualifier` (type: `string`):

No description

## `bedrooms` (type: `string`):

No description

## `bathrooms` (type: `string`):

No description

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

No description

## `tenure` (type: `string`):

No description

## `features` (type: `string`):

No description

## `latitude` (type: `string`):

No description

## `longitude` (type: `string`):

No description

## `agentName` (type: `string`):

No description

## `agentPhone` (type: `string`):

No description

## `agentId` (type: `string`):

No description

## `agentUrl` (type: `string`):

No description

## `listingAge` (type: `string`):

No description

## `listingLabel` (type: `string`):

No description

## `imageCount` (type: `string`):

No description

## `imageUrl` (type: `string`):

No description

## `hasVirtualTour` (type: `string`):

No description

## `isSpotlight` (type: `string`):

No description

## `transactionType` (type: `string`):

No description

## `country` (type: `string`):

No description

## `source` (type: `string`):

No description

## `scrapedAt` (type: `string`):

No description

# 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",
    "channel": "for-sale",
    "propertyType": "",
    "minPrice": 0,
    "maxPrice": 0,
    "minBedrooms": 0,
    "maxResults": 500,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("logiover/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",
    "channel": "for-sale",
    "propertyType": "",
    "minPrice": 0,
    "maxPrice": 0,
    "minBedrooms": 0,
    "maxResults": 500,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("logiover/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",
  "channel": "for-sale",
  "propertyType": "",
  "minPrice": 0,
  "maxPrice": 0,
  "minBedrooms": 0,
  "maxResults": 500,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call logiover/onthemarket-scraper --silent --output-dataset

```

## MCP server setup

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