# Glints Job Scraper — SEA Jobs & Salaries (`blackfalcondata/glints-scraper`) Actor

Scrape glints.com job listings across Indonesia, Vietnam, Singapore, Malaysia and Taiwan — with salary ranges, required skills, and company data as structured JSON. Incremental mode returns only new or changed listings.

- **URL**: https://apify.com/blackfalcondata/glints-scraper.md
- **Developed by:** [Black Falcon Data](https://apify.com/blackfalcondata) (community)
- **Categories:** Jobs, Lead generation, Automation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.90 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

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

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js/docs.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python/docs.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/integrations/mcp.md).

If your project is in a different language, use 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

### What does Glints Job Scraper do?

Glints Job Scraper extracts structured job data from [glints.com](https://glints.com) — including salary data, apply URLs, company metadata, full descriptions, remote-work indicators, and skill tags. It supports keyword search, location filters, and controllable result limits, so you can run the same query consistently over time. The actor also offers detail enrichment (full descriptions and company metadata) where the source provides them.

**New to Apify?** [Sign up free](https://console.apify.com/sign-up?fpr=1h3gvi&fp_sid=ctaplain) and use the included $5 monthly platform credit to test this actor.

### Key features

<!-- KEY_FEATURES:START -->
- **🔔 Notifications** — Telegram, Slack, Discord, WhatsApp Cloud API, and webhook alerts out of the box. Pair with incremental mode for daily new-listing alerts.
- **📋 Detail enrichment** — toggle two-stage scraping: collect listings, then enrich each with the full description and detail-page fields. Off by default to keep runs fast.
- **🎯 Batch searches** — pass `["term1", "term2"]` for query, location, or city to run multiple searches in one go — shared dedup state, single dataset, one Actor-Start charge.
- **📧 Email + phone extraction** — regex extraction of contact emails and phone numbers from descriptions, emitted as `extractedEmails[]` and `extractedPhones[]` on every record.
- **🔗 URL + social-profile extraction** — every record carries `extractedUrls[]` and a structured `socialProfiles` object (linkedin, twitter, instagram, facebook, youtube, tiktok, github, xing).
- **📦 Compact mode** — AI-agent and MCP-friendly payloads with core fields only.
- **✂️ Description truncation** — cap length with `descriptionMaxLength` to control LLM prompt cost and dataset size — 0 for full descriptions.
- **📌 Change classification** — each record carries a `changeType`: NEW / UPDATED / UNCHANGED / REAPPEARED / EXPIRED. Default emits NEW + UPDATED + REAPPEARED; opt into the rest via `emitUnchanged` / `emitExpired`.
- **🔌 MCP connectors** — export results into Notion via Apify's MCP connectors — a clean run-summary page, no glue code. Opt-in via the App connector field; deterministic field-mapping.
- **📝 Description format selection** — pick one representation — `text`, `html`, or `markdown` — and the unused variants drop from each record, halving payload size.
- **♻️ Incremental mode** — recurring runs emit and charge only for new or changed listings. First run builds the baseline; later runs emit NEW / UPDATED / REAPPEARED. Saves 80–95% on daily monitoring.
<!-- KEY_FEATURES:END -->

### What data can you extract from glints.com?

Each result includes Core job fields (`jobId`, `location`, `url`, `portalUrl`, `extractedUrls`, `socialProfiles`, `searchQuery`, and `contentQuality`, and more), detail fields when enrichment is enabled (`description`, `descriptionText`, `descriptionHtml`, `descriptionMarkdown`, and `benefits`), apply information (`applyUrl`), and company metadata (`company`, `companyLogo`, `companyIndustry`, and `companyVerified`). In standard mode, all fields are always present — unavailable data points are returned as `null`, never omitted. In compact mode, only core fields are returned.

Enable detail enrichment in the input to get richer fields such as full descriptions and company metadata where the source provides them.

### Input

The main inputs are a search keyword, an optional location filter, and a result limit. Additional filters and options are available in the input schema.

Key parameters:

- **`query`** — Job keyword(s), e.g. "software engineer". Leave empty to browse the newest jobs for the selected country. Paste a JSON array (e.g. ["developer","designer"]) to run several searches in one run.
- **`country`** — Which Southeast Asian market to search. (default: `"ID"`)
- **`jobType`** — Filter by employment type. Leave empty for all types. Each filter also widens coverage (Glints caps results per search, so filtering pulls a fresh result set). (default: `""`)
- **`workArrangement`** — Filter by on-site / hybrid / remote. Leave empty for all. (default: `""`)
- **`educationLevel`** — Filter by minimum education. Leave empty for all. (default: `""`)
- **`minSalary`** — Only jobs offering at least this amount (in the currency below). Leave 0 to disable. (default: `0`)
- **`salaryCurrency`** — Currency for the minimum salary filter (e.g. IDR, VND, SGD, MYR, TWD). Match the selected country.
- **`lastUpdated`** — Only jobs posted/updated within this window. (default: `"ANY_TIME"`)
- **`sortBy`** — Result ordering. Relevance (default) or newest first. (default: `""`)
- **`maxResults`** — Maximum total results (0 = unlimited). Note: Glints returns up to ~79 jobs per keyword+country search — use several keywords to widen coverage. (default: `25`)
- **`includeDetails`** — Fetch full job details. (default: `true`)
- **`descriptionMaxLength`** — Truncate description to N chars. 0 = no truncation. (default: `0`)
- ...and 21 more parameters

### Input examples

**Basic search** — Keyword-driven search with a result cap.

→ Full payload per result — all standard fields populated where the source provides them.

```json
{
  "query": "software engineer",
  "maxResults": 50
}
````

**Filtered search** — Narrow results with advanced filters — only matching jobs are returned.

→ Same field set as basic search; fewer, more relevant rows.

```json
{
  "query": "software engineer",
  "jobType": "FULL_TIME",
  "educationLevel": "PRIMARY_SCHOOL",
  "workArrangement": "ONSITE",
  "maxResults": 100
}
```

**Incremental tracking** — Only emit jobs that changed since the previous run with this `stateKey`.

→ First run builds the baseline state. Subsequent runs emit only records that are new or whose tracked content changed. Set `emitUnchanged: true` to include unchanged records as well.

```json
{
  "query": "software engineer",
  "maxResults": 200,
  "incrementalMode": true,
  "stateKey": "software-engineer-tracker"
}
```

**Compact filtered output** — Combine filters with compact mode for a lightweight AI-agent or MCP data source.

→ Core fields only — ideal for piping into LLMs or downstream tools without token overhead.

```json
{
  "query": "software engineer",
  "jobType": "FULL_TIME",
  "educationLevel": "PRIMARY_SCHOOL",
  "maxResults": 50,
  "compact": true
}
```

### Output

Each run produces a dataset of structured job records. Results can be downloaded as JSON, CSV, or Excel from the Dataset tab in Apify Console.

### Example job record

```json
{
  "jobId": "009deb36d7eaf752a8da0274d7ad6cedd52ef5b877b884615ca42a3b44f36428",
  "company": "PT. BEONE OPTIMA SOLUSI",
  "location": "Cipondoh, Tangerang, Banten, Indonesia",
  "description": "Job Description\nBertanggung jawab mengembangkan, memelihara, dan meningkatkan aplikasi web baik frontend maupun backend menggunakan teknologi JavaScript. Berkolaborasi dengan tim untuk membangun siste...",
  "descriptionText": "Job Description\nBertanggung jawab mengembangkan, memelihara, dan meningkatkan aplikasi web baik frontend maupun backend menggunakan teknologi JavaScript. Berkolaborasi dengan tim untuk membangun siste...",
  "descriptionHtml": "<p>Job Description</p><p>Bertanggung jawab mengembangkan, memelihara, dan meningkatkan aplikasi web baik frontend maupun backend menggunakan teknologi JavaScript. Berkolaborasi dengan tim untuk memban...",
  "descriptionMarkdown": "Job Description\nBertanggung jawab mengembangkan, memelihara, dan meningkatkan aplikasi web baik frontend maupun backend menggunakan teknologi JavaScript. Berkolaborasi dengan tim untuk membangun siste...",
  "url": "https://glints.com/id/opportunities/jobs/software-engineer/bc932c0b-3749-4e8c-8195-a11831888002",
  "applyUrl": "https://glints.com/id/opportunities/jobs/software-engineer/bc932c0b-3749-4e8c-8195-a11831888002",
  "portalUrl": "https://glints.com/id/opportunities/jobs/software-engineer/bc932c0b-3749-4e8c-8195-a11831888002",
  "benefits": [
    "THR",
    "Career Path",
    "Work Insurance",
    "Health Insurance"
  ],
  "searchQuery": "software engineer",
  "contentQuality": "full",
  "detailFetched": true,
  "scrapedAt": "2026-07-16T21:12:50.627Z",
  "source": "glints.com",
  "contentHash": "be9198afd1169de8d74a4b9c3af0fb86a0b7b11ccd18901d4260b7c78d992ce6",
  "jobKey": "bc932c0b-3749-4e8c-8195-a11831888002",
  "title": "software engineer",
  "status": "OPEN",
  "isHot": false,
  "acceptsForeignApplications": false,
  "companyLogo": "https://images.glints.com/unsafe/glints-dashboard.oss-ap-southeast-1-internal.aliyuncs.com/company-logo/9c4ef3b15fc76a705217a69a88745ede.png",
  "companyIndustry": "Information Technology and Services",
  "companyVerified": true,
  "companyWebsite": "http://www.beonesolution.com",
  "companyEmployeeRange": "51-200",
  "companyDescription": "BEONE SOLUTION - PT BEONE OPTIMA SOLUSI is a Business and fastest growing IT Solution Company located in Tangerang, Indonesia. As an SAP Business One Partner, we provide ERP solutions to small and med...",
  "validThrough": "2026-08-16",
  "countryCode": "ID",
  "salaryText": "IDR 5,500,000 - 8,000,000 / month",
  "salaryMin": 5500000,
  "salaryMax": 8000000,
  "salaryCurrency": "IDR",
  "salaryType": "MONTH",
  "shouldShowSalary": true,
  "employmentType": "CONTRACT",
  "workArrangement": "ONSITE",
  "isRemote": false,
  "educationLevel": "HIGH_SCHOOL",
  "experienceLevel": "1 - 3 years",
  "jobCategory": "Full Stack Developer",
  "skills": [
    "AI Systems",
    "GIT",
    "JavaScript",
    "C#",
    "Node.js",
    "... 5 more items"
  ],
  "postedAt": "2026-07-16T16:28:56.823Z",
  "updatedAt": "2026-07-16T16:28:56.823Z"
}
```

### Incremental fields

When incremental mode is on, each record also carries:

- `changeType` — one of `NEW`, `UPDATED`, `UNCHANGED`, `REAPPEARED`, `EXPIRED`. Default output covers `NEW` / `UPDATED` / `REAPPEARED`; set `emitUnchanged: true` or `emitExpired: true` to opt into the others.
- `isRepost`, `repostOfId`, `repostDetectedAt` — populated when a new listing matches the tracked content of a previously expired one. Set `skipReposts: true` to drop detected reposts from the output.

### How to scrape glints.com

1. Go to [Glints Job Scraper](https://apify.com/blackfalcondata/glints-scraper?fpr=1h3gvi) in Apify Console.
2. Enter a search keyword and optional location filter.
3. Set `maxResults` to control how many results you need.
4. Enable `includeDetails` if you need full descriptions, company data.
5. Click **Start** and wait for the run to finish.
6. Export the dataset as JSON, CSV, or Excel.

### Use cases

- Extract job data from glints.com for market research and competitive analysis.
- Track salary trends across regions and categories over time.
- Monitor new and changed jobs on scheduled runs without processing the full dataset every time.
- Auto-apply or feed apply URLs into your ATS / hiring pipeline.
- Research company hiring patterns, employer profiles, and industry distribution.
- Feed structured data into AI agents, MCP tools, and automated pipelines using compact mode.
- Export clean, structured data to dashboards, spreadsheets, or data warehouses.
- Analyze skill demand across listings using structured skill tags.

### How much does it cost to scrape glints.com?

Glints Job Scraper uses [pay-per-event](https://docs.apify.com/platform/actors/paid-actors/pay-per-event) pricing. You pay a small fee when the run starts and then for each result that is actually produced.

- **Run start:** $0.0005 per run
- **Per result:** $0.0009 per job record

Example costs:

- 10 results: **$0.0095**
- 25 results: **$0.023**
- 100 results: **$0.09**
- 200 results: **$0.18**
- 500 results: **$0.45**

#### Example: recurring monitoring savings

These examples compare full re-scrapes with incremental runs at different churn rates. Churn is the share of jobs that are new or whose tracked content changed since the previous run. Actual churn depends on your query breadth, source activity, and polling frequency — the scenarios below are examples, not predictions.

Example setup: 100 results per run, daily polling (30 runs/month). Event-pricing examples scale linearly with result count.

| Churn rate | Full re-scrape run cost | Incremental run cost | Savings vs full re-scrape | Monthly cost after baseline |
|---|---:|---:|---:|---:|
| 5% — stable niche query | $0.09 | $0.005 | $0.09 (94%) | $0.15 |
| 15% — moderate broad query | $0.09 | $0.01 | $0.08 (85%) | $0.42 |
| 30% — high-volume aggregator | $0.09 | $0.03 | $0.06 (70%) | $0.82 |

Full re-scrape monthly cost at daily polling: $2.71. First month with incremental costs $0.24 / $0.50 / $0.89 for the 5% / 15% / 30% scenarios because the first run builds baseline state at full cost before incremental savings apply.

Platform usage (compute and proxies) is billed separately by Apify based on actual consumption. Incremental runs consume less on result processing, though fixed per-run overhead stays the same.

### FAQ

#### How many results can I get from glints.com?

The number of results depends on the search query and available jobs on glints.com. Use the `maxResults` parameter to control how many results are returned per run.

#### Does Glints Job Scraper support recurring monitoring?

Yes. Enable incremental mode to only receive new or changed jobs on subsequent runs. This is ideal for scheduled monitoring where you want to track changes over time without re-processing the full dataset.

#### Can I integrate Glints Job Scraper with other apps?

Yes. Glints Job Scraper works with Apify's [integrations](https://apify.com/integrations?fpr=1h3gvi) to connect with tools like Zapier, Make, Google Sheets, Slack, and more. You can also use webhooks to trigger actions when a run completes.

#### Can I use Glints Job Scraper with the Apify API?

Yes. You can start runs, manage inputs, and retrieve results programmatically through the [Apify API](https://docs.apify.com/api/v2). Client libraries are available for JavaScript, Python, and other languages.

#### Can I use Glints Job Scraper through an MCP Server?

Yes. Apify provides an [MCP Server](https://apify.com/apify/actors-mcp-server?fpr=1h3gvi) that lets AI assistants and agents call this actor directly. Use compact mode, `descriptionMaxLength`, a single `descriptionFormat`, and `excludeEmptyFields` to keep payloads manageable for LLM context windows.

#### Is it legal to scrape glints.com?

This actor extracts publicly available data from glints.com. Web scraping of public information is generally considered legal, but you should always review the target site's terms of service and ensure your use case complies with applicable laws and regulations, including GDPR where relevant.

#### Your feedback

If you have questions, need a feature, or found a bug, please [open an issue](https://apify.com/blackfalcondata/glints-scraper/issues?fpr=1h3gvi) on the actor's page in Apify Console. Your feedback helps us improve.

### You might also like

- [⚡ LinkedIn Job Scraper — Salary, Company & No Cookies](https://apify.com/blackfalcondata/linkedin-job-scraper?fpr=1h3gvi) — 💰 $0.27 per 1,000 jobs ✅ Scrape linkedin.com job postings without login or cookies: salary, skills.
- [💰 LinkedIn Salary Scraper — Job Pay Ranges & Compensation](https://apify.com/blackfalcondata/linkedin-salary-scraper?fpr=1h3gvi) — 💰 $0.27 per 1,000 results ✅ Scrape linkedin.com job salaries & pay ranges without login or cookies.
- [Actiris Brussels Job Scraper](https://apify.com/blackfalcondata/actiris-scraper?fpr=1h3gvi) — Scrape all active job listings from actiris.brussels — official Brussels public employment service..
- [AMS Austria Job Scraper — Austrian Public Employment Service](https://apify.com/blackfalcondata/ams-austria-job-scraper?fpr=1h3gvi) — Scrape jobs.ams.at — Austria's official AMS public employment portal, branded "alle jobs" ("all.
- [APEC.fr Scraper - French Executive Jobs](https://apify.com/blackfalcondata/apec-scraper?fpr=1h3gvi) — Scrape apec.fr - French executive job listings with salary ranges, company, location, skills,.
- [Arbeitsagentur Jobs Feed — German Federal Employment Agency](https://apify.com/blackfalcondata/arbeitsagentur-jobs-feed?fpr=1h3gvi) — Scrape arbeitsagentur.de — Germany's official public employment portal with over 1 million live job.
- [Arbetsformedlingen Job Scraper](https://apify.com/blackfalcondata/arbetsformedlingen-scraper?fpr=1h3gvi) — Scrape arbetsformedlingen.se (Platsbanken) — Sweden's official employment portal. Returns 84.
- [Bayt.com Scraper — MENA Jobs with Salary & Skills Filter](https://apify.com/blackfalcondata/bayt-scraper?fpr=1h3gvi) — Scrape bayt.com — the leading Middle East job board spanning UAE, Saudi Arabia, Qatar, Egypt.

### Getting started with Apify

New to Apify? [Create a free account with $5 credit](https://console.apify.com/sign-up?fpr=1h3gvi\&fp_sid=ctaplain) — no credit card required.

1. Sign up — $5 platform credit included
2. Open this actor and configure your input
3. Click **Start** — export results as JSON, CSV, or Excel

Need more later? [See Apify pricing](https://apify.com/pricing?fpr=1h3gvi).

# Actor input Schema

## `query` (type: `string`):

Job keyword(s), e.g. "software engineer". Leave empty to browse the newest jobs for the selected country. Paste a JSON array (e.g. \["developer","designer"]) to run several searches in one run.

## `country` (type: `string`):

Which Southeast Asian market to search.

## `jobType` (type: `string`):

Filter by employment type. Leave empty for all types. Each filter also widens coverage (Glints caps results per search, so filtering pulls a fresh result set).

## `workArrangement` (type: `string`):

Filter by on-site / hybrid / remote. Leave empty for all.

## `educationLevel` (type: `string`):

Filter by minimum education. Leave empty for all.

## `minSalary` (type: `integer`):

Only jobs offering at least this amount (in the currency below). Leave 0 to disable.

## `salaryCurrency` (type: `string`):

Currency for the minimum salary filter (e.g. IDR, VND, SGD, MYR, TWD). Match the selected country.

## `lastUpdated` (type: `string`):

Only jobs posted/updated within this window.

## `sortBy` (type: `string`):

Result ordering. Relevance (default) or newest first.

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

Maximum total results (0 = unlimited). Note: Glints returns up to ~79 jobs per keyword+country search — use several keywords to widen coverage.

## `includeDetails` (type: `boolean`):

Fetch full job details.

## `descriptionMaxLength` (type: `integer`):

Truncate description to N chars. 0 = no truncation.

## `compact` (type: `boolean`):

Core fields only (for AI-agent/MCP workflows).

## `descriptionFormat` (type: `string`):

Which description representations to emit. `all` keeps description + descriptionText + descriptionHtml + descriptionMarkdown (default, back-compat). `text` / `html` / `markdown` keep only one variant — typically halves output size.

## `excludeEmptyFields` (type: `boolean`):

Drop null / empty-string / empty-array fields (and fully-null nested objects like socialProfiles) from each output record. Off by default to preserve dataset schema compatibility; turn on to slim output for LLM / agent consumption.

## `incrementalMode` (type: `boolean`):

Compare against previous run state. stateKey is optional — defaults to a stable key derived from your search inputs (query and country) so different searches never share state.

## `stateKey` (type: `string`):

Optional. Stable identifier for the tracked search universe. Leave empty to auto-generate from search inputs.

## `emitUnchanged` (type: `boolean`):

Also emit jobs that have not changed since the last run (incrementalMode only).

## `emitExpired` (type: `boolean`):

Also emit jobs that have disappeared since the last run (incrementalMode only).

## `skipReposts` (type: `boolean`):

When incremental, skip jobs whose content matches an expired job from a prior run (cross-run repost detection).

## `telegramToken` (type: `string`):

Telegram bot token (from @BotFather). Required for Telegram notifications.

## `telegramChatId` (type: `string`):

Telegram chat or channel ID (e.g. "-100123456789"). Required when telegramToken is set.

## `discordWebhookUrl` (type: `string`):

Discord incoming webhook URL. Server Settings → Integrations → Webhooks → New Webhook.

## `slackWebhookUrl` (type: `string`):

Slack incoming webhook URL. api.slack.com/messaging/webhooks.

## `notificationLimit` (type: `integer`):

Maximum number of jobs included in each notification message (1–20).

## `notifyOnlyChanges` (type: `boolean`):

When Incremental Mode is on, only send notifications for NEW and UPDATED jobs. Has no effect outside incremental mode.

## `whatsappAccessToken` (type: `string`):

WhatsApp Cloud API permanent access token (System User token from Meta Business). Recipient must have messaged the business number within the last 24h (service-conversation window — free since Nov 2024).

## `whatsappPhoneNumberId` (type: `string`):

Your WhatsApp Business phone-number ID (numeric, from Meta dashboard). Required when whatsappAccessToken is set.

## `whatsappTo` (type: `string`):

Recipient phone in E.164 format without + (e.g. "436641234567"). Recipient must have messaged your business number within last 24h.

## `webhookUrl` (type: `string`):

Receives a JSON POST with {metadata, items} after each run. Universal escape hatch for n8n / Make / Zapier / custom backends.

## `webhookHeaders` (type: `object`):

Optional JSON object of custom headers (e.g. {"Authorization":"Bearer ..."}).

## `appConnector` (type: `string`):

Optional. Pick a connected app under Settings → API & Integrations to receive your results (including any contact details). Best-effort across MCP connectors as Apify expands its catalog.

## `mcpIssueTeam` (type: `string`):

Only when the connected app is an issue tracker: the team (name or ID) the summary issue is created under, if that app requires one.

## Actor input object example

```json
{
  "query": "software engineer",
  "country": "ID",
  "jobType": "",
  "workArrangement": "",
  "educationLevel": "",
  "minSalary": 0,
  "lastUpdated": "ANY_TIME",
  "sortBy": "",
  "maxResults": 5,
  "includeDetails": true,
  "descriptionMaxLength": 0,
  "compact": false,
  "descriptionFormat": "all",
  "excludeEmptyFields": false,
  "incrementalMode": false,
  "emitUnchanged": false,
  "emitExpired": false,
  "skipReposts": false,
  "notificationLimit": 5,
  "notifyOnlyChanges": false
}
```

# Actor output Schema

## `results` (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 = {
    "query": "software engineer",
    "maxResults": 5
};

// Run the Actor and wait for it to finish
const run = await client.actor("blackfalcondata/glints-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 = {
    "query": "software engineer",
    "maxResults": 5,
}

# Run the Actor and wait for it to finish
run = client.actor("blackfalcondata/glints-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 '{
  "query": "software engineer",
  "maxResults": 5
}' |
apify call blackfalcondata/glints-scraper --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Glints Job Scraper — SEA Jobs & Salaries",
        "description": "Scrape glints.com job listings across Indonesia, Vietnam, Singapore, Malaysia and Taiwan — with salary ranges, required skills, and company data as structured JSON. Incremental mode returns only new or changed listings.",
        "version": "0.1",
        "x-build-id": "BOy7WkmdYgd1Ssv66"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/blackfalcondata~glints-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-blackfalcondata-glints-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/blackfalcondata~glints-scraper/runs": {
            "post": {
                "operationId": "runs-sync-blackfalcondata-glints-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/blackfalcondata~glints-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-blackfalcondata-glints-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "properties": {
                    "query": {
                        "title": "🔍 Search Term(s)",
                        "type": "string",
                        "description": "Job keyword(s), e.g. \"software engineer\". Leave empty to browse the newest jobs for the selected country. Paste a JSON array (e.g. [\"developer\",\"designer\"]) to run several searches in one run."
                    },
                    "country": {
                        "title": "🌍 Country",
                        "enum": [
                            "ID",
                            "VN",
                            "SG",
                            "MY",
                            "TW"
                        ],
                        "type": "string",
                        "description": "Which Southeast Asian market to search.",
                        "default": "ID"
                    },
                    "jobType": {
                        "title": "💼 Job Type",
                        "enum": [
                            "",
                            "FULL_TIME",
                            "PART_TIME",
                            "CONTRACT",
                            "INTERNSHIP",
                            "PROJECT_BASED"
                        ],
                        "type": "string",
                        "description": "Filter by employment type. Leave empty for all types. Each filter also widens coverage (Glints caps results per search, so filtering pulls a fresh result set).",
                        "default": ""
                    },
                    "workArrangement": {
                        "title": "🏢 Work Arrangement",
                        "enum": [
                            "",
                            "ONSITE",
                            "HYBRID",
                            "REMOTE"
                        ],
                        "type": "string",
                        "description": "Filter by on-site / hybrid / remote. Leave empty for all.",
                        "default": ""
                    },
                    "educationLevel": {
                        "title": "🎓 Education Level",
                        "enum": [
                            "",
                            "PRIMARY_SCHOOL",
                            "SECONDARY_SCHOOL",
                            "HIGH_SCHOOL",
                            "DIPLOMA",
                            "COLLEGE_DEGREE",
                            "BACHELOR_DEGREE",
                            "MASTER_DEGREE"
                        ],
                        "type": "string",
                        "description": "Filter by minimum education. Leave empty for all.",
                        "default": ""
                    },
                    "minSalary": {
                        "title": "💰 Minimum Salary",
                        "minimum": 0,
                        "type": "integer",
                        "description": "Only jobs offering at least this amount (in the currency below). Leave 0 to disable.",
                        "default": 0
                    },
                    "salaryCurrency": {
                        "title": "💱 Salary Currency",
                        "type": "string",
                        "description": "Currency for the minimum salary filter (e.g. IDR, VND, SGD, MYR, TWD). Match the selected country."
                    },
                    "lastUpdated": {
                        "title": "🕒 Posted Within",
                        "enum": [
                            "ANY_TIME",
                            "PAST_24_HOURS",
                            "PAST_WEEK",
                            "PAST_MONTH"
                        ],
                        "type": "string",
                        "description": "Only jobs posted/updated within this window.",
                        "default": "ANY_TIME"
                    },
                    "sortBy": {
                        "title": "↕️ Sort By",
                        "enum": [
                            "",
                            "LATEST"
                        ],
                        "type": "string",
                        "description": "Result ordering. Relevance (default) or newest first.",
                        "default": ""
                    },
                    "maxResults": {
                        "title": "💯 Max Results",
                        "minimum": 0,
                        "maximum": 1000,
                        "type": "integer",
                        "description": "Maximum total results (0 = unlimited). Note: Glints returns up to ~79 jobs per keyword+country search — use several keywords to widen coverage.",
                        "default": 25
                    },
                    "includeDetails": {
                        "title": "📋 Include Full Details",
                        "type": "boolean",
                        "description": "Fetch full job details.",
                        "default": true
                    },
                    "descriptionMaxLength": {
                        "title": "✂️ Description Max Length",
                        "minimum": 0,
                        "type": "integer",
                        "description": "Truncate description to N chars. 0 = no truncation.",
                        "default": 0
                    },
                    "compact": {
                        "title": "📦 Compact Output",
                        "type": "boolean",
                        "description": "Core fields only (for AI-agent/MCP workflows).",
                        "default": false
                    },
                    "descriptionFormat": {
                        "title": "📝 Description Format",
                        "enum": [
                            "all",
                            "text",
                            "html",
                            "markdown"
                        ],
                        "type": "string",
                        "description": "Which description representations to emit. `all` keeps description + descriptionText + descriptionHtml + descriptionMarkdown (default, back-compat). `text` / `html` / `markdown` keep only one variant — typically halves output size.",
                        "default": "all"
                    },
                    "excludeEmptyFields": {
                        "title": "🧹 Exclude Empty Fields",
                        "type": "boolean",
                        "description": "Drop null / empty-string / empty-array fields (and fully-null nested objects like socialProfiles) from each output record. Off by default to preserve dataset schema compatibility; turn on to slim output for LLM / agent consumption.",
                        "default": false
                    },
                    "incrementalMode": {
                        "title": "♻️ Incremental Mode",
                        "type": "boolean",
                        "description": "Compare against previous run state. stateKey is optional — defaults to a stable key derived from your search inputs (query and country) so different searches never share state.",
                        "default": false
                    },
                    "stateKey": {
                        "title": "🔑 State Key",
                        "type": "string",
                        "description": "Optional. Stable identifier for the tracked search universe. Leave empty to auto-generate from search inputs."
                    },
                    "emitUnchanged": {
                        "title": "♻️ Emit Unchanged",
                        "type": "boolean",
                        "description": "Also emit jobs that have not changed since the last run (incrementalMode only).",
                        "default": false
                    },
                    "emitExpired": {
                        "title": "⚰️ Emit Expired",
                        "type": "boolean",
                        "description": "Also emit jobs that have disappeared since the last run (incrementalMode only).",
                        "default": false
                    },
                    "skipReposts": {
                        "title": "🚫 Skip Reposts",
                        "type": "boolean",
                        "description": "When incremental, skip jobs whose content matches an expired job from a prior run (cross-run repost detection).",
                        "default": false
                    },
                    "telegramToken": {
                        "title": "🔑 Telegram Bot Token",
                        "type": "string",
                        "description": "Telegram bot token (from @BotFather). Required for Telegram notifications."
                    },
                    "telegramChatId": {
                        "title": "💬 Telegram Chat ID",
                        "type": "string",
                        "description": "Telegram chat or channel ID (e.g. \"-100123456789\"). Required when telegramToken is set."
                    },
                    "discordWebhookUrl": {
                        "title": "🎮 Discord Webhook URL",
                        "type": "string",
                        "description": "Discord incoming webhook URL. Server Settings → Integrations → Webhooks → New Webhook."
                    },
                    "slackWebhookUrl": {
                        "title": "💼 Slack Webhook URL",
                        "type": "string",
                        "description": "Slack incoming webhook URL. api.slack.com/messaging/webhooks."
                    },
                    "notificationLimit": {
                        "title": "📊 Max Jobs Per Notification",
                        "minimum": 1,
                        "maximum": 20,
                        "type": "integer",
                        "description": "Maximum number of jobs included in each notification message (1–20).",
                        "default": 5
                    },
                    "notifyOnlyChanges": {
                        "title": "🔄 Notify Only New/Updated",
                        "type": "boolean",
                        "description": "When Incremental Mode is on, only send notifications for NEW and UPDATED jobs. Has no effect outside incremental mode.",
                        "default": false
                    },
                    "whatsappAccessToken": {
                        "title": "📱 WhatsApp Access Token",
                        "type": "string",
                        "description": "WhatsApp Cloud API permanent access token (System User token from Meta Business). Recipient must have messaged the business number within the last 24h (service-conversation window — free since Nov 2024)."
                    },
                    "whatsappPhoneNumberId": {
                        "title": "📞 WhatsApp Phone Number ID",
                        "type": "string",
                        "description": "Your WhatsApp Business phone-number ID (numeric, from Meta dashboard). Required when whatsappAccessToken is set."
                    },
                    "whatsappTo": {
                        "title": "📲 WhatsApp Recipient",
                        "type": "string",
                        "description": "Recipient phone in E.164 format without + (e.g. \"436641234567\"). Recipient must have messaged your business number within last 24h."
                    },
                    "webhookUrl": {
                        "title": "🪝 Generic Webhook URL",
                        "type": "string",
                        "description": "Receives a JSON POST with {metadata, items} after each run. Universal escape hatch for n8n / Make / Zapier / custom backends."
                    },
                    "webhookHeaders": {
                        "title": "📋 Webhook Headers",
                        "type": "object",
                        "description": "Optional JSON object of custom headers (e.g. {\"Authorization\":\"Bearer ...\"})."
                    },
                    "appConnector": {
                        "title": "Send results to a connected app",
                        "type": "string",
                        "description": "Optional. Pick a connected app under Settings → API & Integrations to receive your results (including any contact details). Best-effort across MCP connectors as Apify expands its catalog."
                    },
                    "mcpIssueTeam": {
                        "title": "Issue tracker team",
                        "type": "string",
                        "description": "Only when the connected app is an issue tracker: the team (name or ID) the summary issue is created under, if that app requires one."
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
