# Vietnam Travel Agency Lead Scraper with Emails (`obliging_persimmon_cki/vietnam-travel-agency-lead-scraper`) Actor

Scrape travel agency and tour operator leads from Google Maps in Vietnam and extract emails when available.

- **URL**: https://apify.com/obliging\_persimmon\_cki/vietnam-travel-agency-lead-scraper.md
- **Developed by:** [Dung Huynh](https://apify.com/obliging_persimmon_cki) (community)
- **Categories:** Lead generation, Travel, Automation
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-usage

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## Vietnam Travel Agency Lead Scraper with Emails

This Actor searches Google Maps for travel agencies and tour operators in Vietnam, extracts business details, and attempts to find email addresses from available websites. It is useful for tourism platforms, hotel partners, B2B sales teams, and travel service providers.

This Actor extracts business information such as name, category, rating, address, phone number, website, email, and Google Maps URL.

### Features

- Scrape Google Maps business search results

- Extract business name, category, rating, address, phone number and website

- Extract emails from business websites

- Deduplicate repeated Google Maps results

- Add `hasEmail`, `leadScore` and `leadQuality`

- Support custom keyword and location

- Support parallel processing

### Input

```json
{


  "keyword": "travel agency",
  "location": "Ho Chi Minh",
  "maxResults": 20,
  "batchSize": 5,
  "extractEmails": true,
  "useApifyProxy": false

}
```

### Input fields

| Field | Type | Description |
|---|---|---|

| `keyword` | string | Search keyword for travel agencies and tour operators |
| `location` | string | Target city or area, for example `Ho Chi Minh` or `Ho Chi Minh` |
| `maxResults` | integer | Maximum number of businesses to scrape |

| `batchSize` | integer | Number of business detail pages processed in parallel |
| `extractEmails` | boolean | Whether to extract email addresses from business websites |

| `useApifyProxy` | boolean | Whether to use Apify Proxy for browser requests |

### Output

```json
{
  "keyword": "travel agency",
  "location": "Ho Chi Minh",
  "name": "Example travel agency",
  "rating": "4.5",
  "category": "travel agency",
  "address": "Ho Chi Minh, Vietnam",
  "website": "https://example.com",
  "phone": "+84 123 456 789",
  "email": "info@example.com",
  "emails": ["info@example.com"],
  "hasEmail": true,
  "leadScore": 95,
  "leadQuality": "high",
  "googleMapsUrl": "https://www.google.com/maps/place/..."
}
```

### Output fields

| Field | Type | Description |
|---|---|---|
| `keyword` | string | Keyword used to find the lead |
| `location` | string | Location used in the search |
| `name` | string | Business name |
| `rating` | string or null | Google Maps rating |
| `category` | string or null | Business category |
| `address` | string or null | Business address |
| `website` | string or null | Business website URL |
| `phone` | string or null | Business phone number |
| `email` | string or null | First extracted email address |
| `emails` | array | All extracted email addresses |
| `hasEmail` | boolean | Whether at least one email was found |
| `leadScore` | integer | Contact completeness score from 0 to 100 |
| `leadQuality` | string | `high`, `medium` or `low` based on lead score |
| `googleMapsUrl` | string | Google Maps business URL |

### Notes

Email extraction depends on whether the business website publicly displays an email address.

Some businesses may not have a website or may block automated browser access.

Runtime and cost depend on result limits, website loading speed, and whether email extraction is enabled.

### Recommended use cases

- Lead generation
- Local business research
- Sales prospecting
- Market research
- Building contact lists
- Finding businesses with websites and public contact emails

### Example search

```json
{


  "keyword": "travel agency",
  "location": "Ho Chi Minh",
  "maxResults": 20

}
```

# Actor input Schema

## `location` (type: `string`):

Target city or area.

## `keyword` (type: `string`):

Search keyword for travel agencies and tour operators.

## `maxResults` (type: `integer`):

Maximum number of Google Maps results to scrape.

## `batchSize` (type: `integer`):

Number of business detail pages processed in parallel.

## `extractEmails` (type: `boolean`):

Whether to extract email addresses from business websites.

## `useApifyProxy` (type: `boolean`):

Whether to use Apify Proxy for browser requests.

## Actor input object example

```json
{
  "location": "Ho Chi Minh",
  "keyword": "travel agency",
  "maxResults": 20,
  "batchSize": 5,
  "extractEmails": true,
  "useApifyProxy": false
}
```

# Actor output Schema

## `dataset` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {};

// Run the Actor and wait for it to finish
const run = await client.actor("obliging_persimmon_cki/vietnam-travel-agency-lead-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {}

# Run the Actor and wait for it to finish
run = client.actor("obliging_persimmon_cki/vietnam-travel-agency-lead-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{}' |
apify call obliging_persimmon_cki/vietnam-travel-agency-lead-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=obliging_persimmon_cki/vietnam-travel-agency-lead-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/PKyuS1MQ14d926AOf/builds/CQey6oFY0AWmk7tpM/openapi.json
