# che168 二手车 Autohome Scraper (`parsebird/che168-scraper`) Actor

Scrape che168.com (二手车之家 / Autohome used cars) listings from any search URL: price, MSRP, VIN, mileage, registration date, specs, photos, location, dealer details and optional dealer phone numbers.

- **URL**: https://apify.com/parsebird/che168-scraper.md
- **Developed by:** [ParseBird](https://apify.com/parsebird) (community)
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $7.49 / 1,000 listings

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

### che168 二手车 Autohome Scraper

**che168 二手车 Autohome Scraper** extracts used car listings from [che168.com (二手车之家)](https://www.che168.com/), Autohome's used car marketplace and one of China's largest. Paste any che168 search URL and get the price, MSRP, **full 17-character VIN**, mileage, registration date, specs, photos, location, badges, dealer details and, optionally, the **dealer's phone number**, as clean JSON, CSV or Excel.

<table><tr>
<td style="border-left:4px solid #1C1917;padding:12px 16px;font-weight:600">
Search nationwide or by province or city, by brand, series, body type, price band, trim, age, mileage, gearbox, fuel and every other che168 filter, and get 70+ structured fields per car, including VIN, MSRP discount, ownership transfers, EV battery data, inspection report links and the dealer's sales record.
</td>
</tr></table>

##### Copy to your AI assistant

Copy this block into ChatGPT, Claude, Cursor, or any LLM to start using this actor.

```
Apify Actor: parsebird/che168-scraper. Scrapes used car listings from che168.com (二手车之家, Autohome's Chinese used car marketplace). Call via ApifyClient: client.actor("parsebird/che168-scraper").call(run_input={"searchUrl": "https://www.che168.com/beijing/baoma/baomax5/", "maxResults": 100, "enrichPhone": true}). Inputs: searchUrl (string, required: any che168.com search results URL, e.g. https://www.che168.com/china/dazhong/gaoerfu/10_15/ for VW Golf 100k-150k RMB nationwide; city or province first segment like /beijing/ or /anhui/, then brand, series or body type like /suv/, price band like /10_15/, trims like /s17823-20310/, and the long filter slug /a0_0ms...ex.../; single-listing URLs are not supported), maxResults (integer, default 10, max 10000), enrichPhone (boolean, default true: adds the dealer's virtual phone number), proxyConfiguration (object, optional). Output: one flat record per listing with infoid, url, carname, brandname, seriesname, specname, brandid, seriesid, specid, vincode, levelname, price and guidanceprice (万 RMB), discountPct, firstregdate, mileage (万 km), transfercount, displacement, engine, gearbox, fuelname, colorname, drivingmode, flowmode, setcount, environmental, accelerate, fuel consumption, EV battery fields, downpayment, imageurl, piclist, cname, countyname, cityid, provincename, remark, publicdate, examine, insurance, listing flags, tags, discounttags, inspectionReportUrl, dealer {dealerid, dealername, dealer_level, address, businesshours, sellingcnt, selledcnt, dppoint, businessclass, description, review scores}, phone {xnumber}, fetchedAt. Pricing: pay per listing, plus per listing with a revealed phone number. Full API spec: https://apify.com/parsebird/che168-scraper/api. Get your token: https://console.apify.com/settings/integrations.
```

### What is che168 二手车 Autohome Scraper?

**che168 二手车 Autohome Scraper** turns che168.com search results into a structured dataset. Set up your search on che168 the way you normally would, copy the URL from the address bar, and paste it into the Actor. Every filter in the URL is applied: city or province, brand, series, body type, price band, trims, car age, mileage, gearbox, displacement, fuel, color, seats, emission standard, drive, origin and che168's own service filters like 诚信车 (certified cars).

It works as a **che168 API alternative**: you don't need a che168 or Autohome account, an API key or a browser. Each listing comes with the details from its listing page, including the **full VIN**, the manufacturer's guide price (MSRP) and the dealer's profile.

### What can che168 二手车 Autohome Scraper do?

- 🔎 **Any che168 search URL.** Nationwide (`/china/`), province (`/anhui/`) and city (`/beijing/`) searches, brand and series pages, body types (`/suv/`), price bands (`/10_15/`), trims (`/s17823-20310/`) and the long filter slug (`/a0_0ms…ex…/`), with the sort order you chose.
- 📍 **Strict city filter.** che168 mixes in cars from other cities when a city has few matches. The Actor keeps only cars actually located in the city or province in your URL.
- 🔢 **Full VIN and MSRP.** Get the 17-character VIN, the new-car guide price and the discount from it.
- 🏪 **Dealer details.** Name, address, business hours, member level, rating, number of cars on sale and cars sold.
- 📞 **Dealer phone numbers.** Turn on **Reveal dealer phone numbers** to get the virtual number (虚拟号) che168 gives buyers for each car. It forwards to the dealer and is valid for a limited time.
- 📈 **Up to 10,000 cars per run.** che168 shows at most about 550 results per search. For bigger searches the Actor splits your search into price bands automatically, so you get past that limit.
- ♻️ **No duplicates.** Each listing is saved once per run.
- 📅 **Scheduling and monitoring.** Run daily with [Apify Schedules](https://docs.apify.com/platform/schedules) to track prices and new stock.
- 🔌 **API and integrations.** Use the [Apify API](https://docs.apify.com/api/v2), or send listings to Google Sheets, Zapier, Make, Slack or webhooks with [Apify integrations](https://docs.apify.com/platform/integrations). Export as JSON, CSV, Excel, XML or HTML.

### What data can you extract from che168?

| Field | Description |
|-------|-------------|
| `infoid` / `url` | che168 listing ID and listing page |
| `carname` / `brandname` / `seriesname` / `specname` | Full car name, brand, series and trim, e.g. 高尔夫 2021款 280TSI DSG R-Line |
| `brandid` / `seriesid` / `specid` | che168/Autohome IDs for brand, series and trim, stable across runs |
| `vincode` | Full 17-character VIN, when the seller provided it |
| `price` / `guidanceprice` / `discountPct` | Asking price and new-car guide price (MSRP) in 万 RMB (10,000 RMB), and the discount from MSRP in % |
| `downpayment` / `isloan` | Down payment in 万 RMB and whether financing is offered |
| `firstregdate` / `firstregyear` / `firstregstr` | First registration month, year and car age |
| `mileage` / `transfercount` | Mileage in 万 km (10,000 km) and number of ownership transfers |
| `levelname` / `displacement` / `engine` / `gearbox` | Body class, displacement, engine and gearbox |
| `fuelname` / `colorname` / `drivingmode` / `flowmode` / `setcount` | Fuel, color, drive layout, intake and seats |
| `environmental` / `accelerate` / `wltc_fuelconsumption` / `nedc_fuelconsumption` | Emission standard, 0–100 km/h time and fuel consumption |
| `isev` / `batterypower` / `batterytype` / `batterybrand` / `evwarranty` / `lifemileage` | EV and hybrid battery data, when applicable |
| `imageurl` / `piclist` | Cover photo and every photo |
| `cname` / `countyname` / `cityid` / `provincename` | City, district, city ID and province |
| `remark` / `publicdate` / `examine` / `insurance` | Seller notes, publish date (che168 writes 今天 or 昨天 for today and yesterday), next inspection and insurance renewal |
| `tags` / `discounttags` | Badges che168 shows, e.g. 0次过户, 原厂质保, 急售, and current dealer offers |
| `inspectionReportUrl` | Inspection report link che168 attaches to some listings (for example 查博士 reports) |
| `kindname` / `isnewly` / `isunion` / `isoutsite` / `iscpd` / `haswarranty` … | Listing type and che168 listing flags |
| `dealer` | Dealer ID, name, member level, address, business hours, cars on sale, cars sold, rating and review scores, services, description |
| `phone.xnumber` | Dealer's virtual phone number for this car (with **Reveal dealer phone numbers** on) |
| `fetchedAt` | When the listing was scraped (ISO 8601, UTC) |

### How to scrape che168 used car listings

1. Go to [che168.com](https://www.che168.com/), choose a city (or 全国 for all of China), and set your filters: brand, series, price, body type, age, mileage and so on.
2. Copy the URL from your browser's address bar, for example `https://www.che168.com/beijing/aodi/aodia4l/0_25/`.
3. Open [che168 二手车 Autohome Scraper](https://apify.com/parsebird/che168-scraper) on Apify Store and click **Try for free**.
4. Paste the URL into **che168 search URL**.
5. Set **Max listings**. The default of 10 gives you a cheap preview of the data.
6. Leave **Reveal dealer phone numbers** on to get phone numbers, or turn it off to pay only for listings.
7. Click **Start**. When the run finishes, download the listings as JSON, CSV, Excel, XML or HTML from the **Output** tab, or read them with the API.

### How much does it cost to scrape che168?

che168 二手车 Autohome Scraper uses **pay-per-event** pricing. You pay for each listing saved and, when **Reveal dealer phone numbers** is on, for each listing where a phone number is returned. Compute and proxy costs are included in the event prices.

| Event | Free | Bronze | Silver | Gold |
|-------|------|--------|--------|------|
| `listing` (per listing) | $0.00899 | $0.00849 | $0.00799 | $0.00749 |
| `contact` (per listing with a dealer phone number) | $0.00349 | $0.00299 | $0.00249 | $0.00199 |
| Per 1,000 listings | **$8.99** | **$8.49** | **$7.99** | **$7.49** |
| Per 1,000 phone numbers | **$3.49** | **$2.99** | **$2.49** | **$1.99** |

For example, 1,000 listings with phone numbers cost $12.48 on the Free plan, or $8.99 without phone numbers. Listings where che168 returns no number are not charged for contacts. You can set a maximum cost per run in Apify Console, and the Actor stops when it's reached.

### Input

See the [Input tab](https://apify.com/parsebird/che168-scraper/input-schema) for the full form.

| Parameter | Type | Required | Default | Description |
|-----------|------|----------|---------|-------------|
| `searchUrl` | string | **Yes** | — | Any che168.com search results URL |
| `maxResults` | integer | No | `10` | Listings to save, up to 10,000 |
| `enrichPhone` | boolean | No | `true` | Reveal the dealer's virtual phone number for each listing |
| `proxyConfiguration` | object | No | none | Not needed; see the FAQ |

**VW Golf, nationwide**

```json
{
    "searchUrl": "https://www.che168.com/china/dazhong/gaoerfu/"
}
```

**VW Golf priced 10–15 万 RMB**

```json
{
    "searchUrl": "https://www.che168.com/china/dazhong/gaoerfu/10_15/",
    "maxResults": 100
}
```

**BMW X5 in Beijing only**

```json
{
    "searchUrl": "https://www.che168.com/beijing/baoma/baomax5/",
    "maxResults": 500
}
```

**Audi A4L in Shanghai, without phone numbers (cheaper)**

```json
{
    "searchUrl": "https://www.che168.com/shanghai/aodi/aodia4l/",
    "enrichPhone": false
}
```

**All BMW SUVs, sorted by price, no phone numbers**

```json
{
    "searchUrl": "https://www.che168.com/china/baoma/suv/a0_0msdgscncgpi1lto1cspexx0/",
    "maxResults": 1000,
    "enrichPhone": false
}
```

### Output example

Each listing is one record. Download the dataset as JSON, CSV, Excel, XML or HTML. The example below is a real record, with the photo list and the dealer description shortened.

```json
{
    "infoid": 60042546,
    "url": "https://www.che168.com/dealer/563148/60042546.html",
    "carname": "高尔夫 2014款 1.6L 自动舒适型",
    "brandname": "大众",
    "seriesname": "高尔夫",
    "brandid": 1,
    "seriesid": 871,
    "specid": 17823,
    "specname": "2014款 1.6L 自动舒适型",
    "vincode": "LFV2B25G1E5071862",
    "levelname": "紧凑型车",
    "price": 4.38,
    "guidanceprice": 14.49,
    "discountPct": 69.8,
    "firstregyear": "2014年",
    "firstregdate": "2014-12",
    "firstregshortdate": "2014-12-01",
    "firstregstr": "11年11个月",
    "mileage": 1.6,
    "transfercount": 0,
    "displacement": "1.6",
    "engine": "1.6L",
    "gearbox": "自动",
    "fuelname": "汽油",
    "colorname": "香槟/棕色",
    "drivingmode": "前置前驱",
    "flowmode": "自然吸气",
    "setcount": 5,
    "environmental": "国IV(国V)",
    "carusename": "家用",
    "accelerate": "12.9",
    "wltc_fuelconsumption": "0",
    "nedc_fuelconsumption": "6.3",
    "isev": 0,
    "batterypower": 0,
    "batterytype": "-",
    "batterybrand": "-",
    "ev100power": "0kWh",
    "evwarranty": "-",
    "lifemileage": 0,
    "quickcharge": 0,
    "slowcharge": 0,
    "drivingnum": "-",
    "downpayment": 0,
    "isloan": 0,
    "imageurl": "https://2sc2.autoimg.cn/escimg/auto/g34/M00/FB/29/640x480_c42_autohomecar__ChxpWGq7imKAMQADAARmg5vPYKI559.jpg.webp",
    "piclist": [
        "https://2sc2.autoimg.cn/escimg/auto/g34/M00/FB/29/1024x768_c42_autohomecar__ChxpWGq7imKAMQADAARmg5vPYKI559.jpg.webp",
        "https://2sc2.autoimg.cn/escimg/auto/g34/M03/F7/67/1024x768_c42_autohomecar__ChtpWGq7imKAOfy2AAUmEQ1A_qk276.jpg.webp"
    ],
    "cname": "成都",
    "countyname": "武侯",
    "remark": "这辆高尔夫2014款1.6L自动舒适型，个人一手车，表显仅1.6万公里，车况极佳。…",
    "publicdate": "2026-09-29",
    "examine": "2026-12",
    "insurance": "2026-12",
    "haswarranty": 0,
    "isextwarranty": 0,
    "isnewcar": 0,
    "islatestcar": 0,
    "isbrandcar": 0,
    "iscpd": 1,
    "iscpl": 0,
    "istop": 0,
    "followcount": 1304,
    "particularactivity": 0,
    "dealerid": 563148,
    "cityid": 510100,
    "provinceid": 510000,
    "provincename": "四川",
    "kindname": "普通车源",
    "isnewenergy": 0,
    "isnewly": 0,
    "isunion": 0,
    "isoutsite": 0,
    "isfqtj": 0,
    "isrelivedbuy": 0,
    "showim": 0,
    "tags": ["延保服务", "有礼赠送", "0次过户", "低价清仓", "直降500元"],
    "discounttags": ["直降500元，到店后可享", "成交可得交车仪式及精美礼包,到店可得精美礼品", "免费延保1年或2万公里"],
    "inspectionReportUrl": null,
    "dealer": {
        "dealerid": 563148,
        "dealername": "四川精典好车汽车服务有限公司",
        "dealer_level": "3年钻石会员",
        "address": "四川省成都市武侯区丽都路3号附2.3号1楼",
        "cname": "成都",
        "pname": "四川",
        "businesshours": "9:00-19:00",
        "sellingcnt": 58,
        "selledcnt": 1995,
        "dppoint": 4.2,
        "businessclass": ["车辆置换", "价格评估", "代办过户", "分期贷款", "延长质保"],
        "logo": "https://2sc2.autoimg.cn/escimg/g25/M0A/68/4D/440x330_q87_c42_autohomecar__ChxkqWWTgtqAKJ6MAAHQ2-s0EPY563.jpg",
        "isvipdealer": 2,
        "iscxcdealer": 1,
        "description": "精典汽车二手车中心成立于2005年4月，是精典汽车集团（证券代码871644）旗下全资子公司。…",
        "reviewcount": 435,
        "servicescore": 4.2,
        "shopscore": 4,
        "carscore": 4.2
    },
    "phone": {
        "xnumber": "15611245330"
    },
    "fetchedAt": "2026-10-22T12:46:42Z"
}
```

### Use the che168 Scraper API

Call the Actor from your own code with the [Apify API client](https://docs.apify.com/api/client/python). Find your token in [Apify Console → Settings → Integrations](https://console.apify.com/settings/integrations).

**Python**

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("parsebird/che168-scraper").call(run_input={
    "searchUrl": "https://www.che168.com/china/dazhong/gaoerfu/10_15/",
    "maxResults": 200,
    "enrichPhone": True,
})

for car in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(car["carname"], car["price"], car["vincode"], car["cname"], (car.get("phone") or {}).get("xnumber"))
```

**JavaScript**

```javascript
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: 'YOUR_APIFY_TOKEN' });
const run = await client.actor('parsebird/che168-scraper').call({
    searchUrl: 'https://www.che168.com/beijing/baoma/baomax5/',
    maxResults: 100,
    enrichPhone: false,
});

const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((car) => console.log(car.carname, car.price, car.guidanceprice, car.discountPct, car.dealer?.dealername));
```

You can also start runs over plain HTTP from the [API tab](https://apify.com/parsebird/che168-scraper/api), or connect the Actor to AI agents through the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp).

### Use cases

- **Used car price research.** Compare asking prices with MSRP by brand, series, trim, year, mileage and city across China.
- **Export and cross-border trading.** Find cars by VIN, age, mileage and price for used car export from China.
- **Dealer lead generation.** Build lists of Chinese used car dealers with addresses, sales volume, ratings and phone numbers.
- **Inventory and competitor monitoring.** Track a dealer's or a city's stock and price drops with scheduled runs.
- **Market and residual value analysis.** Measure depreciation from the guide price by model, age and region, including EVs and hybrids.

### How it works

1. The Actor reads your che168 URL and turns its city, brand, series, body type, price band, trims, filter slug, keyword and sort order into the same search che168's own app runs.
2. It loads the matching listings page by page. If your search has more results than che168 shows for one search (about 550), it splits the search into price bands and walks them in turn.
3. For a city or province search, cars located elsewhere are left out.
4. For each listing it reads the listing details (VIN, MSRP, specs, photos, seller notes) and the dealer profile, and with **Reveal dealer phone numbers** on, the dealer's virtual phone number.
5. A listing that was removed before it could be read is skipped and not charged.

### FAQ

**Where do I get the search URL?**
Open [che168.com](https://www.che168.com/), pick a city, brand, series and any filters you want, then copy the URL from your browser's address bar.

**What URL formats are supported?**
Anything che168's filter UI generates: nationwide (`/china/…`), province (`/anhui/…`) and city (`/beijing/…`) searches, brand only, brand and series, body types (`/suv/`, `/mpv/`, `/china/baoma/suv/`), price bands (`/10_15/`), trims (`/s17823-20310/`), the long filter slug (`/a0_0ms…ex…/`) and keyword searches (`?kw=…`). Both `www.che168.com` and `m.che168.com` addresses work. Single-listing URLs (`/dealer/…/….html`) are not supported.

**How accurate is the city filter?**
Strict. When the URL contains a city such as `/beijing/`, only cars located in that city are returned; for a province such as `/anhui/`, only cars in that province. The run log says how many out-of-area suggestions were left out.

**What do `price` and `mileage` mean?**
che168 gives prices in 万 RMB (10,000 RMB) and mileage in 万 km (10,000 km). `price: 4.38` is 43,800 RMB; `mileage: 1.6` is 16,000 km.

**What is the phone number I get?**
`phone.xnumber` is the virtual number (虚拟号) che168 gives a buyer who presses "call" on a listing, the same number you'd see in the che168 app. It forwards to the dealer's line; the dealer's real number is never shown by che168. che168 hands these numbers out from a shared pool and binds them to a listing for a limited time, so the same number can appear on several listings and a car gets a different number on the next run. Call soon after scraping, and use `dealer.address` or `dealer.dealername` when you need a permanent way to reach the dealer.

**Why is the VIN or MSRP empty on some listings?**
Some sellers don't add the VIN, and listings che168 carries from 瓜子二手车 (Guazi) have none. Some trims have no guide price on che168. Those fields are empty then. On very large runs, if che168 keeps refusing the request that carries the MSRP even through a proxy, the run carries on without MSRP, publish date and inspection report link, and the log says so.

**Why are fewer listings saved than che168 reports?**
che168's count includes cars from other cities for city searches, and listings that are sold while the run is going. Both are left out.

**Do I need a proxy?**
No. The Actor connects directly and switches to [Apify Proxy](https://docs.apify.com/platform/proxy) on its own if che168 starts refusing requests.

**Can I schedule runs or export to Google Sheets?**
Yes. Use [Apify Schedules](https://docs.apify.com/platform/schedules) for recurring runs and [integrations](https://docs.apify.com/platform/integrations) for Google Sheets, Zapier, Make, Slack and webhooks.

**Something is missing or broken?**
Open an issue on the [Issues tab](https://apify.com/parsebird/che168-scraper/issues). Feedback and feature requests are welcome there too.

### Is it legal to scrape che168?

The Actor collects only public listings that che168.com shows to every visitor. It doesn't log in or access any account data. Listings can include dealer names, addresses and phone numbers, and seller notes. Make sure you have a lawful basis to store and use them under China's Personal Information Protection Law (PIPL) and the rules that apply to you, and respect che168's terms when you contact dealers. Read more in Apify's blog post [Is web scraping legal?](https://blog.apify.com/is-web-scraping-legal/)

### Other car and China scrapers

| Actor | What it does |
|-------|--------------|
| [Otomoto.pl Scraper with Contacts](https://apify.com/parsebird/otomoto-scraper) | Scrape Polish car listings and seller phone numbers from Otomoto.pl |
| [Cars.com Scraper with Contacts](https://apify.com/parsebird/cars-com-scraper) | Scrape US car listings and dealer phone numbers from Cars.com |
| [AutoTrader.co.uk Scraper](https://apify.com/parsebird/autotrader-scraper) | Scrape UK car listings from AutoTrader.co.uk |
| [Coches.net Scraper](https://apify.com/parsebird/coches-net-scraper) | Scrape Spanish car and motorcycle listings from Coches.net |
| [IAAI Vehicles Scraper](https://apify.com/parsebird/iaai-vehicles-scraper) | Scrape salvage and insurance auction vehicles from IAAI |
| [Taobao & Tmall Scraper](https://apify.com/parsebird/taobao-tmall-scraper) | Scrape products and prices from Taobao and Tmall |
| [WeChat Official Accounts Scraper](https://apify.com/parsebird/wechat-official-accounts-scraper) | Scrape WeChat official account articles |
| [NetEase Cloud Music Scraper](https://apify.com/parsebird/netease-cloud-music-scraper) | Scrape songs, playlists and artists from NetEase Cloud Music |

# Changelog

This Actor's version history is a separate document: https://apify.com/parsebird/che168-scraper/changelog.md

# Actor input Schema

## `searchUrl` (type: `string`):

Paste any che168.com search results URL, for example https://www.che168.com/beijing/baoma/x5/ or https://www.che168.com/china/dazhong/gaoerfu/10_15/. Nationwide (/china/), province and city searches, brand, series, body type, price band, trim (/s4019-5201/) and the long filter slug (/a0_0ms…/) are all supported. Single-listing URLs are not.

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

Stop after saving this many listings. Keep it low for a cheap first look at the data, then raise it (up to 10,000).

## `enrichPhone` (type: `boolean`):

Get the dealer's virtual phone number (虚拟号) for each listing. It forwards to the dealer's real line. Billed as a separate 'contact' event only for listings where a number is returned.

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

Not needed in most cases. The scraper connects directly and switches to Apify Proxy by itself if che168 starts refusing requests.

## Actor input object example

```json
{
  "searchUrl": "https://www.che168.com/china/dazhong/gaoerfu/",
  "maxResults": 10,
  "enrichPhone": true,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `dataset` (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 = {
    "searchUrl": "https://www.che168.com/china/dazhong/gaoerfu/",
    "maxResults": 10,
    "enrichPhone": true
};

// Run the Actor and wait for it to finish
const run = await client.actor("parsebird/che168-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 = {
    "searchUrl": "https://www.che168.com/china/dazhong/gaoerfu/",
    "maxResults": 10,
    "enrichPhone": True,
}

# Run the Actor and wait for it to finish
run = client.actor("parsebird/che168-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 '{
  "searchUrl": "https://www.che168.com/china/dazhong/gaoerfu/",
  "maxResults": 10,
  "enrichPhone": true
}' |
apify call parsebird/che168-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,parsebird/che168-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/Xu9xq6RXSoRLphY7n/builds/ePZz2I6myHvwrocux/openapi.json
