Estate & Letting Agents in Monk Fryston, North Yorkshire

Find Estate Agents in Monk Fryston, North Yorkshire
13 results
Hunters

Wetherby

Sales
5 active listings in Monk Fryston, North Yorkshire, England
104 total
5a Market Place, Wetherby, LS22 6LQ
View Profile
Emsleys Estate Agents
3 active listings in Monk Fryston, North Yorkshire, England
49 total
4 Wolsey Parade, Sherburn In Elmet, LS25 6BQ
View Profile
Domus Residential

Covering Leeds

Sales
1 active listing in Monk Fryston, North Yorkshire, England
36 total
Leeds
Jigsaw Move

Selby

Sales
1 active listing in Monk Fryston, North Yorkshire, England
81 total
11 Finkle Street, Selby, YO8 4DT
View Profile
Linley & Simpson

Wetherby

Lettings Sales
1 active listing in Monk Fryston, North Yorkshire, England
38 total
30 North Street, Wetherby, LS22 6NN
View Profile
Mike Dobson

Sherburn-In-Elmet

Sales
1 active listing in Monk Fryston, North Yorkshire, England
8 total
98 Wolsey Croft, Sherburn In Elmet, LS25 6DP
View Profile
Monroe Estate Agents

Boston Spa

Sales
1 active listing in Monk Fryston, North Yorkshire, England
75 total
181A High Street, Boston Spa, Leeds, LS23 6AA
View Profile
Park Row Properties

Sherburn

Sales
1 active listing in Monk Fryston, North Yorkshire, England
66 total
34 Low Street, Sherburn, Elmet, LS25 6BA
View Profile
Prime Residential
1 active listing in Monk Fryston, North Yorkshire, England
14 total
York Science Park Ltd, Innovation Centre, Innovation Way, Heslington, York, YO10 5DG
View Profile
Reeds Rains

Selby

Lettings Sales
1 active listing in Monk Fryston, North Yorkshire, England
62 total
1 Finkle Street, Selby, YO8 4DT
View Profile
Renton & Parr

Wetherby

Sales
1 active listing in Monk Fryston, North Yorkshire, England
131 total
47 Market Place, Wetherby, LS22 6LN
View Profile
Springbok Properties
1 active listing in Monk Fryston, North Yorkshire, England
1,297 total
Springbok Properties Nationwide Suite 7N Trafford House Chester Road Old Trafford M32 0RS
View Profile
Stephensons

Selby

