Estate & Letting Agents in Llanfair Pwllgwyngyll, Ynys Môn / Isle of Anglesey

Find Estate Agents in Llanfair Pwllgwyngyll, Ynys Môn / Isle of Anglesey
13 results
Exp UK
Exp UK

East Midlands

Sales
1 active listing in Llanfair Pwllgwyngyll, Ynys Môn / Isle of Anglesey, Cymru / Wales
7,695 total
114 St. Martin's Lane London WC2N 4BE
View Featured Profile
Joan Hopkin
Joan Hopkin

Beaumaris

Sales
1 active listing in Llanfair Pwllgwyngyll, Ynys Môn / Isle of Anglesey, Cymru / Wales
63 total
32 Castle Street Beaumaris LL58 8AP
View Featured Profile
Lucas Estate Agents

Menai Bridge

Sales
6 active listings in Llanfair Pwllgwyngyll, Ynys Môn / Isle of Anglesey, Cymru / Wales
47 total
22 High Street, Menai Bridge, LL59 5EE
View Profile
Williams & Goodwin the Property People
6 active listings in Llanfair Pwllgwyngyll, Ynys Môn / Isle of Anglesey, Cymru / Wales
78 total
313 High Street Bangor LL57 1UL
View Profile
Dafydd Hardy

Bangor

Lettings Sales
4 active listings in Llanfair Pwllgwyngyll, Ynys Môn / Isle of Anglesey, Cymru / Wales
202 total
156 High Street, Bangor, LL57 1NU
View Profile
W Owen

Bangor

Sales
3 active listings in Llanfair Pwllgwyngyll, Ynys Môn / Isle of Anglesey, Cymru / Wales
92 total
314 High Street, Bangor, LL57 1YA
View Profile
Beresford Adams

Menai Bridge

Sales
2 active listings in Llanfair Pwllgwyngyll, Ynys Môn / Isle of Anglesey, Cymru / Wales
129 total
15 High Street, Menai Bridge, Anglesey, Gwynedd, LL59 5EE
View Profile
Express Estate Agency

Nationwide

Lettings Sales
1 active listing in Llanfair Pwllgwyngyll, Ynys Môn / Isle of Anglesey, Cymru / Wales
837 total
St Georges House, 56 Peter St, Manchester M2 3NQ
View Profile
Jones Peckover

Denbigh

Sales
1 active listing in Llanfair Pwllgwyngyll, Ynys Môn / Isle of Anglesey, Cymru / Wales
53 total
47 Vale Street, Denbigh, LL16 3AR
View Profile
Mon Properties

Amlwch

Sales
1 active listing in Llanfair Pwllgwyngyll, Ynys Môn / Isle of Anglesey, Cymru / Wales
31 total
The Property Centre, Mona Street, Amlwch, LL68 9AN
View Profile
Morgan Evans and Co

Llangefni

