Estate & Letting Agents in Arlecdon and Frizington, Cumberland

Find Estate Agents in Arlecdon and Frizington, Cumberland
14 results
Belvoir

Carlisle

Sales
2 active listings in Arlecdon and Frizington, Cumberland, England
18 total
2 The Crescent, Carlisle, CA1 1QN
First Choice Move

Lillyhall

Sales
10 active listings in Arlecdon and Frizington, Cumberland, England
296 total
Gate House, Hallwood Road, Lillyhall, Workington, CA14 4JR
View Profile
Grisdales Estate Agents

Whitehaven

Sales
10 active listings in Arlecdon and Frizington, Cumberland, England
76 total
46/47 King Street Whitehaven CA28 7JH
View Profile
Your Move - Property @ Cumbria

Whitehaven

Lettings Sales
8 active listings in Arlecdon and Frizington, Cumberland, England
109 total
67 Lowther Street, Whitehaven, CA28 7AH
View Profile
Lillingtons Estate Agents
5 active listings in Arlecdon and Frizington, Cumberland, England
110 total
58 Lowther Street, Whitehaven, CA28 7DP
View Profile
Mark Buchanan Property Group, Powered by Exp UK
5 active listings in Arlecdon and Frizington, Cumberland, England
197 total
1st Floor Prosper House, Regents Court, Guard St, Workington, CA14 4EW
View Profile
Pfk

Cockermouth

Sales
4 active listings in Arlecdon and Frizington, Cumberland, England
110 total
68 Main Street, Cockermouth, CA13 9LU
View Profile
Mitchells Land & Property

Cockermouth

Sales
2 active listings in Arlecdon and Frizington, Cumberland, England
31 total
Lakeland Agricultural Centre, Cockermouth, CA13 0QQ
View Profile
Auction House Cumbria
1 active listing in Arlecdon and Frizington, Cumberland, England
44 total
59 Warwick Road, Carlisle, CA1 1EE
Dales & Shires

Covering Nationwide

Sales
1 active listing in Arlecdon and Frizington, Cumberland, England
31 total
London, EC1V 2NX
Finest

Cumbria & the Lakes

Sales
1 active listing in Arlecdon and Frizington, Cumberland, England
27 total
White Ox, Scotland Road, Penrith, CA11 8QN
Grisdales Estate Agents

Cockermouth

Sales
1 active listing in Arlecdon and Frizington, Cumberland, England
91 total
40 Main Street, Cockermouth,CA13 9LQ
View Profile
Hunters

Carlisle

