Estate & Letting Agents in Maltby, Stockton-on-Tees

Find Estate Agents in Maltby, Stockton-on-Tees
13 results
Lsl

Land Nationwide

Sales
6 active listings in Maltby, Stockton-on-Tees, Tees Valley, England
84 total
LSL Land & New Homes, Howard House, 3 St Mary's Court, Blossom Street, York, YO24 1AH
View Profile
Roseberry Newhouse

Teesside

Sales
3 active listings in Maltby, Stockton-on-Tees, Tees Valley, England
83 total
Unit 5 Halegrove Court Cygnet Drive Stockton-On-Tees TS18 3DB
View Profile
Bridgfords

Stokesley

Sales
2 active listings in Maltby, Stockton-on-Tees, Tees Valley, England
25 total
50 High Street, Stokesley, TS9 5AX
View Profile
Ingleby Homes

Stockton on Tees

Sales
2 active listings in Maltby, Stockton-on-Tees, Tees Valley, England
145 total
6 Halegrove Court, Teesside, TS18 3DB
View Profile
Manners & Harrison

Stockton on Tees

Lettings Sales
2 active listings in Maltby, Stockton-on-Tees, Tees Valley, England
150 total
23 High Street Stockton-On-Tees TS18 1SP
View Profile
Michael Poole

Yarm

Sales
2 active listings in Maltby, Stockton-on-Tees, Tees Valley, England
112 total
59 High Street, Yarm, TS15 9BH
View Profile
Bridgfords

Yarm

Sales
1 active listing in Maltby, Stockton-on-Tees, Tees Valley, England
69 total
73 High Street Yarm TS15 9BG
View Profile
Gowland White

Yarm

Lettings Sales
1 active listing in Maltby, Stockton-on-Tees, Tees Valley, England
84 total
101 High Street, Yarm, TS15 9BB
View Profile
Gowland White

Stockton-On-Tees

Lettings Sales
1 active listing in Maltby, Stockton-on-Tees, Tees Valley, England
98 total
17 Bishop Street, Stockton on Tees, TS18 1SY
View Profile
Michael Poole

Ingleby Barwick

Sales
1 active listing in Maltby, Stockton-on-Tees, Tees Valley, England
69 total
Myton Park Myton Road, Ingleby Barwick, TS17 0WA
View Profile
New Home Agents
1 active listing in Maltby, Stockton-on-Tees, Tees Valley, England
423 total
Unit 7, First Floor Hepton Court Leeds LS9 6PW
View Profile
Openrent

London

Lettings
1 active listing in Maltby, Stockton-on-Tees, Tees Valley, England
8,474 total
20 Wenlock Road, London, N1 7GU
View Profile
Smith & Friends Estate Agents

Ingleby Barwick

