Estate & Letting Agents in Cwm, Blaenau Gwent

Find Estate Agents in Cwm, Blaenau Gwent
16 results
Martin & Co

Newport

Lettings Sales
1 active listing in Cwm, Blaenau Gwent, Cymru / Wales
32 total
25 Bridge Street, Newport, NP20 4BG
View Profile
Darlows

Brynmawr

Sales
13 active listings in Cwm, Blaenau Gwent, Cymru / Wales
179 total
21 Beaufort Street, Brynmawr, NP23 4AQ
View Profile
Victoria Homes
9 active listings in Cwm, Blaenau Gwent, Cymru / Wales
37 total
35 Marine Street Cwm Ebbw Vale NP23 7SS
View Profile
Peter Alan

Ebbw Vale - Lettings

Lettings Sales
5 active listings in Cwm, Blaenau Gwent, Cymru / Wales
72 total
14 Bethcar Street, Ebbw Vale, NP23 6HQ
View Profile
Bidmead Cook

Ebbw Vale

Sales
3 active listings in Cwm, Blaenau Gwent, Cymru / Wales
54 total
1 Bethcar Street, Ebbw Vale, NP23 6HH
J W Homes

Oakdale

Sales
2 active listings in Cwm, Blaenau Gwent, Cymru / Wales
51 total
Unit 1A Foxes Lane, Oakdale Business Park, NP12 4AB
Yopa

Nationwide

Sales
2 active listings in Cwm, Blaenau Gwent, Cymru / Wales
7,206 total
Meridian House Wheatfield Way Hinckley LE10 1YG
View Profile
Asset Estates

Abertillery

Sales
1 active listing in Cwm, Blaenau Gwent, Cymru / Wales
65 total
4 Church Street Abertillery NP13 1DA
View Profile
Cariad Property

Newbridge

Sales
1 active listing in Cwm, Blaenau Gwent, Cymru / Wales
54 total
8 King Charles Road Newbridge NP11 4HF
Hathways Estate Agents
1 active listing in Cwm, Blaenau Gwent, Cymru / Wales
110 total
2 New Street, Pontnewydd, Cwmbran, NP44 1EE
View Profile
Louvain Properties

Tredegar

Sales
1 active listing in Cwm, Blaenau Gwent, Cymru / Wales
67 total
108 Commercial Street, Tredegar, NP22 3DW
View Profile
Nexa South Wales

Pontypridd

Sales
1 active listing in Cwm, Blaenau Gwent, Cymru / Wales
185 total
72 Park Street, Treforest, Pontypridd, CF37 1SN
Number One Real Estate

Newport

Lettings Sales
1 active listing in Cwm, Blaenau Gwent, Cymru / Wales
597 total
76 Bridge Street, Newport, NP20 4AQ
View Profile
Openrent

London

Lettings
1 active listing in Cwm, Blaenau Gwent, Cymru / Wales
8,460 total
20 Wenlock Road, London, N1 7GU
View Profile
Peter Alan

Blackwood

