/onthemarket/agents

POST /api/onthemarket/agents

Price: 10 credits

Get an OnTheMarket estate agent branch profile by slug (or branch profile URL): branch name, address, postcode, phone, description, website, logo and banner images, coordinates, which services the branch offers and how many sale and rental properties it is currently showcasing.

How to use it

Fetch a single OnTheMarket (UK) estate agent branch by slug (e.g. allen-and-harris-bath) or branch profile URL. Returns one item with id, alias, url, name, address, postcode, phone, description, website_url, image, cover, latitude/longitude, rank, is_sales_agent/is_lettings_agent/is_overseas_agent, is_virtual, is_enhanced and sale_property_count/rent_property_count. Get the alias from onthemarket/agents/search or from the agent_alias field on property cards. Use the alias with onthemarket/agents/properties to list every listing the branch markets, and with onthemarket/agents/local for nearby amenities.

Parameters

Request body

Response

Errors

Response headers