Estate & Letting Agents in Bowland-with-Leagram, Ribble Valley

Find Estate Agents in Bowland-with-Leagram, Ribble Valley
2 results
Dewhurst Homes

Longridge

Sales
1 active listing in Bowland-with-Leagram, Ribble Valley, Lancashire, England
107 total
10 Towneley Parade, Longridge, PR3 3HU
View Profile
Keenans Estate Agents

Clitheroe

Sales
1 active listing in Bowland-with-Leagram, Ribble Valley, Lancashire, England
88 total
4 Wellgate, Clitheroe, BB7 2DP
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 = 'Bowland-with-Leagram, Ribble Valley'; 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":61659,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"Dewhurst Homes","email":"mail@dewhursthomes.co.uk","sales_phone_number":"01772 783993","address":"10 Towneley Parade,\r\nLongridge,\r\nPR3 3HU","postcode":"PR3 3HU","website_url":"http:\/\/www.dewhursthomes.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\/61659\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:20:06.000000Z","updated_at":"2026-01-20T19:54:23.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":61659,"agent_company_id":1779,"branch_location":"Longridge","lettings_phone_number":null,"is_sales":true,"is_lettings":false,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E6100000BF0E9C33A2D404C01EC022BF7EEA4A40","agent_brand_id":2367,"offers_sales":true,"offers_lettings":true,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"10 Towneley Parade, Longridge","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Dewhurst Homes","branch_name":"Longridge","lettings":false,"sales":true,"commercial":false,"h_email":"mail@dewhursthomes.co.uk","has_email":true,"h_phone":"01772 783993","has_phone":true,"resolved_brand_color":"#ffdd0a","boundary_listing_count":"1","property_count":"107","latitude":53.831993,"longitude":-2.603825},{"core_branch_id":50766,"verification_status":"pending","verified_at":null,"verified_by":null,"verification_notes":null,"name":"Keenans Estate Agents","email":"sales@keenans-estateagents.co.uk","sales_phone_number":"01200 422824","address":"4 Wellgate,\r\nClitheroe,\r\nBB7 2DP","postcode":"BB7 2DP","website_url":"https:\/\/www.keenanslettings.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\/50766\/logo.png","office_images":null,"claimed_at":null,"created_at":"2025-12-09T17:14:09.000000Z","updated_at":"2026-01-20T20:01:25.000000Z","deleted_at":null,"claimed_user_id":null,"profile_status":"on_hold","assigned_user_id":null,"id":50766,"agent_company_id":196,"branch_location":"Clitheroe","lettings_phone_number":null,"is_sales":true,"is_lettings":false,"is_commercial":false,"is_hm_agent":false,"geopoint":"0101000020E610000042D13C80451E03C0A4198BA6B3EF4A40","agent_brand_id":472,"offers_sales":true,"offers_lettings":false,"claimed_assigned_user_id":null,"brand_color":null,"logo_rect":null,"address_lines":"4 Wellgate, Clitheroe","has_home_listings":false,"external_crm_branch_id":null,"agent_name":"Keenans Estate Agents","branch_name":"Clitheroe","lettings":false,"sales":true,"commercial":false,"h_email":"sales@keenans-estateagents.co.uk","has_email":true,"h_phone":"01200 422824","has_phone":true,"resolved_brand_color":"#6e0f1f","boundary_listing_count":"1","property_count":"88","latitude":53.87267,"longitude":-2.389781}]; 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`; } } }