Discover/OnTheMarket API
live

OnTheMarket APIonthemarket.com

Search UK rental properties on OnTheMarket.com by location, price, bedrooms, and type. Returns listings with address, price, agent details, and features.

This API takes change requests — .
Endpoint health
verified 3d ago
search_rentals
1/1 passing latest checkself-healing
Endpoints
1
Updated
17d ago

What is the OnTheMarket API?

The OnTheMarket Rentals API exposes 1 endpoint — search_rentals — that returns up to 30 rental listings per page from OnTheMarket.com, covering the full UK market. Each result includes address, monthly rent in GBP, bedroom and bathroom counts, property features, and agent details. Location accepts UK postcodes or city/area names, and optional filters let you narrow by price range, bedroom count, property type, and keywords.

This call costs3 credits / call— charged only on success
Try it
Page number for pagination (30 results per page).
Keyword filter for property descriptions (e.g. 'garden', 'air-conditioning', 'parking').
UK postcode (e.g. 'SW1A 1AA') or area/city name (e.g. 'london', 'manchester'). Resolved to a location slug via the OnTheMarket autocomplete API.
Maximum monthly rent in GBP (per calendar month).
Minimum monthly rent in GBP (per calendar month).
Maximum number of bedrooms.
Minimum number of bedrooms.
Filter by property type. When omitted, all property types are returned.
api.parse.bot/scraper/fcb9bd7d-a4e6-4105-80a4-ba97b8eab5cd/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Call it over HTTPgrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/fcb9bd7d-a4e6-4105-80a4-ba97b8eab5cd/search_rentals?page=1&keywords=garden&location=SW1A+1AA&max_price=5000&min_price=1000&max_bedrooms=3&min_bedrooms=2&property_type=detached' \
  -H 'X-API-Key: $PARSE_API_KEY'
Python SDK · recommended

Typed, relational, agent-ready

A generated client with real types, enums, and the links between objects — the structure a flat JSON response can't carry. Autocompletes in your editor and reads cleanly to coding agents.

  • Fully typed · autocompletes
  • Objects link to objects
  • Typed errors & pagination

Typed Python client. Set up the SDK in your uv project, then pull this API’s typed client:

uv add parse-sdk
uv run parse init
uv run parse add --marketplace onthemarket-com-api

uv run parse add --marketplace pulls a pinned snapshot of this canonical API — it won’t change underneath you. To customize it, subscribe and swap to your own copy.

"""Walkthrough: OnTheMarket SDK — bounded, re-runnable; every call capped."""
from parse_apis.onthemarket_com_api import OnTheMarket, PropertyType, LocationNotFound

client = OnTheMarket()

# Search for flats to rent near a London postcode, filtered by price and bedrooms
for prop in client.rental_properties.search(
    location="SW1A 1AA",
    property_type=PropertyType.FLAT,
    min_bedrooms=2,
    max_price=5000,
    limit=3,
):
    print(prop.address, prop.price, prop.bedrooms, prop.property_type)

# Drill-down: take one result
result = client.rental_properties.search(
    location="manchester", keywords="garden", limit=1
).first()
if result:
    print(result.property_title, result.short_price, result.agent_name)

# Typed error handling
try:
    for p in client.rental_properties.search(location="ZZZZZ999", limit=1):
        print(p.address)
except LocationNotFound as e:
    print(f"Location not found: {e.location}")

print("exercised: rental_properties.search")
All endpoints · 1 totalmissing one? ·

Search rental properties by location with optional filters for price range (PCM), bedroom count, property type, and keywords. Returns paginated results with 30 properties per page, auto-iterated by the SDK. Results include address, price, bedrooms, bathrooms, features, agent details, and coordinates.

