Estate & Letting Agents in Doxey, Stafford

Find Estate Agents in Doxey, Stafford
15 results
Open House Estate Agents
Open House Estate Agents

Nationwide

Sales
2 active listings in Doxey, Stafford, Staffordshire, England
374 total
Nationwide
View Featured Profile
The Avenue
The Avenue

Covering National

Sales
1 active listing in Doxey, Stafford, Staffordshire, England
312 total
Office 5, 10 Burnett Road, Sutton Coldfield, B74 3LP
View Featured Profile
Martin & Co

Stafford

Sales
1 active listing in Doxey, Stafford, Staffordshire, England
43 total
4 Eastgate Street, Stafford, ST16 2NQ
View Profile
Dourish & Day

Stafford

Sales
13 active listings in Doxey, Stafford, Staffordshire, England
468 total
14 Salter Street, Stafford, ST16 2JU
View Profile
Bridgfords

Stafford

Lettings Sales
4 active listings in Doxey, Stafford, Staffordshire, England
78 total
Bank House 40 Greengate Street Stafford ST16 2JB
View Profile
Butters John Bee

Stafford

Lettings Sales
3 active listings in Doxey, Stafford, Staffordshire, England
48 total
17 Salter Street, Stafford, ST16 2JU
View Profile
Connells

Stafford

Lettings Sales
2 active listings in Doxey, Stafford, Staffordshire, England
107 total
Unit 3C Salter Street, Stafford, ST16 2JU
View Profile
Castle Estates

Stafford

Lettings
1 active listing in Doxey, Stafford, Staffordshire, England
22 total
159a Marston Road, Stafford, ST16 3BS
View Profile
D B Roberts & Partners
1 active listing in Doxey, Stafford, Staffordshire, England
80 total
18 Salter Street, Stafford, ST16 2JU
View Profile
James Du Pavey

Eccleshall

Sales
1 active listing in Doxey, Stafford, Staffordshire, England
176 total
16 Stafford Street Eccleshall ST21 6BH
View Profile
James Du Pavey

Stone

Sales
1 active listing in Doxey, Stafford, Staffordshire, England
233 total
Christchurch house Christchurch Way, Stone, ST15 8BZ
View Profile
John German

Stafford

Sales
1 active listing in Doxey, Stafford, Staffordshire, England
117 total
5 Pool Lane Brocton Stafford ST17 0TR
View Profile
Jr Properties LTD

Rugeley

Sales
1 active listing in Doxey, Stafford, Staffordshire, England
55 total
25B Horsefair, Rugeley, Staffordshire, WS15 2EJ
View Profile
Quickmove Properties

Wiltshire

Sales
1 active listing in Doxey, Stafford, Staffordshire, England
315 total
11 Interface Business Park, Binknoll Lane, Royal Wootton Bassett, SN4 8SY
View Profile
Yopa

Nationwide