Lettings Sales
1 active listing in Maltby, Stockton-on-Tees, Tees Valley, England
62 total
Barwick Lodge Ingleby Way, Ingleby Barwick, TS17 0RH
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 = 'Maltby, Stockton-on-Tees'; 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":66800,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"Lsl","email":"northernnewhomes@lslnewhomes.co.uk","sales_phone_number":"01302 215586","address":" LSL Land \u0026 New Homes, Howard House, 3 St Mary\u0027s Court, Blossom Street, York, YO24 1AH","postcode":"YO24 1AH","website_url":"https:\/\/www.lsllandandnewhomes.co.uk\/estate-agent\/lsl-new-homes-north","description":null,"listings_feed_url":null,"feed_format":null,"last_feed_sync":null,"crm_provider":null,"logo":"https:\/\/cdn.home.co.uk\/agents\/66800\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:22:54.000000Z","updated_at":"2026-01-20T20:01:09.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":66800,"agent_company_id":102,"branch_location":"Land Nationwide","lettings_phone_number":null,"is_sales":true,"is_lettings":false,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E61000009F1F46088F76F1BF0C569C6A2DFA4A40","agent_brand_id":302,"offers_sales":true,"offers_lettings":false,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"LSL Land \u0026 New Homes, Howard House, 3 St Mary\u0027s Court, Blossom Street, York","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Lsl","branch_name":"Land Nationwide","lettings":false,"sales":true,"commercial":false,"h_email":"northernnewhomes@lslnewhomes.co.uk","has_email":true,"h_phone":"01302 215586","has_phone":true,"resolved_brand_color":"#2d4678","boundary_listing_count":"6","property_count":"84","latitude":53.954511,"longitude":-1.091445},{"core_branch_id":65273,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"Roseberry Newhouse","email":"norton@roseberrygroup.co.uk","sales_phone_number":"01642 792488","address":"Unit 5 \r\nHalegrove Court \r\nCygnet Drive\r\nStockton-On-Tees \r\nTS18 3DB ","postcode":"TS18 3DB","website_url":"https:\/\/www.roseberry-newhouse.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\/65273\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:22:03.000000Z","updated_at":"2026-01-20T19:56:06.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":65273,"agent_company_id":2591,"branch_location":"Teesside","lettings_phone_number":null,"is_sales":true,"is_lettings":false,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E61000004850FC187317F5BF2A029CDEC5454B40","agent_brand_id":3229,"offers_sales":true,"offers_lettings":false,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"Unit 5, Halegrove Court, Cygnet Drive, Stockton-On-Tees","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Roseberry Newhouse","branch_name":"Teesside","lettings":false,"sales":true,"commercial":false,"h_email":"norton@roseberrygroup.co.uk","has_email":true,"h_phone":"01642 792488","has_phone":true,"resolved_brand_color":"#20300c","boundary_listing_count":"3","property_count":"83","latitude":54.545101,"longitude":-1.318225},{"core_branch_id":65325,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"Bridgfords","email":"stokesley.bridgfords@lm.propertywide.co.uk","sales_phone_number":"01642 711555","address":"50 High Street,\r\nStokesley,\r\nTS9 5AX ","postcode":"TS9 5AX","website_url":"https:\/\/www.bridgfords.co.uk\/branch\/estate-agents\/stokesley","description":null,"listings_feed_url":null,"feed_format":null,"last_feed_sync":null,"crm_provider":null,"logo":"https:\/\/cdn.home.co.uk\/agents\/65325\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:22:05.000000Z","updated_at":"2026-01-20T19:59:03.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":65325,"agent_company_id":51,"branch_location":"Stokesley","lettings_phone_number":null,"is_sales":true,"is_lettings":false,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E61000005C77F354871CF3BFBF9B6ED9213C4B40","agent_brand_id":151,"offers_sales":true,"offers_lettings":false,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"50 High Street, Stokesley","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Bridgfords","branch_name":"Stokesley","lettings":false,"sales":true,"commercial":false,"h_email":"stokesley.bridgfords@lm.propertywide.co.uk","has_email":true,"h_phone":"01642 711555","has_phone":true,"resolved_brand_color":"#e93229","boundary_listing_count":"2","property_count":"25","latitude":54.469783,"longitude":-1.194465},{"core_branch_id":65272,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"Ingleby Homes","email":"enquiries@ingleby-homes.co.uk","sales_phone_number":"01642 671025","address":"6 Halegrove Court,\r\nTeesside,\r\nTS18 3DB","postcode":"TS18 3DB","website_url":"https:\/\/www.ingleby-homes.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\/65272\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:22:03.000000Z","updated_at":"2026-01-20T19:55:03.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":65272,"agent_company_id":6346,"branch_location":"Stockton on Tees","lettings_phone_number":null,"is_sales":true,"is_lettings":false,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E61000004850FC187317F5BF2A029CDEC5454B40","agent_brand_id":7168,"offers_sales":true,"offers_lettings":true,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"6 Halegrove Court, Teesside","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Ingleby Homes","branch_name":"Stockton on Tees","lettings":false,"sales":true,"commercial":false,"h_email":"enquiries@ingleby-homes.co.uk","has_email":true,"h_phone":"01642 671025","has_phone":true,"resolved_brand_color":"#410141","boundary_listing_count":"2","property_count":"145","latitude":54.545101,"longitude":-1.318225},{"core_branch_id":65263,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"Manners \u0026 Harrison","email":"stocktononteeslet@mannersandharrison.co.uk","sales_phone_number":"01642 606161","address":"23 \r\nHigh Street\r\nStockton-On-Tees\r\nTS18 1SP","postcode":"TS18 1SP","website_url":"http:\/\/www.mannersandharrison.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\/65263\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:22:03.000000Z","updated_at":"2026-01-20T19:58:58.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":65263,"agent_company_id":54,"branch_location":"Stockton on Tees","lettings_phone_number":"01642 606194","is_sales":true,"is_lettings":true,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E6100000857D3B8908FFF4BF314278B471484B40","agent_brand_id":209,"offers_sales":true,"offers_lettings":true,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"23, High Street, Stockton-On-Tees","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Manners \u0026 Harrison","branch_name":"Stockton on Tees","lettings":true,"sales":true,"commercial":false,"h_email":"stocktononteeslet@mannersandharrison.co.uk","has_email":true,"h_phone":"01642 606161","has_phone":true,"resolved_brand_color":"#a1cdf3","boundary_listing_count":"2","property_count":"150","latitude":54.56597,"longitude":-1.312264},{"core_branch_id":65257,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"Michael Poole","email":"yarm@michaelpoole.co.uk","sales_phone_number":"01642 788878","address":"59 High Street,\r\nYarm,\r\nTS15 9BH","postcode":"TS15 9BH","website_url":"https:\/\/www.michaelpoole.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\/65257\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:22:03.000000Z","updated_at":"2026-01-20T19:55:03.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":65257,"agent_company_id":2618,"branch_location":"Yarm","lettings_phone_number":null,"is_sales":true,"is_lettings":false,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E6100000DFBF7971E2ABF5BF12BF620D17414B40","agent_brand_id":3260,"offers_sales":true,"offers_lettings":true,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"59 High Street, Yarm","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Michael Poole","branch_name":"Yarm","lettings":false,"sales":true,"commercial":false,"h_email":"yarm@michaelpoole.co.uk","has_email":true,"h_phone":"01642 788878","has_phone":true,"resolved_brand_color":"#1d3a69","boundary_listing_count":"2","property_count":"112","latitude":54.508516,"longitude":-1.354464},{"core_branch_id":65256,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"Bridgfords","email":"yarm@bridgfords.co.uk","sales_phone_number":"01642 780798","address":"73 High Street\r\nYarm\r\nTS15 9BG ","postcode":"TS15 9BG","website_url":"https:\/\/www.bridgfords.co.uk\/branch\/estate-agents\/yarm","description":null,"listings_feed_url":null,"feed_format":null,"last_feed_sync":null,"crm_provider":null,"logo":"https:\/\/cdn.home.co.uk\/agents\/65256\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:21:53.000000Z","updated_at":"2026-01-20T19:58:58.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":65256,"agent_company_id":51,"branch_location":"Yarm","lettings_phone_number":null,"is_sales":true,"is_lettings":false,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E6100000098CF50D4CAEF5BF193BE12538414B40","agent_brand_id":151,"offers_sales":true,"offers_lettings":false,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"73 High Street, Yarm","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Bridgfords","branch_name":"Yarm","lettings":false,"sales":true,"commercial":false,"h_email":"yarm@bridgfords.co.uk","has_email":true,"h_phone":"01642 780798","has_phone":true,"resolved_brand_color":"#e93229","boundary_listing_count":"1","property_count":"69","latitude":54.509526,"longitude":-1.355053},{"core_branch_id":65255,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"Gowland White","email":"yarm@gowlandwhite.co.uk","sales_phone_number":"01642 248248","address":"101 High Street,\r\nYarm,\r\nTS15 9BB","postcode":"TS15 9BB","website_url":"https:\/\/www.gowlandwhite.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\/65255\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:22:03.000000Z","updated_at":"2026-01-20T19:58:58.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":65255,"agent_company_id":4473,"branch_location":"Yarm","lettings_phone_number":"01642 248248","is_sales":true,"is_lettings":true,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E61000005B61FA5E43B0F5BF8FA50F5D50414B40","agent_brand_id":5214,"offers_sales":true,"offers_lettings":true,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"101 High Street, Yarm","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Gowland White","branch_name":"Yarm","lettings":true,"sales":true,"commercial":false,"h_email":"yarm@gowlandwhite.co.uk","has_email":true,"h_phone":"01642 248248","has_phone":true,"resolved_brand_color":"#1078be","boundary_listing_count":"1","property_count":"84","latitude":54.510265,"longitude":-1.355533},{"core_branch_id":65268,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"Gowland White","email":"stockton@gowlandwhite.co.uk","sales_phone_number":"01642 615657","address":"17 Bishop Street, Stockton on Tees, TS18 1SY\r\n","postcode":"TS18 1SY","website_url":"https:\/\/www.gowlandwhite.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\/65268\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:22:03.000000Z","updated_at":"2026-01-20T19:58:41.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":65268,"agent_company_id":4473,"branch_location":"Stockton-On-Tees","lettings_phone_number":"01642 248248","is_sales":true,"is_lettings":true,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E6100000FE0C6FD6E0FDF4BF1557957D57484B40","agent_brand_id":5214,"offers_sales":true,"offers_lettings":true,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"17 Bishop Street, Stockton on Tees","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Gowland White","branch_name":"Stockton-On-Tees","lettings":true,"sales":true,"commercial":false,"h_email":"stockton@gowlandwhite.co.uk","has_email":true,"h_phone":"01642 615657","has_phone":true,"resolved_brand_color":"#1078be","boundary_listing_count":"1","property_count":"98","latitude":54.56517,"longitude":-1.311982},{"core_branch_id":65260,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"Michael Poole","email":"inglebybarwick@michaelpoole.co.uk","sales_phone_number":"01642 763636","address":"Myton Park Myton Road,\r\nIngleby Barwick,\r\nTS17 0WA","postcode":"TS17 0WA","website_url":"http:\/\/www.michaelpoole.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\/65260\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:22:03.000000Z","updated_at":"2026-01-20T19:55:03.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":65260,"agent_company_id":2618,"branch_location":"Ingleby Barwick","lettings_phone_number":null,"is_sales":true,"is_lettings":false,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E610000053E9279CDD1AF5BFECF7C43A55424B40","agent_brand_id":3260,"offers_sales":true,"offers_lettings":true,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"Myton Park Myton Road, Ingleby Barwick","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Michael Poole","branch_name":"Ingleby Barwick","lettings":false,"sales":true,"commercial":false,"h_email":"inglebybarwick@michaelpoole.co.uk","has_email":true,"h_phone":"01642 763636","has_phone":true,"resolved_brand_color":"#1d3a69","boundary_listing_count":"1","property_count":"69","latitude":54.518226,"longitude":-1.319059},{"core_branch_id":58070,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"New Home Agents","email":"sales@newhomesolutions.co.uk","sales_phone_number":"0113 322 5766","address":"Unit 7, First Floor \r\nHepton Court\r\nLeeds\r\nLS9 6PW ","postcode":"LS9 6PW","website_url":"http:\/\/www.smith-moore.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\/58070\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:18:09.000000Z","updated_at":"2026-01-20T19:54:56.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":58070,"agent_company_id":1781,"branch_location":"-","lettings_phone_number":null,"is_sales":true,"is_lettings":false,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E610000056D3F544D705F8BFD15CA79196E64A40","agent_brand_id":2371,"offers_sales":true,"offers_lettings":false,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"Unit 7, First Floor, Hepton Court, Leeds","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"New Home Agents","branch_name":"-","lettings":false,"sales":true,"commercial":false,"h_email":"sales@newhomesolutions.co.uk","has_email":true,"h_phone":"0113 322 5766","has_phone":true,"resolved_brand_color":"#2e755d","boundary_listing_count":"1","property_count":"423","latitude":53.80147,"longitude":-1.501426},{"core_branch_id":58995,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"Openrent","email":"zoopla@openrent.co.uk","sales_phone_number":null,"address":"20 \r\nWenlock Road, \r\nLondon, \r\nN1 7GU","postcode":"N1 7GU","website_url":"https:\/\/www.openrent.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\/58995\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:18:40.000000Z","updated_at":"2026-01-20T19:55:47.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":58995,"agent_company_id":7279,"branch_location":"London","lettings_phone_number":"020 3322 3265","is_sales":false,"is_lettings":true,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E61000003D7D04FEF0F3B7BFCEA5B8AAECC34940","agent_brand_id":8120,"offers_sales":false,"offers_lettings":true,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"20, Wenlock Road, London","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Openrent","branch_name":"London","lettings":true,"sales":false,"commercial":false,"h_email":"zoopla@openrent.co.uk","has_email":true,"h_phone":"020 3322 3265","has_phone":true,"resolved_brand_color":"#468cc8","boundary_listing_count":"1","property_count":"8474","latitude":51.53066,"longitude":-0.093566},{"core_branch_id":65259,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"Smith \u0026 Friends Estate Agents","email":"inglebybarwick@smith-and-friends.co.uk","sales_phone_number":"01642 762944","address":"Barwick Lodge Ingleby Way,\r\nIngleby Barwick,\r\nTS17 0RH","postcode":"TS17 0RH","website_url":"http:\/\/www.robinsonsestateagents.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\/65259\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:22:03.000000Z","updated_at":"2026-01-20T19:58:58.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":65259,"agent_company_id":1082,"branch_location":"Ingleby Barwick","lettings_phone_number":"01642 762944","is_sales":true,"is_lettings":true,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E610000077A04E7974E3F4BFD829560DC2424B40","agent_brand_id":1611,"offers_sales":true,"offers_lettings":true,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"Barwick Lodge Ingleby Way, Ingleby Barwick","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Smith \u0026 Friends Estate Agents","branch_name":"Ingleby Barwick","lettings":true,"sales":true,"commercial":false,"h_email":"inglebybarwick@smith-and-friends.co.uk","has_email":true,"h_phone":"01642 762944","has_phone":true,"resolved_brand_color":"#ffc032","boundary_listing_count":"1","property_count":"62","latitude":54.521547,"longitude":-1.305531}]; 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`; } } }