OnTheMarket+API.SH

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
OnTheMarket property search
GET https://api.api.sh/onthemarket/v1/search
{ "success": true }
1 credit · $1 per 1,000 calls

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

Search and discovery1
OnTheMarket property search
/onthemarket/v1/search
$1 · $2 PAYG
1 credit
Profiles and accounts1
OnTheMarket estate agent
/onthemarket/v1/agent
$1 · $2 PAYG
1 credit
Products, listings and places1
OnTheMarket listing
/onthemarket/v1/listing
$1 · $2 PAYG
1 credit

Call the OnTheMarket API

OnTheMarket property search: GET https://api.api.sh/onthemarket/v1/search

curl "https://api.api.sh/onthemarket/v1/search?location=london" \
  -H "x-api-key: $APISH_KEY"
  1. Create a free accountConfirm your email and get 1,000 free credits every month. No card needed.
  2. Create an API keyOne key works for all 482 platforms.
  3. Send the requestJSON back in one call. Add output=csv or output=ndjson for 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.

More real estate APIs all real estate APIs →

Start with 1,000 free credits
Every month, on every account. One key works for all 482 platforms.
Get a free API key