Estate & Letting Agents in South Brent, South Hams

Find Estate Agents in South Brent, South Hams
14 results
Marchand Petit

Modbury

Sales
3 active listings in South Brent, South Hams, Devon, England
53 total
4 Broad Street, Modbury, PL21 0PS
View Profile
Marchand Petit

Totnes

Sales
1 active listing in South Brent, South Hams, Devon, England
48 total
Waterside The Plains, Totnes, TQ9 5DR
View Profile
Luscombe Maye

South Brent

Sales
14 active listings in South Brent, South Hams, Devon, England
35 total
6 Fore Street, South Brent, TQ10 9BQ
View Profile
Christopher'S South Hams
3 active listings in South Brent, South Hams, Devon, England
52 total
6 Pynewood House, 1a Exeter Road, Ivybridge, PL21 0FN
View Profile
Helen Moore Property, Powered by Exp UK

Covering South Hams and Plymouth

Sales
3 active listings in South Brent, South Hams, Devon, England
67 total
Covering South Hams and Plymouth
Connells

Ivybridge

Sales
2 active listings in South Brent, South Hams, Devon, England
16 total
11 Glanvilles Road, Glanvilles Mill, Ivybridge, Devon, PL21 9PS
View Profile
Millington Tunnicliff

Ivybridge

Sales
2 active listings in South Brent, South Hams, Devon, England
47 total
19 Fore Street, Ivybridge, PL21 9AB
View Profile
Wilkinson Grant & Co

New Homes

Lettings Sales
2 active listings in South Brent, South Hams, Devon, England
168 total
The Old City Library, 1 Castle Street, Exeter, EX4 3PT
View Profile
Auction House

South West

Sales
1 active listing in South Brent, South Hams, Devon, England
78 total
Suite 204B, Second Floor, Studio 5-11, Millbay Road, Plymouth, Devon, PL1 3LF
Fulfords

Paignton

Lettings Sales
1 active listing in South Brent, South Hams, Devon, England
64 total
57 Hyde Road, Paignton, TQ4 5BP
View Profile
Greenslade Taylor Hunt

Ivybridge

Sales
1 active listing in South Brent, South Hams, Devon, England
74 total
8 Erme Ct Leonards Road, Ivybridge, PL21 0SZ
View Profile
Modern Move

Buckfastleigh

Sales
1 active listing in South Brent, South Hams, Devon, England
26 total
55 Fore Street, Buckfastleigh, TQ11 0BS
View Profile
Town & Country Property Auctions

Wrexham - Auctions

