OnTheMarket Listing API returns one UK property listing from OnTheMarket as JSON. The response carries the id, property type, display price with a numeric GBP value, channel, bedrooms, bathrooms, tenure, key facts, features, the description as HTML and plain text, address, postcode, coordinates, images, floorplans, EPC rating and date, broadband speeds, nearest stations and schools, room sizes, area price statistics and crime level, the estate-agent branch and similar properties.
Run this endpoint
Endpoint
Parameters
Start with the required fields, then add optional filters only when your use case needs them.
Runnable path
1 required parameter needed before sending a request.
string
Required
Property id returned by the search endpoint, e.g. 20318324.
1234567890
Response Schema
Example response fields are illustrative; inspect the JSON before integrating.
Example response fields
Scan these fields before integrating.
data
meta
success
{
"data": {
"listing": {
"id": "20318324",
"epc": {
"date": "2023-12-05",
"rating": "C"
},
"agent": {
"name": "Frank Innes - Mapperley",
"logo_url": "https://media.onthemarket.com/agents/companies/14665/260126142222870/logo-190x100.jpg",
"branch_id": 73818,
"telephone": "0115 691 4648",
"details_url": "https://www.onthemarket.com/agents/branch/frank-innes-mapperley/"
},
"price": "\u00a3525,000",
"rooms": [
{
"name": "Kitchen / Living Room",
"size_text": "6.02m x 3.35m"
}
],
"images": [
{
"url": "https://media.onthemarket.com/properties/20318324/1643568306/image-0-480x320.jpg",
"webp_url": "https://media.onthemarket.com/properties/20318324/1643568306/image-0-480x320.webp",
"large_url": "https://media.onthemarket.com/properties/20318324/1643568306/image-0-1024x1024.jpg",
"position_caption": "Image 1 of 13"
}
],
"tenure": "Freehold",
"address": "Faringford Road, London, E15",
"channel": "sale",
"schools": [
{
"name": "Porchester Junior School",
"distance": "0.3mi."
}
],
"bedrooms": 3,
"features": [
"Freehold",
"Extended Three-bedroom family home",
"Modern shower and ground floor w/c"
],
"key_info": [
{
"label": "Tenure",
"value": "Freehold"
},
{
"label": "Council tax",
"value": "Ask agent"
}
],
"location": {
"lat": 51.539824,
"lon": 0.006288
},
"postcode": "E15 4DP",
"stations": [
{
"name": "Carlton Station",
"distance": "1.7mi."
}
],
"bathrooms": 3,
"branch_id": 73402,
"broadband": {
"date": "2021-12-16",
"broadband_type": "ultra-fast",
"max_upload_mbps": 1000,
"max_download_mbps": 1000
},
"area_stats": {
"crimes": {
"label": "Low",
"level": "low"
},
"avg_home_prices": {
"price": "\u00a3549,971",
"title": "3 bedroom terraced houses",
"price_value": 549971
}
},
"floorplans": [
{
"url": "https://media.onthemarket.com/properties/20318324/1643568306/floor-plan-0-480x320.jpg",
"large_url": "https://media.onthemarket.com/properties/20318324/1643568306/floor-plan-0-1024x1024.jpg",
"position_caption": "Floorplan"
}
],
"description": "<br/>A great opportunity to purchase this beautiful three double bedroom period property on Faringford Road.",
"price_value": 525000,
"description_text": "A great opportunity to purchase this beautiful three double bedroom period property on Faringford Road.",
"similar_properties": [
{
"id": "18698609",
"price": "\u00a3265,000",
"address": "Turneys Court, Nottingham, Nottinghamshire, NG2",
"bedrooms": 2,
"price_value": 265000,
"property_url": "https://www.onthemarket.com/details/18698609/",
"property_title": "2 bedroom flat for sale",
"humanised_property_type": "Flat"
}
],
"humanised_property_type": "Terraced house"
}
},
"meta": {
"billable": true,
"endpoint_family": "listing"
},
"success": true
}
Errors
Handle these documented responses before retrying or showing customer-facing failures.
Validation Error
A public parameter is missing or invalid. This response is not billable.
{
"errors": {
"id": [
"The id field is required."
]
},
"message": "The request validation failed"
}Not Found
The property id is unknown or the listing has been removed. This response is not billable.
{
"meta": {
"billable": false,
"retryable": false,
"endpoint_family": "listing"
},
"error": {
"code": "NOT_FOUND",
"message": "The requested OnTheMarket resource was not found."
},
"success": false
}Invalid Source Response
OnTheMarket returned a response that could not be parsed. This response is not billable.
{
"meta": {
"billable": false,
"retryable": false,
"endpoint_family": "listing"
},
"error": {
"code": "UPSTREAM_UNAVAILABLE",
"message": "OnTheMarket returned an unexpected response."
},
"success": false
}Service Unavailable
The upstream source is temporarily unavailable or returned an unexpected shape. This response is not billable and can be retried.
{
"meta": {
"billable": false,
"retryable": true,
"endpoint_family": "listing"
},
"error": {
"code": "UPSTREAM_UNAVAILABLE",
"message": "The OnTheMarket API is temporarily unavailable. Please retry."
},
"success": false
}Generate Code with AI
Copy a ready-made prompt with all the endpoint details, parameters, and example responses. Paste it into ChatGPT, Claude, or any AI assistant to instantly generate working code.
Try It Live
Test this endpoint in our interactive playground with real data.