Estate & Letting Agents in Aston, Cote

Find Estate Agents in Aston, Cote
13 results
Chancellors

Witney

Lettings Sales
3 active listings in Aston, Cote, Shifford and Chimney, West Oxfordshire, Oxfordshire, England
103 total
14 Corn Street, Witney, OX28 6BL
View Profile
Martyn Cox & Company
3 active listings in Aston, Cote, Shifford and Chimney, West Oxfordshire, Oxfordshire, England
56 total
6-8 Corn Street, Witney, OX28 6BL
View Profile
Oxfordshire Property Agent

Covering Witney

Sales
3 active listings in Aston, Cote, Shifford and Chimney, West Oxfordshire, Oxfordshire, England
64 total
Covering Witney
Connells

Carterton

Sales
2 active listings in Aston, Cote, Shifford and Chimney, West Oxfordshire, Oxfordshire, England
40 total
Unit 2, Falklands House, Black Bourton Road, Carterton, OX18 3DN
View Profile
Breckon & Breckon

Witney

Sales
1 active listing in Aston, Cote, Shifford and Chimney, West Oxfordshire, Oxfordshire, England
70 total
10 Market Square, Witney, OX28 6BB
View Profile
Chancellors

Carterton

Lettings Sales
1 active listing in Aston, Cote, Shifford and Chimney, West Oxfordshire, Oxfordshire, England
58 total
Black Bourton Road, Carterton, OX18 3DN
View Profile
Express Estate Agency

Nationwide

Lettings Sales
1 active listing in Aston, Cote, Shifford and Chimney, West Oxfordshire, Oxfordshire, England
840 total
St Georges House, 56 Peter St, Manchester M2 3NQ
View Profile
Fk

Oxford

Sales
1 active listing in Aston, Cote, Shifford and Chimney, West Oxfordshire, Oxfordshire, England
65 total
226 Banbury Road, Oxford, OX2 7BY
View Profile
Gatekeeper

Witney

Lettings
1 active listing in Aston, Cote, Shifford and Chimney, West Oxfordshire, Oxfordshire, England
62 total
3-4 Kingfishers Court Northfield Farm Lane Witney OX28 1UE
View Profile
Gatekeeper

Swindon

Sales
1 active listing in Aston, Cote, Shifford and Chimney, West Oxfordshire, Oxfordshire, England
126 total
Swindon
View Profile
Scottfraser

Witney

Lettings Sales
1 active listing in Aston, Cote, Shifford and Chimney, West Oxfordshire, Oxfordshire, England
76 total
38, Market Square, Witney, OX28 6AL
View Profile
Stowhill Estates LTD

Stowhill Estates Frilford

Sales
1 active listing in Aston, Cote, Shifford and Chimney, West Oxfordshire, Oxfordshire, England
52 total
Stowhill Estates Frilford, Frilford Heath Golf Club, Oxford Road, Frilford, OX13 5NW
View Profile
Waymark Property

Faringdon

