Estate & Letting Agents in Kirkby Lonsdale, Westmorland and Furness

Find Estate Agents in Kirkby Lonsdale, Westmorland and Furness
12 results
Lune Valley Estates
Lune Valley Estates

Lune Valley

Sales
3 active listings in Kirkby Lonsdale, Westmorland and Furness, England
71 total
Unit 8 Willow Mill, Fell View, Caton, LA2 9RA
View Featured Profile
Hackney & Leigh

Kirkby Lonsdale

Sales
20 active listings in Kirkby Lonsdale, Westmorland and Furness, England
65 total
3 Market Square Kirkby Lonsdale Cumbria LA6 2AN
View Profile
Davis & Bowring

Kirkby Lonsdale

Sales
10 active listings in Kirkby Lonsdale, Westmorland and Furness, England
58 total
Lane House, Kendal Road, Kirkby Lonsdale, Via Carnforth, LA6 2HH
View Profile
Thomson Hayton Winkley Estate Agents
4 active listings in Kirkby Lonsdale, Westmorland and Furness, England
13 total
29 Main Street, Kirkby Lonsdale, LA6 2AH
View Profile
Auction House Cumbria
2 active listings in Kirkby Lonsdale, Westmorland and Furness, England
44 total
59 Warwick Road, Carlisle, CA1 1EE
Fine & Country

Lakes & North Lancs

Sales
2 active listings in Kirkby Lonsdale, Westmorland and Furness, England
30 total
19 Castle Hill, Lancaster, LA1 1YN
View Profile
Ashdownjones

The Lakes and Lune Valley

Sales
1 active listing in Kirkby Lonsdale, Westmorland and Furness, England
68 total
1C Low Cleabarrow Business Centre Windermere Cumbria LA23 3FA
View Profile
Christie King Estate Agents
1 active listing in Kirkby Lonsdale, Westmorland and Furness, England
68 total
28 Highfield Road, Blackpool, FY4 2JA
View Profile
Hackney & Leigh

Kendal