Sales
1 active listing in South Brent, South Hams, Devon, England
117 total
Imperial Buildings King Street Wrexham LL11 1HE
Victoria Bolt Estate Agents, Powered by Exp UK
1 active listing in South Brent, South Hams, Devon, England
49 total
Devon
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 = 'South Brent, South Hams'; 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":61254,"verification_status":"verified","verified_at":"2026-02-10T14:51:20.000000Z","verified_by":null,"verification_notes":null,"name":"Marchand Petit","email":"modbury@marchandpetit.co.uk","sales_phone_number":"01548 831163","address":"4 Broad Street,\r\nModbury,\r\nPL21 0PS","postcode":"PL21 0PS","website_url":"https:\/\/www.marchandpetit.co.uk","description":null,"listings_feed_url":null,"feed_format":null,"last_feed_sync":null,"crm_provider":"Apex27","logo":"https:\/\/cdn.home.co.uk\/agents\/61254\/logo.png","office_images":null,"claimed_at":"2026-02-10T12:49:12.000000Z","created_at":"2025-12-09T17:19:52.000000Z","updated_at":"2026-02-10T15:46:39.000000Z","deleted_at":null,"claimed_user_id":"6e19219b-e7a3-4151-ac60-908306dd0f11","profile_status":"on_hold","assigned_user_id":null,"id":61254,"agent_company_id":4315,"branch_location":"Modbury","lettings_phone_number":null,"is_sales":true,"is_lettings":false,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E6100000FE7C5BB054170FC0AC8C463EAF2C4940","agent_brand_id":5048,"offers_sales":true,"offers_lettings":false,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"4 Broad Street, Modbury","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Marchand Petit","branch_name":"Modbury","lettings":false,"sales":true,"commercial":false,"h_email":"modbury@marchandpetit.co.uk","has_email":true,"h_phone":"01548 831163","has_phone":true,"resolved_brand_color":"#0a1e41","boundary_listing_count":"3","property_count":"53","latitude":50.349098,"longitude":-3.886392},{"core_branch_id":65111,"verification_status":"verified","verified_at":"2026-02-10T14:51:20.000000Z","verified_by":null,"verification_notes":null,"name":"Marchand Petit","email":"totnes@marchandpetit.co.uk","sales_phone_number":"01803 847979","address":"Waterside The Plains,\r\nTotnes,\r\nTQ9 5DR","postcode":"TQ9 5DR","website_url":"https:\/\/www.marchandpetit.co.uk","description":null,"listings_feed_url":null,"feed_format":null,"last_feed_sync":null,"crm_provider":"Apex27","logo":"https:\/\/cdn.home.co.uk\/agents\/65111\/logo.png","office_images":null,"claimed_at":"2026-02-10T12:49:11.000000Z","created_at":"2025-12-09T17:21:58.000000Z","updated_at":"2026-02-10T15:46:42.000000Z","deleted_at":null,"claimed_user_id":"6e19219b-e7a3-4151-ac60-908306dd0f11","profile_status":"on_hold","assigned_user_id":null,"id":65111,"agent_company_id":4315,"branch_location":"Totnes","lettings_phone_number":null,"is_sales":true,"is_lettings":false,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E6100000A9DDAF027C770DC07D7555A016374940","agent_brand_id":5048,"offers_sales":true,"offers_lettings":false,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"Waterside The Plains, Totnes","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Marchand Petit","branch_name":"Totnes","lettings":false,"sales":true,"commercial":false,"h_email":"totnes@marchandpetit.co.uk","has_email":true,"h_phone":"01803 847979","has_phone":true,"resolved_brand_color":"#0a1e41","boundary_listing_count":"1","property_count":"48","latitude":50.430378,"longitude":-3.683342},{"core_branch_id":65033,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"Luscombe Maye","email":"rebecca.staddon@luscombemaye.com","sales_phone_number":"01364 646170","address":"6 Fore Street,\r\nSouth Brent,\r\nTQ10 9BQ","postcode":"TQ10 9BQ","website_url":"http:\/\/www.luscombemaye.com","description":null,"listings_feed_url":null,"feed_format":null,"last_feed_sync":null,"crm_provider":null,"logo":"https:\/\/cdn.home.co.uk\/agents\/65033\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:21:56.000000Z","updated_at":"2026-01-20T19:58:30.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":65033,"agent_company_id":64,"branch_location":"South Brent","lettings_phone_number":null,"is_sales":true,"is_lettings":false,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E61000004A0B9755D8AC0EC0C74ACCB392364940","agent_brand_id":228,"offers_sales":true,"offers_lettings":false,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"6 Fore Street, South Brent","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Luscombe Maye","branch_name":"South Brent","lettings":false,"sales":true,"commercial":false,"h_email":"rebecca.staddon@luscombemaye.com","has_email":true,"h_phone":"01364 646170","has_phone":true,"resolved_brand_color":"#195a51","boundary_listing_count":"14","property_count":"35","latitude":50.426352,"longitude":-3.834397},{"core_branch_id":61253,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"Christopher\u0027S South Hams","email":"office@christophers-southhams.com","sales_phone_number":"01752 746550","address":"6 Pynewood House, \r\n1a Exeter Road,\r\nIvybridge,\r\nPL21 0FN","postcode":"PL21 0FN","website_url":"https:\/\/www.christophers-southhams.com","description":null,"listings_feed_url":null,"feed_format":null,"last_feed_sync":null,"crm_provider":null,"logo":"https:\/\/cdn.home.co.uk\/agents\/61253\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:19:52.000000Z","updated_at":"2026-01-20T19:57:17.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":61253,"agent_company_id":6581,"branch_location":"Ivybridge","lettings_phone_number":null,"is_sales":true,"is_lettings":false,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E6100000F19F6EA0C05B0FC09DB98784EF314940","agent_brand_id":7408,"offers_sales":true,"offers_lettings":false,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"6 Pynewood House, 1a Exeter Road, Ivybridge","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Christopher\u0027S South Hams","branch_name":"Ivybridge","lettings":false,"sales":true,"commercial":false,"h_email":"office@christophers-southhams.com","has_email":true,"h_phone":"01752 746550","has_phone":true,"resolved_brand_color":"#f5e9dc","boundary_listing_count":"3","property_count":"52","latitude":50.390122,"longitude":-3.919801},{"core_branch_id":67158,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"Helen Moore Property, Powered by Exp UK","email":null,"sales_phone_number":"01752 962162","address":"Covering South Hams and Plymouth","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\/67158\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:23:05.000000Z","updated_at":"2025-12-09T23:22:08.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":67158,"agent_company_id":510,"branch_location":"Covering South Hams and Plymouth","lettings_phone_number":null,"is_sales":true,"is_lettings":false,"is_commercial":false,"is_hm_agent":false,"geopoint":null,"agent_brand_id":928,"offers_sales":true,"offers_lettings":false,"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":"Helen Moore Property, Powered by Exp UK","branch_name":"Covering South Hams and Plymouth","lettings":false,"sales":true,"commercial":false,"h_email":null,"has_email":false,"h_phone":"01752 962162","has_phone":true,"resolved_brand_color":"#457d9a","boundary_listing_count":"3","property_count":"67","latitude":null,"longitude":null},{"core_branch_id":61259,"verification_status":"verified","verified_at":"2026-02-05T16:55:52.000000Z","verified_by":null,"verification_notes":null,"name":"Connells","email":"ivybridge@connells.co.uk","sales_phone_number":"01752 691200","address":"11 Glanvilles Road, \r\nGlanvilles Mill, \r\nIvybridge, \r\nDevon, PL21 9PS","postcode":"PL21 9PS","website_url":"http:\/\/www.connells.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\/61259\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:19:52.000000Z","updated_at":"2026-02-05T16:58:43.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":61259,"agent_company_id":1,"branch_location":"Ivybridge","lettings_phone_number":null,"is_sales":true,"is_lettings":false,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E6100000A1BAB9F8DB5E0FC09888B7CEBF314940","agent_brand_id":4,"offers_sales":true,"offers_lettings":false,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"11 Glanvilles Road, Glanvilles Mill, Ivybridge, Devon","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Connells","branch_name":"Ivybridge","lettings":false,"sales":true,"commercial":false,"h_email":"ivybridge@connells.co.uk","has_email":true,"h_phone":"01752 691200","has_phone":true,"resolved_brand_color":"#cc1e23","boundary_listing_count":"2","property_count":"16","latitude":50.388666,"longitude":-3.921318},{"core_branch_id":61258,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"Millington Tunnicliff","email":"info@millingtontunnicliff.co.uk","sales_phone_number":"01752 896020","address":"19 Fore Street,\r\nIvybridge,\r\nPL21 9AB","postcode":"PL21 9AB","website_url":"https:\/\/www.millingtontunnicliff.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\/61258\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:19:52.000000Z","updated_at":"2026-01-20T19:57:17.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":61258,"agent_company_id":6583,"branch_location":"Ivybridge","lettings_phone_number":null,"is_sales":true,"is_lettings":false,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E6100000A56950340F600FC05E0F26C5C7314940","agent_brand_id":7410,"offers_sales":true,"offers_lettings":false,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"19 Fore Street, Ivybridge","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Millington Tunnicliff","branch_name":"Ivybridge","lettings":false,"sales":true,"commercial":false,"h_email":"info@millingtontunnicliff.co.uk","has_email":true,"h_phone":"01752 896020","has_phone":true,"resolved_brand_color":"#004024","boundary_listing_count":"2","property_count":"47","latitude":50.388909,"longitude":-3.921904},{"core_branch_id":55014,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"Wilkinson Grant \u0026 Co","email":"exeter@wilkinsongrant.co.uk","sales_phone_number":"01392 455926","address":"The Old City Library,\r\n1 Castle Street,\r\nExeter,\r\nEX4 3PT","postcode":"EX4 3PT","website_url":"https:\/\/www.wilkinsongrant.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\/55014\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:16:27.000000Z","updated_at":"2026-01-20T19:56:50.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":55014,"agent_company_id":3548,"branch_location":"New Homes","lettings_phone_number":"01392 455920","is_sales":true,"is_lettings":true,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E6100000136058FE7C3B0CC0795BE9B5D95C4940","agent_brand_id":4238,"offers_sales":true,"offers_lettings":true,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"The Old City Library, 1 Castle Street, Exeter","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Wilkinson Grant \u0026 Co","branch_name":"New Homes","lettings":true,"sales":true,"commercial":false,"h_email":"exeter@wilkinsongrant.co.uk","has_email":true,"h_phone":"01392 455926","has_phone":true,"resolved_brand_color":"#fecd34","boundary_listing_count":"2","property_count":"168","latitude":50.725394,"longitude":-3.529047},{"core_branch_id":61206,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"Auction House","email":null,"sales_phone_number":"01752 474200","address":"Suite 204B, \r\nSecond Floor, \r\nStudio 5-11, \r\nMillbay Road, Plymouth, \r\nDevon, \r\nPL1 3LF","postcode":"PL1 3LF","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\/61206\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:19:50.000000Z","updated_at":"2026-01-20T20:01:07.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":61206,"agent_company_id":654,"branch_location":"South West","lettings_phone_number":null,"is_sales":true,"is_lettings":false,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E6100000A1D80A9A969810C015AC71361D2F4940","agent_brand_id":1128,"offers_sales":true,"offers_lettings":false,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"Suite 204B, Second Floor, Studio 5-11, Millbay Road, Plymouth, Devon","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Auction House","branch_name":"South West","lettings":false,"sales":true,"commercial":false,"h_email":null,"has_email":false,"h_phone":"01752 474200","has_phone":true,"resolved_brand_color":"#f13e4b","boundary_listing_count":"1","property_count":"78","latitude":50.368079,"longitude":-4.149012},{"core_branch_id":65080,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"Fulfords","email":"Paignton.Fulfords@lm.propertywide.co.uk","sales_phone_number":"01803 527523","address":"57 Hyde Road,\r\nPaignton,\r\nTQ4 5BP","postcode":"TQ4 5BP","website_url":"https:\/\/www.fulfords.co.uk\/branch\/estate-agents\/paignton","description":null,"listings_feed_url":null,"feed_format":null,"last_feed_sync":null,"crm_provider":null,"logo":"https:\/\/cdn.home.co.uk\/agents\/65080\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:21:57.000000Z","updated_at":"2026-01-20T19:58:34.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":65080,"agent_company_id":51,"branch_location":"Paignton","lettings_phone_number":"01803 529529","is_sales":true,"is_lettings":true,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E6100000A06CCA15DE850CC096438B6CE7374940","agent_brand_id":168,"offers_sales":true,"offers_lettings":true,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"57 Hyde Road, Paignton","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Fulfords","branch_name":"Paignton","lettings":true,"sales":true,"commercial":false,"h_email":"Paignton.Fulfords@lm.propertywide.co.uk","has_email":true,"h_phone":"01803 527523","has_phone":true,"resolved_brand_color":"#fea01e","boundary_listing_count":"1","property_count":"64","latitude":50.43675,"longitude":-3.565365},{"core_branch_id":61257,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"Greenslade Taylor Hunt","email":"Residential.ivybirdge@gth.net","sales_phone_number":"01752 393737","address":"8 Erme Ct Leonards Road,\r\nIvybridge,\r\nPL21 0SZ","postcode":"PL21 0SZ","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\/61257\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:19:52.000000Z","updated_at":"2026-01-20T19:54:19.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":61257,"agent_company_id":2056,"branch_location":"Ivybridge","lettings_phone_number":null,"is_sales":true,"is_lettings":false,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E6100000763579CA6A5A0FC05858703FE0314940","agent_brand_id":2663,"offers_sales":true,"offers_lettings":true,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"8 Erme Ct Leonards Road, Ivybridge","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Greenslade Taylor Hunt","branch_name":"Ivybridge","lettings":false,"sales":true,"commercial":false,"h_email":"Residential.ivybirdge@gth.net","has_email":true,"h_phone":"01752 393737","has_phone":true,"resolved_brand_color":"#dc2a1e","boundary_listing_count":"1","property_count":"74","latitude":50.389656,"longitude":-3.919149},{"core_branch_id":65035,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"Modern Move","email":"danielle@modernmoveestateagents.com","sales_phone_number":"01364 643671","address":"55 Fore Street, Buckfastleigh, \r\nTQ11 0BS","postcode":"TQ11 0BS","website_url":"http:\/\/www.modernmoveestateagents.com\/","description":null,"listings_feed_url":null,"feed_format":null,"last_feed_sync":null,"crm_provider":null,"logo":"https:\/\/cdn.home.co.uk\/agents\/65035\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:21:56.000000Z","updated_at":"2026-01-20T19:58:31.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":65035,"agent_company_id":8730,"branch_location":"Buckfastleigh","lettings_phone_number":null,"is_sales":true,"is_lettings":false,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E6100000D80DDB1665360EC070EF1AF4A53D4940","agent_brand_id":9609,"offers_sales":true,"offers_lettings":false,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"55 Fore Street, Buckfastleigh","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Modern Move","branch_name":"Buckfastleigh","lettings":false,"sales":true,"commercial":false,"h_email":"danielle@modernmoveestateagents.com","has_email":true,"h_phone":"01364 643671","has_phone":true,"resolved_brand_color":"#61133d","boundary_listing_count":"1","property_count":"26","latitude":50.481627,"longitude":-3.77656},{"core_branch_id":57648,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"Town \u0026 Country Property Auctions","email":null,"sales_phone_number":"08003 345090","address":"Imperial Buildings \r\nKing Street\r\nWrexham\r\nLL11 1HE ","postcode":"LL11 1HE","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\/57648\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:17:55.000000Z","updated_at":"2026-01-20T19:59:30.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":57648,"agent_company_id":4993,"branch_location":"Wrexham - Auctions","lettings_phone_number":null,"is_sales":true,"is_lettings":false,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E6100000DD239BABE6F907C0FD4CBD6E11864A40","agent_brand_id":5759,"offers_sales":true,"offers_lettings":false,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"Imperial Buildings, King Street, Wrexham","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Town \u0026 Country Property Auctions","branch_name":"Wrexham - Auctions","lettings":false,"sales":true,"commercial":false,"h_email":null,"has_email":false,"h_phone":"08003 345090","has_phone":true,"resolved_brand_color":"#aa2846","boundary_listing_count":"1","property_count":"117","latitude":53.047407,"longitude":-2.997022},{"core_branch_id":67591,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"Victoria Bolt Estate Agents, Powered by Exp UK","email":null,"sales_phone_number":"01752 916091","address":"Devon","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\/67591\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:23:19.000000Z","updated_at":"2025-12-12T07:54:03.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":67591,"agent_company_id":510,"branch_location":"Devon","lettings_phone_number":null,"is_sales":true,"is_lettings":false,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E61000000A4AD1CABD40F6BF2B4EB51666A14A40","agent_brand_id":961,"offers_sales":true,"offers_lettings":false,"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":"Victoria Bolt Estate Agents, Powered by Exp UK","branch_name":"Devon","lettings":false,"sales":true,"commercial":false,"h_email":null,"has_email":false,"h_phone":"01752 916091","has_phone":true,"resolved_brand_color":"#008d92","boundary_listing_count":"1","property_count":"49","latitude":53.260928,"longitude":-1.390806}]; 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`; } } }