Search
AI-generatedSummary
Searches Google Maps for businesses matching one or more queries by running a NexGenData Apify actor, waits for it to finish, and returns the resulting lead records (optionally enriched with emails/social links and scored).
Inputs
- queries (required) — List of business searches including type and location (e.g. "plumbers in Chicago"). Values are trimmed and blanks dropped.
- googleApiKey (required) — Google Cloud API key with Places API (New) enabled; passed to the actor as google_api_key.
- outputMode — "tracker" (default) adds lead scoring, market analysis and summary report; "raw" returns flat business records for CRM/spreadsheet import.
- maxResults — Max businesses per query, 1–100 (default 20).
- enrichContacts — Whether to visit each business website to extract emails and social links (default true; adds ~1–2 s per business).
- additionalFields.location — Location context applied to all searches, useful when queries lack a city.
- additionalFields.memoryMbytes — Memory in MB for the actor run (default 4096).
- additionalFields.maxWaitSecs — Maximum seconds to poll for run completion (default 1800); errors if exceeded.
- additionalFields.pollIntervalSecs — Seconds between status polls (default 5, minimum 2).
- Credential: nexGenDataApi (required) — Credential containing the Apify token used to start the run and fetch results.
Output shape
A list of items, one per record in the actor's dataset, each with the record as JSON and paired to the input item that triggered the run.
Record fields depend on outputMode (tracker may include scores, analysis and summary records alongside businesses). Runs once per input item. Fails if the Apify run ends in any status other than SUCCEEDED or exceeds max wait; with Continue On Fail, an item containing {error: message} is emitted instead.
Examples
Example 1: Quick scan of local plumbers for outreach
queries: ["plumbers in Chicago"], googleApiKey set, outputMode: raw, maxResults: 20, enrichContacts: true
Example 2: Scored leads across several cities using shared location
queries: ["dentists", "orthodontists"], additionalFields.location: "Austin, TX", outputMode: tracker, maxResults: 100
Example 3: Fast, cheap listing without website visits
queries: ["Italian restaurants Manhattan"], enrichContacts: false, pollIntervalSecs: 3