Estate & Letting Agents in Amble By the Sea, Northumberland

Find Estate Agents in Amble By the Sea, Northumberland
14 results
Exp UK
Exp UK

East Midlands

Sales
1 active listing in Amble By the Sea, Northumberland, North East, England
7,673 total
114 St. Martin's Lane London WC2N 4BE
View Featured Profile
Rook Matthews Sayer

Alnwick

Sales
29 active listings in Amble By the Sea, Northumberland, North East, England
118 total
5 Market Street, Alnwick, NE66 1SS
View Profile
Elizabeth Humphreys Homes
16 active listings in Amble By the Sea, Northumberland, North East, England
88 total
Casey Lodge Park Road, Swarland, NE65 9JD
View Profile
Yopa

Nationwide

Sales
8 active listings in Amble By the Sea, Northumberland, North East, England
7,206 total
Meridian House Wheatfield Way Hinckley LE10 1YG
View Profile
Pattinson Estate Agents
7 active listings in Amble By the Sea, Northumberland, North East, England
63 total
Bondgate Without, Alnwick, NE66 1PR
View Profile
Brunton Residential

Morpeth

Sales
3 active listings in Amble By the Sea, Northumberland, North East, England
134 total
28a Bridge Street Morpeth, NE61 1AW
Rook Matthews Sayer

Newcastle Upon Tyne - Commercial Properties

Sales
3 active listings in Amble By the Sea, Northumberland, North East, England
57 total
Newcastle House Albany Court, Newcastle Business Park, Newcastle Upon Tyne, NE4 7YB
View Profile
Sanderson Young

Alnwick

Sales
2 active listings in Amble By the Sea, Northumberland, North East, England
69 total
35 Bondgate Without Alnwick NE66 1PR
View Profile
Future Property Auctions
1 active listing in Amble By the Sea, Northumberland, North East, England
336 total
241 Kilmarnock Road Glasgow G41 3JF
Get An Offer

Worthing

Sales
1 active listing in Amble By the Sea, Northumberland, North East, England
196 total
38a Goring Road, Goring-By-Sea, Worthing, BN12 4AD
View Profile
Hunters

Consett

Sales
1 active listing in Amble By the Sea, Northumberland, North East, England
61 total
15 Victoria Road, Consett, DH8 5BQ
Openrent

London

