Skip to the content

Scraper API

OnTheMarket

onthemarket.searchAvailable

OnTheMarket search

A page of properties: price, bedrooms and bathrooms, address, map point, key features, photos, labels such as Reduced, and the agent with its telephone number.

Give it a place in the United Kingdom, for sale or to rent, and optionally the kind of property, a price and bedroom range, a radius and an order.

1 unit a run, for runs that return data. Runs that fail cost nothing. How units work

Counted
1 unit a run
Inputs
10, 1 required
Record
34 fields
A run takes
up to 5 minutes
Records kept
7 days
Measured
its success, on the status page

POST/v1/scrapers/onthemarket.search/runs

{
"input": {
"location": "leeds",
"sort": "price_low"
}
}

sent, and answered

a record of the run34 fields

{
position: 1
page: 1
property_id: "19966228"
url: "https://www.onthemarket.com/details/19966228/"
listing_type: "for_sale"
title: "3 bedroom detached house for sale"
property_type: "Detached house"
address: "Linton Road, Alwoodley, Leeds"
price: 475000
… 25 more fields

ok1 unit a run

A record this scraper returned for this input. The first 9 of its 34 fields are set down here; the whole record is below.

onthemarket.com
The page OnTheMarket search reads, as a browser shows it
The page this scraper reads, photographed in a browser on 19 November 2026. It belongs to its publisher, who has no part in this service.

What it is used for

Track asking prices in an area
Read a town's or a postcode district's results on a schedule and follow the asking prices, with what is reduced and what is new.
Watch the rental market
Search a city's properties to rent and read each monthly rent with the bedrooms, the address and the agent letting it.
Find the agents of a place
Count a town's adverts by agent_name to see which estate agents and developers market most there, with their telephone numbers.

What you send

A place in the United Kingdom, for sale or to rent, and optionally the kind of property, a price and bedroom range, a radius and an order. These are its 10 inputs, as its schema has them.

locationstring Required
The place as OnTheMarket's own addresses name it, e.g. manchester, north-london, nw7, or the address of a results page on onthemarket.com, from which the place is taken.
listing_typestring Optional
Properties for_sale or to_rent.Default for_sale
property_typestring Optional
Only this kind of property: house, flat, bungalow, land, commercial, farm or park_home.
min_priceinteger Optional
The lowest price in pounds; for a property to rent, the lowest monthly rent.
max_priceinteger Optional
The highest price in pounds; for a property to rent, the highest monthly rent.
min_bedroomsinteger Optional
At least this many bedrooms; 0 is a studio.
max_bedroomsinteger Optional
At most this many bedrooms.
radius_milesnumber Optional
Also search this far around the place, in miles: 0.25, 0.5, 1, 3, 5, 10, 15, 20, 30 or 40.
sortstring Optional
The order of the results.Default recommended
pageinteger Optional
The results page, from 1; 30 properties a page, and OnTheMarket serves at most 34 pages.Default 1

A request, ready to send

It starts a run with the input shown at the top of this page, waits up to 60 seconds for it, and reads its records. Put your key in the variable it reads.

# Start a run and wait up to 60 seconds for it to finish
curl -X POST "https://api.enrichednow.com/v1/scrapers/onthemarket.search/runs?wait=60" \
  -H "Authorization: Bearer $ENRICHEDNOW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"location":"leeds","sort":"price_low"}}'

# Read its records, with the id the first call answered
curl "https://api.enrichednow.com/v1/runs/$RUN_ID/records?limit=100" \
  -H "Authorization: Bearer $ENRICHEDNOW_API_KEY"
from enrichednow import EnrichedNow

client = EnrichedNow()  # reads ENRICHEDNOW_API_KEY

# Start a run, wait for it to end, and get its records
result = client.scrape("onthemarket.search", {
    "location": "leeds",
    "sort": "price_low",
})
print(result.run.id, result.run.status, result.run.record_count)

# Read its records: pages are fetched as you go
for record in result.records:
    print(record)

Install it with pip install enrichednow, then save as run.py and run python3 run.py

import EnrichedNow from "enrichednow";

const client = new EnrichedNow(); // reads ENRICHEDNOW_API_KEY

// Start a run, wait for it to end, and get its records
const { run, records } = await client.scrape("onthemarket.search", {
  location: "leeds",
  sort: "price_low",
});
console.log(run.id, run.status, run.record_count);

// Read its records: pages are fetched as you go
for await (const record of records) console.log(record);

Install it with npm install enrichednow, then save as run.mjs and run node run.mjs

package main

import (
	"context"
	"fmt"
	"log"
	"time"

	enrichednow "github.com/enrichednow/enrichednow-go"
)

func main() {
	client, err := enrichednow.NewClient() // reads ENRICHEDNOW_API_KEY
	if err != nil {
		log.Fatal(err)
	}
	ctx, cancel := context.WithTimeout(context.Background(), 10*time.Minute)
	defer cancel()

	// Start a run, wait for it to end, and get its records
	run, records, err := client.Scrape(ctx, "onthemarket.search", map[string]any{"location": "leeds", "sort": "price_low"})
	if err != nil {
		log.Fatal(err)
	}
	fmt.Println(run.ID, run.Status, run.RecordCount)

	// Read its records: pages are fetched as you go
	for records.Next() {
		fmt.Println(string(records.Current()))
	}
	if err := records.Err(); err != nil {
		log.Fatal(err)
	}
}

Install it with go get github.com/enrichednow/enrichednow-go@latest, then save as run.go and run go run run.go

import com.enrichednow.EnrichedNowClient;
import com.enrichednow.ScrapeResult;
import java.util.Map;

public class Run {
    public static void main(String[] args) {
        EnrichedNowClient client = EnrichedNowClient.fromEnv(); // reads ENRICHEDNOW_API_KEY

        // Start a run, wait for it to end, and get its records
        ScrapeResult result = client.scrape("onthemarket.search", Map.of("location", "leeds", "sort", "price_low"));
        System.out.println(result.run().id() + " " + result.run().status() + " " + result.run().recordCount());

        // Read its records: pages are fetched as you go
        for (Map<String, Object> record : result.records()) {
            System.out.println(record);
        }
    }
}

Add com.enrichednow:enrichednow-java:0.4.0 to your Maven or Gradle build, then save as Run.java

enrichednow run onthemarket.search --input location=leeds --input sort=price_low

Install it with curl -fsSL https://raw.githubusercontent.com/enrichednow/enrichednow-cli/main/install.sh | sh

What comes back

A page of properties: price, bedrooms and bathrooms, address, map point, key features, photos, labels such as Reduced, and the agent with its telephone number. A record has 34 fields. One we could not read is null, never an empty string or a zero.

A record onthemarket.search returned
{
  "position": 1,
  "page": 1,
  "property_id": "19966228",
  "url": "https://www.onthemarket.com/details/19966228/",
  "listing_type": "for_sale",
  "title": "3 bedroom detached house for sale",
  "property_type": "Detached house",
  "address": "Linton Road, Alwoodley, Leeds",
  "price": 475000,
  "price_text": "£475,000",
  "price_qualifier": null,
  "price_frequency": null,
  "bedrooms": 3,
  "bathrooms": 1,
  "latitude": 53.855201,
  "longitude": -1.522944,
  "features": [
    "Tenure: Freehold",
    "Immaculate move in ready property",
    "Recently renovated from top to bottom"
  ],
  "images": [
    "https://media.onthemarket.com/properties/19966228/1630628731/image-0-480x320.jpg",
    "https://media.onthemarket.com/properties/19966228/1630628731/image-1-480x320.jpg",
    "https://media.onthemarket.com/properties/19966228/1630628731/image-2-480x320.jpg"
  ],
  "label": "Spotlight Property",
  "added_or_reduced": "Added > 14 days",
  "is_featured": true,
  "agent_name": "Hunters - North Leeds",
  "agent_telephone": "0113 427 8907",
  "agent_url": "https://www.onthemarket.com/agents/branch/hunters-north-leeds/",
  "description": null,
  "tenure": null,
  "council_tax_band": null,
  "floor_area_sqft": null,
  "floor_area_sqm": null,
  "epc_rating": null,
  "floorplans": [],
  "stations": [],
  "is_new_home": null,
  "fetched_at": "2026-11-19T18:07:41.039970Z"
}

The scraper returned this record for the input above, reading a saved copy of the page, not the live site.

Values shortened for this page: features: 4 items, the first 3 shown; images: 5 items, the first 3 shown.

The fields of a record

positioninteger or null
The property's place on its results page, from 1, counted across pages. Null for onthemarket.property.
pageinteger or null
The results page the property is on. Null for onthemarket.property.
property_idstring
OnTheMarket's id of the property.
urlstring
The property's page.
listing_typestring
for_sale or to_rent.
titlestring or null
The advert's title, e.g. 3 bedroom semi-detached house for sale.
property_typestring or null
The kind of property as OnTheMarket names it, e.g. Semi-detached house, Flat.
addressstring or null
The address as the advert shows it: usually the street, the town and the postcode district, not the house number.
priceinteger or null
The asking price in pounds; for a property to rent, the rent per price_frequency. Null where the advert states none.
price_textstring or null
The price as the page prints it, e.g. £800,000, £1,600 pcm (£369 pw).
price_qualifierstring or null
What the agent says of the price, e.g. Guide price, Offers over, Shared ownership.
price_frequencystring or null
For a property to rent, what the rent in price is for: monthly or weekly. Null for a property for sale.
bedroomsinteger or null
The number of bedrooms; 0 for a studio. Null where the advert states none (land, a plot).
bathroomsinteger or null
The number of bathrooms. Null where the advert states none.
latitudenumber or null
The latitude of the property's point on the map, in decimal degrees.
longitudenumber or null
The longitude of that point.
featureslist of strings
From onthemarket.search: the points the results page lists, the tenure, a label and the nearest station OnTheMarket adds among the agent's first key features. From onthemarket.property: every key feature, as the agent wrote them.
imageslist of strings
The advert's photos, in its order: those a results page shows, or every one, larger, from the property's page.
labelstring or null
The label the page puts on the advert, e.g. Reduced, Added today, New home.
added_or_reducedstring or null
When the advert was added or last reduced, as the page prints it, e.g. Added yesterday, Reduced today.
is_featuredboolean
True for an advert the agent paid to have shown at the top or highlighted.
agent_namestring or null
The estate agent's or developer's branch marketing the property.
agent_telephonestring or null
The branch's telephone number, as the page shows it.
agent_urlstring or null
The branch's page on OnTheMarket.
descriptionstring or null
The advert's full description, with its paragraphs kept. From onthemarket.property only.
tenurestring or null
The tenure the advert states, e.g. Freehold, Leasehold. From onthemarket.property only.
council_tax_bandstring or null
The council tax band the advert states, e.g. Band D. From onthemarket.property only.
floor_area_sqftinteger or null
The floor area the advert states, in square feet. From onthemarket.property only.
floor_area_sqminteger or null
The same floor area in square metres. From onthemarket.property only.
epc_ratingstring or null
The energy performance certificate's rating, A to G, where the advert states it. From onthemarket.property only.
floorplanslist of strings
The advert's floor plans as images. From onthemarket.property only.
stationslist of objects
The stations nearest the property, nearest first. From onthemarket.property only.Each holds name, distance.
is_new_homeboolean or null
True for a newly built home. From onthemarket.property only.
fetched_atdatetime
When the page was read, in UTC.

The whole schema, in its reference

Units and limits

Counted per request
Billed per request: a run that returns data costs 1 unit, however many records it returns.
A miss costs nothing
A run that fails, that meets something not supported yet, or that you cancel costs nothing. You pay for runs that return data.
What bounds a run
A run may take up to 5 minutes. Its records are read in pages of up to 1,000 and are kept for 7 days.

What it does not do

  • One run reads one results page of up to 30 properties; OnTheMarket serves 34 pages of a search.
  • A place is named the way onthemarket.com's own addresses name it, such as leeds or nw7; there is no search by free text.

The bounds its schema sets

listing_type
for_sale, to_rent; for_sale unless you say otherwise
property_type
house, flat, bungalow, land, commercial, farm, park_home
min_price
0 to 100,000,000
max_price
1 to 100,000,000
min_bedrooms
0 to 10
max_bedrooms
0 to 10
sort
recommended, newest, price_high, price_low; recommended unless you say otherwise
page
1 to 34; 1 unless you say otherwise

Scraper API pricing: how units workThe five ways a run ends

Questions

What does OnTheMarket search return?

A page of properties: price, bedrooms and bathrooms, address, map point, key features, photos, labels such as Reduced, and the agent with its telephone number. A record has 34 fields, among them position, page, property_id, url, listing_type and title. A value that could not be read is null, never an empty string or a zero.

What do I send?

A place in the United Kingdom, for sale or to rent, and optionally the kind of property, a price and bedroom range, a radius and an order. The input location is required. Optional: listing_type, property_type, min_price, max_price, min_bedrooms, max_bedrooms, radius_miles, sort and page.

How is it counted?

Billed per request: a run that returns data costs 1 unit, however many records it returns. A run that fails, that meets something not supported yet, or that you cancel costs nothing. The first 1,000 units each month are free.

How much does one run return?

Its schema sets these bounds: listing_type for_sale, to_rent (for_sale unless you say otherwise); property_type house, flat, bungalow, land, commercial, farm, park_home; min_price 0 to 100,000,000; max_price 1 to 100,000,000; min_bedrooms 0 to 10; max_bedrooms 0 to 10; sort recommended, newest, price_high, price_low (recommended unless you say otherwise); page 1 to 34 (1 unless you say otherwise). A run may take up to 5 minutes.

What does it not do?

One run reads one results page of up to 30 properties; OnTheMarket serves 34 pages of a search. A place is named the way onthemarket.com's own addresses name it, such as leeds or nw7; there is no search by free text.

How long are the records kept, and in what format do they come?

Records are kept for 7 days after the run ended, and read in pages of up to 1,000. They come as JSON, as NDJSON with one record a line, or as CSV with a column for each field.

Can an AI assistant call it?

Yes. Through the EnrichedNow MCP server an assistant calls the tool run_scraper with the scraper_id onthemarket.search and the same input. It costs what the same API call costs.

Used in this playbook

A playbook runs OnTheMarket search as one of its steps and hands back the finished list. Its runs of this scraper cost what they cost here, and the playbook adds nothing.

  • Real estate

    Letting Agent Leads (UK)

    The letting agents and letting businesses with the most rentals on Rightmove and OnTheMarket in a UK area, with their branch phone.

OnTheMarket

Property for sale and to rent across the United Kingdom on onthemarket.com, as a visitor who is not signed in sees it.

  • OnTheMarket property

    onthemarket.property

    A property's id on OnTheMarket, or the address of its page. The property: price, rooms, floor area, tenure, council tax band, energy rating, the full description, every photo and floor plan, the nearest stations, and the agent.

OnTheMarket on the line-up

Industry
Real estate

Run it on an input of your own.

Create an account, make a key, and send the request above with your own input. The first 1,000 units each month are free.