# Zalo OA Scraper — Profiles, Articles & Website Finder (`scrapelabmax/zalo-oa-scraper`) Actor

Scrape public Zalo Official Accounts (OA) with no login: verified flag, category, phone, website, address, hours, avatar, cover and QR. Read Zalo article links (title, summary, cover). Find the Zalo OA behind any business website. Monitor OAs for changes.

- **URL**: https://apify.com/scrapelabmax/zalo-oa-scraper.md
- **Developed by:** [Scrapelab Max](https://apify.com/scrapelabmax) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 oa profiles

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
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.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

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

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Zalo Official Account Scraper — OA Profiles, Articles & Website Finder

Scrape **public Zalo Official Accounts (Zalo OA)** with **no login, no QR code and no browser**. Paste OA links, numeric OA IDs or custom slugs and get one clean row per account: **verified badge, OA type, category, phone, website, address, opening hours, avatar, cover photo and QR code**. Read **Zalo OA article links** (title, summary, cover image). Point it at business websites and it **finds the Zalo OA behind them**. Schedule it and it **tells you what changed**.

*Công cụ thu thập dữ liệu Zalo OA (tài khoản chính thức) công khai: tên, tích xanh, danh mục, số điện thoại, website, địa chỉ, giờ làm việc, ảnh đại diện, ảnh bìa, mã QR — không cần đăng nhập.*

> **Unofficial.** Not affiliated with, endorsed by or connected to Zalo or VNG. Reads public pages only. You are responsible for how you use the data, including Vietnam's personal-data rules (Decree 13/2023, Law 91/2025/QH15).

### Why this one

|                                                                                                | This actor                                            | Typical Zalo OA scrapers |
| ---------------------------------------------------------------------------------------------- | ----------------------------------------------------- | ------------------------ |
| OA profile (name, verified, category, address, hours, phone, website, QR)                      | ✅                                                    | ✅                       |
| **Cover photo**                                                                                | ✅                                                    | ❌ "not available"       |
| **OA type** (business / media / government) + tier                                             | ✅                                                    | partial                  |
| **Login-walled OAs** (landing page redirects to login)                                         | ✅ name, description, avatar, cover                   | ❌ reported as missing   |
| **Article links** → title, summary, cover, OA                                                  | ✅                                                    | ❌                       |
| **Website → Zalo OA finder** (lead enrichment)                                                 | ✅ links, chat widgets, Zalo phone links, group links | ❌                       |
| **Change monitoring** (name, verification, contact, address, hours, avatar, offline/recovered) | ✅                                                    | rare                     |
| Phone in E.164 (+84…), avatar link expiry, contacts parsed from the description                | ✅                                                    | ❌                       |
| Clear status on every row, failures never charged                                              | ✅                                                    | varies                   |

### What you can put in

**Zalo OA links, IDs, slugs or article links** — any mix, one per line or a pasted block:

```
https://zalo.me/zalopay
zalo.me/4046405574025332160
baotuoitre
https://post.oa.zalo.me/d?id=3786899142d4ab8af2c5&pageId=2364190025531152482
https://media.zalo.me/detail/3128995559321116723?id=58523abc0ff9e6a7bfe8
```

**Business websites** — homepages or bare domains (`tiki.vn`, `https://www.pharmacity.vn`). The actor reads the homepage (and, if needed, the contact page) for Zalo OA links, the Zalo chat widget (`data-oaid`), `zalo.me/<phone>` links and group links, then scrapes each OA it finds.

Personal profiles (`zalo.me/<phone>`) and group invites (`zalo.me/g/…`) are login-only on Zalo. They are reported as `invalid` and **never charged**.

### Output

Every row has a `type` (`oa`, `article`, `website`) and a `status`. Missing values are `null` — nothing is guessed.

#### OA profile (`type: "oa"`)

```json
{
    "type": "oa",
    "status": "public",
    "input": "https://zalo.me/zalopay",
    "oaId": "4046405574025332160",
    "slug": "zalopay",
    "name": "Zalopay",
    "description": "Zalopay - Ứng dụng thanh toán làm mới mọi trải nghiệm về tiền",
    "isVerified": true,
    "oaType": "business",
    "oaTypeCode": 2,
    "tier": 1,
    "category": "Tiện Ích",
    "categoryEn": "Utilities",
    "phone": "1900545436",
    "phoneE164": null,
    "website": "https://zalopay.vn",
    "address": "Z06, Đường số 13, Phường Tân Thuận Đông, Phường Tân Thuận, Thành phố Hồ Chí Minh",
    "workingHours": "24/24",
    "avatarUrl": "https://s160-26-ava-talk.zadn.vn/24/dbaa3f9e1990053a68e1c405d82c03d3.jpg?key=…&time=1799964429",
    "avatarUrlExpiresAt": "2027-01-14T22:20:29.000Z",
    "coverUrl": "https://cover-talk.zadn.vn/2/2/8/3/16/dbaa3f9e1990053a68e1c405d82c03d3.jpg",
    "qrCodeUrl": "https://page-photo-qr.zdn.vn/1719830980/e62de230f5751c2b4564.jpg",
    "profileUrl": "https://zalo.me/4046405574025332160",
    "chatUrl": "https://zalo.me/4046405574025332160?src=qr",
    "descriptionPhones": [],
    "descriptionEmails": [],
    "descriptionUrls": [],
    "contactCompleteness": 100,
    "foundOnWebsite": null,
    "dataLevel": "full",
    "profileHash": "…",
    "scrapedAt": "2026-11-15T22:19:44.000Z"
}
```

- `oaType`: `business`, `media` or `government` (raw `oaTypeCode` always included).
- `phoneE164`: mobile/landline as `+84…`; `null` for 1800/1900 hotlines (not dialable from abroad).
- `avatarUrlExpiresAt`: Zalo avatar links stop working after this time — download before then if you need the image.
- `dataLevel`: `full` from the public OA page; `basic` (name, description, avatar, cover) when Zalo hides the landing page behind login.
- `descriptionPhones/Emails/Urls`: contacts small businesses write into their description.
- `contactCompleteness`: 0–100, share of phone, website, address, hours, description and category that are filled.

#### Article (`type: "article"`)

```json
{
    "type": "article",
    "status": "public",
    "articleId": "3786899142d4ab8af2c5",
    "oaId": "2364190025531152482",
    "oaName": "PJP - PNJP sỉ official",
    "title": "✨ ĐẶC QUYỀN RIÊNG – DÀNH CHO ĐỐI TÁC SỈ PJP ✨",
    "summary": "PJP – Nhãn hiệu Trang sức Sỉ đến từ công ty PNJP. …",
    "coverImageUrl": "https://zalo-article-photo.zadn.vn/5400ed796b24827adb35#414878607",
    "articleUrl": "https://post.oa.zalo.me/d?id=3786899142d4ab8af2c5&pageId=2364190025531152482",
    "contentAvailability": "metadata_only"
}
```

Deleted or mistyped article IDs come back as `not_found` (not charged), with the OA name still filled in.

#### Website match (`type: "website"`)

```json
{
    "type": "website",
    "status": "found",
    "websiteUrl": "tiki.vn",
    "finalUrl": "https://tiki.vn/",
    "pageTitle": "Tiki - Mua hàng online giá tốt, hàng chuẩn, ship nhanh",
    "oaIds": ["589673439383195103"],
    "oaUrls": ["https://zalo.me/589673439383195103"],
    "zaloPhoneLinks": [],
    "zaloGroupLinks": [],
    "hasChatWidget": false
}
```

#### Statuses

| status                 | meaning                                                       | charged |
| ---------------------- | ------------------------------------------------------------- | ------- |
| `public`               | Scraped                                                       | yes     |
| `found` (website)      | Website publishes a Zalo OA, chat widget, phone or group link | yes     |
| `not_found`            | No OA at this ID/slug, or the article no longer exists        | no      |
| `none_found` (website) | No Zalo presence on the homepage or contact page              | no      |
| `invalid`              | Not an OA (personal profile, group link, non-Zalo URL)        | no      |
| `blocked` / `error`    | Zalo or the website refused/failed after retries              | no      |

A `RUN_SUMMARY` record in the run's key-value store lists counts, charged events, invalid inputs and failures.

### Monitor OAs for changes

Turn on **Monitor changes between runs** and schedule the actor (daily/weekly). Each OA row gets:

- `changeType` / `changeTypes`: `NEW`, `UNCHANGED`, `NAME_CHANGED`, `DESCRIPTION_CHANGED`, `VERIFICATION_CHANGED`, `CATEGORY_CHANGED`, `TIER_CHANGED`, `CONTACT_CHANGED`, `ADDRESS_CHANGED`, `HOURS_CHANGED`, `AVATAR_CHANGED`, `WENT_UNAVAILABLE`, `RECOVERED`
- `fieldChanges`: `[{ "field": "phone", "previous": "…", "current": "…" }]`
- `previousScrapedAt`

Turn on **Only output OAs that changed** to get (and pay for) only the changes. Rotating avatar/QR link tokens are ignored, and a temporary Zalo error never overwrites the last good snapshot. Use **Watchlist name** to keep separate watchlists.

### Pricing

Pay per result — no subscription, no proxy surcharge:

| Event                                              | Price         |
| -------------------------------------------------- | ------------- |
| OA profile scraped (`oa-profile`)                  | $2.00 / 1,000 |
| Article scraped (`article`)                        | $2.00 / 1,000 |
| Website with Zalo presence found (`website-match`) | $3.00 / 1,000 |

`not_found`, `invalid`, `none_found`, `blocked`, `error` rows and unchanged rows skipped by monitoring are **free**. Set **Maximum cost per run** in Run options and the actor stops cleanly at that limit.

### Use it from code, n8n, Make or an AI agent

```bash
curl -X POST "https://api.apify.com/v2/acts/scrapelabmax~zalo-oa-scraper/run-sync-get-dataset-items?token=YOUR_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{"zaloUrls": ["https://zalo.me/zalopay", "baotuoitre"]}'
```

Works through the Apify MCP server, so Claude, ChatGPT or Cursor can call it and read the field descriptions.

### Limitations (honest)

- **Article body text and publish date are login-only on Zalo.** The actor returns the metadata Zalo shows publicly (title, summary, cover, OA). It cannot list an OA's articles — there is no public article feed; you supply article links.
- **Old article cover images can be dead.** `coverImageUrl` is exactly what Zalo publishes; for articles from several years ago it often points at a retired CDN. Recent articles use `zalo-article-photo.zadn.vn`, which serves publicly.
- **Follower counts are not public** on Zalo OA pages.
- **Keyword search across Zalo is not possible** without login and search engines don't index OA pages; use the website finder or your own lists of OA links.
- Slugs that don't exist and personal profiles look the same to a logged-out visitor (Zalo redirects both to login); numeric OA IDs are checked precisely.

### FAQ

**Do I need a Zalo account or proxy?** No. Zalo OA pages answer from any country; the default runs without a proxy. Add one only if websites you check block datacenter IPs.

**Is this legal?** It reads only pages Zalo serves publicly to logged-out visitors, and only business/organization accounts. Don't use it to profile individuals; check local law before reusing contact details.

**Something broke?** Open an issue on the actor page with the run link — rows always carry a `statusReason`.

# Actor input Schema

## `zaloUrls` (type: `array`):

OA: https://zalo.me/zalopay, zalo.me/4046405574025332160, 4046405574025332160 or zalopay. Article: https://post.oa.zalo.me/d?id=…\&pageId=…, https://media.zalo.me/detail/<oaId>?id=…, or the 'Mở bằng Zalo' link. Personal (phone-number) profiles and group links are not public — they are reported as invalid and never charged.

## `includeCover` (type: `boolean`):

Fetch each OA's cover photo (one extra lightweight request per OA). Other OA scrapers report covers as unavailable.

## `websiteUrls` (type: `array`):

Homepage URLs or bare domains, e.g. tiki.vn. Only public sites are fetched (private/internal addresses are refused).

## `scrapeFoundOas` (type: `boolean`):

Adds a full OA profile row (tagged with foundOnWebsite) for every OA discovered on the websites.

## `checkContactPages` (type: `boolean`):

If the homepage has no OA link, also try /lien-he, /contact, /lienhe and /contact-us.

## `monitorMode` (type: `boolean`):

Compares every OA with its snapshot from the previous run (stored in a named key-value store) and fills changeType, changeTypes and fieldChanges.

## `emitChangesOnly` (type: `boolean`):

With monitoring on, skip OAs whose profile did not change since the last run. Skipped rows are not charged.

## `monitorNamespace` (type: `string`):

Separate snapshot stores for separate watchlists (letters, digits, dashes).

## `maxItems` (type: `integer`):

Stop after this many dataset rows. 0 = no limit.

## `maxConcurrency` (type: `integer`):

Parallel lookups. Zalo is paced per host regardless.

## `requestTimeoutSecs` (type: `integer`):

Per-request timeout. Each request is retried up to 3 times with backoff.

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

Not needed for Zalo (public pages answer from any country). Use a proxy only if websites you check block datacenter IPs.

## Actor input object example

```json
{
  "zaloUrls": [
    "https://zalo.me/zalopay",
    "https://zalo.me/baotuoitre"
  ],
  "includeCover": true,
  "websiteUrls": [],
  "scrapeFoundOas": true,
  "checkContactPages": true,
  "monitorMode": false,
  "emitChangesOnly": false,
  "monitorNamespace": "default",
  "maxItems": 1000,
  "maxConcurrency": 5,
  "requestTimeoutSecs": 20,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `records` (type: `string`):

OA profiles, article metadata and website matches.

## `runSummary` (type: `string`):

Counts, statuses, invalid inputs, failures and changes.

# 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 = {
    "zaloUrls": [
        "https://zalo.me/zalopay",
        "https://zalo.me/baotuoitre"
    ],
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("scrapelabmax/zalo-oa-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 = {
    "zaloUrls": [
        "https://zalo.me/zalopay",
        "https://zalo.me/baotuoitre",
    ],
    "proxyConfiguration": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("scrapelabmax/zalo-oa-scraper").call(run_input=run_input)

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

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

```

## CLI example

```bash
echo '{
  "zaloUrls": [
    "https://zalo.me/zalopay",
    "https://zalo.me/baotuoitre"
  ],
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}' |
apify call scrapelabmax/zalo-oa-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,scrapelabmax/zalo-oa-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

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