# OnTheMarket Scraper (`parseforge/onthemarket-scraper`) Actor

Scrapes UK property listings from OnTheMarket by location, radius, or property type. Returns each listing as a flat row with price, address, bedrooms, agent details, and full description.

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

## Pricing

from $11.99 / 1,000 result items

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

[![ParseForge](https://raw.githubusercontent.com/ParseForge/apify-assets/main/banner-v4.webp)](https://apify.com/parseforge?fpr=vmoqkp)

### OnTheMarket Scraper

**Scrape UK property listings from OnTheMarket by location, radius, or property type, up to a million per run.** Every listing returns its price, address, bedrooms, bathrooms, floor plans, agent details, and full description. Export to CSV, JSON, Excel, or XML.

OnTheMarket lists thousands of UK homes for sale and to rent, but manually collecting them for market analysis is slow. This scraper reads the public search results directly, filtering by location, price range, property type, and listing status, and returns each match in one fixed schema. No browser needed, no login, and no rate-limit headaches.

| Who uses it | What they scrape OnTheMarket for |
|---|---|
| Estate agents | Monitor competitor pricing and new instructions in their local patch. |
| Property investors | Find undervalued properties matching specific yield criteria across a region. |
| Data analysts | Build a time-series dataset of asking prices and rental values for a city. |
| PropTech startups | Populate a property search app or valuation model with live market listings. |

### What it does

This Actor collects UK property listings from OnTheMarket by search area, radius, or property type, and returns each one as a flat row.

- 📍 **Location search:** scrape by town, postcode, or outcode, with an adjustable radius.
- 🏷️ **Property type filter:** limit results to houses, flats, bungalows, land, or commercial units.
- 💰 **Price range:** set minimum and maximum price to target a specific market segment.
- 🛏️ **Bedroom filter:** collect only properties with a set minimum or maximum number of bedrooms.
- 🏠 **Listing status:** choose from for-sale, to-rent, or both in a single run.
- 🖼️ **Full media:** each row includes image URLs, floor plan links, and EPC ratings where available.
- 📎 **Agent details:** capture the listing agent's name, logo, phone number, and branch address.

Results export to CSV, JSON, Excel, or XML, or straight from the API.

### What you can do with OnTheMarket data

**📊 Build a market report.**

A property analyst scrapes all for-sale listings in Manchester weekly to track asking price trends and average days on market.

**🏡 Find investment deals.**

An investor scrapes 3-bedroom houses under £200k within 10 miles of Liverpool to identify below-market-value opportunities.

**📈 Monitor competitor stock.**

An estate agent scrapes their town every Monday to see which competitor listed what and at what price.

**🗺️ Map rental hotspots.**

A data scientist scrapes all rental listings in Bristol, geocodes the postcodes, and builds a heatmap of average rents by neighbourhood.

### Why choose this scraper

|  | What you get |
|---|---|
| **Fixed output schema** | Every run returns the same fields, so your database or spreadsheet never breaks. |
| **No login or API key** | Reads the public search pages, so you start scraping in seconds. |
| **Runs on the Apify platform** | Schedule it, run it in the cloud, and integrate with Make, Zapier, or any webhook. |
| **Up to 1M listings** | One long run can pull every listing in a city or county. |

### How it compares

This Actor and the other OnTheMarket scraper both pull UK property listings, but they differ in filtering depth and the specific data fields they return.

| Feature | ParseForge | OnTheMarket Scraper | Fast & Reliable |
|---|---|---|
| Location search by postcode | Yes | Not listed |
| Property type filter | Yes | Not listed |
| Price range filter | Yes | Not listed |
| Bedroom count filter | Yes | Not listed |
| Floor plan links | Yes | Not listed |
| Agent branch address | Yes | Not listed |

### Configure the run

Drive the Actor from a location, postcode, or outcode, and filters run as each listing is read so only matches reach your dataset. The Input tab lists every parameter.

A first run with the defaults:

```json
{
  "listType": "best-colleges",
  "maxItems": 10
}
```

A larger pull:

```json
{
  "listType": "best-colleges",
  "maxItems": 200
}
```

### Pricing

Pay-per-result: **$0.01599 per result** collected. You pay only for the results written to your dataset.

| Results collected | Approximate cost |
|---|---|
| 100 results | $1.60 |
| 1,000 results | $15.99 |
| 10,000 results | $159.90 |

New Apify accounts start with $5 in free credit.

### Free users

Free-plan runs return up to 10 results as a preview. [Upgrade your Apify plan](https://console.apify.com/sign-up?fpr=vmoqkp) to collect up to 1,000,000 results per run.

### Run it

1. [Create a free Apify account with $5 in credit](https://console.apify.com/sign-up?fpr=vmoqkp).
2. Open the [OnTheMarket Scraper](https://apify.com/parseforge/onthemarket-scraper?fpr=vmoqkp).
3. Set your inputs and any filters, then click **Start**.
4. Export the results as CSV, Excel, JSON, or XML from the **Dataset** tab.

Run it programmatically through the [Apify API](https://docs.apify.com/api/v2) (`run-sync-get-dataset-items`) or the [ApifyClient](https://docs.apify.com/api/client/js) for JavaScript and Python.

### Use with AI agents (MCP)

Give an AI agent live access to OnTheMarket through the Model Context Protocol. Add the Actor to Claude, Cursor, or any MCP client:

```bash
claude mcp add --transport http apify "https://mcp.apify.com?tools=parseforge/onthemarket-scraper"
```

Then prompt it in plain language to run the scraper and read back the results.

### Troubleshooting

**Why am I getting no results?**

Check your location spelling. Try a broader search, like a town name instead of a full postcode, and increase the radius. Also verify your price and bedroom filters are not too restrictive.

**The run stopped before reaching my max items.**

The Actor stops when OnTheMarket has no more listings matching your filters. Try broadening your search area or removing some filters.

**Some listings are missing agent details.**

OnTheMarket does not always display full agent details on the search results page. The Actor captures everything that is publicly visible.

**The scraper is timing out or getting blocked.**

The Actor uses smart request handling, but if you are running many concurrent requests, try reducing the max items or running during off-peak hours.

**Can I scrape a specific list of postcodes?**

Run the Actor once per postcode. You can use Apify's actor task or a simple script to loop through a list of locations.

### FAQ

| Question | Answer |
|---|---|
| Can I scrape both sales and rental listings in one run? | Yes, set the listing status filter to 'both' and the Actor will collect for-sale and to-rent properties together. |
| What locations can I search? | You can search by town name, full postcode, or the outward code (e.g. 'M1'). The radius filter then expands the search area around that point. |
| Does this scraper get the full property description? | Yes, the full description text is included in every row, along with key features and bullet points the agent has listed. |
| Are agent contact details included? | Yes, the listing agent's name, branch address, phone number, and logo URL are captured where OnTheMarket displays them. |
| Can I filter by property type? | Yes, you can limit results to houses, flats, bungalows, land, or commercial properties. |
| How many listings can I scrape? | You can set the maximum up to 1,000,000 per run. The Actor stops when it hits your limit or runs out of matching listings. |
| Do I need an OnTheMarket account? | No, the Actor reads the public search pages. No login, no cookies, no API key required. |
| Can I get the images and floor plans? | Yes, the dataset includes arrays of photo URLs and a link to the floor plan image where one exists. |
| What format is the data exported in? | You can export to CSV, JSON, Excel, XML, or push the data directly to a webhook or cloud storage. |
| Can I schedule this to run weekly? | Yes, Apify's scheduler lets you set a cron expression to run the Actor automatically, daily, weekly, or at any interval. |

### Related actors

Browse the full [ParseForge collection](https://apify.com/parseforge?fpr=vmoqkp) for more scrapers.

🆘 **Need help?** Email parseforge@protonmail.com with your run ID, your input, and what you expected.

⚠️ **Disclaimer.** This Actor is unofficial and is not affiliated with, endorsed by, or sponsored by OnTheMarket plc. It collects only publicly available data. You are responsible for using the collected data in compliance with the source's terms of service and applicable data-protection laws, including GDPR, CCPA, and PIPL. Do not use it to collect personal data unlawfully.

# Actor input Schema

## `listType` (type: `string`):

The Niche ranking list to scrape. K-12 lists return all school types in the ranking (public, private, charter, etc.).

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

How many properties to collect per run.

## Actor input object example

```json
{
  "listType": "best-colleges",
  "maxItems": 10
}
```

# Actor output Schema

## `overview` (type: `string`):

Overview of scraped schools/colleges with key fields

## `fullData` (type: `string`):

Complete dataset with all scraped fields

# 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 = {
    "listType": "best-colleges",
    "maxItems": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("parseforge/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 = {
    "listType": "best-colleges",
    "maxItems": 10,
}

# Run the Actor and wait for it to finish
run = client.actor("parseforge/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 '{
  "listType": "best-colleges",
  "maxItems": 10
}' |
apify call parseforge/onthemarket-scraper --silent --output-dataset

```

## MCP server setup

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