# OnTheMarket Only With Us Shortlist (`jpmarketdata/onthemarket-only-with-us-shortlist`) Actor

Discover source-labelled Only With Us sale and rental listings from bounded recommended search pages, separating live countdown windows from no-countdown exclusives with explicit partial coverage.

- **URL**: https://apify.com/jpmarketdata/onthemarket-only-with-us-shortlist.md
- **Developed by:** [h ichi](https://apify.com/jpmarketdata) (community)
- **Categories:** Real estate, Automation
- **Stats:** 2 total users, 1 monthly users, 93.8% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$1.50 / 1,000 only with us property delivereds

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 Only With Us Shortlist

Discover source-labelled Only With Us sale and rental opportunities on bounded recommended search pages. The source distinguishes timed early windows with a countdown from no-countdown exclusives. This Actor reports the source claim and never verifies absence on Rightmove or Zoopla.

### Input

One to five exact public `https://www.onthemarket.com/for-sale/property/{area}/` or `/to-rent/property/{area}/` URLs. Default scans the first two recommended England sale pages, a partial national sample. The source robots file disallows recent sorting, maps, price/bed/radius facets and agent contact pages; those URLs are rejected. `maxPagesPerSearch` 1–3, default 2; `maxItems` 1–150, default 60.

### Output

One row per unique source-labelled exclusive property ID, with general area, public asking GBP amount, sale/rent type, `exclusiveKind` (`early_window` when a future countdown exists or `no_countdown` otherwise), future expiry if present, source page and observed time. No exact address, seller/agent contact, photo, coordinates or raw HTML. OUTPUT contains total advertised cards, scanned pages/cards, exclusive rows, cap reasons and completeness. Broad areas and page caps are partial; recommended order is neither complete nor newest. A genuinely zero-exclusive scoped scan returns no chargeable rows plus coverage. Fail on blocks, rate limits, malformed state, inconsistent pages and timeouts.

### Limits

Use uniquely identifying User Agent, exact robots checks, sequential requests paced at least one second, at most 16 GETs including robots, at most 2 MiB/page and 180 seconds within 256 MB. Only public HTML is read; no proxy, paid API, login, images or browser. ## Privacy and rights

Terms §§2.2, 3.3 and 3.4 are quoted in the scout under DR-0007; this Actor is unaffiliated with OnTheMarket.

### Pricing

One `onthemarket-exclusive-delivered` primary event at $0.0015 per unique exclusive row actually delivered to the dataset. No custom start or secondary event. Apify platform memory/start charges may still apply.

# Actor input Schema

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

One to five exact public OnTheMarket sale or rent property-area URLs. Recommended order only; no newest/full-market claim.

## `maxPagesPerSearch` (type: `integer`):

Read up to this many 30-card recommended pages per search; report partial coverage when more results exist.

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

Global cap on unique Only With Us rows delivered; a mid-page cap has no exact resume cursor.

## Actor input object example

```json
{
  "searchUrls": [
    "https://www.onthemarket.com/for-sale/property/england/"
  ],
  "maxPagesPerSearch": 2,
  "maxItems": 60
}
```

# Actor output Schema

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

No description

## `coverage` (type: `string`):

Recommended-page scan counts, source totals, partiality and cap reasons; no complete national/newest guarantee.

# 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": [
        "https://www.onthemarket.com/for-sale/property/england/"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("jpmarketdata/onthemarket-only-with-us-shortlist").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": ["https://www.onthemarket.com/for-sale/property/england/"] }

# Run the Actor and wait for it to finish
run = client.actor("jpmarketdata/onthemarket-only-with-us-shortlist").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": [
    "https://www.onthemarket.com/for-sale/property/england/"
  ]
}' |
apify call jpmarketdata/onthemarket-only-with-us-shortlist --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,jpmarketdata/onthemarket-only-with-us-shortlist"
        }
    }
}
```

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/3jKmynk75amEKSvXq/builds/GG31bjXSdl9V8kbS8/openapi.json
