Estate & Letting Agents in Holymoorside and Walton, North East Derbyshire

Find Estate Agents in Holymoorside and Walton, North East Derbyshire
12 results
Eadon Lockwood & Riddle
Eadon Lockwood & Riddle

Hathersage

Sales
1 active listing in Holymoorside and Walton, North East Derbyshire, Derbyshire, East Midlands, England
59 total
Main Road, Hathersage, Hope Valley, S32 1BB
View Featured Profile
The Avenue
The Avenue

Covering National

Sales
1 active listing in Holymoorside and Walton, North East Derbyshire, Derbyshire, East Midlands, England
314 total
Office 5, 10 Burnett Road, Sutton Coldfield, B74 3LP
View Featured Profile
Haus

Chesterfield

Sales
5 active listings in Holymoorside and Walton, North East Derbyshire, Derbyshire, East Midlands, England
206 total
31 West Bars, Chesterfield, S40 1AG
Dales & Peaks

Chesterfield

Sales
4 active listings in Holymoorside and Walton, North East Derbyshire, Derbyshire, East Midlands, England
126 total
131 Chatsworth Road Chesterfield S40 2AP
View Profile
Redbrik

Chesterfield

Lettings Sales
3 active listings in Holymoorside and Walton, North East Derbyshire, Derbyshire, East Midlands, England
167 total
13-15 Glumangate, Chesterfield, S40 1TX
View Profile
Wards Estate Agents

Chesterfield

Sales
3 active listings in Holymoorside and Walton, North East Derbyshire, Derbyshire, East Midlands, England
109 total
17 Glumangate, Chesterfield, S40 1TX
View Profile
Wilkins Vardy Residential

Chesterfield

Sales
2 active listings in Holymoorside and Walton, North East Derbyshire, Derbyshire, East Midlands, England
204 total
23 Glumangate Chesterfield Derbyshire, S40 1TX
View Profile
Frank Innes

Chesterfield

Lettings Sales
1 active listing in Holymoorside and Walton, North East Derbyshire, Derbyshire, East Midlands, England
68 total
10 Glumangate, Chesterfield, S40 1TP
View Profile
Grant'S of Derbyshire

Wirksworth

Sales
1 active listing in Holymoorside and Walton, North East Derbyshire, Derbyshire, East Midlands, England
117 total
21 St. Johns Street, Wirksworth, Matlock, Derby, DE4 4DR
View Profile
Sally Botham Estates

Matlock

Lettings Sales
1 active listing in Holymoorside and Walton, North East Derbyshire, Derbyshire, East Midlands, England
74 total
27 Bank Road, Matlock, DE4 3NF
View Profile
Strada Estates

Chesterfield

Sales
1 active listing in Holymoorside and Walton, North East Derbyshire, Derbyshire, East Midlands, England
64 total
Northern Gateway Enterprise Centre Saltergate Chesterfield S40 1UT
View Profile
William H. Brown

Chesterfield