Input
ParamTypeDescription
pageintegerPage number for pagination (30 results per page).
keywordsstringKeyword filter for property descriptions (e.g. 'garden', 'air-conditioning', 'parking').
locationrequiredstringUK postcode (e.g. 'SW1A 1AA') or area/city name (e.g. 'london', 'manchester'). Resolved to a location slug via the OnTheMarket autocomplete API.
max_priceintegerMaximum monthly rent in GBP (per calendar month).
min_priceintegerMinimum monthly rent in GBP (per calendar month).
max_bedroomsintegerMaximum number of bedrooms.
min_bedroomsintegerMinimum number of bedrooms.
property_typestringFilter by property type. When omitted, all property types are returned.
Response
{
  "type": "object",
  "fields": {
    "page": "current page number",
    "per_page": "number of results per page (always 30)",
    "properties": "array of rental property listings",
    "total_results": "total number of matching properties"
  },
  "sample": {
    "data": {
      "page": 1,
      "per_page": 30,
      "properties": [
        {
          "id": "15071921",
          "price": "£3,900 pcm (£900 pw)",
          "address": "Buckingham Gate, London, SW1E",
          "bedrooms": 2,
          "features": [
            "Nearest station 0.2mi.",
            "Furnished",
            "Nearest school 0.1mi."
          ],
          "latitude": 51.49891,
          "bathrooms": 2,
          "image_url": "https://media.onthemarket.com/properties/15071921/1628608525/image-0-480x320.webp",
          "longitude": -0.138518,
          "agent_name": "Chestertons - Westminster",
          "agent_phone": "020 8022 7380",
          "details_url": "https://www.onthemarket.com/details/15071921/",
          "short_price": "£3,900",
          "property_type": "Flat",
          "property_title": "2 bedroom flat to rent",
          "days_since_added": "Added > 14 days"
        }
      ],
      "total_results": 5
    },
    "status": "success"
  }
}

About the OnTheMarket API

What the API Returns

The search_rentals endpoint queries UK rental listings from OnTheMarket.com and returns a paginated response. Each call yields a properties array alongside total_results, page, and per_page (fixed at 30). Individual property objects include address, monthly rent (PCM in GBP), bedroom count, bathroom count, a features list, and agent contact details.

Filtering and Location

The only required parameter is location, which accepts either a UK postcode (e.g. SW1A 1AA) or a place name (e.g. manchester, edinburgh). Price filters use min_price and max_price in GBP per calendar month. Bedroom range is controlled by min_bedrooms and max_bedrooms. The property_type parameter narrows results to a specific type (e.g. flat, house); omitting it returns all types. The keywords parameter matches against property descriptions for terms like garden, parking, or air-conditioning.

Pagination

Results are paginated at 30 per page. The page parameter selects which page to retrieve, and total_results tells you how many listings match your query in total. The Parse SDK auto-iterates pages when needed, so you can collect full result sets without manually managing page increments.

Reliability & maintenanceVerified

The OnTheMarket API is a managed, monitored endpoint for onthemarket.com — not a raw scraper you maintain. Every endpoint is automatically health-checked on a schedule, and when onthemarket.com changes and a check fails, the API is automatically queued for repair and re-verified. It is built to keep working as the site underneath it changes.

This isn't an official onthemarket.com API — it's an independent, maintained REST wrapper over public data. Where the source has no official API (or only a limited one), Parse gives you a stable contract over a source that never promised one, and keeps it current. Need a new endpoint or field? You can revise it yourself in plain English and the agent rebuilds it against the live site in minutes — contributing the change back to the shared API is free.

