Google Maps search via API returns structured business data (name, address, phone, rating, review count, website) at $0.005/query. This replaces manual Maps scraping and delivers leads ready for cold email enrichment.
Prerequisites
- Python 3.8+
- Scavio API key
- Target niche and location
Walkthrough
Step 1: Define your search parameters
Set query (e.g. 'plumbers'), location, and result count.
Step 2: Send Maps search request
POST to Scavio search endpoint with Google Maps as the target.
Step 3: Parse and filter results
Filter by rating, review count, and website presence for quality leads.
Step 4: Export to CSV for outreach
Save filtered leads to CSV format for email enrichment tools.
Python Example
import requests, os, csv
H = {'x-api-key': os.environ['SCAVIO_API_KEY'], 'Content-Type': 'application/json'}
resp = requests.post('https://api.scavio.dev/api/v1/search',
headers=H, json={'query': 'plumbers Austin TX', 'country_code': 'us'})
data = resp.json()
leads = [r for r in data.get('local_results', []) if r.get('rating', 0) >= 4.0]
with open('leads.csv', 'w') as f:
w = csv.DictWriter(f, ['title', 'address', 'phone', 'rating', 'reviews'])
w.writeheader()
for l in leads:
w.writerow({'title': l.get('title'), 'address': l.get('address'), 'phone': l.get('phone'), 'rating': l.get('rating'), 'reviews': l.get('reviews')})
print(f'Exported {len(leads)} leads')JavaScript Example
const H = {'x-api-key': process.env.SCAVIO_API_KEY, 'Content-Type': 'application/json'};
const resp = await fetch('https://api.scavio.dev/api/v1/search', {
method: 'POST', headers: H,
body: JSON.stringify({query: 'plumbers Austin TX', country_code: 'us'})
});
const data = await resp.json();
const leads = (data.local_results || []).filter(r => r.rating >= 4.0);
console.log(`Found ${leads.length} qualified leads`);Expected Output
Exported 12 leads
# leads.csv contains: name, address, phone, rating, review count