Google Places API Leads: Importer Leads from Google Maps & OSM on the Apify Store →
Tutorial for the Apify blog guest program, dev.to, Medium and Hashnode. The owner publishes it and records the URL in brief.json → marketing.links; /actor-marketing refreshes the numbers with the first measured live run.
You export spices, rice or coffee and need buyers abroad: importers, wholesalers, distributors and trading companies in Hamburg, Dubai or Rotterdam. Google Maps knows them — with a website and a phone number — but a search for "spice wholesaler Hamburg" also returns restaurants, supermarkets and shops. Sorting one city by hand takes about 2 minutes a row: open the listing, open the website, decide whether it is a trader, find an e-mail, write a first line. For 100 places that is roughly 3 hours, every time you open a new market.
Scrapers of the Maps website help with the copying but charge for every place, shops included, and need an Apify plan that runs Store Actors. Google's own Places API is cheap — and the first 1,000 requests a month are waived — but calling it means code: field masks, paging, deduplication and a way to tell a wholesaler from a curry house.
docs/img/shortlist.svg): an importer and a spice wholesaler ranked hot, a restaurant dropped free, a business centre scored below the bar.wholesaler, or trade words like import, trading, Großhandel), reads each lead's own website for an e-mail (robots.txt obeyed, an MX check), scores it and writes a first message.docs/img/outreach.svg): contact route first — e-mail, else phone — then the message and the next step. Export it to CSV or connect Google Sheets.Two searches return about 40 places; around 22 qualify as B2B leads (an estimate until the first measured live run). Your first 25 qualified leads are free — one free tier per Apify account. After that a lead costs $0.006, or $0.0225 with the AI verdict (importer or shop, the products its site names, the fit to your products, a two-line message), tokens included. Google bills your key $0.035 per request — 2 requests here, $0.07 at list price, and usually $0 because Google waives the first 1,000 requests each month. Shops, restaurants and closed places are never charged.
Schedule the saved task weekly and put your address in "E-mail me the new leads", or a Slack / Teams / Telegram URL in "Send alerts to". Leads are remembered by Google place id, so each run delivers and charges only new ones.
from apify_client import ApifyClient
client = ApifyClient("<YOUR_API_TOKEN>")
run = client.actor("<your-apify-username>/local-business-leads-ai").call(run_input={
"sourceMode": "live",
"queries": ["spice wholesaler Hamburg", "rice trader Deira"],
"apiKey": "<YOUR_GOOGLE_PLACES_KEY>",
"maxQualified": 50,
"maxGoogleRequests": 10,
})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
print(item["name"], item["phone"], item["bestEmail"], item["score"])
Google Places API Leads: Importer Leads from Google Maps & OSM on the Apify Store →