Sales
1 active listing in Monk Fryston, North Yorkshire, England
61 total
43 Gowthorpe, Selby, YO8 4HE
View Profile
initializeAllPremierCards() }); // Load detailed stats function function loadDetailedStats() { const button = document.getElementById('load-more-stats'); const statsContainer = document.getElementById('detailed-stats'); if (statsContainer.classList.contains('hidden')) { // Show loading state button.innerHTML = ` Loading... `; // Make AJAX call for detailed stats const location = 'Monk Fryston, North Yorkshire'; const agentType = ''; fetch(`/api/agents/detailed-stats?location=${encodeURIComponent(location)}&type=${agentType}`) .then(response => response.json()) .then(data => { // Build detailed stats HTML let statsHtml = '
'; // Property types breakdown if (data.propertyTypes && Object.keys(data.propertyTypes).length > 0) { statsHtml += `
Property Types
`; for (const [type, count] of Object.entries(data.propertyTypes)) { const percentage = Math.round((count / data.totalProperties) * 100); statsHtml += `
${type}: ${count.toLocaleString()} (${percentage}%)
`; } statsHtml += '
'; } // Price ranges if (data.priceRanges) { statsHtml += `
Price Ranges
Avg Sale Price: £${data.priceRanges.avgSalePrice?.toLocaleString() || 'N/A'}
Avg Rent PCM: £${data.priceRanges.avgRentPrice?.toLocaleString() || 'N/A'}
`; } // Top performing agents if (data.topAgents && data.topAgents.length > 0) { statsHtml += `
Top Agents
`; data.topAgents.slice(0, 3).forEach(agent => { statsHtml += `
${agent.name}: ${agent.property_count} props
`; }); statsHtml += '
'; } statsHtml += '
'; // Show stats statsContainer.innerHTML = statsHtml; statsContainer.classList.remove('hidden'); // Update button button.innerHTML = ` Hide Insights `; }) .catch(error => { // If API fails, show some calculated stats from existing data const agents = [{"core_branch_id":57953,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"Hunters","email":"wetherby@huntersnet.co.uk","sales_phone_number":"01937 588228","address":"5a Market Place,\r\nWetherby,\r\nLS22 6LQ","postcode":"LS22 6LQ","website_url":"https:\/\/www.hunters.com\/","description":null,"listings_feed_url":null,"feed_format":null,"last_feed_sync":null,"crm_provider":null,"logo":"https:\/\/cdn.home.co.uk\/agents\/57953\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:18:05.000000Z","updated_at":"2026-01-20T19:55:36.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":57953,"agent_company_id":98,"branch_location":"Wetherby","lettings_phone_number":null,"is_sales":true,"is_lettings":false,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E61000009C69C2F69331F6BF12C0CDE2C5F64A40","agent_brand_id":290,"offers_sales":true,"offers_lettings":true,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"5a Market Place, Wetherby","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Hunters","branch_name":"Wetherby","lettings":false,"sales":true,"commercial":false,"h_email":"wetherby@huntersnet.co.uk","has_email":true,"h_phone":"01937 588228","has_phone":true,"resolved_brand_color":"#193273","boundary_listing_count":"5","property_count":"104","latitude":53.927914,"longitude":-1.387104},{"core_branch_id":57972,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"Emsleys Estate Agents","email":"sherburn@emsleysestateagents.co.uk","sales_phone_number":"01977 680088","address":"4 Wolsey Parade,\r\nSherburn In Elmet,\r\nLS25 6BQ","postcode":"LS25 6BQ","website_url":"http:\/\/www.emsleysestateagents.co.uk","description":null,"listings_feed_url":null,"feed_format":null,"last_feed_sync":null,"crm_provider":null,"logo":"https:\/\/cdn.home.co.uk\/agents\/57972\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:18:06.000000Z","updated_at":"2026-01-20T19:56:11.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":57972,"agent_company_id":542,"branch_location":"Sherburn","lettings_phone_number":null,"is_sales":true,"is_lettings":false,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E6100000E15F048D9904F4BF3F027FF8F9E54A40","agent_brand_id":995,"offers_sales":true,"offers_lettings":false,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"4 Wolsey Parade, Sherburn In Elmet","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Emsleys Estate Agents","branch_name":"Sherburn","lettings":false,"sales":true,"commercial":false,"h_email":"sherburn@emsleysestateagents.co.uk","has_email":true,"h_phone":"01977 680088","has_phone":true,"resolved_brand_color":"#005550","boundary_listing_count":"3","property_count":"49","latitude":53.796691,"longitude":-1.251123},{"core_branch_id":67034,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"Domus Residential","email":null,"sales_phone_number":"0113 873 0737","address":"Leeds","postcode":null,"website_url":null,"description":null,"listings_feed_url":null,"feed_format":null,"last_feed_sync":null,"crm_provider":null,"logo":"https:\/\/cdn.home.co.uk\/agents\/67034\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:23:02.000000Z","updated_at":"2025-12-12T13:00:59.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":67034,"agent_company_id":5968,"branch_location":"Covering Leeds","lettings_phone_number":null,"is_sales":true,"is_lettings":false,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E6100000282D5C5661B3F8BFF19E03CB11E64A40","agent_brand_id":6779,"offers_sales":true,"offers_lettings":true,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":null,"has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Domus Residential","branch_name":"Covering Leeds","lettings":false,"sales":true,"commercial":false,"h_email":null,"has_email":false,"h_phone":"0113 873 0737","has_phone":true,"resolved_brand_color":"#ffcc3d","boundary_listing_count":"1","property_count":"36","latitude":53.797418,"longitude":-1.543794},{"core_branch_id":66858,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"Jigsaw Move","email":"info@jigsawletting.co.uk","sales_phone_number":"01757 241123","address":"11 Finkle Street,\r\nSelby,\r\nYO8 4DT","postcode":"YO8 4DT","website_url":"https:\/\/www.jigsawletting.co.uk","description":null,"listings_feed_url":null,"feed_format":null,"last_feed_sync":null,"crm_provider":null,"logo":"https:\/\/cdn.home.co.uk\/agents\/66858\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:22:56.000000Z","updated_at":"2026-01-20T19:58:33.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":66858,"agent_company_id":5384,"branch_location":"Selby","lettings_phone_number":null,"is_sales":true,"is_lettings":false,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E6100000B398D87C5C1BF1BF2864E76D6CE44A40","agent_brand_id":6171,"offers_sales":true,"offers_lettings":false,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"11 Finkle Street, Selby","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Jigsaw Move","branch_name":"Selby","lettings":false,"sales":true,"commercial":false,"h_email":"info@jigsawletting.co.uk","has_email":true,"h_phone":"01757 241123","has_phone":true,"resolved_brand_color":"#f2d2e5","boundary_listing_count":"1","property_count":"81","latitude":53.784559,"longitude":-1.06918},{"core_branch_id":57957,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"Linley \u0026 Simpson","email":"sales.wetherby@linleyandsimpson.co.uk","sales_phone_number":"01937 586060","address":"30 North Street,\r\nWetherby,\r\nLS22 6NN","postcode":"LS22 6NN","website_url":"https:\/\/www.linleyandsimpson.co.uk","description":null,"listings_feed_url":null,"feed_format":null,"last_feed_sync":null,"crm_provider":null,"logo":"https:\/\/cdn.home.co.uk\/agents\/57957\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:18:06.000000Z","updated_at":"2026-01-20T20:00:30.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":57957,"agent_company_id":496,"branch_location":"Wetherby","lettings_phone_number":"01937 586060","is_sales":true,"is_lettings":true,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E6100000D3DEE00B9329F6BFD28F8653E6F64A40","agent_brand_id":881,"offers_sales":true,"offers_lettings":true,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"30 North Street, Wetherby","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Linley \u0026 Simpson","branch_name":"Wetherby","lettings":true,"sales":true,"commercial":false,"h_email":"sales.wetherby@linleyandsimpson.co.uk","has_email":true,"h_phone":"01937 586060","has_phone":true,"resolved_brand_color":"#6dc0dc","boundary_listing_count":"1","property_count":"38","latitude":53.928904,"longitude":-1.38515},{"core_branch_id":57973,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"Mike Dobson","email":"sherburn@mdobson.co.uk","sales_phone_number":"01977 684258","address":"98 Wolsey Croft,\r\nSherburn In Elmet,\r\nLS25 6DP","postcode":"LS25 6DP","website_url":"https:\/\/www.mdobson.co.uk","description":null,"listings_feed_url":null,"feed_format":null,"last_feed_sync":null,"crm_provider":null,"logo":"https:\/\/cdn.home.co.uk\/agents\/57973\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:18:06.000000Z","updated_at":"2026-01-20T19:57:59.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":57973,"agent_company_id":6584,"branch_location":"Sherburn-In-Elmet","lettings_phone_number":null,"is_sales":true,"is_lettings":false,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E610000023F94A2025F6F3BFF04DD36707E64A40","agent_brand_id":7411,"offers_sales":true,"offers_lettings":false,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"98 Wolsey Croft, Sherburn In Elmet","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Mike Dobson","branch_name":"Sherburn-In-Elmet","lettings":false,"sales":true,"commercial":false,"h_email":"sherburn@mdobson.co.uk","has_email":true,"h_phone":"01977 684258","has_phone":true,"resolved_brand_color":"#fff005","boundary_listing_count":"1","property_count":"8","latitude":53.797101,"longitude":-1.247594},{"core_branch_id":57961,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"Monroe Estate Agents","email":"bostonspa@monroeestateagents.com","sales_phone_number":"01937 534755","address":"181A High Street,\r\nBoston Spa,\r\nLeeds,\r\nLS23 6AA","postcode":"LS23 6AA","website_url":"https:\/\/www.monroeestateagents.com\/branches\/boston-spa\/","description":null,"listings_feed_url":null,"feed_format":null,"last_feed_sync":null,"crm_provider":null,"logo":"https:\/\/cdn.home.co.uk\/agents\/57961\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:18:06.000000Z","updated_at":"2026-01-20T19:57:14.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":57961,"agent_company_id":2999,"branch_location":"Boston Spa","lettings_phone_number":null,"is_sales":true,"is_lettings":false,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E6100000EEEA55647480F5BFBE2EC37FBAF34A40","agent_brand_id":3664,"offers_sales":true,"offers_lettings":false,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"181A High Street, Boston Spa, Leeds","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Monroe Estate Agents","branch_name":"Boston Spa","lettings":false,"sales":true,"commercial":false,"h_email":"bostonspa@monroeestateagents.com","has_email":true,"h_phone":"01937 534755","has_phone":true,"resolved_brand_color":"#242a3f","boundary_listing_count":"1","property_count":"75","latitude":53.904129,"longitude":-1.343861},{"core_branch_id":57971,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"Park Row Properties","email":"sherburn@parkrowproperties.co.uk","sales_phone_number":"01977 681122","address":"34 Low Street,\r\nSherburn,\r\nElmet,\r\nLS25 6BA","postcode":"LS25 6BA","website_url":"http:\/\/www.parkrowproperties.co.uk\/","description":null,"listings_feed_url":null,"feed_format":null,"last_feed_sync":null,"crm_provider":null,"logo":"https:\/\/cdn.home.co.uk\/agents\/57971\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:18:06.000000Z","updated_at":"2026-01-20T19:55:35.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":57971,"agent_company_id":5387,"branch_location":"Sherburn","lettings_phone_number":null,"is_sales":true,"is_lettings":false,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E6100000637D03931B05F4BFCCCF0D4DD9E54A40","agent_brand_id":6175,"offers_sales":true,"offers_lettings":false,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"34 Low Street, Sherburn, Elmet","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Park Row Properties","branch_name":"Sherburn","lettings":false,"sales":true,"commercial":false,"h_email":"sherburn@parkrowproperties.co.uk","has_email":true,"h_phone":"01977 681122","has_phone":true,"resolved_brand_color":"#dd4e93","boundary_listing_count":"1","property_count":"66","latitude":53.795694,"longitude":-1.251247},{"core_branch_id":66750,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"Prime Residential","email":"info@prime-resi.com","sales_phone_number":"01904 202820","address":"York Science Park Ltd,\r\nInnovation Centre,\r\nInnovation Way,\r\nHeslington,\r\nYork,\r\nYO10 5DG","postcode":"YO10 5DG","website_url":"https:\/\/www.prime-resi.com","description":null,"listings_feed_url":null,"feed_format":null,"last_feed_sync":null,"crm_provider":null,"logo":"https:\/\/cdn.home.co.uk\/agents\/66750\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:22:53.000000Z","updated_at":"2026-01-20T20:01:03.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":66750,"agent_company_id":9386,"branch_location":"York","lettings_phone_number":null,"is_sales":true,"is_lettings":false,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E610000074435376FAC1F0BF0229B16B7BF94A40","agent_brand_id":10282,"offers_sales":true,"offers_lettings":false,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"York Science Park Ltd, Innovation Centre, Innovation Way, Heslington, York","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Prime Residential","branch_name":"York","lettings":false,"sales":true,"commercial":false,"h_email":"info@prime-resi.com","has_email":true,"h_phone":"01904 202820","has_phone":true,"resolved_brand_color":"#32414f","boundary_listing_count":"1","property_count":"14","latitude":53.949079,"longitude":-1.047358},{"core_branch_id":66859,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"Reeds Rains","email":"selby@reedsrains.co.uk","sales_phone_number":"01757 213733","address":"1 Finkle Street,\r\nSelby,\r\nYO8 4DT","postcode":"YO8 4DT","website_url":"https:\/\/www.reedsrains.co.uk\/estate-agent\/selby","description":null,"listings_feed_url":null,"feed_format":null,"last_feed_sync":null,"crm_provider":null,"logo":"https:\/\/cdn.home.co.uk\/agents\/66859\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:22:56.000000Z","updated_at":"2026-01-20T19:58:33.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":66859,"agent_company_id":102,"branch_location":"Selby","lettings_phone_number":"01757 213733","is_sales":true,"is_lettings":true,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E6100000B398D87C5C1BF1BF2864E76D6CE44A40","agent_brand_id":303,"offers_sales":true,"offers_lettings":true,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"1 Finkle Street, Selby","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Reeds Rains","branch_name":"Selby","lettings":true,"sales":true,"commercial":false,"h_email":"selby@reedsrains.co.uk","has_email":true,"h_phone":"01757 213733","has_phone":true,"resolved_brand_color":"#002264","boundary_listing_count":"1","property_count":"62","latitude":53.784559,"longitude":-1.06918},{"core_branch_id":57951,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"Renton \u0026 Parr","email":"sales@rentonandparr.co.uk","sales_phone_number":"01937 582731","address":"47 Market Place,\r\nWetherby,\r\nLS22 6LN","postcode":"LS22 6LN","website_url":"https:\/\/www.rentonandparr.co.uk","description":null,"listings_feed_url":null,"feed_format":null,"last_feed_sync":null,"crm_provider":null,"logo":"https:\/\/cdn.home.co.uk\/agents\/57951\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:18:05.000000Z","updated_at":"2026-01-20T19:53:44.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":57951,"agent_company_id":7316,"branch_location":"Wetherby","lettings_phone_number":null,"is_sales":true,"is_lettings":false,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E6100000739D465A2A2FF6BFFAD170CADCF64A40","agent_brand_id":8159,"offers_sales":true,"offers_lettings":true,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"47 Market Place, Wetherby","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Renton \u0026 Parr","branch_name":"Wetherby","lettings":false,"sales":true,"commercial":false,"h_email":"sales@rentonandparr.co.uk","has_email":true,"h_phone":"01937 582731","has_phone":true,"resolved_brand_color":"#193728","boundary_listing_count":"1","property_count":"131","latitude":53.928613,"longitude":-1.386515},{"core_branch_id":58412,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"Springbok Properties","email":"admin@springbokgroup.co.uk","sales_phone_number":"0161 416 6302","address":"Springbok Properties Nationwide\r\nSuite 7N\r\nTrafford House\r\nChester Road\r\nOld Trafford\r\nM32 0RS","postcode":"M32 0RS","website_url":"http:\/\/springbokproperties.co.uk","description":null,"listings_feed_url":null,"feed_format":null,"last_feed_sync":null,"crm_provider":null,"logo":"https:\/\/cdn.home.co.uk\/agents\/58412\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:18:21.000000Z","updated_at":"2026-01-20T20:00:34.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":58412,"agent_company_id":497,"branch_location":"-","lettings_phone_number":null,"is_sales":true,"is_lettings":false,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E6100000DE1FEF552B5302C003CDE7DCEDBA4A40","agent_brand_id":894,"offers_sales":true,"offers_lettings":false,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"Springbok Properties Nationwide, Suite 7N, Trafford House, Chester Road, Old Trafford","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Springbok Properties","branch_name":"-","lettings":false,"sales":true,"commercial":false,"h_email":"admin@springbokgroup.co.uk","has_email":true,"h_phone":"0161 416 6302","has_phone":true,"resolved_brand_color":"#ffff33","boundary_listing_count":"1","property_count":"1297","latitude":53.460384,"longitude":-2.29061},{"core_branch_id":66863,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"Stephensons","email":"selby@stephensonsestateagents.co.uk","sales_phone_number":"01757 706707","address":"43 Gowthorpe,\r\nSelby,\r\nYO8 4HE","postcode":"YO8 4HE","website_url":"https:\/\/www.stephensons4property.co.uk","description":null,"listings_feed_url":null,"feed_format":null,"last_feed_sync":null,"crm_provider":null,"logo":"https:\/\/cdn.home.co.uk\/agents\/66863\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:22:56.000000Z","updated_at":"2026-01-20T19:56:26.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":66863,"agent_company_id":1629,"branch_location":"Selby","lettings_phone_number":null,"is_sales":true,"is_lettings":false,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E61000008FFB56EBC425F1BF86ADD9CA4BE44A40","agent_brand_id":2207,"offers_sales":true,"offers_lettings":false,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"43 Gowthorpe, Selby","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Stephensons","branch_name":"Selby","lettings":false,"sales":true,"commercial":false,"h_email":"selby@stephensonsestateagents.co.uk","has_email":true,"h_phone":"01757 706707","has_phone":true,"resolved_brand_color":"#005055","boundary_listing_count":"1","property_count":"61","latitude":53.783563,"longitude":-1.071721}]; let topAgents = []; agents.forEach(agent => { // Collect top agents if (agent.property_count > 0) { topAgents.push({ name: agent.name, property_count: agent.property_count }); } }); // Sort top agents topAgents.sort((a, b) => b.property_count - a.property_count); let statsHtml = '
'; // Show top agents if (topAgents.length > 0) { statsHtml += `
Top Performing Agents
`; topAgents.slice(0, 5).forEach(agent => { statsHtml += `
${agent.name}: ${agent.property_count} properties
`; }); statsHtml += '
'; } statsHtml += '
'; statsContainer.innerHTML = statsHtml; statsContainer.classList.remove('hidden'); button.innerHTML = ` Hide Insights `; }); } else { // Hide stats statsContainer.classList.add('hidden'); button.innerHTML = ` Load Detailed Insights `; } } // Open agent map function function openAgentMap(locationSlug) { // Use the floating view toggle button const mapBtn = document.getElementById('agent-view-map'); if (mapBtn) { mapBtn.click(); } else { // Fallback to old button const oldMapBtn = document.getElementById('view-map-btn'); if (oldMapBtn) { oldMapBtn.click(); } else { // Last resort - open map page window.location.href = `/agents/${locationSlug}/map`; } } }