Last verified
3d ago
Latest check
1/1 endpoint passing
Maintenance
Monitored & self-healing
Will this API break when the source site changes?+
It's built not to. Every endpoint is health-checked on a schedule with automated test probes. When the source site changes and a check fails, the API is automatically queued for repair and re-verified — that's the self-healing layer. Each API page shows when its endpoints were last verified. And because marketplace APIs are shared, any fix reaches everyone using it.
Is this an official API from the source site?+
No — Parse APIs are independent, managed REST wrappers over publicly available data. That is the point: where a site has no official API (or only a limited one), Parse gives you a maintained, monitored endpoint for that data and keeps it working as the site changes — so you get a stable contract over a source that never promised one.
Can I fix or extend this API myself if I need a new endpoint or field?+
Yes — and you don't have to wait on us. This API was generated by the Parse agent, which stays attached. Describe the change in plain English ("add an endpoint that returns reviews", "fix the price field") in the revise box on the API page or via the revise_api MCP tool, and the agent rebuilds it against the live site in minutes. Contributing the change back to the public API is free.
What happens if I call an endpoint that has an issue?+
Errors are machine-readable: a bad call returns a clean status with the list of available endpoints and a repair hint, so an agent (or you) can recover or trigger a fix instead of failing silently. Confirmed failures feed the automatic repair queue.
Common use cases
  • Build a rental search tool filtered by London postcode, bedroom count, and maximum monthly budget
  • Aggregate property listings across multiple UK cities to compare average asking rents by area
  • Alert users to new listings matching saved keyword searches like 'garden flat' or 'parking included'
  • Track how many rental properties are available in a given postcode over time using total_results
  • Feed agent contact details into a CRM for property professionals monitoring active listings
  • Filter by property_type and min_bedrooms to find family houses available in a target neighbourhood
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo2005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000100 req/min
Team$300/mo20,000300 req/min
Company$1,000/mo100,000500 req/min

Each endpoint has a fixed posted price per successful call — most fall between 1 and 10 credits — shown on this API's page before you run it. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does OnTheMarket have an official developer API?+
OnTheMarket does not offer a public developer API for property search data. Access to listing data is available only through their consumer website.
What property detail fields does each listing include?+
Each item in the properties array includes address, monthly rent in GBP, bedroom count, bathroom count, a features array, and agent details. Keyword filters apply against property descriptions, but the raw description text itself is not a guaranteed top-level field in every response — check the features array for descriptive attributes.
Does the API cover sale listings, not just rentals?+
Not currently. The API covers rental properties only via the search_rentals endpoint. You can fork it on Parse and revise it to add a sales listings endpoint.
Is there a way to get detailed information for a single property by ID?+
Not currently. The API returns listing data through the search results endpoint and does not include a dedicated single-property detail endpoint. You can fork it on Parse and revise it to add property detail lookup by ID.
How fresh are the rental listings returned?+
Listings reflect what is currently published on OnTheMarket.com at the time of the API call. There is no historical archive or change-tracking built into the API, so availability and pricing reflect the live state of the site.
Page content last updated . Spec covers 1 endpoint from onthemarket.com.
Related APIs in Real EstateSee all →
rightmove.co.uk API
Search for properties across the UK's largest property portal and retrieve detailed listings for homes for sale or to rent, including prices, descriptions, and key property information. Find your next home or investment opportunity by browsing available properties and getting comprehensive details on individual listings.
rent.com API
Browse and extract rental property data from Rent.com. Search listings by location and filter by beds, baths, price, and pet policy. Retrieve full property details, floor plans, unit availability, amenities, nearby schools, points of interest, and active specials.
rentals.ca API
Search and browse rental listings across Canada by city or neighbourhood, and view detailed property information including prices, amenities, and availability. Find your next home by filtering thousands of rental properties on Rentals.ca in real-time.
Pararius.nl API
Search and browse rental properties across the Netherlands from Pararius.nl, with filtering by city and detailed property information including pricing, location, and amenities. Access paginated listings to easily discover available rentals that match your needs.
streeteasy.com API
Search and browse NYC apartment rentals to find detailed property information including photos, amenities, pricing, and direct contact details for brokers and agents. Filter through available listings and access comprehensive rental data to help you discover your next home in New York City.
pararius.com API
Search and browse rental property listings on Pararius.com. Filter by city, price, size, and furnishing; retrieve full property details; look up listings by estate agent; and autocomplete location queries.
furnishedfinder.com API
Search for furnished monthly rental listings on FurnishedFinder.com by location and property details. Filter results by price, bedrooms, bathrooms, and property type, and browse available neighborhoods with pagination support.
spotahome.com API
Search rental properties on Spotahome and retrieve detailed listing information including pricing, availability, amenities, pet policy, and landlord profiles. Filter by city, budget, dates, and more to explore mid- to long-term rental options across Spotahome's global inventory.