Sales
1 active listing in Doxey, Stafford, Staffordshire, England
7,204 total
Meridian House Wheatfield Way Hinckley LE10 1YG
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 = 'Doxey, Stafford'; 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":67383,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"Open House Estate Agents","email":"staffordandstone@localagent.co.uk","sales_phone_number":"01925 912942","address":"Nationwide","postcode":null,"website_url":"http:\/\/www.openhousestafford.co.uk","description":null,"listings_feed_url":null,"feed_format":null,"last_feed_sync":null,"crm_provider":"10ninety","logo":"https:\/\/cdn.home.co.uk\/agents\/67383\/logo.png","office_images":null,"claimed_at":"2026-01-16T17:52:38.000000Z","created_at":"2025-12-09T17:23:13.000000Z","updated_at":"2026-01-16T23:11:12.000000Z","deleted_at":null,"claimed_user_id":"701769ea-12c5-498b-ab22-d065546442d1","profile_status":"live","assigned_user_id":null,"id":67383,"agent_company_id":150,"branch_location":"Nationwide","lettings_phone_number":null,"is_sales":true,"is_lettings":false,"is_commercial":false,"is_hm_agent":true,"geopoint":"0101000020E61000008177F2E9B16DFCBF38BD8BF7E3C44940","agent_brand_id":381,"offers_sales":true,"offers_lettings":true,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":null,"has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Open House Estate Agents","branch_name":"Nationwide","lettings":false,"sales":true,"commercial":false,"h_email":"staffordandstone@localagent.co.uk","has_email":true,"h_phone":"01925 912942","has_phone":true,"resolved_brand_color":"#fd0a9f","boundary_listing_count":"2","property_count":"374","latitude":51.538207,"longitude":-1.776781},{"core_branch_id":50439,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"The Avenue","email":"home@theavenue.co.uk","sales_phone_number":"03300 432394","address":"Office 5,\r\n10 Burnett Road,\r\nSutton Coldfield,\r\nB74 3LP","postcode":"B74 3LP","website_url":"https:\/\/theavenue.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\/50439\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:13:58.000000Z","updated_at":"2026-01-20T19:52:28.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":50439,"agent_company_id":3825,"branch_location":"Covering National","lettings_phone_number":null,"is_sales":true,"is_lettings":false,"is_commercial":false,"is_hm_agent":true,"geopoint":"0101000020E6100000C8CD70033E3FFEBF58C9C7EE024B4A40","agent_brand_id":4526,"offers_sales":true,"offers_lettings":true,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"Office 5, 10 Burnett Road, Sutton Coldfield","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"The Avenue","branch_name":"Covering National","lettings":false,"sales":true,"commercial":false,"h_email":"home@theavenue.co.uk","has_email":true,"h_phone":"03300 432394","has_phone":true,"resolved_brand_color":"#cbcab2","boundary_listing_count":"1","property_count":"312","latitude":52.586027,"longitude":-1.89044},{"core_branch_id":63986,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"Martin \u0026 Co","email":"stafford@martinco.com","sales_phone_number":"01785 244509","address":"4 Eastgate Street,\r\nStafford,\r\nST16 2NQ","postcode":"ST16 2NQ","website_url":"https:\/\/www.martinco.com\/estate-agents-and-letting-agents\/branch\/stafford","description":null,"listings_feed_url":null,"feed_format":null,"last_feed_sync":null,"crm_provider":"SME Professional","logo":"https:\/\/cdn.home.co.uk\/agents\/63986\/logo.png","office_images":null,"claimed_at":"2025-12-22T15:24:08.000000Z","created_at":"2025-12-09T17:21:21.000000Z","updated_at":"2026-01-20T19:55:30.000000Z","deleted_at":null,"claimed_user_id":"cb096143-431a-4200-ba92-f3ac46037fb3","profile_status":"on_hold","assigned_user_id":null,"id":63986,"agent_company_id":44,"branch_location":"Stafford","lettings_phone_number":null,"is_sales":true,"is_lettings":false,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E6100000DA3C0E83F9EB00C0199293895B674A40","agent_brand_id":83,"offers_sales":true,"offers_lettings":true,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"4 Eastgate Street, Stafford","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Martin \u0026 Co","branch_name":"Stafford","lettings":false,"sales":true,"commercial":false,"h_email":"stafford@martinco.com","has_email":true,"h_phone":"01785 244509","has_phone":true,"resolved_brand_color":"#006996","boundary_listing_count":"1","property_count":"43","latitude":52.807481,"longitude":-2.115222},{"core_branch_id":63984,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"Dourish \u0026 Day","email":"hello@dourishandday.co.uk","sales_phone_number":"01785 223344","address":"14 Salter Street,\r\nStafford,\r\nST16 2JU","postcode":"ST16 2JU","website_url":"https:\/\/www.dourishandday.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\/63984\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:21:21.000000Z","updated_at":"2026-01-20T19:54:48.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":63984,"agent_company_id":376,"branch_location":"Stafford","lettings_phone_number":null,"is_sales":true,"is_lettings":false,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E6100000917EFB3A70EE00C0E20511A969674A40","agent_brand_id":729,"offers_sales":true,"offers_lettings":true,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"14 Salter Street, Stafford","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Dourish \u0026 Day","branch_name":"Stafford","lettings":false,"sales":true,"commercial":false,"h_email":"hello@dourishandday.co.uk","has_email":true,"h_phone":"01785 223344","has_phone":true,"resolved_brand_color":"#fefe01","boundary_listing_count":"13","property_count":"468","latitude":52.807912,"longitude":-2.116425},{"core_branch_id":63980,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"Bridgfords","email":"stafford@bridgfordscountrywide.co.uk","sales_phone_number":"01785 242426","address":"Bank House \r\n40 Greengate Street\r\nStafford\r\nST16 2JB ","postcode":"ST16 2JB","website_url":"https:\/\/www.bridgfords.co.uk\/branch\/estate-agents\/stafford","description":null,"listings_feed_url":null,"feed_format":null,"last_feed_sync":null,"crm_provider":null,"logo":"https:\/\/cdn.home.co.uk\/agents\/63980\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:21:21.000000Z","updated_at":"2026-01-20T19:57:44.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":63980,"agent_company_id":51,"branch_location":"Stafford","lettings_phone_number":"01785 212112","is_sales":true,"is_lettings":true,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E6100000F6D214014EEF00C039B69E211C674A40","agent_brand_id":151,"offers_sales":true,"offers_lettings":true,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"Bank House, 40 Greengate Street, Stafford","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Bridgfords","branch_name":"Stafford","lettings":true,"sales":true,"commercial":false,"h_email":"stafford@bridgfordscountrywide.co.uk","has_email":true,"h_phone":"01785 242426","has_phone":true,"resolved_brand_color":"#e93229","boundary_listing_count":"4","property_count":"78","latitude":52.805546,"longitude":-2.116848},{"core_branch_id":63981,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"Butters John Bee","email":"stafford@bjbmail.com","sales_phone_number":"01785 848929","address":"17 Salter Street,\r\nStafford,\r\nST16 2JU","postcode":"ST16 2JU","website_url":"http:\/\/www.buttersjohnbee.com","description":null,"listings_feed_url":null,"feed_format":null,"last_feed_sync":null,"crm_provider":null,"logo":"https:\/\/cdn.home.co.uk\/agents\/63981\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:21:21.000000Z","updated_at":"2026-01-20T19:58:34.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":63981,"agent_company_id":163,"branch_location":"Stafford","lettings_phone_number":"01785 782931","is_sales":true,"is_lettings":true,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E6100000917EFB3A70EE00C0E20511A969674A40","agent_brand_id":398,"offers_sales":true,"offers_lettings":true,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"17 Salter Street, Stafford","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Butters John Bee","branch_name":"Stafford","lettings":true,"sales":true,"commercial":false,"h_email":"stafford@bjbmail.com","has_email":true,"h_phone":"01785 848929","has_phone":true,"resolved_brand_color":"#ffef33","boundary_listing_count":"3","property_count":"48","latitude":52.807912,"longitude":-2.116425},{"core_branch_id":63982,"verification_status":"verified","verified_at":"2026-02-05T16:55:52.000000Z","verified_by":null,"verification_notes":null,"name":"Connells","email":"stafford@connells.co.uk","sales_phone_number":"01785 243356","address":"Unit 3C Salter Street,\r\nStafford,\r\nST16 2JU","postcode":"ST16 2JU","website_url":"http:\/\/www.connells.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\/63982\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:21:21.000000Z","updated_at":"2026-02-05T16:58:43.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":63982,"agent_company_id":1,"branch_location":"Stafford","lettings_phone_number":"01785 243356","is_sales":true,"is_lettings":true,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E6100000917EFB3A70EE00C0E20511A969674A40","agent_brand_id":4,"offers_sales":true,"offers_lettings":true,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"Unit 3C Salter Street, Stafford","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Connells","branch_name":"Stafford","lettings":true,"sales":true,"commercial":false,"h_email":"stafford@connells.co.uk","has_email":true,"h_phone":"01785 243356","has_phone":true,"resolved_brand_color":"#cc1e23","boundary_listing_count":"2","property_count":"107","latitude":52.807912,"longitude":-2.116425},{"core_branch_id":63988,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"Castle Estates","email":"iancajames@castle-estates.co.uk","sales_phone_number":null,"address":"159a Marston Road,\r\nStafford,\r\nST16 3BS","postcode":"ST16 3BS","website_url":"https:\/\/www.staffordshire.castle-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\/63988\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:21:21.000000Z","updated_at":"2026-01-20T19:57:45.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":63988,"agent_company_id":6336,"branch_location":"Stafford","lettings_phone_number":"01785 244404","is_sales":false,"is_lettings":true,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E6100000AA285E656DF300C073BD6DA642684A40","agent_brand_id":7158,"offers_sales":false,"offers_lettings":true,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"159a Marston Road, Stafford","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Castle Estates","branch_name":"Stafford","lettings":true,"sales":false,"commercial":false,"h_email":"iancajames@castle-estates.co.uk","has_email":true,"h_phone":"01785 244404","has_phone":true,"resolved_brand_color":"#1d7daf","boundary_listing_count":"1","property_count":"22","latitude":52.814534,"longitude":-2.118861},{"core_branch_id":63983,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"D B Roberts \u0026 Partners","email":"stafford@dbroberts.co.uk","sales_phone_number":"01785 255800","address":"18 Salter Street,\r\nStafford,\r\nST16 2JU","postcode":"ST16 2JU","website_url":"https:\/\/www.dbroberts.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\/63983\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:21:21.000000Z","updated_at":"2026-01-20T19:57:45.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":63983,"agent_company_id":3036,"branch_location":"Stafford","lettings_phone_number":null,"is_sales":true,"is_lettings":false,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E6100000917EFB3A70EE00C0E20511A969674A40","agent_brand_id":3702,"offers_sales":true,"offers_lettings":false,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"18 Salter Street, Stafford","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"D B Roberts \u0026 Partners","branch_name":"Stafford","lettings":false,"sales":true,"commercial":false,"h_email":"stafford@dbroberts.co.uk","has_email":true,"h_phone":"01785 255800","has_phone":true,"resolved_brand_color":"#1a99d9","boundary_listing_count":"1","property_count":"80","latitude":52.807912,"longitude":-2.116425},{"core_branch_id":63998,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"James Du Pavey","email":"eccleshall@jamesdupavey.co.uk","sales_phone_number":"01785 553357","address":"16 Stafford Street\r\nEccleshall\r\nST21 6BH","postcode":"ST21 6BH","website_url":"https:\/\/www.jamesdupavey.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\/63998\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:21:21.000000Z","updated_at":"2026-01-20T19:54:48.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":63998,"agent_company_id":594,"branch_location":"Eccleshall","lettings_phone_number":null,"is_sales":true,"is_lettings":false,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E6100000CCB392567C0302C0D908C4EBFA6D4A40","agent_brand_id":1060,"offers_sales":true,"offers_lettings":true,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"16 Stafford Street, Eccleshall","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"James Du Pavey","branch_name":"Eccleshall","lettings":false,"sales":true,"commercial":false,"h_email":"eccleshall@jamesdupavey.co.uk","has_email":true,"h_phone":"01785 553357","has_phone":true,"resolved_brand_color":"#321946","boundary_listing_count":"1","property_count":"176","latitude":52.85922,"longitude":-2.251702},{"core_branch_id":63975,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"James Du Pavey","email":"stone@jamesdupavey.co.uk","sales_phone_number":"01538 712952","address":"Christchurch house Christchurch Way,\r\nStone,\r\nST15 8BZ","postcode":"ST15 8BZ","website_url":"https:\/\/www.jamesdupavey.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\/63975\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:21:21.000000Z","updated_at":"2026-01-20T20:01:51.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":63975,"agent_company_id":594,"branch_location":"Stone","lettings_phone_number":null,"is_sales":true,"is_lettings":false,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E61000006891ED7C3F3501C06C09F9A067734A40","agent_brand_id":1060,"offers_sales":true,"offers_lettings":false,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"Christchurch house Christchurch Way, Stone","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"James Du Pavey","branch_name":"Stone","lettings":false,"sales":true,"commercial":false,"h_email":"stone@jamesdupavey.co.uk","has_email":true,"h_phone":"01538 712952","has_phone":true,"resolved_brand_color":"#321946","boundary_listing_count":"1","property_count":"233","latitude":52.9016,"longitude":-2.151},{"core_branch_id":63989,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"John German","email":"stafford@johngerman.co.uk","sales_phone_number":"01785 236600","address":"5\r\nPool Lane\r\nBrocton\r\nStafford\r\nST17 0TR","postcode":"ST17 0TR","website_url":"https:\/\/www.johngerman.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\/63989\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:21:21.000000Z","updated_at":"2026-01-20T19:52:29.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":63989,"agent_company_id":87,"branch_location":"Stafford","lettings_phone_number":null,"is_sales":true,"is_lettings":false,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E610000032C7F2AE7A6000C0FFB1101D02634A40","agent_brand_id":263,"offers_sales":true,"offers_lettings":true,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"5, Pool Lane, Brocton, Stafford","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"John German","branch_name":"Stafford","lettings":false,"sales":true,"commercial":false,"h_email":"stafford@johngerman.co.uk","has_email":true,"h_phone":"01785 236600","has_phone":true,"resolved_brand_color":"#1e2d69","boundary_listing_count":"1","property_count":"117","latitude":52.773502,"longitude":-2.047109},{"core_branch_id":66627,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"Jr Properties LTD","email":"enquiries@jrpropertiesstaffs.com","sales_phone_number":"01889 577731","address":"25B Horsefair, Rugeley, Staffordshire, WS15 2EJ","postcode":"WS15 2EJ","website_url":"https:\/\/www.jrpropertiesstaffs.com\/","description":null,"listings_feed_url":null,"feed_format":null,"last_feed_sync":null,"crm_provider":null,"logo":"https:\/\/cdn.home.co.uk\/agents\/66627\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:22:49.000000Z","updated_at":"2026-01-20T20:00:59.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":66627,"agent_company_id":7139,"branch_location":"Rugeley","lettings_phone_number":null,"is_sales":true,"is_lettings":false,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E6100000F7E461A1D6F4FEBFB680D07AF8604A40","agent_brand_id":7980,"offers_sales":true,"offers_lettings":false,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"25B Horsefair, Rugeley, Staffordshire","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Jr Properties LTD","branch_name":"Rugeley","lettings":false,"sales":true,"commercial":false,"h_email":"enquiries@jrpropertiesstaffs.com","has_email":true,"h_phone":"01889 577731","has_phone":true,"resolved_brand_color":"#201f1f","boundary_listing_count":"1","property_count":"55","latitude":52.757583,"longitude":-1.934775},{"core_branch_id":63484,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"Quickmove Properties","email":"chris.hendry@quickmoveproperties.co.uk","sales_phone_number":"01793 840917","address":"11 Interface Business Park,\r\nBinknoll Lane,\r\nRoyal Wootton Bassett,\r\nSN4 8SY","postcode":"SN4 8SY","website_url":"https:\/\/www.quickmoveproperties.co.uk\/find-a-park","description":null,"listings_feed_url":null,"feed_format":null,"last_feed_sync":null,"crm_provider":null,"logo":"https:\/\/cdn.home.co.uk\/agents\/63484\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:21:05.000000Z","updated_at":"2026-01-20T20:00:39.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":63484,"agent_company_id":3328,"branch_location":"Wiltshire","lettings_phone_number":null,"is_sales":true,"is_lettings":false,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E61000001BA19FA9D72DFEBF87C267EBE0C44940","agent_brand_id":4004,"offers_sales":true,"offers_lettings":false,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"11 Interface Business Park, Binknoll Lane, Royal Wootton Bassett","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Quickmove Properties","branch_name":"Wiltshire","lettings":false,"sales":true,"commercial":false,"h_email":"chris.hendry@quickmoveproperties.co.uk","has_email":true,"h_phone":"01793 840917","has_phone":true,"resolved_brand_color":"#234591","boundary_listing_count":"1","property_count":"315","latitude":51.538114,"longitude":-1.886192},{"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":"1","property_count":"7204","latitude":52.555671,"longitude":-1.376422}]; 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`; } } }