Sales
1 active listing in Kirkby Lonsdale, Westmorland and Furness, England
144 total
100 Stricklandgate Kendal Cumbria LA9 4PU
View Profile
Jd Gallagher Estate Agents
1 active listing in Kirkby Lonsdale, Westmorland and Furness, England
235 total
66 Market Street, Lancaster, LA1 1HP
View Profile
Mccarthy & Stone Resales
1 active listing in Kirkby Lonsdale, Westmorland and Furness, England
1,331 total
100 Holdenhurst Road, Bournemouth, BH8 8AQ
Springbok Properties
1 active listing in Kirkby Lonsdale, Westmorland and Furness, England
1,297 total
Springbok Properties Nationwide Suite 7N Trafford House Chester Road Old Trafford M32 0RS
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 = 'Kirkby Lonsdale, Westmorland and Furness'; 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":57340,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"Lune Valley Estates","email":"team@lunevalleyestates.com","sales_phone_number":"01524 256625","address":"Unit 8 Willow Mill,\r\nFell View,\r\nCaton,\r\nLA2 9RA","postcode":"LA2 9RA","website_url":"https:\/\/lunevalleyestates.com","description":null,"listings_feed_url":null,"feed_format":null,"last_feed_sync":null,"crm_provider":null,"logo":"https:\/\/cdn.home.co.uk\/agents\/57340\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:17:45.000000Z","updated_at":"2026-01-20T19:53:37.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":57340,"agent_company_id":9536,"branch_location":"Lune Valley","lettings_phone_number":null,"is_sales":true,"is_lettings":false,"is_commercial":false,"is_hm_agent":true,"geopoint":"0101000020E610000064EAAEEC82C105C02B6B9BE271094B40","agent_brand_id":10432,"offers_sales":true,"offers_lettings":true,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"Unit 8 Willow Mill, Fell View, Caton","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Lune Valley Estates","branch_name":"Lune Valley","lettings":false,"sales":true,"commercial":false,"h_email":"team@lunevalleyestates.com","has_email":true,"h_phone":"01524 256625","has_phone":true,"resolved_brand_color":"#082341","boundary_listing_count":"3","property_count":"71","latitude":54.073788,"longitude":-2.719488},{"core_branch_id":57364,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"Hackney \u0026 Leigh","email":"kirkbysales@hackney-leigh.co.uk","sales_phone_number":"01524 272111","address":"3 Market Square\r\nKirkby Lonsdale\r\nCumbria\r\nLA6 2AN","postcode":"LA6 2AN","website_url":"http:\/\/www.hackney-leigh.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\/57364\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:17:46.000000Z","updated_at":"2026-01-20T19:56:56.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":57364,"agent_company_id":825,"branch_location":"Kirkby Lonsdale","lettings_phone_number":null,"is_sales":true,"is_lettings":false,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E61000009BC761307FC504C0CB4A9352D0194B40","agent_brand_id":1316,"offers_sales":true,"offers_lettings":false,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"3 Market Square, Kirkby Lonsdale, Cumbria","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Hackney \u0026 Leigh","branch_name":"Kirkby Lonsdale","lettings":false,"sales":true,"commercial":false,"h_email":"kirkbysales@hackney-leigh.co.uk","has_email":true,"h_phone":"01524 272111","has_phone":true,"resolved_brand_color":"#e50816","boundary_listing_count":"20","property_count":"65","latitude":54.20167,"longitude":-2.596434},{"core_branch_id":57365,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"Davis \u0026 Bowring","email":"sales@davis-bowring.co.uk","sales_phone_number":"01524 274445","address":"Lane House,\r\nKendal Road,\r\nKirkby Lonsdale,\r\nVia Carnforth,\r\nLA6 2HH\r\n","postcode":"LA6 2HH","website_url":"http:\/\/www.davis-bowring.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\/57365\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:17:46.000000Z","updated_at":"2026-01-20T19:53:55.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":57365,"agent_company_id":3417,"branch_location":"Kirkby Lonsdale","lettings_phone_number":null,"is_sales":true,"is_lettings":false,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E61000008C65FA25E2ED04C0EA961DE21F1A4B40","agent_brand_id":4098,"offers_sales":true,"offers_lettings":true,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"Lane House, Kendal Road, Kirkby Lonsdale, Via Carnforth","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Davis \u0026 Bowring","branch_name":"Kirkby Lonsdale","lettings":false,"sales":true,"commercial":false,"h_email":"sales@davis-bowring.co.uk","has_email":true,"h_phone":"01524 274445","has_phone":true,"resolved_brand_color":"#8ca1b0","boundary_listing_count":"10","property_count":"58","latitude":54.204098,"longitude":-2.616154},{"core_branch_id":57363,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"Thomson Hayton Winkley Estate Agents","email":"kirkby@thwestateagents.co.uk","sales_phone_number":"01524 271999","address":"29 Main Street,\r\nKirkby Lonsdale,\r\nLA6 2AH","postcode":"LA6 2AH","website_url":"http:\/\/www.thwestateagents.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\/57363\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:17:46.000000Z","updated_at":"2026-01-20T19:56:56.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":57363,"agent_company_id":3418,"branch_location":"Kirkby Lonsdale","lettings_phone_number":null,"is_sales":true,"is_lettings":false,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E610000017D68D7747C604C0CD3D247CEF194B40","agent_brand_id":4099,"offers_sales":true,"offers_lettings":false,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"29 Main Street, Kirkby Lonsdale","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Thomson Hayton Winkley Estate Agents","branch_name":"Kirkby Lonsdale","lettings":false,"sales":true,"commercial":false,"h_email":"kirkby@thwestateagents.co.uk","has_email":true,"h_phone":"01524 271999","has_phone":true,"resolved_brand_color":"#8f2104","boundary_listing_count":"4","property_count":"13","latitude":54.202621,"longitude":-2.596816},{"core_branch_id":51925,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"Auction House Cumbria","email":null,"sales_phone_number":"01228 510552","address":"59 Warwick Road,\r\nCarlisle,\r\nCA1 1EE","postcode":"CA1 1EE","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\/51925\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:14:46.000000Z","updated_at":"2026-01-20T19:59:09.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":51925,"agent_company_id":9318,"branch_location":"Carlisle","lettings_phone_number":null,"is_sales":true,"is_lettings":false,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E6100000A8A9656B7D7107C0CEAACFD556724B40","agent_brand_id":10214,"offers_sales":true,"offers_lettings":false,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"59 Warwick Road, Carlisle","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Auction House Cumbria","branch_name":"Carlisle","lettings":false,"sales":true,"commercial":false,"h_email":null,"has_email":false,"h_phone":"01228 510552","has_phone":true,"resolved_brand_color":"#c91130","boundary_listing_count":"2","property_count":"44","latitude":54.893275,"longitude":-2.930415},{"core_branch_id":57311,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"Fine \u0026 Country","email":"fineandcountry.lancaster@ptlp.co.uk","sales_phone_number":"01524 380560","address":"19 Castle Hill,\r\nLancaster,\r\nLA1 1YN","postcode":"LA1 1YN","website_url":"https:\/\/www.fineandcountry.com\/uk","description":null,"listings_feed_url":null,"feed_format":null,"last_feed_sync":null,"crm_provider":null,"logo":"https:\/\/cdn.home.co.uk\/agents\/57311\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:17:44.000000Z","updated_at":"2026-01-20T19:57:33.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":57311,"agent_company_id":3529,"branch_location":"Lakes \u0026 North Lancs","lettings_phone_number":null,"is_sales":true,"is_lettings":false,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E61000003065E080966E06C00AF4893C49064B40","agent_brand_id":4216,"offers_sales":true,"offers_lettings":false,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"19 Castle Hill, Lancaster","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Fine \u0026 Country","branch_name":"Lakes \u0026 North Lancs","lettings":false,"sales":true,"commercial":false,"h_email":"fineandcountry.lancaster@ptlp.co.uk","has_email":true,"h_phone":"01524 380560","has_phone":true,"resolved_brand_color":"#9d8140","boundary_listing_count":"2","property_count":"30","latitude":54.04911,"longitude":-2.803998},{"core_branch_id":57348,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"Ashdownjones","email":"team@ashdownjones.co.uk","sales_phone_number":"01539 488811","address":"1C Low Cleabarrow Business Centre\r\nWindermere\r\nCumbria\r\nLA23 3FA","postcode":"LA23 3FA","website_url":"http:\/\/www.ashdownjones.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\/57348\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:17:46.000000Z","updated_at":"2026-01-20T19:53:54.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":57348,"agent_company_id":4140,"branch_location":"The Lakes and Lune Valley","lettings_phone_number":null,"is_sales":true,"is_lettings":false,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E61000004A29E8F6922607C0F78F85E8102E4B40","agent_brand_id":4863,"offers_sales":true,"offers_lettings":true,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"1C Low Cleabarrow Business Centre, Windermere, Cumbria","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Ashdownjones","branch_name":"The Lakes and Lune Valley","lettings":false,"sales":true,"commercial":false,"h_email":"team@ashdownjones.co.uk","has_email":true,"h_phone":"01539 488811","has_phone":true,"resolved_brand_color":"#191441","boundary_listing_count":"1","property_count":"68","latitude":54.359891,"longitude":-2.893835},{"core_branch_id":55111,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"Christie King Estate Agents","email":"sales@christieking.co.uk","sales_phone_number":"01253 404044","address":"28 Highfield Road,\r\nBlackpool,\r\nFY4 2JA","postcode":"FY4 2JA","website_url":"http:\/\/www.christieking.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\/55111\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:16:30.000000Z","updated_at":"2026-01-20T19:53:15.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":55111,"agent_company_id":434,"branch_location":"Blackpool","lettings_phone_number":null,"is_sales":true,"is_lettings":false,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E610000092CB7F48BF5D08C0C87E164B91E44A40","agent_brand_id":794,"offers_sales":true,"offers_lettings":true,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"28 Highfield Road, Blackpool","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Christie King Estate Agents","branch_name":"Blackpool","lettings":false,"sales":true,"commercial":false,"h_email":"sales@christieking.co.uk","has_email":true,"h_phone":"01253 404044","has_phone":true,"resolved_brand_color":"#2d223e","boundary_listing_count":"1","property_count":"68","latitude":53.785684,"longitude":-3.045775},{"core_branch_id":57371,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"Hackney \u0026 Leigh","email":"surveys@hackney-leigh.co.uk","sales_phone_number":"01539 729711","address":"100 Stricklandgate\r\nKendal\r\nCumbria\r\nLA9 4PU","postcode":"LA9 4PU","website_url":"https:\/\/www.hackney-leigh.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\/57371\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:17:46.000000Z","updated_at":"2026-01-20T19:53:37.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":57371,"agent_company_id":825,"branch_location":"Kendal","lettings_phone_number":null,"is_sales":true,"is_lettings":false,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E6100000A33F34F3E4FA05C0BCE82B48332A4B40","agent_brand_id":1316,"offers_sales":true,"offers_lettings":true,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"100 Stricklandgate, Kendal, Cumbria","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Hackney \u0026 Leigh","branch_name":"Kendal","lettings":false,"sales":true,"commercial":false,"h_email":"surveys@hackney-leigh.co.uk","has_email":true,"h_phone":"01539 729711","has_phone":true,"resolved_brand_color":"#e50816","boundary_listing_count":"1","property_count":"144","latitude":54.32969,"longitude":-2.747507},{"core_branch_id":57300,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"Jd Gallagher Estate Agents","email":"vicke@gdg.co.uk","sales_phone_number":"01524 843322","address":"66 Market Street, Lancaster, \r\nLA1 1HP","postcode":"LA1 1HP","website_url":"https:\/\/www.jdg.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\/57300\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:17:44.000000Z","updated_at":"2026-01-20T19:53:37.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":57300,"agent_company_id":4442,"branch_location":"Lancaster","lettings_phone_number":null,"is_sales":true,"is_lettings":false,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E610000082035ABA826D06C0F86BB2463D064B40","agent_brand_id":5182,"offers_sales":true,"offers_lettings":true,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"66 Market Street, Lancaster","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Jd Gallagher Estate Agents","branch_name":"Lancaster","lettings":false,"sales":true,"commercial":false,"h_email":"vicke@gdg.co.uk","has_email":true,"h_phone":"01524 843322","has_phone":true,"resolved_brand_color":"#ee5020","boundary_listing_count":"1","property_count":"235","latitude":54.048745,"longitude":-2.803472},{"core_branch_id":51047,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"Mccarthy \u0026 Stone Resales","email":null,"sales_phone_number":"03455 564122","address":"100 Holdenhurst Road,\r\nBournemouth,\r\nBH8 8AQ","postcode":"BH8 8AQ","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\/51047\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:14:18.000000Z","updated_at":"2026-01-20T19:57:48.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":51047,"agent_company_id":5694,"branch_location":"-","lettings_phone_number":null,"is_sales":true,"is_lettings":false,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E61000005723BBD232D2FDBF72C284D1AC5C4940","agent_brand_id":6493,"offers_sales":true,"offers_lettings":false,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"100 Holdenhurst Road, Bournemouth","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Mccarthy \u0026 Stone Resales","branch_name":"-","lettings":false,"sales":true,"commercial":false,"h_email":null,"has_email":false,"h_phone":"03455 564122","has_phone":true,"resolved_brand_color":"#002c2e","boundary_listing_count":"1","property_count":"1331","latitude":50.724024,"longitude":-1.863818},{"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}]; 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`; } } }