# Zhaopin Scraper 智联招聘 – China Jobs, Salary & Company Data (`shadowell/zhaopin-jobs`) Actor

Scrape zhaopin.com (智联招聘) jobs by keyword & city: parsed monthly salary min/max + 13/14薪 months, company size/industry, full description, welfare tags, incremental only-new mode. No login.

- **URL**: https://apify.com/shadowell/zhaopin-jobs.md
- **Developed by:** [FENG JIE](https://apify.com/shadowell) (community)
- **Categories:** Jobs, Lead generation
- **Features:** Limited permissions
- **Stats:** 3 total users, 2 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.99 / 1,000 jobs

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

## Zhaopin Scraper 智联招聘 – China Jobs, Salary & Company Data

Scrape public job listings from **[zhaopin.com (智联招聘)](https://www.zhaopin.com)**, one of China's largest job boards, by **keyword and city**, with no login and no cookies. Each job comes back as clean structured JSON: **parsed monthly salary (min/max in CNY) plus salary months (13薪/14薪…)**, company size, industry, ownership type, district, experience, education, skill tags, welfare tags, publish time and, optionally, the **full job description** and work address with coordinates.

Built for recurring monitoring: switch on **`onlyNew`** and scheduled runs output **only jobs you haven't seen before**.

### Use cases

- 📊 **Salary benchmarking**: compare pay for a role across cities. `salaryMonths` lets you compute real annual pay.
- 🔎 **Labour-market & HR research**: demand by industry, company size, district, education and experience.
- 🏢 **Lead generation / B2B sales**: find companies that are actively hiring for a given role (company name, size, industry, city).
- 🔔 **Job alerts**: schedule hourly or daily runs with `onlyNew` and pipe new jobs to Sheets, Slack or a webhook through Apify integrations.
- 🤖 **AI / RAG datasets**: full Chinese job descriptions for LLM training, classification and skill extraction.

### How to use

1. Enter one or more **keywords** (e.g. `数据分析`, `Python`, `产品经理`).
2. Enter one or more **cities** (`上海`, `北京`… or a numeric Zhaopin city code).
3. Set **Max items**, and switch on **Include description** if you need the full JD (no extra cost; it comes from the same page).
4. Run, then download the results as JSON, CSV, Excel, or through the API.

#### Input example

```json
{
  "keywords": ["数据分析", "产品经理"],
  "cities": ["上海", "北京"],
  "maxItems": 400,
  "includeDetails": true,
  "salaryMinFilter": 15000,
  "onlyNew": false
}
```

#### Incremental mode (only new jobs)

```json
{ "keywords": ["Python"], "cities": ["深圳"], "maxItems": 100, "onlyNew": true, "stateKey": "shenzhen-python" }
```

Seen job IDs are stored in your named key-value store **`zhaopin-jobs-state`** under `stateKey`. On later runs with the same `stateKey`, jobs output before are skipped (and not charged). Use a different `stateKey` for each independent monitor. To start over, delete that record.

### Output fields

| Field | Example | Notes |
|---|---|---|
| source | `zhaopin` | Unified schema, ready for multi-site aggregation |
| jobId | `CC404298980J40898179810` | Stable Zhaopin job number |
| title | `数据分析师` | |
| company / companyId | `北京百米互联科技有限公司` / `CZ404298980` | |
| companySize | `100-299人` | |
| companyType | `民营` | 民营 / 国企 / 外商独资 … |
| industry | `软件/IT服务` | |
| jobCategory | `数据分析` | |
| city / district / street | `上海` / `嘉定` / `安亭` | |
| salaryText | `1.5-3万·14薪` | Raw text |
| salaryMin / salaryMax | `15000` / `30000` | **Monthly**, CNY |
| salaryMonths | `14` | From `·N薪`; 12 when not stated; null when there is no salary |
| currency | `CNY` | |
| experience / education | `1-3年` / `本科` | |
| employmentType | `全职` | |
| tags | `["Python","SQL"]` | Skill tags |
| welfare | `["五险一金","年终奖"]` | Only when the employer publishes them (~25% of jobs) |
| publishDate | `2026-10-29 12:41:41` | China time (UTC+8) |
| url | `https://www.zhaopin.com/jobdetail/….htm` | |
| scrapedAt | ISO UTC | |
| searchKeyword | `数据分析` | Which keyword found it |
| description, address, latitude, longitude | | Only with `includeDetails` |

**Annual salary:** `salaryMin × salaryMonths` to `salaryMax × salaryMonths`. For example, `1.5-3万·14薪` comes to 210,000–420,000 CNY per year. Daily or hourly wages and 面议 keep `salaryText` only.

### Limits & tips

- **About 100 jobs per keyword × city.** Zhaopin's anonymous search returns at most 5 pages of 20 jobs. To collect more, add more specific keywords (e.g. `数据分析 实习`, `BI`, `SQL`) or more cities.
- **City codes:** names are built in for 北京 530, 上海 538, 深圳 765, 广州 763, 杭州 653, 成都 801, 武汉 736, 南京 635, 西安 854, 苏州 639, 重庆 551, 天津 531, 全国 489. For any other city, pass its numeric code as it appears in the Zhaopin search URL (`/sou/jl<code>/…`).
- Salary filters are applied after scraping; jobs without a salary (面议) are kept.
- Duplicates within a run are removed by `jobId`.

### Pricing

Pay per result: **$0.99 per 1,000 jobs** ($0.00099 per job), plus Apify's standard tiny actor-start fee. Platform usage is included. Jobs skipped by `onlyNew` or by the salary filters are not charged.

### Privacy

Only public job and company information is collected. **No recruiter personal data** (names, avatars, phone numbers, emails) is output. Please use the data in line with applicable laws (e.g. China's PIPL) and Zhaopin's terms.

### FAQ

**Do I need a Zhaopin account or cookies?** No.
**Do I need a proxy?** The default Apify proxy works. If you ever see captcha warnings in the log, switch to RESIDENTIAL.
**Why did I get fewer than maxItems?** Because of the 100-per-search cap, or because `onlyNew` and the salary filters removed jobs.
**Will 猎聘 / 51job be supported?** The output schema already includes `source`, so data from other sites can be merged into the same table.

***

### 中文说明

**智联招聘爬虫**：无需登录，按 **关键词 × 城市** 抓取智联招聘公开职位。输出字段包括：职位名称、公司、公司规模、性质、行业、城市、区、街道、薪资原文、**月薪下限和上限（元）**、**薪资月数（13薪/14薪…，用来计算年薪）**、经验、学历、技能标签、福利标签、发布时间、链接。开启 `includeDetails` 后还输出完整职位描述和工作地址（不额外收费）。

- **增量模式**：设置 `onlyNew=true` 和 `stateKey`，定时运行时只输出新职位，旧职位不重复收费。
- **限制**：智联匿名搜索每个“关键词 × 城市”最多返回约 100 条。需要更多数据时，请增加关键词或城市。
- **城市**：支持直接填写城市名（北京、上海、深圳、广州、杭州、成都、武汉、南京、西安、苏州、重庆、天津、全国），其他城市请填写智联的数字城市码。
- **价格**：每 1000 条职位 $0.99。
- **隐私**：不输出招聘者姓名、头像、电话、邮箱等个人信息。

# Actor input Schema

## `keywords` (type: `array`):

Job keywords (Chinese or English). Each keyword × each city = one search (max 100 jobs per search).

## `cities` (type: `array`):

City names: 北京 上海 深圳 广州 杭州 成都 武汉 南京 西安 苏州 重庆 天津 全国, or any Zhaopin numeric city code (e.g. 538 = 上海). Empty = 全国.

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

Maximum number of jobs to output in total.

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

Adds full description + welfare/skills tags; fetches the detail page when the list lacks them.

## `onlyNew` (type: `boolean`):

Remember jobIds across runs (named key-value store 'zhaopin-jobs-state') and output only jobs not seen in previous runs with the same State key. Ideal for scheduled runs.

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

Separate incremental memory per search set, e.g. 'shanghai-data'. Letters, digits, - and \_ only.

## `salaryMinFilter` (type: `integer`):

Drop jobs whose salaryMax is below this. Optional.

## `salaryMaxFilter` (type: `integer`):

Drop jobs whose salaryMin is above this. Optional.

## `maxPagesPerSearch` (type: `integer`):

20 jobs per page. Anonymous Zhaopin often caps a search at ~5 pages.

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

Apify datacenter proxy (default) works; switch to RESIDENTIAL if you see captcha warnings.

## Actor input object example

```json
{
  "keywords": [
    "数据分析"
  ],
  "cities": [
    "上海"
  ],
  "maxItems": 100,
  "includeDetails": true,
  "onlyNew": false,
  "stateKey": "default",
  "maxPagesPerSearch": 10,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `jobs` (type: `string`):

No description

## `jobsWithDescription` (type: `string`):

No description

## `stats` (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 = {
    "keywords": [
        "数据分析"
    ],
    "cities": [
        "上海"
    ],
    "maxItems": 100,
    "includeDetails": true,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("shadowell/zhaopin-jobs").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 = {
    "keywords": ["数据分析"],
    "cities": ["上海"],
    "maxItems": 100,
    "includeDetails": True,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("shadowell/zhaopin-jobs").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 '{
  "keywords": [
    "数据分析"
  ],
  "cities": [
    "上海"
  ],
  "maxItems": 100,
  "includeDetails": true,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call shadowell/zhaopin-jobs --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,shadowell/zhaopin-jobs"
        }
    }
}
```

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/gZkw5l1mvx7VUXc9E/builds/DOZAZtqf1jk4j2P4M/openapi.json