Lettings Sales
1 active listing in Holymoorside and Walton, North East Derbyshire, Derbyshire, East Midlands, England
90 total
6 Glumangate, Chesterfield, S40 1TP
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 = 'Holymoorside and Walton, North East Derbyshire'; 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":62331,"verification_status":"verified","verified_at":"2026-01-19T12:29:12.000000Z","verified_by":null,"verification_notes":null,"name":"Eadon Lockwood \u0026 Riddle","email":"nalr@elr.co.uk","sales_phone_number":"01433 651888","address":"Main Road,\r\nHathersage,\r\nHope Valley,\r\nS32 1BB","postcode":"S32 1BB","website_url":"https:\/\/www.elr.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\/62331\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:20:27.000000Z","updated_at":"2026-01-20T19:55:32.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"live","assigned_user_id":null,"id":62331,"agent_company_id":2464,"branch_location":"Hathersage","lettings_phone_number":null,"is_sales":true,"is_lettings":false,"is_commercial":false,"is_hm_agent":true,"geopoint":"0101000020E6100000105839B4C876FABFEE7C3F355EAA4A40","agent_brand_id":3096,"offers_sales":true,"offers_lettings":false,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"Main Road, Hathersage, Hope Valley","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Eadon Lockwood \u0026 Riddle","branch_name":"Hathersage","lettings":false,"sales":true,"commercial":false,"h_email":"nalr@elr.co.uk","has_email":true,"h_phone":"01433 651888","has_phone":true,"resolved_brand_color":"#aa2237","boundary_listing_count":"1","property_count":"59","latitude":53.331,"longitude":-1.654},{"core_branch_id":50439,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"The Avenue","email":"home@theavenue.co.uk","sales_phone_number":"03300 432394","address":"Office 5,\r\n10 Burnett Road,\r\nSutton Coldfield,\r\nB74 3LP","postcode":"B74 3LP","website_url":"https:\/\/theavenue.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\/50439\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:13:58.000000Z","updated_at":"2026-01-20T19:52:28.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":50439,"agent_company_id":3825,"branch_location":"Covering National","lettings_phone_number":null,"is_sales":true,"is_lettings":false,"is_commercial":false,"is_hm_agent":true,"geopoint":"0101000020E6100000C8CD70033E3FFEBF58C9C7EE024B4A40","agent_brand_id":4526,"offers_sales":true,"offers_lettings":true,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"Office 5, 10 Burnett Road, Sutton Coldfield","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"The Avenue","branch_name":"Covering National","lettings":false,"sales":true,"commercial":false,"h_email":"home@theavenue.co.uk","has_email":true,"h_phone":"03300 432394","has_phone":true,"resolved_brand_color":"#cbcab2","boundary_listing_count":"1","property_count":"314","latitude":52.586027,"longitude":-1.89044},{"core_branch_id":62354,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"Haus","email":null,"sales_phone_number":"01246 380535","address":"31 West Bars,\r\nChesterfield,\r\nS40 1AG","postcode":"S40 1AG","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\/62354\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:20:28.000000Z","updated_at":"2026-01-20T19:53:25.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":62354,"agent_company_id":4684,"branch_location":"Chesterfield","lettings_phone_number":null,"is_sales":true,"is_lettings":false,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E6100000E22021CA17F4F6BF43CBBA7F2C9E4A40","agent_brand_id":5435,"offers_sales":true,"offers_lettings":false,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"31 West Bars, Chesterfield","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Haus","branch_name":"Chesterfield","lettings":false,"sales":true,"commercial":false,"h_email":null,"has_email":false,"h_phone":"01246 380535","has_phone":true,"resolved_brand_color":"#fded04","boundary_listing_count":"5","property_count":"206","latitude":53.235733,"longitude":-1.434593},{"core_branch_id":62370,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"Dales \u0026 Peaks","email":"info@dalesandpeaks.co.uk","sales_phone_number":"01246 567540","address":"131\r\nChatsworth Road\r\nChesterfield\r\nS40 2AP","postcode":"S40 2AP","website_url":"http:\/\/www.dalesandpeaks.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\/62370\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:20:29.000000Z","updated_at":"2026-01-20T19:55:55.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":62370,"agent_company_id":4683,"branch_location":"Chesterfield","lettings_phone_number":null,"is_sales":true,"is_lettings":false,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E610000049490F43AB13F7BFAD1397E3159E4A40","agent_brand_id":5434,"offers_sales":true,"offers_lettings":true,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"131, Chatsworth Road, Chesterfield","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Dales \u0026 Peaks","branch_name":"Chesterfield","lettings":false,"sales":true,"commercial":false,"h_email":"info@dalesandpeaks.co.uk","has_email":true,"h_phone":"01246 567540","has_phone":true,"resolved_brand_color":"#051928","boundary_listing_count":"4","property_count":"126","latitude":53.235043,"longitude":-1.442302},{"core_branch_id":62362,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"Redbrik","email":"hello@redbrik.co.uk","sales_phone_number":"01246 563060","address":"13-15 Glumangate,\r\nChesterfield,\r\nS40 1TX","postcode":"S40 1TX","website_url":"http:\/\/www.redbrik.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\/62362\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:20:29.000000Z","updated_at":"2026-01-20T19:59:21.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":62362,"agent_company_id":4023,"branch_location":"Chesterfield","lettings_phone_number":"01246 380414","is_sales":true,"is_lettings":true,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E61000003735D07CCEDDF6BF6919A9F7549E4A40","agent_brand_id":4740,"offers_sales":true,"offers_lettings":true,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"13-15 Glumangate, Chesterfield","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Redbrik","branch_name":"Chesterfield","lettings":true,"sales":true,"commercial":false,"h_email":"hello@redbrik.co.uk","has_email":true,"h_phone":"01246 563060","has_phone":true,"resolved_brand_color":"#cf405b","boundary_listing_count":"3","property_count":"167","latitude":53.236968,"longitude":-1.429152},{"core_branch_id":62364,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"Wards Estate Agents","email":"annette@wardsestateagents.co.uk","sales_phone_number":"01246 233333","address":"17 Glumangate,\r\nChesterfield,\r\nS40 1TX","postcode":"S40 1TX","website_url":"https:\/\/www.wardsestateagents.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\/62364\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:20:29.000000Z","updated_at":"2026-01-20T19:59:23.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":62364,"agent_company_id":4691,"branch_location":"Chesterfield","lettings_phone_number":null,"is_sales":true,"is_lettings":false,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E61000003735D07CCEDDF6BF6919A9F7549E4A40","agent_brand_id":5442,"offers_sales":true,"offers_lettings":false,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"17 Glumangate, Chesterfield","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Wards Estate Agents","branch_name":"Chesterfield","lettings":false,"sales":true,"commercial":false,"h_email":"annette@wardsestateagents.co.uk","has_email":true,"h_phone":"01246 233333","has_phone":true,"resolved_brand_color":"#51c1bc","boundary_listing_count":"3","property_count":"109","latitude":53.236968,"longitude":-1.429152},{"core_branch_id":62366,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"Wilkins Vardy Residential","email":"info@wilkins-vardy.co.uk","sales_phone_number":"01246 270123","address":"23 Glumangate\r\n\r\nChesterfield\r\nDerbyshire, S40 1TX","postcode":"S40 1TX","website_url":"https:\/\/wilkins-vardy.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\/62366\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:20:29.000000Z","updated_at":"2026-01-20T19:57:34.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":62366,"agent_company_id":4693,"branch_location":"Chesterfield","lettings_phone_number":null,"is_sales":true,"is_lettings":false,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E61000003735D07CCEDDF6BF6919A9F7549E4A40","agent_brand_id":5444,"offers_sales":true,"offers_lettings":false,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"23 Glumangate, Chesterfield, Derbyshire","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Wilkins Vardy Residential","branch_name":"Chesterfield","lettings":false,"sales":true,"commercial":false,"h_email":"info@wilkins-vardy.co.uk","has_email":true,"h_phone":"01246 270123","has_phone":true,"resolved_brand_color":"#50314b","boundary_listing_count":"2","property_count":"204","latitude":53.236968,"longitude":-1.429152},{"core_branch_id":62359,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"Frank Innes","email":"chesterfield@frankinnes.co.uk","sales_phone_number":"01246 208246","address":"10 Glumangate,\r\nChesterfield,\r\nS40 1TP","postcode":"S40 1TP","website_url":"http:\/\/www.frankinnes.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\/62359\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:20:28.000000Z","updated_at":"2026-01-20T19:56:44.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":62359,"agent_company_id":51,"branch_location":"Chesterfield","lettings_phone_number":"01246 220926","is_sales":true,"is_lettings":true,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E6100000081D740987DEF6BFD00CE2033B9E4A40","agent_brand_id":166,"offers_sales":true,"offers_lettings":true,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"10 Glumangate, Chesterfield","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Frank Innes","branch_name":"Chesterfield","lettings":true,"sales":true,"commercial":false,"h_email":"chesterfield@frankinnes.co.uk","has_email":true,"h_phone":"01246 208246","has_phone":true,"resolved_brand_color":"#ffd60a","boundary_listing_count":"1","property_count":"68","latitude":53.236176,"longitude":-1.429328},{"core_branch_id":53602,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"Grant\u0027S of Derbyshire","email":"wirksworth@grantsofderbyshire.co.uk","sales_phone_number":"01629 823008","address":"21 St. Johns Street,\r\nWirksworth,\r\nMatlock,\r\nDerby,\r\nDE4 4DR","postcode":"DE4 4DR","website_url":"https:\/\/www.grantsofderbyshire.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\/53602\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:15:41.000000Z","updated_at":"2026-01-20T19:52:58.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":53602,"agent_company_id":228,"branch_location":"Wirksworth","lettings_phone_number":null,"is_sales":true,"is_lettings":false,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E6100000B37BF2B0502BF9BF4DBF44BC758A4A40","agent_brand_id":508,"offers_sales":true,"offers_lettings":true,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"21 St. Johns Street, Wirksworth, Matlock, Derby","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Grant\u0027S of Derbyshire","branch_name":"Wirksworth","lettings":false,"sales":true,"commercial":false,"h_email":"wirksworth@grantsofderbyshire.co.uk","has_email":true,"h_phone":"01629 823008","has_phone":true,"resolved_brand_color":"#32143c","boundary_listing_count":"1","property_count":"117","latitude":53.081718,"longitude":-1.573075},{"core_branch_id":53601,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"Sally Botham Estates","email":"enquiries@sallybotham.co.uk","sales_phone_number":"01629 760899","address":"27 Bank Road,\r\nMatlock,\r\nDE4 3NF","postcode":"DE4 3NF","website_url":"http:\/\/sallybotham.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\/53601\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:15:41.000000Z","updated_at":"2026-01-20T19:57:04.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":53601,"agent_company_id":229,"branch_location":"Matlock","lettings_phone_number":"01629 760899","is_sales":true,"is_lettings":true,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E61000002AE09EE74FDBF8BF9A982EC4EA914A40","agent_brand_id":509,"offers_sales":true,"offers_lettings":true,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"27 Bank Road, Matlock","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Sally Botham Estates","branch_name":"Matlock","lettings":true,"sales":true,"commercial":false,"h_email":"enquiries@sallybotham.co.uk","has_email":true,"h_phone":"01629 760899","has_phone":true,"resolved_brand_color":"#00a0e6","boundary_listing_count":"1","property_count":"74","latitude":53.139977,"longitude":-1.553543},{"core_branch_id":62369,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"Strada Estates","email":"office@stradaestates.co.uk","sales_phone_number":"01246 276276","address":"Northern Gateway Enterprise Centre\r\nSaltergate \r\nChesterfield\r\nS40 1UT","postcode":"S40 1UT","website_url":"http:\/\/www.stradaestates.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\/62369\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:20:29.000000Z","updated_at":"2026-01-20T19:57:34.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":62369,"agent_company_id":4689,"branch_location":"Chesterfield","lettings_phone_number":null,"is_sales":true,"is_lettings":false,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E61000004E098849B8D0F6BF4D8578245E9E4A40","agent_brand_id":5440,"offers_sales":true,"offers_lettings":false,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"Northern Gateway Enterprise Centre, Saltergate, Chesterfield","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Strada Estates","branch_name":"Chesterfield","lettings":false,"sales":true,"commercial":false,"h_email":"office@stradaestates.co.uk","has_email":true,"h_phone":"01246 276276","has_phone":true,"resolved_brand_color":"#a4b0bd","boundary_listing_count":"1","property_count":"64","latitude":53.237248,"longitude":-1.425957},{"core_branch_id":62360,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"William H. Brown","email":"chesterfieldlet@williamhbrown.co.uk","sales_phone_number":"01246 204492","address":"6 Glumangate,\r\nChesterfield,\r\nS40 1TP","postcode":"S40 1TP","website_url":"https:\/\/www.williamhbrown.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\/62360\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:20:28.000000Z","updated_at":"2026-01-20T19:57:31.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":62360,"agent_company_id":54,"branch_location":"Chesterfield","lettings_phone_number":"01246 204492","is_sales":true,"is_lettings":true,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E6100000081D740987DEF6BFD00CE2033B9E4A40","agent_brand_id":216,"offers_sales":true,"offers_lettings":true,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"6 Glumangate, Chesterfield","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"William H. Brown","branch_name":"Chesterfield","lettings":true,"sales":true,"commercial":false,"h_email":"chesterfieldlet@williamhbrown.co.uk","has_email":true,"h_phone":"01246 204492","has_phone":true,"resolved_brand_color":"#8dc3d9","boundary_listing_count":"1","property_count":"90","latitude":53.236176,"longitude":-1.429328}]; 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`; } } }