Estate Agents in Welwyn Hatfield, Hertfordshire

Find Estate Agents in Welwyn Hatfield, Hertfordshire
133 results
Robert Adam Estate Agents
1 active listing in Welwyn Hatfield, Hertfordshire, England
6 total
30 Station Road, Cuffley, EN6 4HE
Target Property

Edmonton and Cheshunt

Sales
1 active listing in Welwyn Hatfield, Hertfordshire, England
19 total
315 Hertford Road, London, N9 7ET
View Profile
Taylors Estate Agents

Stevenage

Sales
1 active listing in Welwyn Hatfield, Hertfordshire, England
65 total
13 Queensway, Stevenage, SG1 1DA
View Profile
The Modern House

London

Sales
1 active listing in Welwyn Hatfield, Hertfordshire, England
199 total
St Alphege Hall Kings Bench Street London SE1 0QX
View Profile
Tower Estates

Palmers Green

Sales
1 active listing in Welwyn Hatfield, Hertfordshire, England
12 total
18 Aldermans Hill London N13 4PN
View Profile
Town & Country Property Auctions

Wrexham - Auctions

Sales
1 active listing in Welwyn Hatfield, Hertfordshire, England
117 total
Imperial Buildings King Street Wrexham LL11 1HE
Urban Moves LTD

Nationwide

Sales
1 active listing in Welwyn Hatfield, Hertfordshire, England
93 total
2nd Floor, 3 The Square, Richmond, London, TW9 1DY
View Profile
Ward Estates

Hertford

Sales
1 active listing in Welwyn Hatfield, Hertfordshire, England
8 total
12-14 Parliament Square, Hertford, SG14 1EF
View Profile
Whittaker & Co

Harpenden

Sales
1 active listing in Welwyn Hatfield, Hertfordshire, England
157 total
1 Leyton Green, Harpenden, Herts, AL5 2TE
View Profile
William H. Brown

Hertford

Sales
1 active listing in Welwyn Hatfield, Hertfordshire, England
64 total
21 Castle Street, Hertford, SG14 1ER
View Profile
Woodhouse

Cheshunt

Sales
1 active listing in Welwyn Hatfield, Hertfordshire, England
94 total
7 Clayton Parade, Turners Hill, Cheshunt, EN8 8NQ
View Profile
Xander Land & New Homes
1 active listing in Welwyn Hatfield, Hertfordshire, England
8 total
Office 212 Sopers House Sopers Road Cuffley EN6 4RY
View Profile
Your Move

Hitchin

