Google Places API Leads: Importer Leads from Google Maps & OSM on the Apify Store →

How to get Google Places API leads for B2B export sales — importers and wholesalers per city

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.

The problem

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.

Step by step

  1. Open the Actor and click Try it. The form starts with a free demo on invented sample companies: two searches, "spice wholesaler Hamburg" and "rice trader Deira". The demo shows the Shortlist (docs/img/shortlist.svg): an importer and a spice wholesaler ranked hot, a restaurant dropped free, a business centre scored below the bar.
  2. Get a Google key. Google Cloud → APIs & Services → enable Places API (New) → Credentials → API key; add a billing account (Google asks for one even inside the monthly allowance).
  3. Paste the key into "Your Google Places API key" and keep or replace the searches — one line per what + where: "Gewürzgroßhandel Hamburg", "food importer London". Optionally describe what you sell under "What do you sell?" so the AI writes from it.
  4. Press Start. Each search is one request to Google for up to 20 places. The Actor keeps only the B2B places (Google types like 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.
  5. Open the Outreach view (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.

What a run costs

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.

Automate it

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 →