Scraper API
OnTheMarketonthemarket.propertyAvailable
OnTheMarket property
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.
Give it a property's id on OnTheMarket, or the address of its page.
1 unit a run, for runs that return data. Runs that fail cost nothing. How units work
- Counted
- 1 unit a run
- Inputs
- 1, 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.property/runs
sent, and answered
a record of the run34 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.

What it is used for
- Read a listing in full
- The full description, tenure, council tax band, floor area and energy rating of one property, with every photo and floor plan.
- Value a home by its neighbours
- Read the properties near one for sale and compare their
pricewithfloor_area_sqftandbedrooms, street by street. - Know how it is served
stationslists the nearest railway, Underground and tram stations with how far each is, for a short list of homes.
What you send
A property's id on OnTheMarket, or the address of its page. It is the one input.
propertystring Required- The property's id on OnTheMarket, e.g.
20774770, or the address of its page,https://www.onthemarket.com/details/20774770/.
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.property/runs?wait=60" \
-H "Authorization: Bearer $ENRICHEDNOW_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input":{"property":"20774770"}}'
# 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.property", {"property": "20774770"})
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.property", { property: "20774770" });
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.property", map[string]any{"property": "20774770"})
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.property", Map.of("property", "20774770"));
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.property --input-json '{"property":"20774770"}'Install it with curl -fsSL https://raw.githubusercontent.com/enrichednow/enrichednow-cli/main/install.sh | sh
What comes back
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. A record has 34 fields. One we could not read is null, never an empty string or a zero.
{
"position": null,
"page": null,
"property_id": "20774770",
"url": "https://www.onthemarket.com/details/20774770/",
"listing_type": "for_sale",
"title": "3 bedroom semi-detached house for sale",
"property_type": "Semi-detached house",
"address": "Lee Road, London, NW7",
"price": 800000,
"price_text": "£800,000",
"price_qualifier": null,
"price_frequency": null,
"bedrooms": 3,
"bathrooms": 3,
"latitude": 51.605718,
"longitude": -0.211371,
"features": [
"Semi-detached family home",
"Modern",
"Extended"
],
"images": [
"https://media.onthemarket.com/properties/20774770/1659168196/image-0-1024x1024.jpg",
"https://media.onthemarket.com/properties/20774770/1659168196/image-1-1024x1024.jpg",
"https://media.onthemarket.com/properties/20774770/1659168196/image-2-1024x1024.jpg"
],
"label": "Added yesterday",
"added_or_reduced": "Added yesterday",
"is_featured": true,
"agent_name": "Martyn Gerrard - Mill Hill",
"agent_telephone": "020 8128 0693",
"agent_url": "https://www.onthemarket.com/agents/branch/martyn-gerrard-mill-hill/",
"description": "An impressive three/four bedroom semi-detached family home, tucked away in a peaceful cul-de-sac close to Mill Hill East Underground Station.\nOffering over 1,300 sq. ft. of accommodation, the property has been extended and modernised … [truncated]",
"tenure": "Freehold",
"council_tax_band": "Band D",
"floor_area_sqft": 721,
"floor_area_sqm": 67,
"epc_rating": "F",
"floorplans": [
"https://media.onthemarket.com/properties/20774770/1659168196/floor-plan-0-1024x1024.jpg"
],
"stations": [
{
"name": "Mill Hill East Underground",
"distance": "0.2mi."
},
{
"name": "Finchley Central Underground",
"distance": "0.9mi."
},
{
"name": "West Finchley Underground",
"distance": "1.0mi."
}
],
"is_new_home": false,
"fetched_at": "2026-11-19T18:07:41.031758Z"
}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: 10 items, the first 3 shown; images: 25 items, the first 3 shown; description: 1,001 characters, the first 233 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_typestringfor_saleorto_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
priceis for:monthlyorweekly. 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. Fromonthemarket.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.propertyonly. tenurestring or null- The tenure the advert states, e.g.
Freehold,Leasehold. Fromonthemarket.propertyonly. council_tax_bandstring or null- The council tax band the advert states, e.g.
Band D. Fromonthemarket.propertyonly. floor_area_sqftinteger or null- The floor area the advert states, in square feet. From
onthemarket.propertyonly. floor_area_sqminteger or null- The same floor area in square metres. From
onthemarket.propertyonly. epc_ratingstring or null- The energy performance certificate's rating,
AtoG, where the advert states it. Fromonthemarket.propertyonly. floorplanslist of strings- The advert's floor plans as images. From
onthemarket.propertyonly. stationslist of objects- The stations nearest the property, nearest first. From
onthemarket.propertyonly.Each holdsname,distance. is_new_homeboolean or null- True for a newly built home. From
onthemarket.propertyonly. fetched_atdatetime- When the page was read, in UTC.
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 property.
- A property that was taken off ends as failed, with the reason not_found, and costs nothing.
Questions
What does OnTheMarket property return?
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. 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 property's id on OnTheMarket, or the address of its page. The input property is required.
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.
What does it not do?
One run reads one property. A property that was taken off ends as failed, with the reason not_found, and costs nothing.
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.property and the same input. It costs what the same API call costs.
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 search
onthemarket.searchA 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. 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.
- Industry
- Real estate
- Where
- United Kingdom
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.