Sales
1 active listing in Llanfair Pwllgwyngyll, Ynys Môn / Isle of Anglesey, Cymru / Wales
32 total
28-30 Church Street, Llangefni, LL77 7DU
View Profile
Signature Property Partners
1 active listing in Llanfair Pwllgwyngyll, Ynys Môn / Isle of Anglesey, Cymru / Wales
36 total
19 Grosvenor Street, Chester, CH1 2DD
Varcity Living Limited
1 active listing in Llanfair Pwllgwyngyll, Ynys Môn / Isle of Anglesey, Cymru / Wales
200 total
1 College Road, Bangor, Gwynedd, LL57 2AN
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 = 'Llanfair Pwllgwyngyll, Ynys Môn / Isle of Anglesey'; 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":"7695","latitude":51.509779,"longitude":-0.127137},{"core_branch_id":57727,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"Joan Hopkin","email":"enquiries@joan-hopkin.co.uk","sales_phone_number":"01248 810847","address":"32 \r\nCastle Street\r\nBeaumaris\r\nLL58 8AP \r\n","postcode":"LL58 8AP","website_url":"http:\/\/www.joan-hopkin.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\/57727\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:17:58.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":57727,"agent_company_id":6429,"branch_location":"Beaumaris","lettings_phone_number":null,"is_sales":true,"is_lettings":false,"is_commercial":false,"is_hm_agent":true,"geopoint":"0101000020E610000043588D25AC5D10C0EF1AF4A5B7A14A40","agent_brand_id":7251,"offers_sales":true,"offers_lettings":false,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"32, Castle Street, Beaumaris","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Joan Hopkin","branch_name":"Beaumaris","lettings":false,"sales":true,"commercial":false,"h_email":"enquiries@joan-hopkin.co.uk","has_email":true,"h_phone":"01248 810847","has_phone":true,"resolved_brand_color":"#eb2a33","boundary_listing_count":"1","property_count":"63","latitude":53.263417,"longitude":-4.091477},{"core_branch_id":57729,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"Lucas Estate Agents","email":"info@lucasestateagents.com","sales_phone_number":"01248 714567","address":"22 High Street,\r\nMenai Bridge,\r\nLL59 5EE","postcode":"LL59 5EE","website_url":"http:\/\/www.lucasestateagents.com","description":null,"listings_feed_url":null,"feed_format":null,"last_feed_sync":null,"crm_provider":null,"logo":"https:\/\/cdn.home.co.uk\/agents\/57729\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:17:58.000000Z","updated_at":"2026-01-20T19:57:09.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":57729,"agent_company_id":6895,"branch_location":"Menai Bridge","lettings_phone_number":null,"is_sales":true,"is_lettings":false,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E6100000B5C189E8D7A610C0D331E719FB9C4A40","agent_brand_id":7730,"offers_sales":true,"offers_lettings":false,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"22 High Street, Menai Bridge","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Lucas Estate Agents","branch_name":"Menai Bridge","lettings":false,"sales":true,"commercial":false,"h_email":"info@lucasestateagents.com","has_email":true,"h_phone":"01248 714567","has_phone":true,"resolved_brand_color":"#234b94","boundary_listing_count":"6","property_count":"47","latitude":53.226413,"longitude":-4.162933},{"core_branch_id":57723,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"Williams \u0026 Goodwin the Property People","email":"bangor@tppuk.com","sales_phone_number":"01248 355333","address":"313 \r\nHigh Street\r\nBangor\r\nLL57 1UL \r\n ","postcode":"LL57 1UL","website_url":"https:\/\/www.tppuk.com","description":null,"listings_feed_url":null,"feed_format":null,"last_feed_sync":null,"crm_provider":null,"logo":"https:\/\/cdn.home.co.uk\/agents\/57723\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:17:58.000000Z","updated_at":"2026-01-20T19:59:33.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":57723,"agent_company_id":4301,"branch_location":"Bangor","lettings_phone_number":null,"is_sales":true,"is_lettings":false,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E6100000B32616F88A7E10C0FF59F3E32F9D4A40","agent_brand_id":5034,"offers_sales":true,"offers_lettings":false,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"313, High Street, Bangor","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Williams \u0026 Goodwin the Property People","branch_name":"Bangor","lettings":false,"sales":true,"commercial":false,"h_email":"bangor@tppuk.com","has_email":true,"h_phone":"01248 355333","has_phone":true,"resolved_brand_color":"#bf2e8d","boundary_listing_count":"6","property_count":"78","latitude":53.228024,"longitude":-4.123577},{"core_branch_id":57721,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"Dafydd Hardy","email":"commercial@dafyddhardy.co.uk","sales_phone_number":"01248 371212","address":"156 High Street,\r\nBangor,\r\nLL57 1NU","postcode":"LL57 1NU","website_url":"https:\/\/www.dafyddhardy.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\/57721\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:17:58.000000Z","updated_at":"2026-01-20T19:59:33.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":57721,"agent_company_id":2434,"branch_location":"Bangor","lettings_phone_number":"01248 353544","is_sales":true,"is_lettings":true,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E61000006D1CB1169F8210C059DAA9B9DC9C4A40","agent_brand_id":3065,"offers_sales":true,"offers_lettings":true,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"156 High Street, Bangor","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Dafydd Hardy","branch_name":"Bangor","lettings":true,"sales":true,"commercial":false,"h_email":"commercial@dafyddhardy.co.uk","has_email":true,"h_phone":"01248 371212","has_phone":true,"resolved_brand_color":"#542581","boundary_listing_count":"4","property_count":"202","latitude":53.225486,"longitude":-4.12756},{"core_branch_id":57724,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"W Owen","email":"sales@w-owen.co.uk","sales_phone_number":"01248 353357","address":"314 High Street,\r\nBangor,\r\nLL57 1YA","postcode":"LL57 1YA","website_url":"http:\/\/www.w-owen.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\/57724\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:17:58.000000Z","updated_at":"2026-01-20T19:57:40.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":57724,"agent_company_id":4974,"branch_location":"Bangor","lettings_phone_number":null,"is_sales":true,"is_lettings":false,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E61000003813D385587D10C038D906EE409D4A40","agent_brand_id":5737,"offers_sales":true,"offers_lettings":false,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"314 High Street, Bangor","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"W Owen","branch_name":"Bangor","lettings":false,"sales":true,"commercial":false,"h_email":"sales@w-owen.co.uk","has_email":true,"h_phone":"01248 353357","has_phone":true,"resolved_brand_color":"#fc0d0c","boundary_listing_count":"3","property_count":"92","latitude":53.228544,"longitude":-4.122408},{"core_branch_id":57728,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"Beresford Adams","email":"menaibridge@beresfordadamscountrywide.co.uk","sales_phone_number":"01248 714115","address":"15 High Street, Menai Bridge, Anglesey, Gwynedd, LL59 5EE","postcode":"LL59 5EE","website_url":"https:\/\/www.beresfordadams.co.uk\/branch\/estate-agents\/menai-bridge","description":null,"listings_feed_url":null,"feed_format":null,"last_feed_sync":null,"crm_provider":null,"logo":"https:\/\/cdn.home.co.uk\/agents\/57728\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:17:58.000000Z","updated_at":"2026-01-20T19:54:08.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":57728,"agent_company_id":51,"branch_location":"Menai Bridge","lettings_phone_number":null,"is_sales":true,"is_lettings":false,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E6100000B5C189E8D7A610C0D331E719FB9C4A40","agent_brand_id":149,"offers_sales":true,"offers_lettings":false,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"15 High Street, Menai Bridge, Anglesey, Gwynedd","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Beresford Adams","branch_name":"Menai Bridge","lettings":false,"sales":true,"commercial":false,"h_email":"menaibridge@beresfordadamscountrywide.co.uk","has_email":true,"h_phone":"01248 714115","has_phone":true,"resolved_brand_color":"#0164af","boundary_listing_count":"2","property_count":"129","latitude":53.226413,"longitude":-4.162933},{"core_branch_id":58255,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"Express Estate Agency","email":"Melissa.traynor@expressestateagency.co.uk","sales_phone_number":"03330 165458","address":"St Georges House, 56 Peter St, Manchester M2 3NQ","postcode":"M2 3NQ","website_url":"https:\/\/www.expressestateagency.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\/58255\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:18:16.000000Z","updated_at":"2026-01-20T19:57:43.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":58255,"agent_company_id":2261,"branch_location":"Nationwide","lettings_phone_number":"03330 165458","is_sales":true,"is_lettings":true,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E61000000322C495B3F701C002D9EBDD1FBD4A40","agent_brand_id":2878,"offers_sales":true,"offers_lettings":true,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"St Georges House, 56 Peter St, Manchester","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Express Estate Agency","branch_name":"Nationwide","lettings":true,"sales":true,"commercial":false,"h_email":"Melissa.traynor@expressestateagency.co.uk","has_email":true,"h_phone":"03330 165458","has_phone":true,"resolved_brand_color":"#cf197a","boundary_listing_count":"1","property_count":"837","latitude":53.477535,"longitude":-2.245948},{"core_branch_id":57664,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"Jones Peckover","email":"denbigh@jonespeckover.co.uk","sales_phone_number":"01745 812127","address":"47 Vale Street,\r\nDenbigh,\r\nLL16 3AR","postcode":"LL16 3AR","website_url":"http:\/\/www.jonespeckover.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\/57664\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:17:56.000000Z","updated_at":"2026-01-20T19:53:42.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":57664,"agent_company_id":6305,"branch_location":"Denbigh","lettings_phone_number":null,"is_sales":true,"is_lettings":false,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E61000009B58E02BBA550BC020B6F468AA974A40","agent_brand_id":7126,"offers_sales":true,"offers_lettings":true,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"47 Vale Street, Denbigh","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Jones Peckover","branch_name":"Denbigh","lettings":false,"sales":true,"commercial":false,"h_email":"denbigh@jonespeckover.co.uk","has_email":true,"h_phone":"01745 812127","has_phone":true,"resolved_brand_color":"#ad1d2b","boundary_listing_count":"1","property_count":"53","latitude":53.184888,"longitude":-3.416859},{"core_branch_id":57734,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"Mon Properties","email":"amlwch@monproperties.co.uk","sales_phone_number":"01407 832772","address":"The Property Centre, Mona Street,\r\nAmlwch,\r\nLL68 9AN","postcode":"LL68 9AN","website_url":"http:\/\/monproperties.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\/57734\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:17:58.000000Z","updated_at":"2026-01-20T19:59:33.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":57734,"agent_company_id":7215,"branch_location":"Amlwch","lettings_phone_number":null,"is_sales":true,"is_lettings":false,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E61000000A815CE2C86311C072FDBB3E73B44A40","agent_brand_id":8056,"offers_sales":true,"offers_lettings":false,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"The Property Centre, Mona Street, Amlwch","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Mon Properties","branch_name":"Amlwch","lettings":false,"sales":true,"commercial":false,"h_email":"amlwch@monproperties.co.uk","has_email":true,"h_phone":"01407 832772","has_phone":true,"resolved_brand_color":"#112f61","boundary_listing_count":"1","property_count":"31","latitude":53.409767,"longitude":-4.347446},{"core_branch_id":57738,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"Morgan Evans and Co","email":"info@morganevans.com","sales_phone_number":"01248 723303","address":"28-30 Church Street,\r\nLlangefni,\r\nLL77 7DU","postcode":"LL77 7DU","website_url":"https:\/\/www.morganevans.com","description":null,"listings_feed_url":null,"feed_format":null,"last_feed_sync":null,"crm_provider":null,"logo":"https:\/\/cdn.home.co.uk\/agents\/57738\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:17:58.000000Z","updated_at":"2026-01-20T20:00:29.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":57738,"agent_company_id":6163,"branch_location":"Llangefni","lettings_phone_number":null,"is_sales":true,"is_lettings":false,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E61000000E83F92B643E11C0344B02D4D4A04A40","agent_brand_id":6981,"offers_sales":true,"offers_lettings":false,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"28-30 Church Street, Llangefni","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Morgan Evans and Co","branch_name":"Llangefni","lettings":false,"sales":true,"commercial":false,"h_email":"info@morganevans.com","has_email":true,"h_phone":"01248 723303","has_phone":true,"resolved_brand_color":"#fff5d7","boundary_listing_count":"1","property_count":"32","latitude":53.256495,"longitude":-4.310929},{"core_branch_id":52360,"verification_status":"verified","verified_at":"2026-01-27T14:41:07.000000Z","verified_by":null,"verification_notes":null,"name":"Signature Property Partners","email":null,"sales_phone_number":"03330 344311","address":"19 Grosvenor Street,\r\nChester,\r\nCH1 2DD","postcode":"CH1 2DD","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\/52360\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:15:00.000000Z","updated_at":"2026-01-27T14:49:08.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":52360,"agent_company_id":337,"branch_location":"Nationwide","lettings_phone_number":null,"is_sales":true,"is_lettings":false,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E6100000CEA96400A82207C08B54185B08984A40","agent_brand_id":665,"offers_sales":true,"offers_lettings":false,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"19 Grosvenor Street, Chester","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Signature Property Partners","branch_name":"Nationwide","lettings":false,"sales":true,"commercial":false,"h_email":null,"has_email":false,"h_phone":"03330 344311","has_phone":true,"resolved_brand_color":"#000e24","boundary_listing_count":"1","property_count":"36","latitude":53.187755,"longitude":-2.891922},{"core_branch_id":57725,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"Varcity Living Limited","email":"calum@varcityltd.com","sales_phone_number":"01248 719254","address":"1 College Road,\r\nBangor,\r\nGwynedd,\r\nLL57 2AN","postcode":"LL57 2AN","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\/57725\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:17:58.000000Z","updated_at":"2026-01-20T19:55:24.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":57725,"agent_company_id":4973,"branch_location":"Bangor","lettings_phone_number":null,"is_sales":true,"is_lettings":false,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E61000004CA8E0F0828810C07AABAE43359D4A40","agent_brand_id":5736,"offers_sales":true,"offers_lettings":true,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"1 College Road, Bangor, Gwynedd","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Varcity Living Limited","branch_name":"Bangor","lettings":false,"sales":true,"commercial":false,"h_email":"calum@varcityltd.com","has_email":true,"h_phone":"01248 719254","has_phone":true,"resolved_brand_color":"#ea3495","boundary_listing_count":"1","property_count":"200","latitude":53.228188,"longitude":-4.133312}]; 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`; } } }