+OnTheMarket API
UK property listings and estate agents from OnTheMarket as clean JSON.
The API.SH OnTheMarket API covers OnTheMarket, the UK property portal. Search homes for sale and to rent by town, region or postcode district with the site's filters (price, bedrooms, radius, new homes, auction, retirement, shared ownership, pets, furnishing and more), open a listing with tenure, service charge, council tax, EPC rating, nearby stations and schools and similar sold properties, and read an estate agent branch with its listings.
- 3 endpoints
- from $1 / 1,000 calls
- 1,000 free credits / month
- failed calls free
GET https://api.api.sh/onthemarket/v1/ search
{ "success": true } What you can build with the OnTheMarket API
UK property market research
Search a postcode district or town and compare asking prices, bedrooms and property types across areas.
Price reduction tracking
Watch listings labeled reduced and the added or reduced date to spot motivated sellers.
Due diligence on a property
Open a listing for tenure, ground rent, service charge, council tax, EPC rating, area statistics, nearby schools and similar sold properties.
Lettings and niche searches
Filter rentals by pets, furnishing, let length or student, or sales by auction, retirement and shared ownership.
Estate agent intelligence
Pull an agent branch's details, affiliations, testimonials, team size and stock for sale or to rent.
OnTheMarket data you get
Field names from real responses. Numbers come parsed, URLs absolute, dates in ISO 8601.
OnTheMarket API endpoints and prices
Every OnTheMarket endpoint costs 1 credit per call: credits are $1 per 1,000 on a monthly plan, $2 pay-as-you-go. Pricing
| OnTheMarket property search /onthemarket/ | $1 · $2 PAYG 1 credit |
| OnTheMarket estate agent /onthemarket/ | $1 · $2 PAYG 1 credit |
| OnTheMarket listing /onthemarket/ | $1 · $2 PAYG 1 credit |
Call the OnTheMarket API
OnTheMarket property search: GET https://api.api.sh/onthemarket/
curl "https://api.api.sh/onthemarket/v1/search?location=london" \
-H "x-api-key: $APISH_KEY" import os, requests
res = requests.get(
"https://api.api.sh/onthemarket/v1/search",
params={"location": "london"},
headers={"x-api-key": os.environ["APISH_KEY"]},
timeout=120,
)
res.raise_for_status()
data = res.json() const url = new URL("https://api.api.sh/onthemarket/v1/search");
url.searchParams.set("location", "london");
const res = await fetch(url, { headers: { "x-api-key": process.env.APISH_KEY } });
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
const data = await res.json(); # Google Sheets (API.SH add-on)
=APISH("/onthemarket/v1/search", "location", "london")
# Zapier, Make, n8n (verified node): pick the API.SH app,
# choose "OnTheMarket" and "OnTheMarket property search".
# AI agents (Claude, ChatGPT, Cursor): add the
# API.SH MCP server https://api.sh/mcp - Create a free accountConfirm your email and get 1,000 free credits every month. No card needed.
- Create an API keyOne key works for all 482 platforms.
- Send the requestJSON back in one call. Add
output=csvoroutput=ndjsonfor files.
Why API.SH for OnTheMarket data
- Public data only: no OnTheMarket login, cookies or account needed
- One key and one response shape for OnTheMarket and 481 other platforms
- Built and maintained by API.SH, not third-party publishers
- Pay per call; errors on our side cost nothing
- Live status for every endpoint
API.SH vs the official OnTheMarket API
OnTheMarket does not publish a public developer API for reading listings; agents send their stock to it through data feeds from their CRM software. API.SH returns public OnTheMarket search, listing and agent data as JSON.
Instead of maintaining a GitHub OnTheMarket scraper or paying a monthly Apify fee, API.SH gives you one key, one JSON format and a fixed price per call.
OnTheMarket API questions
What OnTheMarket data can I get?+
Property search for sale or to rent with the site's filters (/onthemarket/v1/search), one listing with key information, EPC, area statistics, nearby stations and schools and similar sold properties (/onthemarket/v1/listing), and an estate agent branch with its listings (/onthemarket/v1/agent).
How much does the OnTheMarket API cost?+
Every OnTheMarket endpoint costs 1 credit per call. On a monthly plan 1,000 credits cost $1 (Starter is $50/month for 50,000 credits). Pay-as-you-go is $2 per 1,000 credits, with top-ups from $15 that never expire.
Is there a free trial?+
Yes. Every account gets 1,000 free credits every month. That is 1,000 calls to /onthemarket/v1/agent at 1 credit each.
Is there an official OnTheMarket API?+
Not a public one for reading listings. Agents upload listings through data feeds. API.SH reads the public pages and returns them as JSON.
Do I need a OnTheMarket account or login?+
No. API.SH reads public OnTheMarket pages only. No endpoint uses a login, cookies or anyone's account.
Is there a free UK property API?+
You can start free with API.SH: every account gets 1,000 free credits each month, which you can spend on OnTheMarket search and listing calls.
Is scraping OnTheMarket legal?+
API.SH reads public property pages only. How you use the data is your responsibility: follow OnTheMarket's terms and UK data protection law.
How do I get started?+
1. Sign up at api.sh. 2. Copy your API key. 3. Call /onthemarket/v1/search with a location such as a town or postcode district and type (sale or rent). Every parameter and request example is in the docs at https://api.sh/docs. You can also use the JS or Python SDK, Google Sheets, Zapier, Make, n8n or the MCP server at https://api.sh/mcp.