Lettings Sales
1 active listing in Cwm, Blaenau Gwent, Cymru / Wales
102 total
131 High Street, Blackwood, NP12 1AB
View Profile
Sage and Co Property Agents
1 active listing in Cwm, Blaenau Gwent, Cymru / Wales
108 total
Lakeside House, Llantarnam Park Way, Llantarnam Industrial Park, Cwmbran, NP44 3GA,
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 = 'Cwm, Blaenau Gwent'; 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":60040,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"Martin \u0026 Co","email":"newport@martinco.com","sales_phone_number":"01633 251568","address":"25 Bridge Street,\r\nNewport,\r\nNP20 4BG","postcode":"NP20 4BG","website_url":"https:\/\/www.martinco.com\/estate-agents-and-letting-agents\/branch\/newport","description":null,"listings_feed_url":null,"feed_format":null,"last_feed_sync":null,"crm_provider":"SME Professional","logo":"https:\/\/cdn.home.co.uk\/agents\/60040\/logo.png","office_images":null,"claimed_at":"2025-12-22T15:24:09.000000Z","created_at":"2025-12-09T17:19:13.000000Z","updated_at":"2026-01-20T19:59:17.000000Z","deleted_at":null,"claimed_user_id":"cb096143-431a-4200-ba92-f3ac46037fb3","profile_status":"on_hold","assigned_user_id":null,"id":60040,"agent_company_id":44,"branch_location":"Newport","lettings_phone_number":"01633 251568","is_sales":true,"is_lettings":true,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E610000011E50B5A480008C0E140481630CB4940","agent_brand_id":83,"offers_sales":true,"offers_lettings":true,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"25 Bridge Street, Newport","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Martin \u0026 Co","branch_name":"Newport","lettings":true,"sales":true,"commercial":false,"h_email":"newport@martinco.com","has_email":true,"h_phone":"01633 251568","has_phone":true,"resolved_brand_color":"#006996","boundary_listing_count":"1","property_count":"32","latitude":51.587405,"longitude":-3.000138},{"core_branch_id":60050,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"Darlows","email":"brynmawr@darlows.co.uk","sales_phone_number":"01495 618078","address":"21 Beaufort Street,\r\nBrynmawr,\r\nNP23 4AQ","postcode":"NP23 4AQ","website_url":"https:\/\/www.darlows.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\/60050\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:19:14.000000Z","updated_at":"2026-01-20T19:56:16.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":60050,"agent_company_id":163,"branch_location":"Brynmawr","lettings_phone_number":null,"is_sales":true,"is_lettings":false,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E610000076F9D687F56609C09085E81038E64940","agent_brand_id":402,"offers_sales":true,"offers_lettings":false,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"21 Beaufort Street, Brynmawr","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Darlows","branch_name":"Brynmawr","lettings":false,"sales":true,"commercial":false,"h_email":"brynmawr@darlows.co.uk","has_email":true,"h_phone":"01495 618078","has_phone":true,"resolved_brand_color":"#293372","boundary_listing_count":"13","property_count":"179","latitude":51.798586,"longitude":-3.175273},{"core_branch_id":60054,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"Victoria Homes","email":"sales@victoria-homes.co.uk","sales_phone_number":"01495 370056","address":"35 Marine Street\r\nCwm\r\nEbbw Vale\r\nNP23 7SS","postcode":"NP23 7SS","website_url":"http:\/\/www.victoria-homes.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\/60054\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:19:14.000000Z","updated_at":"2026-01-20T19:56:16.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":60054,"agent_company_id":5283,"branch_location":"Cwm","lettings_phone_number":null,"is_sales":true,"is_lettings":false,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E61000002B16BF29AC7409C0B96E4A79ADDE4940","agent_brand_id":6062,"offers_sales":true,"offers_lettings":false,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"35 Marine Street, Cwm, Ebbw Vale","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Victoria Homes","branch_name":"Cwm","lettings":false,"sales":true,"commercial":false,"h_email":"sales@victoria-homes.co.uk","has_email":true,"h_phone":"01495 370056","has_phone":true,"resolved_brand_color":"#1f2d3e","boundary_listing_count":"9","property_count":"37","latitude":51.739669,"longitude":-3.181969},{"core_branch_id":60053,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"Peter Alan","email":"ebbwvale@peteralan.co.uk","sales_phone_number":"01495 360922","address":"14 Bethcar Street,\r\nEbbw Vale,\r\nNP23 6HQ","postcode":"NP23 6HQ","website_url":"http:\/\/www.peteralan.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\/60053\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:19:14.000000Z","updated_at":"2026-01-20T19:56:16.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":60053,"agent_company_id":157,"branch_location":"Ebbw Vale - Lettings","lettings_phone_number":"01495 360922","is_sales":true,"is_lettings":true,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E610000029E8F692C6A809C0F7562426A8E34940","agent_brand_id":389,"offers_sales":true,"offers_lettings":true,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"14 Bethcar Street, Ebbw Vale","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Peter Alan","branch_name":"Ebbw Vale - Lettings","lettings":true,"sales":true,"commercial":false,"h_email":"ebbwvale@peteralan.co.uk","has_email":true,"h_phone":"01495 360922","has_phone":true,"resolved_brand_color":"#0eae73","boundary_listing_count":"5","property_count":"72","latitude":51.778569,"longitude":-3.20741},{"core_branch_id":60052,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"Bidmead Cook","email":null,"sales_phone_number":"01495 302301","address":"1 Bethcar Street,\r\nEbbw Vale,\r\nNP23 6HH","postcode":"NP23 6HH","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\/60052\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:19:14.000000Z","updated_at":"2026-01-20T19:59:18.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":60052,"agent_company_id":5281,"branch_location":"Ebbw Vale","lettings_phone_number":null,"is_sales":true,"is_lettings":false,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E6100000780E65A88AA909C02C8194D8B5E34940","agent_brand_id":6060,"offers_sales":true,"offers_lettings":false,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"1 Bethcar Street, Ebbw Vale","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Bidmead Cook","branch_name":"Ebbw Vale","lettings":false,"sales":true,"commercial":false,"h_email":null,"has_email":false,"h_phone":"01495 302301","has_phone":true,"resolved_brand_color":"#d0000c","boundary_listing_count":"3","property_count":"54","latitude":51.778987,"longitude":-3.207784},{"core_branch_id":60005,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"J W Homes","email":null,"sales_phone_number":"01495 223757","address":"Unit 1A Foxes Lane,\r\nOakdale Business Park,\r\nNP12 4AB","postcode":"NP12 4AB","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\/60005\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:19:12.000000Z","updated_at":"2026-01-20T19:54:05.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":60005,"agent_company_id":8378,"branch_location":"Oakdale","lettings_phone_number":null,"is_sales":true,"is_lettings":false,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E6100000ECA4BE2CED7409C079EBFCDB65D74940","agent_brand_id":9248,"offers_sales":true,"offers_lettings":true,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"Unit 1A Foxes Lane, Oakdale Business Park","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"J W Homes","branch_name":"Oakdale","lettings":false,"sales":true,"commercial":false,"h_email":null,"has_email":false,"h_phone":"01495 223757","has_phone":true,"resolved_brand_color":"#ff6233","boundary_listing_count":"2","property_count":"51","latitude":51.682796,"longitude":-3.182093},{"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":"2","property_count":"7206","latitude":52.555671,"longitude":-1.376422},{"core_branch_id":60007,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"Asset Estates","email":"info@assetestates.co.uk","sales_phone_number":"01495 211311","address":"4 Church Street\r\nAbertillery\r\nNP13 1DA \r\n ","postcode":"NP13 1DA","website_url":"http:\/\/assetestates.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\/60007\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:19:12.000000Z","updated_at":"2026-01-20T19:54:05.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":60007,"agent_company_id":7704,"branch_location":"Abertillery","lettings_phone_number":null,"is_sales":true,"is_lettings":false,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E61000005036E50AEF1209C0C6FCDCD094DD4940","agent_brand_id":8556,"offers_sales":true,"offers_lettings":true,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"4 Church Street, Abertillery","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Asset Estates","branch_name":"Abertillery","lettings":false,"sales":true,"commercial":false,"h_email":"info@assetestates.co.uk","has_email":true,"h_phone":"01495 211311","has_phone":true,"resolved_brand_color":"#4a2c7e","boundary_listing_count":"1","property_count":"65","latitude":51.731104,"longitude":-3.134245},{"core_branch_id":59996,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"Cariad Property","email":null,"sales_phone_number":"01495 442315","address":"8 King Charles Road\r\nNewbridge\r\nNP11 4HF","postcode":"NP11 4HF","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\/59996\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:19:12.000000Z","updated_at":"2026-01-20T19:57:12.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":59996,"agent_company_id":387,"branch_location":"Newbridge","lettings_phone_number":null,"is_sales":true,"is_lettings":false,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E61000009E0C8E92574709C02C7E5358A9D44940","agent_brand_id":743,"offers_sales":true,"offers_lettings":false,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"8 King Charles Road, Newbridge","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Cariad Property","branch_name":"Newbridge","lettings":false,"sales":true,"commercial":false,"h_email":null,"has_email":false,"h_phone":"01495 442315","has_phone":true,"resolved_brand_color":"#db434d","boundary_listing_count":"1","property_count":"54","latitude":51.661418,"longitude":-3.159835},{"core_branch_id":60066,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"Hathways Estate Agents","email":"info@hathways.co.uk","sales_phone_number":"01633 870777","address":"2 New Street,\r\nPontnewydd,\r\nCwmbran,\r\nNP44 1EE","postcode":"NP44 1EE","website_url":"http:\/\/www.hathways.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\/60066\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:19:14.000000Z","updated_at":"2026-01-20T19:54:06.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":60066,"agent_company_id":7882,"branch_location":"Cwmbran","lettings_phone_number":null,"is_sales":true,"is_lettings":false,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E61000002D246074793308C09B559FABADD44940","agent_brand_id":8741,"offers_sales":true,"offers_lettings":true,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"2 New Street, Pontnewydd, Cwmbran","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Hathways Estate Agents","branch_name":"Cwmbran","lettings":false,"sales":true,"commercial":false,"h_email":"info@hathways.co.uk","has_email":true,"h_phone":"01633 870777","has_phone":true,"resolved_brand_color":"#8062a5","boundary_listing_count":"1","property_count":"110","latitude":51.66155,"longitude":-3.025134},{"core_branch_id":60049,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"Louvain Properties","email":"steve@louvainproperties.co.uk","sales_phone_number":"01495 619811","address":"108 Commercial Street,\r\nTredegar,\r\nNP22 3DW","postcode":"NP22 3DW","website_url":"https:\/\/louvainproperties.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\/60049\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:19:14.000000Z","updated_at":"2026-01-20T19:59:46.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":60049,"agent_company_id":1525,"branch_location":"Tredegar","lettings_phone_number":null,"is_sales":true,"is_lettings":false,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E6100000B858518369F809C094FB1D8A02E34940","agent_brand_id":2096,"offers_sales":true,"offers_lettings":false,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"108 Commercial Street, Tredegar","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Louvain Properties","branch_name":"Tredegar","lettings":false,"sales":true,"commercial":false,"h_email":"steve@louvainproperties.co.uk","has_email":true,"h_phone":"01495 619811","has_phone":true,"resolved_brand_color":"#6fab2d","boundary_listing_count":"1","property_count":"67","latitude":51.773515,"longitude":-3.246295},{"core_branch_id":52241,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"Nexa South Wales","email":"hello@nexasw.com","sales_phone_number":null,"address":"72 Park Street,\r\nTreforest,\r\nPontypridd,\r\nCF37 1SN","postcode":"CF37 1SN","website_url":"https:\/\/www.nexaproperties.com","description":null,"listings_feed_url":null,"feed_format":null,"last_feed_sync":null,"crm_provider":null,"logo":"https:\/\/cdn.home.co.uk\/agents\/52241\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:14:57.000000Z","updated_at":"2026-01-20T19:52:44.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":52241,"agent_company_id":4952,"branch_location":"Pontypridd","lettings_phone_number":null,"is_sales":true,"is_lettings":false,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E61000008928266F80990AC0C2C3B46FEECB4940","agent_brand_id":5713,"offers_sales":true,"offers_lettings":true,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"72 Park Street, Treforest, Pontypridd","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Nexa South Wales","branch_name":"Pontypridd","lettings":false,"sales":true,"commercial":false,"h_email":"hello@nexasw.com","has_email":true,"h_phone":null,"has_phone":false,"resolved_brand_color":"#00a1c9","boundary_listing_count":"1","property_count":"185","latitude":51.593214,"longitude":-3.324952},{"core_branch_id":60035,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"Number One Real Estate","email":"katie.darlow@numberonerealestate.co.uk","sales_phone_number":"01633 492777","address":"76 Bridge Street,\r\nNewport,\r\nNP20 4AQ","postcode":"NP20 4AQ","website_url":"https:\/\/www.numberonerealestate.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\/60035\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:19:13.000000Z","updated_at":"2026-01-20T19:59:15.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":60035,"agent_company_id":4539,"branch_location":"Newport","lettings_phone_number":"01633 493070","is_sales":true,"is_lettings":true,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E6100000F52C08E57DFC07C050357A3540CB4940","agent_brand_id":5281,"offers_sales":true,"offers_lettings":true,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"76 Bridge Street, Newport","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Number One Real Estate","branch_name":"Newport","lettings":true,"sales":true,"commercial":false,"h_email":"katie.darlow@numberonerealestate.co.uk","has_email":true,"h_phone":"01633 492777","has_phone":true,"resolved_brand_color":"#14aaa1","boundary_listing_count":"1","property_count":"597","latitude":51.587897,"longitude":-2.998287},{"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":60002,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"Peter Alan","email":"blackwood@peteralan.co.uk","sales_phone_number":"01495 231199","address":"131 High Street,\r\nBlackwood,\r\nNP12 1AB","postcode":"NP12 1AB","website_url":"https:\/\/www.peteralan.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\/60002\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:19:12.000000Z","updated_at":"2026-01-20T19:58:56.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":60002,"agent_company_id":157,"branch_location":"Blackwood","lettings_phone_number":"01495 231199","is_sales":true,"is_lettings":true,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E6100000F0C34142948F09C00FB4024356D54940","agent_brand_id":389,"offers_sales":true,"offers_lettings":true,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"131 High Street, Blackwood","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Peter Alan","branch_name":"Blackwood","lettings":true,"sales":true,"commercial":false,"h_email":"blackwood@peteralan.co.uk","has_email":true,"h_phone":"01495 231199","has_phone":true,"resolved_brand_color":"#0eae73","boundary_listing_count":"1","property_count":"102","latitude":51.666695,"longitude":-3.195107},{"core_branch_id":67471,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"Sage and Co Property Agents","email":"cwmbran@sageandco.co.uk","sales_phone_number":"01633 838888","address":"Lakeside House, \r\nLlantarnam Park Way,\r\nLlantarnam Industrial Park,\r\nCwmbran,\r\nNP44 3GA, ","postcode":"NP44 3GA","website_url":"https:\/\/www.sageandcoauctions.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\/67471\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:23:16.000000Z","updated_at":"2026-01-20T19:55:27.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":67471,"agent_company_id":392,"branch_location":"Cwmbran","lettings_phone_number":null,"is_sales":true,"is_lettings":false,"is_commercial":false,"is_hm_agent":false,"geopoint":null,"agent_brand_id":750,"offers_sales":true,"offers_lettings":true,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"Lakeside House, Llantarnam Park Way, Llantarnam Industrial Park, Cwmbran","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Sage and Co Property Agents","branch_name":"Cwmbran","lettings":false,"sales":true,"commercial":false,"h_email":"cwmbran@sageandco.co.uk","has_email":true,"h_phone":"01633 838888","has_phone":true,"resolved_brand_color":"#7d0d5f","boundary_listing_count":"1","property_count":"108","latitude":null,"longitude":null}]; 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`; } } }