# OnTheMarket UK Property Listings Scraper (`adaptive_labs/onthemarket-uk-listings-monitor`) Actor

Scrape OnTheMarket UK property listings for sale or rent by location. Get price, bedrooms, agent name and freshness labels. Only-new mode for scheduled monitoring.

- **URL**: https://apify.com/adaptive_labs/onthemarket-uk-listings-monitor.md
- **Developed by:** [Adaptive Labs](https://apify.com/adaptive_labs) (community)
- **Categories:** Real estate
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

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

## 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 UK Property Listings Scraper

Collect property listings from OnTheMarket search results for sale or to rent, by town or city or by your own saved search URL. Each listing comes back as clean JSON with price, bedrooms, bathrooms, address, agent and how long it has been on the market. Turn on **only new** mode and each run returns just the listings you have not seen before.

### Who it's for

- Estate agents and property investors watching new stock in a set of towns
- Property analysts comparing asking prices across UK locations
- Relocation teams and buyers who want a daily digest of matching homes

### Three ways to use it

1. **Town comparison:** run `london`, `manchester` and `bristol` each week and compare asking prices.
2. **Rental watch:** set **Channel** to `rent` and monitor one area for new lets.
3. **Daily digest:** schedule a search with **Only new since last run** and a unique **Monitor name**, then send the results to a spreadsheet.

### Quick start

1. Either paste OnTheMarket **Search URLs**, or leave them empty and set a **Location slug** such as `london`.
2. Choose a **Channel** (`buy` or `rent`) and set **Max listings** to 25 for your first run.
3. Click **Start** and download the dataset when the run finishes.

For ongoing tracking, turn on **Only new since last run**, set a unique **Monitor name**, and add the Actor to a schedule.

### Input example

```json
{
  "searchUrls": [],
  "locationSlug": "london",
  "channel": "buy",
  "maxListings": 25,
  "onlyNew": true,
  "monitorName": "london-buy-daily"
}
```

### Output example

```json
{
  "listingId": "98765432",
  "url": "https://www.onthemarket.com/details/98765432/",
  "title": "2 bedroom flat for sale",
  "address": "Example Street, London",
  "propertyType": "Flat",
  "bedrooms": 2,
  "bathrooms": 1,
  "price": 425000,
  "shortPrice": "£425k",
  "priceQualifier": "Guide price",
  "daysSinceAddedReduced": 3,
  "mainLabel": "New on market",
  "latitude": 51.5,
  "longitude": -0.1,
  "agentName": "Example Agents",
  "agentId": "4567",
  "imageUrl": "https://media.onthemarket.com/...",
  "searchUrl": "https://www.onthemarket.com/for-sale/property/london/",
  "channel": "buy",
  "source": "onthemarket",
  "scrapedAt": "2026-11-09T09:00:00Z",
  "features": ["Balcony", "Lift"]
}
```

### Output fields

listingId, url, title, address, propertyType, bedrooms, bathrooms, price, shortPrice, priceQualifier, daysSinceAddedReduced, mainLabel, latitude, longitude, agentName, agentId, imageUrl, searchUrl, channel, source, scrapedAt, features.

### Use it from your code or tools

**Apify API (cURL)**: start a run and get the results in one call:

```bash
curl -X POST "https://api.apify.com/v2/acts/adaptive_labs~onthemarket-uk-listings-monitor/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"searchUrls": [], "locationSlug": "london", "channel": "buy", "maxListings": 25}'
```

**JavaScript / TypeScript**

```javascript
import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: 'YOUR_APIFY_TOKEN' });
const run = await client.actor('adaptive_labs/onthemarket-uk-listings-monitor').call({
  "searchUrls": [],
  "locationSlug": "london",
  "channel": "buy",
  "maxListings": 25
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);
```

**Python**

```python
from apify_client import ApifyClient
client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("adaptive_labs/onthemarket-uk-listings-monitor").call(run_input={
  "searchUrls": [],
  "locationSlug": "london",
  "channel": "buy",
  "maxListings": 25
})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)
```

**No-code and AI agents**

- **Make, Zapier, n8n, Google Sheets, Slack**: use the Apify integration for your tool, pick this Actor and map the dataset fields.
- **Schedules and webhooks**: add the Actor to an Apify schedule (for example every morning) and send results anywhere with a webhook.
- **AI agents and MCP**: this Actor works with the Apify MCP server, so Claude, ChatGPT, Cursor and other MCP clients can call it as a tool. Clean, flat JSON output is easy for LLMs to read.
- **Export**: download results as JSON, CSV, Excel, XML or HTML from the Storage tab.

### FAQ

**Does it need an OnTheMarket account or API key?** No. It reads public search result pages.

**What about rate limits?** The Actor paces its requests and retries failed pages with a short back-off. Keep **Max listings** to what you need and avoid running the same search many times an hour.

**How does only-new mode work?** Saved listing IDs are stored under your **Monitor name** and skipped on the next run with the same key. Use one key per search so the histories do not mix.

**Why are some fields empty?** Some listings do not show a price qualifier, features or coordinates. Those fields come back as `null` or an empty list.

**How much does it cost?** The Actor's Apify pricing model is listed as free. Your own Apify platform usage (compute and storage) is billed under your account; check the Pricing tab for the latest terms.

### Responsible use

This Actor reads publicly visible OnTheMarket search results. Follow OnTheMarket's terms of use and applicable data-protection law, and do not use agent or contact details to market to private individuals. This Actor is not affiliated with or endorsed by OnTheMarket.

### Feedback and support

We build and maintain this Actor at **Adaptive Labs** and we read every message.

- If it helped you, please **leave a quick review** on the Actor page. It really helps other people find it.
- Feature requests, bugs or a source you would like added: email **support@adaptivelabs.app** or open an issue on the Issues tab.

# Actor input Schema

## `searchUrls` (type: `array`):

One or more OnTheMarket search result URLs. Leave empty to use locationSlug and channel defaults.

## `locationSlug` (type: `string`):

OnTheMarket location path segment such as london or manchester.

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

buy for sale or rent for to-let.

## `maxListings` (type: `integer`):

Maximum listings to save across all search URLs.

## `onlyNew` (type: `boolean`):

Skip listings already returned by an earlier run that used the same monitor key.

## `monitorName` (type: `string`):

Name of the saved state used for only-new mode.

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

Optional. OnTheMarket search pages normally work without a proxy.

## Actor input object example

```json
{
  "searchUrls": [],
  "locationSlug": "london",
  "channel": "buy",
  "maxListings": 25,
  "onlyNew": false,
  "monitorName": "default",
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `listings` (type: `string`):

Default dataset of monitored listings (overview view).

# 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 = {
    "searchUrls": [],
    "locationSlug": "london",
    "channel": "buy",
    "maxListings": 25,
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("adaptive_labs/onthemarket-uk-listings-monitor").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 = {
    "searchUrls": [],
    "locationSlug": "london",
    "channel": "buy",
    "maxListings": 25,
    "proxyConfiguration": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("adaptive_labs/onthemarket-uk-listings-monitor").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 '{
  "searchUrls": [],
  "locationSlug": "london",
  "channel": "buy",
  "maxListings": 25,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}' |
apify call adaptive_labs/onthemarket-uk-listings-monitor --silent --output-dataset

```

## MCP server setup

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

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/217thWc1GgkukR7sO/builds/jl0VuL73pw2KO4iFt/openapi.json