Sales
1 active listing in Aston, Cote, Shifford and Chimney, West Oxfordshire, Oxfordshire, England
71 total
2 Cornmarket Faringdon SN7 7HG
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 = 'Aston, Cote'; 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":60794,"verification_status":"verified","verified_at":"2026-02-02T10:33:14.000000Z","verified_by":null,"verification_notes":null,"name":"Chancellors","email":"witney.sales@chancellors.co.uk","sales_phone_number":"01993 684793","address":"14 Corn Street,\r\nWitney,\r\nOX28 6BL","postcode":"OX28 6BL","website_url":"http:\/\/www.chancellors.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\/60794\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:19:37.000000Z","updated_at":"2026-02-02T10:46:38.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":60794,"agent_company_id":168,"branch_location":"Witney","lettings_phone_number":"01993 684814","is_sales":true,"is_lettings":true,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E610000094BF7B478DC9F7BFC921E2E654E44940","agent_brand_id":417,"offers_sales":true,"offers_lettings":true,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"14 Corn Street, Witney","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Chancellors","branch_name":"Witney","lettings":true,"sales":true,"commercial":false,"h_email":"witney.sales@chancellors.co.uk","has_email":true,"h_phone":"01993 684793","has_phone":true,"resolved_brand_color":"#af0f23","boundary_listing_count":"3","property_count":"103","latitude":51.783841,"longitude":-1.486707},{"core_branch_id":60795,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"Martyn Cox \u0026 Company","email":"property@martyncox.com","sales_phone_number":"01993 779020","address":"6-8 Corn Street,\r\nWitney,\r\nOX28 6BL","postcode":"OX28 6BL","website_url":"https:\/\/www.martyncox.com\/","description":null,"listings_feed_url":null,"feed_format":null,"last_feed_sync":null,"crm_provider":null,"logo":"https:\/\/cdn.home.co.uk\/agents\/60795\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:19:37.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":60795,"agent_company_id":1242,"branch_location":"Witney","lettings_phone_number":null,"is_sales":true,"is_lettings":false,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E610000094BF7B478DC9F7BFC921E2E654E44940","agent_brand_id":1785,"offers_sales":true,"offers_lettings":true,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"6-8 Corn Street, Witney","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Martyn Cox \u0026 Company","branch_name":"Witney","lettings":false,"sales":true,"commercial":false,"h_email":"property@martyncox.com","has_email":true,"h_phone":"01993 779020","has_phone":true,"resolved_brand_color":"#9b0f32","boundary_listing_count":"3","property_count":"56","latitude":51.783841,"longitude":-1.486707},{"core_branch_id":67389,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"Oxfordshire Property Agent","email":null,"sales_phone_number":"01993 670434","address":"Covering Witney","postcode":null,"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\/67389\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:23:13.000000Z","updated_at":"2025-12-09T23:23:10.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":67389,"agent_company_id":1243,"branch_location":"Covering Witney","lettings_phone_number":null,"is_sales":true,"is_lettings":false,"is_commercial":false,"is_hm_agent":false,"geopoint":null,"agent_brand_id":1786,"offers_sales":true,"offers_lettings":false,"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":"Oxfordshire Property Agent","branch_name":"Covering Witney","lettings":false,"sales":true,"commercial":false,"h_email":null,"has_email":false,"h_phone":"01993 670434","has_phone":true,"resolved_brand_color":"#e1cebd","boundary_listing_count":"3","property_count":"64","latitude":null,"longitude":null},{"core_branch_id":60715,"verification_status":"verified","verified_at":"2026-02-05T16:55:52.000000Z","verified_by":null,"verification_notes":null,"name":"Connells","email":"carterton@connells.co.uk","sales_phone_number":"01993 847309","address":"Unit 2,\r\nFalklands House,\r\nBlack Bourton Road,\r\nCarterton,\r\nOX18 3DN","postcode":"OX18 3DN","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\/60715\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:19:35.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":60715,"agent_company_id":1,"branch_location":"Carterton","lettings_phone_number":null,"is_sales":true,"is_lettings":false,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E6100000D95DA0A4C082F9BFB3075A8121E14940","agent_brand_id":4,"offers_sales":true,"offers_lettings":false,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"Unit 2, Falklands House, Black Bourton Road, Carterton","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Connells","branch_name":"Carterton","lettings":false,"sales":true,"commercial":false,"h_email":"carterton@connells.co.uk","has_email":true,"h_phone":"01993 847309","has_phone":true,"resolved_brand_color":"#cc1e23","boundary_listing_count":"2","property_count":"40","latitude":51.758835,"longitude":-1.594422},{"core_branch_id":60790,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"Breckon \u0026 Breckon","email":"witney@breckon.co.uk","sales_phone_number":"01993 776775","address":"10 Market Square, Witney, \r\nOX28 6BB","postcode":"OX28 6BB","website_url":"https:\/\/www.breckon.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\/60790\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:19:37.000000Z","updated_at":"2026-01-20T19:59:01.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":60790,"agent_company_id":167,"branch_location":"Witney","lettings_phone_number":null,"is_sales":true,"is_lettings":false,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E6100000EA059FE6E4C5F7BF0D6C956071E44940","agent_brand_id":413,"offers_sales":true,"offers_lettings":false,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"10 Market Square, Witney","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Breckon \u0026 Breckon","branch_name":"Witney","lettings":false,"sales":true,"commercial":false,"h_email":"witney@breckon.co.uk","has_email":true,"h_phone":"01993 776775","has_phone":true,"resolved_brand_color":"#8f9fbf","boundary_listing_count":"1","property_count":"70","latitude":51.78471,"longitude":-1.485814},{"core_branch_id":60714,"verification_status":"verified","verified_at":"2026-02-02T10:33:14.000000Z","verified_by":null,"verification_notes":null,"name":"Chancellors","email":"carterton.sales@chancellors.co.uk","sales_phone_number":"01993 684407","address":"Black Bourton Road,\r\nCarterton,\r\nOX18 3DN","postcode":"OX18 3DN","website_url":"https:\/\/www.chancellors.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\/60714\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:19:35.000000Z","updated_at":"2026-02-02T10:46:38.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":60714,"agent_company_id":168,"branch_location":"Carterton","lettings_phone_number":"01993 684813","is_sales":true,"is_lettings":true,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E6100000D95DA0A4C082F9BFB3075A8121E14940","agent_brand_id":417,"offers_sales":true,"offers_lettings":true,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"Black Bourton Road, Carterton","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Chancellors","branch_name":"Carterton","lettings":true,"sales":true,"commercial":false,"h_email":"carterton.sales@chancellors.co.uk","has_email":true,"h_phone":"01993 684407","has_phone":true,"resolved_brand_color":"#af0f23","boundary_listing_count":"1","property_count":"58","latitude":51.758835,"longitude":-1.594422},{"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":"840","latitude":53.477535,"longitude":-2.245948},{"core_branch_id":60738,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"Fk","email":"north@finderskeepers.co.uk","sales_phone_number":"01865 302314","address":"226 Banbury Road,\r\nOxford,\r\nOX2 7BY","postcode":"OX2 7BY","website_url":"https:\/\/www.finders.co.uk\/office\/estate-agents\/north-oxford","description":null,"listings_feed_url":null,"feed_format":null,"last_feed_sync":null,"crm_provider":null,"logo":"https:\/\/cdn.home.co.uk\/agents\/60738\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:19:36.000000Z","updated_at":"2026-01-20T20:01:04.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":60738,"agent_company_id":248,"branch_location":"Oxford","lettings_phone_number":null,"is_sales":true,"is_lettings":false,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E610000010035DFB023AF4BFE90DF7915BE34940","agent_brand_id":531,"offers_sales":true,"offers_lettings":false,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"226 Banbury Road, Oxford","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Fk","branch_name":"Oxford","lettings":false,"sales":true,"commercial":false,"h_email":"north@finderskeepers.co.uk","has_email":true,"h_phone":"01865 302314","has_phone":true,"resolved_brand_color":"#02716f","boundary_listing_count":"1","property_count":"65","latitude":51.776232,"longitude":-1.264163},{"core_branch_id":60785,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"Gatekeeper","email":"Enquiry@gatekeeper.co.uk","sales_phone_number":null,"address":"3-4 Kingfishers Court\r\nNorthfield Farm Lane\r\nWitney\r\nOX28 1UE","postcode":"OX28 1UE","website_url":"https:\/\/www.gatekeeper.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\/60785\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:19:37.000000Z","updated_at":"2026-01-20T19:59:00.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":60785,"agent_company_id":1240,"branch_location":"Witney","lettings_phone_number":"01993 775320","is_sales":false,"is_lettings":true,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E610000076A8A624EB70F7BFE77118CC5FE54940","agent_brand_id":1783,"offers_sales":false,"offers_lettings":true,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"3-4 Kingfishers Court, Northfield Farm Lane, Witney","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Gatekeeper","branch_name":"Witney","lettings":true,"sales":false,"commercial":false,"h_email":"Enquiry@gatekeeper.co.uk","has_email":true,"h_phone":"01993 775320","has_phone":true,"resolved_brand_color":"#005f87","boundary_listing_count":"1","property_count":"62","latitude":51.791986,"longitude":-1.465068},{"core_branch_id":67104,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"Gatekeeper","email":"mat@gatekeeperproperty.co.uk","sales_phone_number":"01793 536536","address":"Swindon\r\n","postcode":null,"website_url":"http:\/\/www.gatekeeper.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\/67104\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:23:03.000000Z","updated_at":"2025-12-12T13:00:59.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":67104,"agent_company_id":1240,"branch_location":"Swindon","lettings_phone_number":null,"is_sales":true,"is_lettings":false,"is_commercial":false,"is_hm_agent":false,"geopoint":null,"agent_brand_id":1783,"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":"Gatekeeper","branch_name":"Swindon","lettings":false,"sales":true,"commercial":false,"h_email":"mat@gatekeeperproperty.co.uk","has_email":true,"h_phone":"01793 536536","has_phone":true,"resolved_brand_color":"#005f87","boundary_listing_count":"1","property_count":"126","latitude":null,"longitude":null},{"core_branch_id":60789,"verification_status":"verified","verified_at":"2026-02-02T10:33:14.000000Z","verified_by":null,"verification_notes":null,"name":"Scottfraser","email":"witneysales@scottfraser.co.uk","sales_phone_number":"01993 705507","address":"38,\r\nMarket Square,\r\nWitney,\r\nOX28 6AL","postcode":"OX28 6AL","website_url":"https:\/\/www.scottfraser.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\/60789\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:19:37.000000Z","updated_at":"2026-02-02T10:46:41.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":60789,"agent_company_id":168,"branch_location":"Witney","lettings_phone_number":"01993 777909","is_sales":true,"is_lettings":true,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E6100000ACC43C2B69C5F7BFE1606F6248E44940","agent_brand_id":435,"offers_sales":true,"offers_lettings":true,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"38, Market Square, Witney","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Scottfraser","branch_name":"Witney","lettings":true,"sales":true,"commercial":false,"h_email":"witneysales@scottfraser.co.uk","has_email":true,"h_phone":"01993 705507","has_phone":true,"resolved_brand_color":"#ffb041","boundary_listing_count":"1","property_count":"76","latitude":51.783459,"longitude":-1.485696},{"core_branch_id":60675,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"Stowhill Estates LTD","email":"helen@stowhillestates.com","sales_phone_number":"03330 344144","address":"Stowhill Estates Frilford,\r\nFrilford Heath Golf Club,\r\nOxford Road,\r\nFrilford,\r\nOX13 5NW","postcode":"OX13 5NW","website_url":"http:\/\/view.publitas.com","description":null,"listings_feed_url":null,"feed_format":null,"last_feed_sync":null,"crm_provider":null,"logo":"https:\/\/cdn.home.co.uk\/agents\/60675\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:19:34.000000Z","updated_at":"2026-01-20T19:56:24.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":60675,"agent_company_id":3869,"branch_location":"Stowhill Estates Frilford","lettings_phone_number":null,"is_sales":true,"is_lettings":false,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E6100000DEC9A7C7B6CCF5BF184339D1AED64940","agent_brand_id":4582,"offers_sales":true,"offers_lettings":false,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"Stowhill Estates Frilford, Frilford Heath Golf Club, Oxford Road, Frilford","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Stowhill Estates LTD","branch_name":"Stowhill Estates Frilford","lettings":false,"sales":true,"commercial":false,"h_email":"helen@stowhillestates.com","has_email":true,"h_phone":"03330 344144","has_phone":true,"resolved_brand_color":"#3c4a56","boundary_listing_count":"1","property_count":"52","latitude":51.67721,"longitude":-1.362479},{"core_branch_id":63498,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"Waymark Property","email":"farringdon@waymarkresidential.co.uk","sales_phone_number":"01367 820070","address":"2 Cornmarket\r\nFaringdon\r\nSN7 7HG ","postcode":"SN7 7HG","website_url":"https:\/\/www.waymarkproperty.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\/63498\/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":63498,"agent_company_id":175,"branch_location":"Faringdon","lettings_phone_number":null,"is_sales":true,"is_lettings":false,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E6100000A4FB3905F959F9BFA7AD11C138D44940","agent_brand_id":447,"offers_sales":true,"offers_lettings":false,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"2 Cornmarket, Faringdon","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Waymark Property","branch_name":"Faringdon","lettings":false,"sales":true,"commercial":false,"h_email":"farringdon@waymarkresidential.co.uk","has_email":true,"h_phone":"01367 820070","has_phone":true,"resolved_brand_color":"#0a4641","boundary_listing_count":"1","property_count":"71","latitude":51.657982,"longitude":-1.584466}]; 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`; } } }