Lettings
1 active listing in Amble By the Sea, Northumberland, North East, England
8,460 total
20 Wenlock Road, London, N1 7GU
View Profile
Pattinson Estate Agents
1 active listing in Amble By the Sea, Northumberland, North East, England
58 total
13 Newgate Street, Morpeth, NE61 1AL
View Profile
Pattinson Estate Agents
1 active listing in Amble By the Sea, Northumberland, North East, England
125 total
95 Station Road, Ashington, NE63 8RS
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 = 'Amble By the Sea, Northumberland'; 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":66292,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"Exp UK","email":"carl.mcintosh-ormerod@exp.uk.com","sales_phone_number":"03304 609968","address":"114 St. Martin\u0027s Lane\r\nLondon\r\nWC2N 4BE","postcode":"WC2N 4BE","website_url":"https:\/\/exp.uk.com\/","description":null,"listings_feed_url":null,"feed_format":null,"last_feed_sync":null,"crm_provider":null,"logo":"https:\/\/cdn.home.co.uk\/agents\/66292\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:22:38.000000Z","updated_at":"2026-01-20T19:55:20.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":66292,"agent_company_id":510,"branch_location":"East Midlands","lettings_phone_number":null,"is_sales":true,"is_lettings":false,"is_commercial":false,"is_hm_agent":true,"geopoint":"0101000020E610000056478E740646C0BF0398327040C14940","agent_brand_id":924,"offers_sales":true,"offers_lettings":true,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"114 St. Martin\u0027s Lane, London","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Exp UK","branch_name":"East Midlands","lettings":false,"sales":true,"commercial":false,"h_email":"carl.mcintosh-ormerod@exp.uk.com","has_email":true,"h_phone":"03304 609968","has_phone":true,"resolved_brand_color":"#ffffff","boundary_listing_count":"1","property_count":"7673","latitude":51.509779,"longitude":-0.127137},{"core_branch_id":59474,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"Rook Matthews Sayer","email":"alnwick@rookmatthewssayer.co.uk","sales_phone_number":"01665 510044","address":"5 Market Street,\r\nAlnwick,\r\nNE66 1SS","postcode":"NE66 1SS","website_url":"https:\/\/www.rookmatthewssayer.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\/59474\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:18:55.000000Z","updated_at":"2026-01-20T19:54:02.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":59474,"agent_company_id":512,"branch_location":"Alnwick","lettings_phone_number":null,"is_sales":true,"is_lettings":false,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E61000004B5AF10D854FFBBFD2A6EA1ED9B44B40","agent_brand_id":964,"offers_sales":true,"offers_lettings":true,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"5 Market Street, Alnwick","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Rook Matthews Sayer","branch_name":"Alnwick","lettings":false,"sales":true,"commercial":false,"h_email":"alnwick@rookmatthewssayer.co.uk","has_email":true,"h_phone":"01665 510044","has_phone":true,"resolved_brand_color":"#052133","boundary_listing_count":"29","property_count":"118","latitude":55.412876,"longitude":-1.706914},{"core_branch_id":59469,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"Elizabeth Humphreys Homes","email":"info@eh-homes.co.uk","sales_phone_number":"01665 661170","address":"Casey Lodge Park Road,\r\nSwarland,\r\nNE65 9JD","postcode":"NE65 9JD","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\/59469\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:18:55.000000Z","updated_at":"2026-01-20T19:58:49.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":59469,"agent_company_id":263,"branch_location":"Swarland","lettings_phone_number":null,"is_sales":true,"is_lettings":false,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E6100000B0027CB779E3FBBFA987687407A94B40","agent_brand_id":554,"offers_sales":true,"offers_lettings":false,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"Casey Lodge Park Road, Swarland","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Elizabeth Humphreys Homes","branch_name":"Swarland","lettings":false,"sales":true,"commercial":false,"h_email":"info@eh-homes.co.uk","has_email":true,"h_phone":"01665 661170","has_phone":true,"resolved_brand_color":"#2e103f","boundary_listing_count":"16","property_count":"88","latitude":55.32054,"longitude":-1.743036},{"core_branch_id":57439,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"Yopa","email":"aimee.boston@yopa.co.uk","sales_phone_number":"01923 381187","address":"Meridian House\r\nWheatfield Way\r\nHinckley\r\nLE10 1YG","postcode":"LE10 1YG","website_url":"https:\/\/www.yopa.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\/57439\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:17:48.000000Z","updated_at":"2026-01-20T19:57:00.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":57439,"agent_company_id":8351,"branch_location":"Nationwide","lettings_phone_number":null,"is_sales":true,"is_lettings":false,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E610000029EB3713D305F6BFF52A323A20474A40","agent_brand_id":9221,"offers_sales":true,"offers_lettings":false,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"Meridian House, Wheatfield Way, Hinckley","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Yopa","branch_name":"Nationwide","lettings":false,"sales":true,"commercial":false,"h_email":"aimee.boston@yopa.co.uk","has_email":true,"h_phone":"01923 381187","has_phone":true,"resolved_brand_color":"#56c5cd","boundary_listing_count":"8","property_count":"7206","latitude":52.555671,"longitude":-1.376422},{"core_branch_id":59472,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"Pattinson Estate Agents","email":"Alnwick@pattinson.co.uk","sales_phone_number":"01665 639110","address":"Bondgate Without,\r\nAlnwick,\r\nNE66 1PR","postcode":"NE66 1PR","website_url":"https:\/\/www.pattinson.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\/59472\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:18:55.000000Z","updated_at":"2026-01-20T19:54:02.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":59472,"agent_company_id":46,"branch_location":"Alnwick","lettings_phone_number":null,"is_sales":true,"is_lettings":false,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E610000019541B9C883EFBBF467C2766BDB44B40","agent_brand_id":99,"offers_sales":true,"offers_lettings":true,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"Bondgate Without, Alnwick","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Pattinson Estate Agents","branch_name":"Alnwick","lettings":false,"sales":true,"commercial":false,"h_email":"Alnwick@pattinson.co.uk","has_email":true,"h_phone":"01665 639110","has_phone":true,"resolved_brand_color":"#223e74","boundary_listing_count":"7","property_count":"63","latitude":55.41203,"longitude":-1.702767},{"core_branch_id":59459,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"Brunton Residential","email":null,"sales_phone_number":"01670 202008","address":"28a Bridge Street\r\nMorpeth,\r\nNE61 1AW","postcode":"NE61 1AW","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\/59459\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:18:55.000000Z","updated_at":"2026-01-20T19:55:52.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":59459,"agent_company_id":1674,"branch_location":"Morpeth","lettings_phone_number":null,"is_sales":true,"is_lettings":false,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E61000008B87F71C580EFBBF0C5872158B954B40","agent_brand_id":2254,"offers_sales":true,"offers_lettings":false,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"28a Bridge Street, Morpeth","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Brunton Residential","branch_name":"Morpeth","lettings":false,"sales":true,"commercial":false,"h_email":null,"has_email":false,"h_phone":"01670 202008","has_phone":true,"resolved_brand_color":"#4c555b","boundary_listing_count":"3","property_count":"134","latitude":55.168307,"longitude":-1.691002},{"core_branch_id":59418,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"Rook Matthews Sayer","email":"info@rookmatthewssayer.co.uk","sales_phone_number":"0191 212 0000","address":"Newcastle House Albany Court,\r\nNewcastle Business Park,\r\nNewcastle Upon Tyne,\r\nNE4 7YB","postcode":"NE4 7YB","website_url":"http:\/\/rookmatthewssayer.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\/59418\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:18:53.000000Z","updated_at":"2026-01-20T19:55:51.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":59418,"agent_company_id":512,"branch_location":"Newcastle Upon Tyne - Commercial Properties","lettings_phone_number":null,"is_sales":true,"is_lettings":false,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E61000007094BC3AC740FABF7C2AA73D257B4B40","agent_brand_id":964,"offers_sales":true,"offers_lettings":true,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"Newcastle House Albany Court, Newcastle Business Park, Newcastle Upon Tyne","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Rook Matthews Sayer","branch_name":"Newcastle Upon Tyne - Commercial Properties","lettings":false,"sales":true,"commercial":false,"h_email":"info@rookmatthewssayer.co.uk","has_email":true,"h_phone":"0191 212 0000","has_phone":true,"resolved_brand_color":"#052133","boundary_listing_count":"3","property_count":"57","latitude":54.962074,"longitude":-1.640815},{"core_branch_id":59473,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"Sanderson Young","email":"Gavin.Burn@sandersonyoung.co.uk","sales_phone_number":"01665 600170","address":"35 \r\nBondgate Without\r\nAlnwick\r\nNE66 1PR ","postcode":"NE66 1PR","website_url":"http:\/\/www.sandersonyoung.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\/59473\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:18:55.000000Z","updated_at":"2026-01-20T19:58:49.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":59473,"agent_company_id":4956,"branch_location":"Alnwick","lettings_phone_number":null,"is_sales":true,"is_lettings":false,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E610000019541B9C883EFBBF467C2766BDB44B40","agent_brand_id":5717,"offers_sales":true,"offers_lettings":false,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"35, Bondgate Without, Alnwick","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Sanderson Young","branch_name":"Alnwick","lettings":false,"sales":true,"commercial":false,"h_email":"Gavin.Burn@sandersonyoung.co.uk","has_email":true,"h_phone":"01665 600170","has_phone":true,"resolved_brand_color":"#0b122e","boundary_listing_count":"2","property_count":"69","latitude":55.41203,"longitude":-1.702767},{"core_branch_id":55315,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"Future Property Auctions","email":null,"sales_phone_number":null,"address":"241 Kilmarnock Road\r\nGlasgow\r\nG41 3JF","postcode":"G41 3JF","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\/55315\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:16:38.000000Z","updated_at":"2026-01-20T20:00:44.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":55315,"agent_company_id":6978,"branch_location":"Glasgow","lettings_phone_number":null,"is_sales":true,"is_lettings":false,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E61000006B65C22FF52311C02A36E675C4E94B40","agent_brand_id":7816,"offers_sales":true,"offers_lettings":false,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"241 Kilmarnock Road, Glasgow","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Future Property Auctions","branch_name":"Glasgow","lettings":false,"sales":true,"commercial":false,"h_email":null,"has_email":false,"h_phone":null,"has_phone":false,"resolved_brand_color":"#42528f","boundary_listing_count":"1","property_count":"336","latitude":55.826308,"longitude":-4.285115},{"core_branch_id":51242,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"Get An Offer","email":"Leads@getanoffer.co.uk","sales_phone_number":"01903 331031","address":"38a Goring Road, Goring-By-Sea, Worthing, BN12 4AD","postcode":"BN12 4AD","website_url":"http:\/\/www.getanoffer.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\/51242\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:14:24.000000Z","updated_at":"2026-01-20T19:57:06.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":51242,"agent_company_id":1177,"branch_location":"Worthing","lettings_phone_number":null,"is_sales":true,"is_lettings":false,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E61000007E5704FF5BC9D9BF359886E123684940","agent_brand_id":1717,"offers_sales":true,"offers_lettings":false,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"38a Goring Road, Goring-By-Sea, Worthing","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Get An Offer","branch_name":"Worthing","lettings":false,"sales":true,"commercial":false,"h_email":"Leads@getanoffer.co.uk","has_email":true,"h_phone":"01903 331031","has_phone":true,"resolved_brand_color":"#00b5b0","boundary_listing_count":"1","property_count":"196","latitude":50.813595,"longitude":-0.402915},{"core_branch_id":53720,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"Hunters","email":null,"sales_phone_number":"01207 593838","address":"15 Victoria Road,\r\nConsett,\r\nDH8 5BQ","postcode":"DH8 5BQ","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\/53720\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:15:45.000000Z","updated_at":"2026-01-20T19:52:59.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":53720,"agent_company_id":98,"branch_location":"Consett","lettings_phone_number":null,"is_sales":true,"is_lettings":false,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E6100000EBE1CB441152FDBF1A355F251F6D4B40","agent_brand_id":290,"offers_sales":true,"offers_lettings":true,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"15 Victoria Road, Consett","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Hunters","branch_name":"Consett","lettings":false,"sales":true,"commercial":false,"h_email":null,"has_email":false,"h_phone":"01207 593838","has_phone":true,"resolved_brand_color":"#193273","boundary_listing_count":"1","property_count":"61","latitude":54.852513,"longitude":-1.832536},{"core_branch_id":58995,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"Openrent","email":"zoopla@openrent.co.uk","sales_phone_number":null,"address":"20 \r\nWenlock Road, \r\nLondon, \r\nN1 7GU","postcode":"N1 7GU","website_url":"https:\/\/www.openrent.co.uk","description":null,"listings_feed_url":null,"feed_format":null,"last_feed_sync":null,"crm_provider":null,"logo":"https:\/\/cdn.home.co.uk\/agents\/58995\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:18:40.000000Z","updated_at":"2026-01-20T19:55:47.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":58995,"agent_company_id":7279,"branch_location":"London","lettings_phone_number":"020 3322 3265","is_sales":false,"is_lettings":true,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E61000003D7D04FEF0F3B7BFCEA5B8AAECC34940","agent_brand_id":8120,"offers_sales":false,"offers_lettings":true,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"20, Wenlock Road, London","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Openrent","branch_name":"London","lettings":true,"sales":false,"commercial":false,"h_email":"zoopla@openrent.co.uk","has_email":true,"h_phone":"020 3322 3265","has_phone":true,"resolved_brand_color":"#468cc8","boundary_listing_count":"1","property_count":"8460","latitude":51.53066,"longitude":-0.093566},{"core_branch_id":59457,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"Pattinson Estate Agents","email":"morpeth@pattinson.co.uk","sales_phone_number":"01670 568099","address":"13 Newgate Street,\r\nMorpeth,\r\nNE61 1AL","postcode":"NE61 1AL","website_url":"https:\/\/www.pattinson.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\/59457\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:18:55.000000Z","updated_at":"2026-01-20T19:55:52.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":59457,"agent_company_id":46,"branch_location":"Morpeth","lettings_phone_number":null,"is_sales":true,"is_lettings":false,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E6100000F8544E7B4A0EFBBF7689EAAD81954B40","agent_brand_id":99,"offers_sales":true,"offers_lettings":true,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"13 Newgate Street, Morpeth","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Pattinson Estate Agents","branch_name":"Morpeth","lettings":false,"sales":true,"commercial":false,"h_email":"morpeth@pattinson.co.uk","has_email":true,"h_phone":"01670 568099","has_phone":true,"resolved_brand_color":"#223e74","boundary_listing_count":"1","property_count":"58","latitude":55.16802,"longitude":-1.690989},{"core_branch_id":59466,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"Pattinson Estate Agents","email":"ashington@pattinson.co.uk","sales_phone_number":"01670 568096","address":"95 Station Road,\r\nAshington,\r\nNE63 8RS","postcode":"NE63 8RS","website_url":"https:\/\/www.pattinson.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\/59466\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:18:55.000000Z","updated_at":"2026-01-20T19:54:01.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":59466,"agent_company_id":46,"branch_location":"Ashington","lettings_phone_number":null,"is_sales":true,"is_lettings":false,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E6100000F4F8BD4D7F36F9BF7F164B917C974B40","agent_brand_id":99,"offers_sales":true,"offers_lettings":true,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"95 Station Road, Ashington","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Pattinson Estate Agents","branch_name":"Ashington","lettings":false,"sales":true,"commercial":false,"h_email":"ashington@pattinson.co.uk","has_email":true,"h_phone":"01670 568096","has_phone":true,"resolved_brand_color":"#223e74","boundary_listing_count":"1","property_count":"125","latitude":55.183489,"longitude":-1.575805}]; 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`; } } }