Lettings Sales
1 active listing in Welwyn Hatfield, Hertfordshire, England
8 total
Russell Chambers Hermitage Road, Hitchin, SG5 1DB
View Profile
Page 5 of 5
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 = 'Welwyn Hatfield, Hertfordshire'; const agentType = 'sales'; 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":54829,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"Robert Adam Estate Agents","email":null,"sales_phone_number":"01707 873126","address":"30 Station Road, \r\nCuffley, \r\nEN6 4HE\r\n","postcode":"EN6 4HE","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\/54829\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:16:21.000000Z","updated_at":"2026-01-20T19:55:05.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":54829,"agent_company_id":7013,"branch_location":"Cuffley","lettings_phone_number":null,"is_sales":true,"is_lettings":false,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E6100000323CF6B3588ABCBF8E05854199DA4940","agent_brand_id":7852,"offers_sales":true,"offers_lettings":false,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"30 Station Road, Cuffley","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Robert Adam Estate Agents","branch_name":"Cuffley","lettings":false,"sales":true,"commercial":false,"h_email":null,"has_email":false,"h_phone":"01707 873126","has_phone":true,"resolved_brand_color":"#0b4132","boundary_listing_count":"1","property_count":"6","latitude":51.707802,"longitude":-0.111486},{"core_branch_id":59241,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"Target Property","email":"tom@targetproperty.co.uk","sales_phone_number":"020 8805 4949","address":"315 Hertford Road,\r\nLondon,\r\nN9 7ET","postcode":"N9 7ET","website_url":"http:\/\/www.targetproperty.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\/59241\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:18:48.000000Z","updated_at":"2026-01-20T19:53:58.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":59241,"agent_company_id":5409,"branch_location":"Edmonton and Cheshunt","lettings_phone_number":null,"is_sales":true,"is_lettings":false,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E6100000338B506C054DABBF50E449D235D14940","agent_brand_id":6198,"offers_sales":true,"offers_lettings":true,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"315 Hertford Road, London","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Target Property","branch_name":"Edmonton and Cheshunt","lettings":false,"sales":true,"commercial":false,"h_email":"tom@targetproperty.co.uk","has_email":true,"h_phone":"020 8805 4949","has_phone":true,"resolved_brand_color":"#fffecf","boundary_listing_count":"1","property_count":"19","latitude":51.634455,"longitude":-0.053322},{"core_branch_id":62894,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"Taylors Estate Agents","email":"stevenage.taylors@lm.propertywide.co.uk","sales_phone_number":"01438 487601","address":"13 Queensway,\r\nStevenage,\r\nSG1 1DA","postcode":"SG1 1DA","website_url":"https:\/\/www.taylorsestateagents.co.uk\/branch\/estate-agents\/stevenage","description":null,"listings_feed_url":null,"feed_format":null,"last_feed_sync":null,"crm_provider":null,"logo":"https:\/\/cdn.home.co.uk\/agents\/62894\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:20:46.000000Z","updated_at":"2026-01-20T19:56:08.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":62894,"agent_company_id":51,"branch_location":"Stevenage","lettings_phone_number":null,"is_sales":true,"is_lettings":false,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E6100000D07F0F5EBBB4C9BF2827DA5548F34940","agent_brand_id":190,"offers_sales":true,"offers_lettings":false,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"13 Queensway, Stevenage","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Taylors Estate Agents","branch_name":"Stevenage","lettings":false,"sales":true,"commercial":false,"h_email":"stevenage.taylors@lm.propertywide.co.uk","has_email":true,"h_phone":"01438 487601","has_phone":true,"resolved_brand_color":"#e60431","boundary_listing_count":"1","property_count":"65","latitude":51.900645,"longitude":-0.200828},{"core_branch_id":62579,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"The Modern House","email":"info@themodernhouse.com","sales_phone_number":"020 3795 5920","address":"St Alphege Hall \r\nKings Bench Street\r\nLondon\r\nSE1 0QX \r\n","postcode":"SE1 0QX","website_url":"https:\/\/www.themodernhouse.com","description":null,"listings_feed_url":null,"feed_format":null,"last_feed_sync":null,"crm_provider":null,"logo":"https:\/\/cdn.home.co.uk\/agents\/62579\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:20:36.000000Z","updated_at":"2026-01-20T19:56:22.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":62579,"agent_company_id":3276,"branch_location":"London","lettings_phone_number":null,"is_sales":true,"is_lettings":false,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E61000001E4FCB0F5CE5B9BFE38E37F92DC04940","agent_brand_id":3950,"offers_sales":true,"offers_lettings":false,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"St Alphege Hall, Kings Bench Street, London","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"The Modern House","branch_name":"London","lettings":false,"sales":true,"commercial":false,"h_email":"info@themodernhouse.com","has_email":true,"h_phone":"020 3795 5920","has_phone":true,"resolved_brand_color":"#c3aa87","boundary_listing_count":"1","property_count":"199","latitude":51.501403,"longitude":-0.101156},{"core_branch_id":59040,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"Tower Estates","email":"michelle@towerestates.net","sales_phone_number":"020 8920 9820","address":"18 \r\nAldermans Hill\r\nLondon\r\nN13 4PN","postcode":"N13 4PN","website_url":"http:\/\/www.towerestates.net\/","description":null,"listings_feed_url":null,"feed_format":null,"last_feed_sync":null,"crm_provider":null,"logo":"https:\/\/cdn.home.co.uk\/agents\/59040\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:18:41.000000Z","updated_at":"2026-01-20T19:53:56.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":59040,"agent_company_id":6498,"branch_location":"Palmers Green","lettings_phone_number":null,"is_sales":true,"is_lettings":false,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E610000000378B170B43BCBF01A5A14621CF4940","agent_brand_id":7322,"offers_sales":true,"offers_lettings":true,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"18, Aldermans Hill, London","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Tower Estates","branch_name":"Palmers Green","lettings":false,"sales":true,"commercial":false,"h_email":"michelle@towerestates.net","has_email":true,"h_phone":"020 8920 9820","has_phone":true,"resolved_brand_color":"#2a3a4d","boundary_listing_count":"1","property_count":"12","latitude":51.618203,"longitude":-0.110398},{"core_branch_id":57648,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"Town \u0026 Country Property Auctions","email":null,"sales_phone_number":"08003 345090","address":"Imperial Buildings \r\nKing Street\r\nWrexham\r\nLL11 1HE ","postcode":"LL11 1HE","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\/57648\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:17:55.000000Z","updated_at":"2026-01-20T19:59:30.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":57648,"agent_company_id":4993,"branch_location":"Wrexham - Auctions","lettings_phone_number":null,"is_sales":true,"is_lettings":false,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E6100000DD239BABE6F907C0FD4CBD6E11864A40","agent_brand_id":5759,"offers_sales":true,"offers_lettings":false,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"Imperial Buildings, King Street, Wrexham","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Town \u0026 Country Property Auctions","branch_name":"Wrexham - Auctions","lettings":false,"sales":true,"commercial":false,"h_email":null,"has_email":false,"h_phone":"08003 345090","has_phone":true,"resolved_brand_color":"#aa2846","boundary_listing_count":"1","property_count":"117","latitude":53.047407,"longitude":-2.997022},{"core_branch_id":65472,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"Urban Moves LTD","email":"salesadmin@urbanmoves.com","sales_phone_number":"03330 166560","address":"2nd Floor, \r\n3 The Square,\r\nRichmond,\r\nLondon,\r\nTW9 1DY","postcode":"TW9 1DY","website_url":"http:\/\/www.urbanmoves.com","description":null,"listings_feed_url":null,"feed_format":null,"last_feed_sync":null,"crm_provider":null,"logo":"https:\/\/cdn.home.co.uk\/agents\/65472\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:22:10.000000Z","updated_at":"2026-01-20T19:59:11.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":65472,"agent_company_id":8340,"branch_location":"Nationwide","lettings_phone_number":null,"is_sales":true,"is_lettings":false,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E61000007217618A7269D3BFF6F065A208BB4940","agent_brand_id":9208,"offers_sales":true,"offers_lettings":false,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"2nd Floor, 3 The Square, Richmond, London","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Urban Moves LTD","branch_name":"Nationwide","lettings":false,"sales":true,"commercial":false,"h_email":"salesadmin@urbanmoves.com","has_email":true,"h_phone":"03330 166560","has_phone":true,"resolved_brand_color":"#fd4040","boundary_listing_count":"1","property_count":"93","latitude":51.461201,"longitude":-0.303311},{"core_branch_id":62947,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"Ward Estates","email":"info@wardestates.com","sales_phone_number":"01992 472025","address":"12-14 Parliament Square,\r\nHertford,\r\nSG14 1EF","postcode":"SG14 1EF","website_url":"http:\/\/www.wardestates.com","description":null,"listings_feed_url":null,"feed_format":null,"last_feed_sync":null,"crm_provider":null,"logo":"https:\/\/cdn.home.co.uk\/agents\/62947\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:20:47.000000Z","updated_at":"2026-01-20T19:57:07.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":62947,"agent_company_id":1531,"branch_location":"Hertford","lettings_phone_number":null,"is_sales":true,"is_lettings":false,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E6100000008BFCFA2136B4BF7D96E7C1DDE54940","agent_brand_id":2104,"offers_sales":true,"offers_lettings":false,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"12-14 Parliament Square, Hertford","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Ward Estates","branch_name":"Hertford","lettings":false,"sales":true,"commercial":false,"h_email":"info@wardestates.com","has_email":true,"h_phone":"01992 472025","has_phone":true,"resolved_brand_color":"#0053ff","boundary_listing_count":"1","property_count":"8","latitude":51.79583,"longitude":-0.078951},{"core_branch_id":50091,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"Whittaker \u0026 Co","email":"sales@whittakerandco.co.uk","sales_phone_number":"01582 761500","address":"1 Leyton Green,\r\nHarpenden,\r\nHerts,\r\nAL5 2TE","postcode":"AL5 2TE","website_url":"https:\/\/www.whittakerandco.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\/50091\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:13:47.000000Z","updated_at":"2026-01-20T19:58:42.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":50091,"agent_company_id":1802,"branch_location":"Harpenden","lettings_phone_number":null,"is_sales":true,"is_lettings":false,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E6100000A1698995D1C8D6BF5325CADE52E84940","agent_brand_id":2395,"offers_sales":true,"offers_lettings":false,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"1 Leyton Green, Harpenden, Herts","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Whittaker \u0026 Co","branch_name":"Harpenden","lettings":false,"sales":true,"commercial":false,"h_email":"sales@whittakerandco.co.uk","has_email":true,"h_phone":"01582 761500","has_phone":true,"resolved_brand_color":"#96bec3","boundary_listing_count":"1","property_count":"157","latitude":51.815029,"longitude":-0.356007},{"core_branch_id":62948,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"William H. Brown","email":"Hertford@williamhbrown.co.uk","sales_phone_number":"01992 586501","address":"21 Castle Street, \r\nHertford, SG14 1ER","postcode":"SG14 1ER","website_url":"http:\/\/www.williamhbrown.co.uk","description":null,"listings_feed_url":null,"feed_format":null,"last_feed_sync":null,"crm_provider":null,"logo":"https:\/\/cdn.home.co.uk\/agents\/62948\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:20:47.000000Z","updated_at":"2026-01-20T19:54:14.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":62948,"agent_company_id":54,"branch_location":"Hertford","lettings_phone_number":null,"is_sales":true,"is_lettings":false,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E61000000C0742B28009B4BFA6EF3504C7E54940","agent_brand_id":216,"offers_sales":true,"offers_lettings":false,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"21 Castle Street, Hertford","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"William H. Brown","branch_name":"Hertford","lettings":false,"sales":true,"commercial":false,"h_email":"Hertford@williamhbrown.co.uk","has_email":true,"h_phone":"01992 586501","has_phone":true,"resolved_brand_color":"#8dc3d9","boundary_listing_count":"1","property_count":"64","latitude":51.795136,"longitude":-0.07827},{"core_branch_id":54842,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"Woodhouse","email":"info@woodhouseproperty.co.uk","sales_phone_number":"01992 637777","address":"7 Clayton Parade,\r\nTurners Hill,\r\nCheshunt,\r\nEN8 8NQ","postcode":"EN8 8NQ","website_url":"https:\/\/www.woodhouseproperty.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\/54842\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:16:22.000000Z","updated_at":"2026-01-20T19:53:12.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":54842,"agent_company_id":9381,"branch_location":"Cheshunt","lettings_phone_number":null,"is_sales":true,"is_lettings":false,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E6100000C70DBF9B6ED9A1BFF20703CFBDD94940","agent_brand_id":10277,"offers_sales":true,"offers_lettings":true,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"7 Clayton Parade, Turners Hill, Cheshunt","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Woodhouse","branch_name":"Cheshunt","lettings":false,"sales":true,"commercial":false,"h_email":"info@woodhouseproperty.co.uk","has_email":true,"h_phone":"01992 637777","has_phone":true,"resolved_brand_color":"#054ffb","boundary_listing_count":"1","property_count":"94","latitude":51.701105,"longitude":-0.034862},{"core_branch_id":54835,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"Xander Land \u0026 New Homes","email":"sales@xanderhomes.co.uk","sales_phone_number":"020 3751 5742","address":"Office 212\r\nSopers House\r\nSopers Road\r\nCuffley\r\nEN6 4RY","postcode":"EN6 4RY","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\/54835\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:16:22.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":54835,"agent_company_id":7016,"branch_location":"Hertford","lettings_phone_number":null,"is_sales":true,"is_lettings":false,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E61000008195438B6CE7BBBFD122DBF97EDA4940","agent_brand_id":7855,"offers_sales":true,"offers_lettings":false,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"Office 212, Sopers House, Sopers Road, Cuffley","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Xander Land \u0026 New Homes","branch_name":"Hertford","lettings":false,"sales":true,"commercial":false,"h_email":"sales@xanderhomes.co.uk","has_email":true,"h_phone":"020 3751 5742","has_phone":true,"resolved_brand_color":"#d2bf9d","boundary_listing_count":"1","property_count":"8","latitude":51.707,"longitude":-0.109},{"core_branch_id":62987,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"Your Move","email":"hitchin@your-move.co.uk","sales_phone_number":"01462 459643","address":"Russell Chambers Hermitage Road,\r\nHitchin,\r\nSG5 1DB","postcode":"SG5 1DB","website_url":"https:\/\/www.your-move.co.uk\/estate-agent\/hitchin","description":null,"listings_feed_url":null,"feed_format":null,"last_feed_sync":null,"crm_provider":null,"logo":"https:\/\/cdn.home.co.uk\/agents\/62987\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:20:49.000000Z","updated_at":"2026-01-20T19:57:39.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":62987,"agent_company_id":102,"branch_location":"Hitchin","lettings_phone_number":"01462 459643","is_sales":true,"is_lettings":true,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E61000003D44A33B889DD1BF9772BED87BF94940","agent_brand_id":304,"offers_sales":true,"offers_lettings":true,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"Russell Chambers Hermitage Road, Hitchin","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Your Move","branch_name":"Hitchin","lettings":true,"sales":true,"commercial":false,"h_email":"hitchin@your-move.co.uk","has_email":true,"h_phone":"01462 459643","has_phone":true,"resolved_brand_color":"#63aa2e","boundary_listing_count":"1","property_count":"8","latitude":51.949092,"longitude":-0.27524}]; 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`; } } }