# ChinaHR Jobs Scraper — 中华英才网招聘数据 (`jobsapi/chinahr-jobs-search-scraper`) Actor

Export public ChinaHR job listings with rich salary, location, experience, education, employer, and detail fields.

- **URL**: https://apify.com/jobsapi/chinahr-jobs-search-scraper.md
- **Developed by:** [Jobs API](https://apify.com/jobsapi) (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.99 / 1,000 chinahr job records

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

## ChinaHR Jobs Search Scraper

This Actor collects public ChinaHR job listings for hiring research, job feeds, and labor-market analysis. It checks a selected listing against its published detail data, then saves a business record for each job that passes the Actor’s identity and data-quality checks.

A previous check ended before a ChinaHR page could be inspected because the browser tool was unavailable. That is not evidence that ChinaHR denied access. No fresh live extraction is verified here; the job record and run-summary examples below are illustrative.

### How to use it

1. Enter the search terms and any ChinaHR-published filters you want to use. An empty keyword is allowed and leaves the keyword filter open.
2. Choose how many results pages, jobs, requests, and time to allow.
3. Optionally enable Apify Proxy and choose its supported settings before the run starts.
4. Start the Actor. Review or download job records from the Dataset; the compact run summary is saved separately in the key-value store as `OUTPUT_SUMMARY`.

Requests are made sequentially with a pause between them. The Actor honors the request limit and does not retry requests or switch proxy settings after a source denial or verification challenge. If a response cannot be verified as job data, it is not treated as an empty search result.

### Input

All 20 input fields are optional. The saved starting input supplies ten defaults; other text filters are blank unless you set them. Text values are trimmed, may contain at most 256 characters, and cannot consist only of whitespace. Use only filter values or IDs published by ChinaHR; do not guess catalog IDs.

| Field | Required? | Type | Default | Bounds, choices, and use |
|---|---|---|---|---|
| `maxItems` | No | Integer | `3` | `1–5000` detail-verified matching jobs. |
| `pageSize` | No | Integer | `20` | `1–20` results requested per listing page. |
| `maxPages` | No | Integer | `1` | `1–250` listing pages. |
| `keyword` | No | String | `""` | Up to 256 characters. Blank means no keyword filter; whitespace-only is invalid. |
| `workType` | No | String | `""` | Up to 256 characters. Use an employment-type value published by ChinaHR, or leave blank. |
| `locationId` | No | String | `"1"` | Up to 256 characters. The saved default is `1`; other values must come from ChinaHR’s published location filters. An empty string leaves the location filter blank. |
| `minSalary` | No | String | `""` | Up to 256 characters. Optional source-filter value; use the value format published by ChinaHR. |
| `maxSalary` | No | String | `""` | Up to 256 characters. Optional source-filter value; use the value format published by ChinaHR. |
| `educationId` | No | String | `""` | Up to 256 characters. Use an education-filter value published by ChinaHR, or leave blank. |
| `experienceId` | No | String | `""` | Up to 256 characters. Use an experience-filter value published by ChinaHR, or leave blank. |
| `industryId` | No | String | `""` | Up to 256 characters. Use an industry-filter value published by ChinaHR, or leave blank. |
| `companySizeId` | No | String | `""` | Up to 256 characters. Use a company-size filter value published by ChinaHR, or leave blank. |
| `sortBy` | No | String | `""` | Up to 256 characters. Optional ChinaHR result-order value; blank keeps the source’s default order. |
| `locationContains` | No | String | `""` | Up to 256 characters. Local text filter for the published job location. |
| `employerContains` | No | String | `""` | Up to 256 characters. Local text filter for the published employer name. |
| `sortResultsBy` | No | String | `"sourceOrder"` | One of `sourceOrder`, `salaryHigh`, `salaryLow`, `employer`, or `jobName`. Salary ordering compares only compatible published amounts; records with unknown pay units retain their relative source order. |
| `maxRequests` | No | Integer | `20` | `1–6000` total source requests, including source pages, searches, published scripts, and job details. |
| `requestTimeoutMs` | No | Integer | `30000` | `5000–120000` milliseconds for each source request. |
| `requestDelayMs` | No | Integer | `750` | `250–30000` milliseconds between sequential requests. |
| `proxyConfiguration` | No | Object | `{ "useApifyProxy": false }` | Optional paid Apify Proxy setting. See proxy notes below. |

`keyword` searches the source data. `locationContains` and `employerContains` are local filters applied to verified records. A blank keyword is valid and can request jobs without a keyword term; a whitespace-only keyword is rejected.

#### Saved starting input

This is the Actor’s saved `INPUT.json` default. It is a starting point, not evidence of a live extraction.

```json
{
  "maxItems": 3,
  "pageSize": 20,
  "maxPages": 1,
  "keyword": "",
  "locationId": "1",
  "sortResultsBy": "sourceOrder",
  "maxRequests": 20,
  "requestTimeoutMs": 30000,
  "requestDelayMs": 750,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

#### Example search filters

This example uses ordinary text filters; it does not supply any guessed ChinaHR category IDs.

```json
{
  "keyword": "数据分析",
  "workType": "全职",
  "locationContains": "苏州",
  "employerContains": "示例科技",
  "maxItems": 10,
  "maxPages": 5,
  "maxRequests": 80,
  "sortResultsBy": "salaryHigh"
}
```

#### Optional Apify Proxy

Apify Proxy is an optional paid service. Proxy settings are selected once before requests begin. You can enable it without specifying a group or country, or choose a supported group and a two-letter country code in the proxy input control. A group or country selection requires `useApifyProxy: true`. Custom proxy URL entries are not supported. The Actor does not rotate settings to retry a denial or challenge.

```json
{
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

### Dataset records

Each Dataset row is a business record for one verified job. The Dataset schema is closed: a row contains only the fields listed below. It has five required fields: `jobId`, `jobName`, `employerName`, `location`, and `description`. The description must contain at least 20 characters. The Actor also requires at least 21 distinct source-backed business facts before saving a row; repeating the same description in a separate field does not add another fact.

Optional facts are omitted when ChinaHR does not publish them or when they cannot be interpreted safely. The Actor does not insert `null` placeholders or guess missing values. It does not derive a job URL from an ID, convert `元` to an ISO currency code, or assume a pay period.

#### Business fields

| Field | Required? | Type | What it contains |
|---|---|---|---|
| `jobId` | Yes | String | Published job identifier. |
| `jobName` | Yes | String | Published job title. |
| `workType` | No | String | Published employment type. |
| `salary` | No | Closed object | Source salary wording and only unambiguous amounts or units. |
| `degree` | No | String | Published education requirement. |
| `workExperience` | No | String | Published experience requirement. |
| `headCount` | No | Integer, 0 or greater | Exact hiring count when stated. |
| `headCountText` | No | String | Published recruitment wording, including a range when present. |
| `location` | Yes | String | Published job location. |
| `employerId` | No | String | Employer identifier published with the job or company detail. |
| `employerName` | Yes | String | Verified employer name. |
| `employerLogoUrl` | No | URL string | Employer logo link when published. |
| `industry` | No | String | Published industry. |
| `companySize` | No | String | Published company-size wording. |
| `detailUrl` | No | URL string | Job detail link only when supplied by ChinaHR. |
| `companyUrl` | No | URL string | Employer website link only when supplied by ChinaHR. |
| `responsibilities` | No | Array of strings | Published responsibility statements when identifiable. |
| `requirements` | No | Array of strings | Published job requirements when identifiable. |
| `benefits` | No | Array of strings | Published benefit statements when identifiable. |
| `workPlaces` | No | Array of closed objects | Published work-city, address, and coordinates. |
| `companyJobCount` | No | Number, 0 or greater | Published number of the employer’s jobs. |
| `companyDescription` | No | String | Published employer description. |
| `companyAddress` | No | String | Published employer address. |
| `employerCustomPage` | No | URL string | Employer custom page link only when supplied by ChinaHR. |
| `description` | Yes | String, at least 20 characters | Full cleaned job description. |

#### Nested fields

Nested objects are closed too. Missing or unclear nested values are left out rather than filled with placeholders.

| Object or path | Fields and rules |
|---|---|
| `salary` | Required `text` preserves the published salary wording. Optional fields: `minValue`, `maxValue` (nonnegative numbers), `currencyText`, `currencyCode` (three uppercase letters only when literally published), `payPeriod` (`hour`, `day`, `week`, `month`, or `year`), `amountUnit`, and `negotiable` (boolean). |
| `workPlaces[]` | Optional `workCity`, `address`, `longitude`, and `latitude`; at least one must be present. Longitude is limited to -180 through 180; latitude is limited to -90 through 90. Zero and negative coordinates are valid. |
| `responsibilities[]` | Non-empty source text. |
| `requirements[]` | Non-empty source text. |
| `benefits[]` | Non-empty source text. |

The salary text is retained even when a number cannot be safely parsed. Bounds are included only when the published amount is clear; `amountUnit` preserves a displayed scale such as `k` or `万`. A currency symbol or the Chinese word `元` may appear in `currencyText`, but it is not converted to `currencyCode`. `payPeriod` is present only when the source explicitly states the period. A negotiable salary may be recorded without numeric bounds. Ambiguous salary ranges and extra pay components are not turned into guessed totals.

#### Illustrative business record

The following complete 25-field record is fictional and exists only to show the Dataset shape. Its example-domain links and values are not ChinaHR listings and must not be treated as extracted data.

```json
{
  "jobId": "EXAMPLE-JOB-001",
  "jobName": "后端开发工程师",
  "workType": "全职",
  "salary": {
    "text": "5.5k–7k 元/月",
    "minValue": 5.5,
    "maxValue": 7,
    "currencyText": "元",
    "payPeriod": "month",
    "amountUnit": "k",
    "negotiable": false
  },
  "degree": "本科及以上",
  "workExperience": "三年以上服务端开发经验",
  "headCount": 2,
  "headCountText": "招聘2人",
  "location": "苏州市工业园区",
  "employerId": "EXAMPLE-EMPLOYER-001",
  "employerName": "示例软件有限公司",
  "employerLogoUrl": "https://example.invalid/images/example-logo.png",
  "industry": "软件和信息技术服务业",
  "companySize": "100–499人",
  "detailUrl": "https://example.invalid/job/EXAMPLE-JOB-001",
  "companyUrl": "https://example.invalid/company/EXAMPLE-EMPLOYER-001",
  "responsibilities": [
    "负责后端服务的设计、开发和维护。",
    "分析线上指标并处理运行问题。",
    "与产品、测试和运维同事协作完成版本交付。"
  ],
  "requirements": [
    "具备三年以上服务端开发经验。",
    "熟悉 Java、关系型数据库和分布式系统。",
    "能够编写自动化测试并清晰说明技术方案。"
  ],
  "benefits": [
    "提供补充医疗保险和年度健康体检。",
    "享有带薪年假和团队学习活动。"
  ],
  "workPlaces": [
    {
      "workCity": "苏州市工业园区",
      "address": "苏州市工业园区示例路100号",
      "longitude": 120.7,
      "latitude": 31.3
    }
  ],
  "companyJobCount": 12,
  "companyDescription": "示例软件有限公司为企业客户开发业务管理工具。团队负责产品研发、交付和持续维护。",
  "companyAddress": "苏州市工业园区示例路100号",
  "employerCustomPage": "https://example.invalid/company/EXAMPLE-EMPLOYER-001/jobs",
  "description": "示例软件有限公司正在招聘后端开发工程师，负责参与核心服务的设计、开发和维护。日常工作包括维护业务接口并提升系统稳定性。你将与产品、测试和运维团队协作完成版本交付。任职要求包括三年以上服务端开发经验。候选人应熟悉 Java、关系型数据库和分布式系统。岗位需要能够编写自动化测试并处理线上问题。工作地点位于苏州市工业园区。团队提供补充医疗保险和年度健康体检。薪资范围示例为5.5k至7k元/月，最终条件以发布信息为准。"
}
```

### Run summary

The public `OUTPUT_SUMMARY` is a separate seven-field JSON object in the key-value store; it is never written as a Dataset job record. Its fields report the platform run outcome, collection outcome, number of stored rows, whether collection was limited, whether an empty result was affirmatively confirmed, diagnostic count, and completion time.

The following values are illustrative only. No fresh ChinaHR run or live extraction is claimed here.

```json
{
  "status": "SUCCEEDED",
  "resultStatus": "COMPLETE",
  "recordsStored": 1,
  "limitedResults": false,
  "noDataConfirmed": false,
  "diagnosticCount": 0,
  "completedAt": "2026-10-14T00:00:00.000Z"
}
```

| Field | Meaning |
|---|---|
| `status` | Apify run outcome: `SUCCEEDED` or `FAILED`. |
| `resultStatus` | Collection outcome: `COMPLETE`, `LIMITED`, `SKIPPED`, `DEFERRED`, `NO_DATA`, or `FAILED`. |
| `recordsStored` | Number of job records stored in the Dataset. |
| `limitedResults` | `true` when verified rows were stored but the requested work was incomplete. |
| `noDataConfirmed` | `true` only when ChinaHR affirmatively reports an empty result for the requested search. |
| `diagnosticCount` | Number of run diagnostics; the diagnostic details are not business data. |
| `completedAt` | Completion time in ISO date-time form. |

| Result status | Meaning |
|---|---|
| `COMPLETE` | The bounded requested collection finished with verified results; `status` is `SUCCEEDED`. |
| `LIMITED` | Verified rows were stored, but a later issue prevented the full requested collection; `status` is `SUCCEEDED`. |
| `SKIPPED` | A clear source denial or verification challenge stopped the run before any row was saved. This is a handled run and may have `status: SUCCEEDED`; it does not mean an empty search. |
| `DEFERRED` | The response or transport could not be verified well enough to claim results or confirmed emptiness; a handled outcome has `status: SUCCEEDED`. This is not proof that the source blocked access. |
| `NO_DATA` | A recognized search response affirmatively reports zero matching jobs; `status` is `SUCCEEDED` and `noDataConfirmed` is `true`. An unfamiliar or incomplete empty response is not enough. |
| `FAILED` | A fatal error occurred before a job record was stored. If an error happens after verified records were stored, the saved prefix is reported as `SUCCEEDED` / `LIMITED`. |

### Responsible use

This Actor reads public job and employer information. It does not log in, apply for jobs, submit forms, or attempt to bypass access controls. Use the results in line with ChinaHR’s terms, applicable privacy and data-protection law, and your own legitimate purpose.

# Actor input Schema

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

Maximum detail-verified matching jobs to save.

## `pageSize` (type: `integer`):

Number of jobs requested per source results page.

## `maxPages` (type: `integer`):

Maximum source search pages to read.

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

Search using the website’s keyword filter. Leave empty for all jobs.

## `workType` (type: `string`):

Optional employment-type value published by ChinaHR. Leave empty for all types.

## `locationId` (type: `string`):

ChinaHR’s published location filter value. The saved default is 1; leave other filters empty to use the default search.

## `minSalary` (type: `string`):

Optional minimum-pay value from ChinaHR’s search filters.

## `maxSalary` (type: `string`):

Optional maximum-pay value from ChinaHR’s search filters.

## `educationId` (type: `string`):

Optional value from ChinaHR’s education filter.

## `experienceId` (type: `string`):

Optional value from ChinaHR’s experience filter.

## `industryId` (type: `string`):

Optional value from ChinaHR’s industry filter.

## `companySizeId` (type: `string`):

Optional value from ChinaHR’s company-size filter.

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

Optional result-order value published by ChinaHR. Leave empty to keep the website’s default.

## `locationContains` (type: `string`):

Keep verified jobs whose published location contains this text.

## `employerContains` (type: `string`):

Keep verified jobs whose employer name contains this text.

## `sortResultsBy` (type: `string`):

Keep source order or sort by employer, title, or comparable published pay. Unknown pay units remain in source order.

## `maxRequests` (type: `integer`):

Total bound across source pages, published scripts, searches and job details.

## `requestTimeoutMs` (type: `integer`):

Maximum time to wait for one source request.

## `requestDelayMs` (type: `integer`):

Minimum pause between sequential source requests.

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

Optional Apify Proxy settings selected once before the source requests. The Actor stops on source denials and never changes proxy groups to retry a barrier.

## Actor input object example

```json
{
  "maxItems": 3,
  "pageSize": 20,
  "maxPages": 1,
  "keyword": "",
  "locationId": "1",
  "sortResultsBy": "sourceOrder",
  "maxRequests": 20,
  "requestTimeoutMs": 30000,
  "requestDelayMs": 750,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

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

No description

## `runSummary` (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 = {
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("jobsapi/chinahr-jobs-search-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 = { "proxyConfiguration": { "useApifyProxy": False } }

# Run the Actor and wait for it to finish
run = client.actor("jobsapi/chinahr-jobs-search-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 '{
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}' |
apify call jobsapi/chinahr-jobs-search-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,jobsapi/chinahr-jobs-search-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/Vr98cnEXSz8C2wbxb/builds/OckXzbgsbJTdcLsMn/openapi.json
