# Careerviet Job Scraper (`shahidirfan/careerviet-job-scraper`) Actor

Scrape job listings from Careerviet.vn, Vietnam's leading job search platform. Extract comprehensive job data including titles, companies, locations, salaries, and descriptions for efficient job market analysis and recruitment.

- **URL**: https://apify.com/shahidirfan/careerviet-job-scraper.md
- **Developed by:** [Shahid Irfan](https://apify.com/shahidirfan) (community)
- **Categories:** Jobs, Developer tools, Automation
- **Stats:** 14 total users, 3 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: 5.00 out of 5 stars

## 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

## Careerviet Jobs Scraper

Extract comprehensive job listing data from Careerviet.vn in a fast and reliable way. Collect rich hiring information such as role details, company profiles, salary signals, locations, seniority, and full job content. Perfect for recruitment intelligence, market analysis, and career trend monitoring.

### Features

- **Comprehensive Job Records** - Collects enriched listing and detail fields for each job.
- **Keyword and Location Search** - Supports focused collection by role keywords and location filters.
- **Duplicate-Free Output** - Removes duplicate jobs by stable identifiers and URLs.
- **Clean Dataset Structure** - Skips null, empty, and redundant values for cleaner downstream analysis.
- **Flexible Collection Size** - Control result volume and page depth for fast testing or larger runs.
- **Automatic Detail Enrichment** - Each listing is enriched with detail API data automatically.

### Use Cases

#### Recruitment Intelligence

Track active hiring demand, role mix, and employer activity. Build a structured view of open opportunities by company, function, and market.

#### Salary and Role Benchmarking

Compare role titles, salary strings, experience bands, and job types at scale. Use the dataset to benchmark hiring expectations across regions.

#### Candidate Opportunity Monitoring

Build custom job feeds by keyword and location. Detect new opportunities early and prioritize applications by fit criteria.

#### Labor Market Analysis

Analyze posting trends, demand spikes, and expiration timelines. Use structured fields for time-series and segmentation analysis.

#### Hiring Funnel Support

Feed job datasets into BI dashboards, alerts, and outreach workflows. Keep sourcing and market insights current with repeatable runs.

***

### Input Parameters

| Parameter | Type | Required | Default | Description |
|-----------|------|----------|---------|-------------|
| `startUrl` | String | No | - | Start from a specific Careerviet search URL. |
| `keyword` | String | No | `""` | Search keyword such as role, skill, or domain. |
| `location` | String | No | `""` | Location filter (name or numeric location ID). |
| `results_wanted` | Integer | No | `20` | Maximum number of jobs to collect. |
| `max_pages` | Integer | No | `5` | Maximum pages to request as a safety cap. |
| `proxyConfiguration` | Object | No | `{ "useApifyProxy": false }` | Proxy settings for reliability and region control. |

***

### Output Data

Each dataset item contains normalized convenience fields plus rich source fields.

| Field | Type | Description |
|-------|------|-------------|
| `job_id` | String | Unique job identifier. |
| `title` | String | Normalized job title. |
| `company` | String | Employer name. |
| `location` | String or Array | Normalized location value from source fields. |
| `salary` | String | Salary text when available. |
| `job_type` | String | Working type or contract style when available. |
| `date_posted` | String | Job activation/posting timestamp. |
| `valid_through` | String | Last active date or expiration timestamp. |
| `description_html` | String | Rich job content in HTML form. |
| `description_text` | String | Plain-text job content for analysis. |
| `url` | String | Absolute job detail URL. |
| `_source` | String | Source marker (`careerviet.vn`). |
| `benefit_ids_flat` | Array | Flattened list of benefit IDs. |
| `benefit_names_vn_flat` | Array | Flattened list of benefit names (Vietnamese). |
| `benefit_names_en_flat` | Array | Flattened list of benefit names (English). |
| `benefit_icons_flat` | Array | Flattened list of benefit icon names. |
| `location_ids_flat` | Array | Flattened list of location IDs. |
| `location_names_flat` | Array | Flattened list of location names. |
| `location_names_en_flat` | Array | Flattened list of location names (English). |
| `workstation_count` | Integer | Number of workstations in the job post. |
| `workstation_addresses_flat` | Array | Flattened workstation addresses. |
| `workstation_districts_flat` | Array | Flattened workstation district names. |
| `workstation_districts_en_flat` | Array | Flattened workstation district names (English). |
| `workstation_location_ids_flat` | Array | Flattened workstation location IDs. |
| `workstation_locations_flat` | Array | Flattened workstation location names. |
| `workstation_locations_en_flat` | Array | Flattened workstation location names (English). |
| `workstation_coordinates_flat` | Array | Flattened workstation coordinates as `lat,lng`. |
| `emp_*` | Mixed | Employer-related fields (logo, profile, metadata). |
| `job_*` | Mixed | Rich job fields such as requirements, benefits, work time, and tags. |
| `industries` | Array | Industry/category information. |
| `level_name_*` | String | Seniority/level labels. |
| `degree_name_*` | String | Education requirement labels. |

***

### Usage Examples

#### Basic Collection

```json
{
  "keyword": "software engineer",
  "results_wanted": 20
}
```

#### Keyword and Location Filter

```json
{
  "keyword": "marketing",
  "location": "Ha Noi",
  "results_wanted": 50,
  "max_pages": 5
}
```

#### URL-Driven Collection

```json
{
  "startUrl": "https://careerviet.vn/jobs/software-engineer-k-en.html",
  "results_wanted": 100
}
```

***

### Sample Output

```json
{
  "job_id": "35C72529",
  "title": "Chuyen vien Ke toan (AR/AP)",
  "company": "CONG TY TNHH AMITEC",
  "location": "Ho Chi Minh",
  "salary": "15 - 20 Trieu VND",
  "job_type": "Toan thoi gian",
  "date_posted": "2026-04-18T09:32:51Z",
  "valid_through": "2026-05-20T00:00:00Z",
  "description_text": "Mo ta cong viec va yeu cau ung vien...",
  "url": "https://careerviet.vn/jobs/chuyen-vien-ke-toan-ar-ap.35C72529.html",
  "_source": "careerviet.vn",
  "emp_name": "CONG TY TNHH AMITEC",
  "job_salary_string": "15 - 20 Trieu VND",
  "job_experience": 2,
  "job_to_experience": 3,
  "location_name": [
    "Ho Chi Minh"
  ],
  "industries": [
    {
      "industry_id": 16,
      "industry_name": "Ke toan / Kiem toan"
    }
  ]
}
```

### Tips for Best Results

#### Start Small First

- Run with `results_wanted: 20` for quick validation.
- Increase gradually for production collection.

#### Use Focused Keywords

- Use precise role keywords for cleaner datasets.
- Broad keywords can be combined with `location` for better targeting.

#### Detail Enrichment Is Automatic

- Job detail data is always collected and merged into each output record.
- No extra input flag is required.

#### Control Runtime with Page Limits

- Use `max_pages` as a safety cap.
- Pair `max_pages` with `results_wanted` to balance speed and depth.

#### Proxy Configuration

```json
{
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": ["RESIDENTIAL"]
  }
}
```

***

### Integrations

Connect your dataset with:

- **Google Sheets** - Share and analyze job data with teams.
- **Airtable** - Build searchable hiring intelligence tables.
- **Slack** - Send alerts for newly collected roles.
- **Webhooks** - Push fresh records into custom systems.
- **Make** - Automate downstream workflows.
- **Zapier** - Trigger actions in business tools.

#### Export Formats

- **JSON** - Developer-friendly structured data.
- **CSV** - Spreadsheet-ready analysis format.
- **Excel** - Reporting and presentation workflows.
- **XML** - System-to-system integration format.

***

### Frequently Asked Questions

#### How many jobs can I collect per run?

You can collect as many as available, based on your `results_wanted` and `max_pages` settings.

#### Can I scrape without a keyword?

Yes. If no keyword is provided, collection can still run from broad listings.

#### What happens if location text does not match?

The run continues and collects without location filtering if no valid location ID is resolved.

#### Does the output include duplicate jobs?

No. The actor removes duplicates using stable identifiers and URLs.

#### Why do I see many fields in output?

Records include both normalized convenience fields and rich source attributes for deeper analysis.

***

### Support

For issues or feature requests, use Apify Console support channels.

#### Resources

- [Apify Documentation](https://docs.apify.com/)
- [Apify API Reference](https://docs.apify.com/api/v2)
- [Apify Scheduling](https://docs.apify.com/schedules)

***

### Legal Notice

This actor is intended for legitimate data collection and analysis. Users are responsible for compliance with applicable laws, platform terms, and responsible data usage practices.

# Actor input Schema

## `startUrl` (type: `string`):

Start scraping from a specific Careerviet.vn search URL. If provided, this will be used instead of Keyword/Location.

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

Job search keyword(s), e.g., 'Software Developer', 'Marketing Manager', 'Data Analyst'.

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

Location, e.g., 'Hồ Chí Minh', 'Hà Nội'. Leave empty for all locations.

## `results_wanted` (type: `integer`):

The maximum number of jobs to collect. Leave empty to collect all available jobs.

## `max_pages` (type: `integer`):

A safety cap on the number of search result pages to visit.

## `proxyConfiguration` (type: `object`):

Use Apify Proxy (datacenter recommended for Careerviet.vn).

## Actor input object example

```json
{
  "keyword": "software engineer",
  "results_wanted": 20,
  "max_pages": 5,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `overview` (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 = {
    "keyword": "software engineer"
};

// Run the Actor and wait for it to finish
const run = await client.actor("shahidirfan/careerviet-job-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 = { "keyword": "software engineer" }

# Run the Actor and wait for it to finish
run = client.actor("shahidirfan/careerviet-job-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 '{
  "keyword": "software engineer"
}' |
apify call shahidirfan/careerviet-job-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=shahidirfan/careerviet-job-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/acts/LajdWowzM4d1cdtx8/builds/OWS9DmxhhgWSFnnhB/openapi.json