Sales
1 active listing in Arlecdon and Frizington, Cumberland, England
128 total
56 Warwick Road, Carlisle, Cumbria, CA1 1DR
Let Property Sales & Management
1 active listing in Arlecdon and Frizington, Cumberland, England
1,126 total
91 Mitchell Street, Glasgow, G1 3LN
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 = 'Arlecdon and Frizington, Cumberland'; 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":51927,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"Belvoir","email":"carlisle@belvoir.co.uk","sales_phone_number":null,"address":"2 The Crescent,\r\nCarlisle,\r\nCA1 1QN","postcode":"CA1 1QN","website_url":"http:\/\/home.smelogin.co.uk","description":null,"listings_feed_url":null,"feed_format":null,"last_feed_sync":null,"crm_provider":"SME Professional","logo":"https:\/\/cdn.home.co.uk\/agents\/51927\/logo.png","office_images":null,"claimed_at":"2025-12-22T15:24:08.000000Z","created_at":"2025-12-09T17:14:46.000000Z","updated_at":"2026-01-20T19:55:52.000000Z","deleted_at":null,"claimed_user_id":"cb096143-431a-4200-ba92-f3ac46037fb3","profile_status":"on_hold","assigned_user_id":null,"id":51927,"agent_company_id":44,"branch_location":"Carlisle","lettings_phone_number":null,"is_sales":true,"is_lettings":false,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E61000004CA60A46257507C0EA04341136724B40","agent_brand_id":67,"offers_sales":true,"offers_lettings":true,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"2 The Crescent, Carlisle","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Belvoir","branch_name":"Carlisle","lettings":false,"sales":true,"commercial":false,"h_email":"carlisle@belvoir.co.uk","has_email":true,"h_phone":null,"has_phone":false,"resolved_brand_color":"#ba3232","boundary_listing_count":"2","property_count":"18","latitude":54.892275,"longitude":-2.9322},{"core_branch_id":51951,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"First Choice Move","email":"admin@firstchoicemove.co.uk","sales_phone_number":"01946 413001","address":"Gate House,\r\nHallwood Road,\r\nLillyhall,\r\nWorkington,\r\nCA14 4JR\r\n","postcode":"CA14 4JR","website_url":"http:\/\/www.firstchoicemove.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\/51951\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:14:47.000000Z","updated_at":"2026-01-20T19:57:02.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":51951,"agent_company_id":2159,"branch_location":"Lillyhall","lettings_phone_number":null,"is_sales":true,"is_lettings":false,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E61000005C5837DE1D390CC0C80BE9F0104E4B40","agent_brand_id":2773,"offers_sales":true,"offers_lettings":false,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"Gate House, Hallwood Road, Lillyhall, Workington","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"First Choice Move","branch_name":"Lillyhall","lettings":false,"sales":true,"commercial":false,"h_email":"admin@firstchoicemove.co.uk","has_email":true,"h_phone":"01946 413001","has_phone":true,"resolved_brand_color":"#ee4c3d","boundary_listing_count":"10","property_count":"296","latitude":54.609892,"longitude":-3.527889},{"core_branch_id":51955,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"Grisdales Estate Agents","email":"whitehaven@grisdales.co.uk","sales_phone_number":"01946 693931","address":"46\/47 \r\nKing Street\r\nWhitehaven\r\nCA28 7JH ","postcode":"CA28 7JH","website_url":"https:\/\/www.grisdales.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\/51955\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:14:47.000000Z","updated_at":"2026-01-20T19:52:41.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":51955,"agent_company_id":4016,"branch_location":"Whitehaven","lettings_phone_number":null,"is_sales":true,"is_lettings":false,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E6100000B131AF230EB90CC01BD47E6B27464B40","agent_brand_id":4733,"offers_sales":true,"offers_lettings":true,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"46\/47, King Street, Whitehaven","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Grisdales Estate Agents","branch_name":"Whitehaven","lettings":false,"sales":true,"commercial":false,"h_email":"whitehaven@grisdales.co.uk","has_email":true,"h_phone":"01946 693931","has_phone":true,"resolved_brand_color":"#f2bf31","boundary_listing_count":"10","property_count":"76","latitude":54.548078,"longitude":-3.590359},{"core_branch_id":51953,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"Your Move - Property @ Cumbria","email":"whitehaven@your-move.co.uk","sales_phone_number":"01946 66311","address":"67 Lowther Street,\r\nWhitehaven,\r\nCA28 7AH","postcode":"CA28 7AH","website_url":"https:\/\/www.your-move.co.uk\/estate-agent\/whitehaven","description":null,"listings_feed_url":null,"feed_format":null,"last_feed_sync":null,"crm_provider":null,"logo":"https:\/\/cdn.home.co.uk\/agents\/51953\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:14:47.000000Z","updated_at":"2026-01-20T19:59:10.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":51953,"agent_company_id":47,"branch_location":"Whitehaven","lettings_phone_number":"01946 66311","is_sales":true,"is_lettings":true,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E610000025AE635C71B10CC0B9C1508715464B40","agent_brand_id":114,"offers_sales":true,"offers_lettings":true,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"67 Lowther Street, Whitehaven","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Your Move - Property @ Cumbria","branch_name":"Whitehaven","lettings":true,"sales":true,"commercial":false,"h_email":"whitehaven@your-move.co.uk","has_email":true,"h_phone":"01946 66311","has_phone":true,"resolved_brand_color":"#63aa2e","boundary_listing_count":"8","property_count":"109","latitude":54.547532,"longitude":-3.586642},{"core_branch_id":51954,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"Lillingtons Estate Agents","email":"whitehaven@lillingtons-estates.co.uk","sales_phone_number":"01946 590412","address":"58 Lowther Street,\r\nWhitehaven,\r\nCA28 7DP","postcode":"CA28 7DP","website_url":"http:\/\/www.lillingtons-estates.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\/51954\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:14:47.000000Z","updated_at":"2026-01-20T19:52:41.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":51954,"agent_company_id":4017,"branch_location":"Whitehaven","lettings_phone_number":null,"is_sales":true,"is_lettings":false,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E6100000D3DC0A6135B60CC0672618CE35464B40","agent_brand_id":4734,"offers_sales":true,"offers_lettings":true,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"58 Lowther Street, Whitehaven","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Lillingtons Estate Agents","branch_name":"Whitehaven","lettings":false,"sales":true,"commercial":false,"h_email":"whitehaven@lillingtons-estates.co.uk","has_email":true,"h_phone":"01946 590412","has_phone":true,"resolved_brand_color":"#bfd12c","boundary_listing_count":"5","property_count":"110","latitude":54.548517,"longitude":-3.588969},{"core_branch_id":51950,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"Mark Buchanan Property Group, Powered by Exp UK","email":"mark.buchanan@exp.uk.com","sales_phone_number":"01900 878350","address":"1st Floor Prosper House, Regents Court, \r\nGuard St, \r\nWorkington, \r\nCA14 4EW","postcode":"CA14 4EW","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\/51950\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:14:47.000000Z","updated_at":"2026-01-20T19:57:02.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":51950,"agent_company_id":510,"branch_location":"Workington","lettings_phone_number":null,"is_sales":true,"is_lettings":false,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E6100000AED4B32094570CC0B0C6D97404524B40","agent_brand_id":943,"offers_sales":true,"offers_lettings":false,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"1st Floor Prosper House, Regents Court, Guard St, Workington","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Mark Buchanan Property Group, Powered by Exp UK","branch_name":"Workington","lettings":false,"sales":true,"commercial":false,"h_email":"mark.buchanan@exp.uk.com","has_email":true,"h_phone":"01900 878350","has_phone":true,"resolved_brand_color":"#c2b375","boundary_listing_count":"5","property_count":"197","latitude":54.640761,"longitude":-3.542763},{"core_branch_id":51948,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"Pfk","email":"cockermouth@pfk.co.uk","sales_phone_number":"01900 826205","address":"68 Main Street,\r\nCockermouth,\r\nCA13 9LU","postcode":"CA13 9LU","website_url":"http:\/\/www.pfk.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\/51948\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:14:47.000000Z","updated_at":"2026-01-20T19:52:41.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":51948,"agent_company_id":826,"branch_location":"Cockermouth","lettings_phone_number":null,"is_sales":true,"is_lettings":false,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E6100000100533A660ED0AC0450DA661F8544B40","agent_brand_id":1317,"offers_sales":true,"offers_lettings":true,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"68 Main Street, Cockermouth","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Pfk","branch_name":"Cockermouth","lettings":false,"sales":true,"commercial":false,"h_email":"cockermouth@pfk.co.uk","has_email":true,"h_phone":"01900 826205","has_phone":true,"resolved_brand_color":"#06463b","boundary_listing_count":"4","property_count":"110","latitude":54.66383,"longitude":-3.365907},{"core_branch_id":51946,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"Mitchells Land \u0026 Property","email":"info@mitchellsestateagency.co.uk","sales_phone_number":"01900 822016","address":"Lakeland Agricultural Centre,\r\nCockermouth,\r\nCA13 0QQ","postcode":"CA13 0QQ","website_url":"http:\/\/www.mitchellslandagency.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\/51946\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:14:47.000000Z","updated_at":"2026-01-20T19:59:10.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":51946,"agent_company_id":6898,"branch_location":"Cockermouth","lettings_phone_number":null,"is_sales":true,"is_lettings":false,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E6100000F6B2EDB435020BC061545227A0534B40","agent_brand_id":7733,"offers_sales":true,"offers_lettings":false,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"Lakeland Agricultural Centre, Cockermouth","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Mitchells Land \u0026 Property","branch_name":"Cockermouth","lettings":false,"sales":true,"commercial":false,"h_email":"info@mitchellsestateagency.co.uk","has_email":true,"h_phone":"01900 822016","has_phone":true,"resolved_brand_color":"#121b42","boundary_listing_count":"2","property_count":"31","latitude":54.653325,"longitude":-3.376079},{"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":"1","property_count":"44","latitude":54.893275,"longitude":-2.930415},{"core_branch_id":54444,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"Dales \u0026 Shires","email":"sales@dalesandshires.com","sales_phone_number":null,"address":"London, \r\nEC1V 2NX","postcode":"EC1V 2NX","website_url":"http:\/\/www.dalesandshires.com","description":null,"listings_feed_url":null,"feed_format":null,"last_feed_sync":null,"crm_provider":null,"logo":"https:\/\/cdn.home.co.uk\/agents\/54444\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:16:09.000000Z","updated_at":"2026-01-20T19:53:09.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":54444,"agent_company_id":7383,"branch_location":"Covering Nationwide","lettings_phone_number":null,"is_sales":true,"is_lettings":false,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E610000088D7F50B76C3B6BF191D90847DC34940","agent_brand_id":8227,"offers_sales":true,"offers_lettings":true,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"London","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Dales \u0026 Shires","branch_name":"Covering Nationwide","lettings":false,"sales":true,"commercial":false,"h_email":"sales@dalesandshires.com","has_email":true,"h_phone":null,"has_phone":false,"resolved_brand_color":"#516030","boundary_listing_count":"1","property_count":"31","latitude":51.527268,"longitude":-0.08892},{"core_branch_id":51939,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"Finest","email":null,"sales_phone_number":"01434 622234","address":"White Ox, \r\nScotland Road, \r\nPenrith, \r\nCA11 8QN","postcode":"CA11 8QN","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\/51939\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:14:47.000000Z","updated_at":"2026-01-20T19:57:50.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":51939,"agent_company_id":5601,"branch_location":"Cumbria \u0026 the Lakes","lettings_phone_number":null,"is_sales":true,"is_lettings":false,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E6100000388600E0D81306C07104A9143B564B40","agent_brand_id":6396,"offers_sales":true,"offers_lettings":false,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"White Ox, Scotland Road, Penrith","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Finest","branch_name":"Cumbria \u0026 the Lakes","lettings":false,"sales":true,"commercial":false,"h_email":null,"has_email":false,"h_phone":"01434 622234","has_phone":true,"resolved_brand_color":"#012e2e","boundary_listing_count":"1","property_count":"27","latitude":54.673678,"longitude":-2.759691},{"core_branch_id":51947,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"Grisdales Estate Agents","email":"cockermouth@grisdales.co.uk","sales_phone_number":"01900 829977","address":"40 Main Street,\r\nCockermouth,CA13 9LQ","postcode":"CA13 9LQ","website_url":"https:\/\/www.grisdales.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\/51947\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:14:47.000000Z","updated_at":"2026-01-20T19:52:41.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":51947,"agent_company_id":4016,"branch_location":"Cockermouth","lettings_phone_number":null,"is_sales":true,"is_lettings":false,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E61000000858AB764DE80AC073F56393FC544B40","agent_brand_id":4733,"offers_sales":true,"offers_lettings":true,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"40 Main Street, Cockermouth","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Grisdales Estate Agents","branch_name":"Cockermouth","lettings":false,"sales":true,"commercial":false,"h_email":"cockermouth@grisdales.co.uk","has_email":true,"h_phone":"01900 829977","has_phone":true,"resolved_brand_color":"#f2bf31","boundary_listing_count":"1","property_count":"91","latitude":54.663958,"longitude":-3.363429},{"core_branch_id":51922,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"Hunters","email":null,"sales_phone_number":"01228 584249","address":"56 Warwick Road, \r\nCarlisle, \r\nCumbria, \r\nCA1 1DR","postcode":"CA1 1DR","website_url":"https:\/\/www.hunters.com\/","description":null,"listings_feed_url":null,"feed_format":null,"last_feed_sync":null,"crm_provider":null,"logo":"https:\/\/cdn.home.co.uk\/agents\/51922\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:14:46.000000Z","updated_at":"2026-01-20T19:55:41.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":51922,"agent_company_id":98,"branch_location":"Carlisle","lettings_phone_number":null,"is_sales":true,"is_lettings":false,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E610000048C0E8F2E67007C01F80D4264E724B40","agent_brand_id":290,"offers_sales":true,"offers_lettings":true,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"56 Warwick Road, Carlisle, Cumbria","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Hunters","branch_name":"Carlisle","lettings":false,"sales":true,"commercial":false,"h_email":null,"has_email":false,"h_phone":"01228 584249","has_phone":true,"resolved_brand_color":"#193273","boundary_listing_count":"1","property_count":"128","latitude":54.89301,"longitude":-2.930128},{"core_branch_id":55162,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"Let Property Sales \u0026 Management","email":null,"sales_phone_number":"0141 280 0257","address":"91 Mitchell Street,\r\nGlasgow,\r\nG1 3LN","postcode":"G1 3LN","website_url":"https:\/\/www.letproperty.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\/55162\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:16:32.000000Z","updated_at":"2026-01-20T20:00:37.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":55162,"agent_company_id":8203,"branch_location":"Glasgow","lettings_phone_number":null,"is_sales":true,"is_lettings":false,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E610000089601C5C3A0611C044DC9C4A06EE4B40","agent_brand_id":9068,"offers_sales":true,"offers_lettings":false,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"91 Mitchell Street, Glasgow","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Let Property Sales \u0026 Management","branch_name":"Glasgow","lettings":false,"sales":true,"commercial":false,"h_email":null,"has_email":false,"h_phone":"0141 280 0257","has_phone":true,"resolved_brand_color":"#003b55","boundary_listing_count":"1","property_count":"1126","latitude":55.859567,"longitude":-4.256082}]; 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`; } } }