# che168 Used Car Scraper (`memo23/che168-scraper`) Actor

Used cars from che168.com (二手车之家). Paste a search URL for city, brand, series, and a price band in 万 RMB, or one dealer listing. Each row has asking price, MSRP, discount, mileage, gearbox, fuel, city, photos, dealer id, and the public listing link. Chinese text stays as written. JSON or CSV.

- **URL**: https://apify.com/memo23/che168-scraper.md
- **Developed by:** [Muhamed Didovic](https://apify.com/memo23) (community)
- **Categories:** Lead generation, E-commerce, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $6.00 / 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.

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 Used Car Scraper

**che168 listings as one row per car.** Paste a search URL or a dealer listing and get price, MSRP, mileage, gearbox, fuel, city, photos, and dealer id.

Prices stay in 万 RMB, the unit che168 shows. JSON or CSV from the dataset.

![How the che168 scraper works](https://raw.githubusercontent.com/muhamed-didovic/muhamed-didovic.github.io/main/assets/how-it-works-che168.png)

### Why Use This Scraper?

- Start from the che168 page you already filtered: city, brand, series, and a price band in 万 RMB.
- Or paste one dealer listing URL and get that car alone.
- Mix several URLs in the same run.
- Each row is one car: asking price, guide price, discount, mileage, spec, photos, and dealer id.
- Chinese text is kept as che168 writes it. Nothing is translated.
- Set a max so a first run stays small. Free-plan runs stop at 100 listings.

### Overview

This actor reads public used-car listings on che168.com (二手车之家, part of Autohome). A search URL returns every matching car up to your cap. A dealer URL returns that one car. The dataset has one row per listing, with a public link back to the page.

Dealer phone numbers are not included. The VIN field is present and is null when che168 does not show one.

### Supported Inputs

| URL | What you get |
| --- | --- |
| `https://www.che168.com/china/dazhong/gaoerfu/` | Nationwide Volkswagen Golf |
| `https://www.che168.com/china/dazhong/gaoerfu/10_15/` | Same search, asking price 10 to 15 万 RMB |
| `https://www.che168.com/beijing/baoma/baomax5/` | BMW X5 located in Beijing |
| `https://www.che168.com/china/dazhong/` | One brand, every series |
| `https://www.che168.com/dealer/657344/60474426.html` | One listing |

The series word is the one in the che168 address bar (`gaoerfu`, `baomax5`). A shortened name such as `x5` does not match.

City words that filter to that city: beijing, shanghai, tianjin, chongqing, guangzhou, shenzhen, chengdu, hangzhou, nanjing, wuhan, xian, suzhou, zhengzhou, changsha, shenyang, harbin, qingdao, jinan, dalian, ningbo, xiamen, hefei, fuzhou, kunming, dongguan, foshan, wuxi, changchun, shijiazhuang, nanning, nanchang, taiyuan, guiyang, lanzhou, haikou, huhehaote, wulumuqi, yinchuan, xining, lasa, zhongshan, zhuhai. `china` means nationwide. A city word outside this list is saved as a nationwide search for that brand.

Not supported:

- Hosts other than che168.com
- Body-type words in the path (`suv`, `mpv`) are ignored, not applied as a filter
- Dealer phone numbers
- A full VIN. `vincode` is null on current listings

### Use Cases

| Who | What they pull |
| --- | --- |
| Dealers | Asking price, guide price, and discount on a series in one city |
| Market research | Mileage, registration year, and fuel mix for a price band |
| Lead lists | Dealer id and the public listing URL, with the seller note |
| Analysts | A repeatable export of the same search, newest inventory each run |

### How It Works

1. Paste one or more che168.com URLs.
2. A search URL keeps the city, brand, series, and price band that are already in the address.
3. Each matching listing is opened and saved as one row: price, spec, photos, city, and dealer id.
4. A listing that is gone is skipped. You do not get an empty row for it.
5. Download the dataset as JSON or CSV.

### Input Configuration

| Field | Type | Default | What it does |
| --- | --- | --- | --- |
| `startUrls` | string list | nationwide Golf search | Full che168.com search URLs or dealer listing URLs. Several URLs are fine in one run. |
| `maxItems` | integer | `20` | Stop after this many listings. Minimum 1, maximum 10000. Free-plan runs cap at 100. |

Nationwide Golf between 10 and 15 万:

```json
{
  "startUrls": ["https://www.che168.com/china/dazhong/gaoerfu/10_15/"],
  "maxItems": 20
}
```

Beijing BMW X5, plus one known listing:

```json
{
  "startUrls": [
    "https://www.che168.com/beijing/baoma/baomax5/",
    "https://www.che168.com/dealer/657344/60474426.html"
  ],
  "maxItems": 50
}
```

### Output Overview

One flat object per car. `price` and `guidanceprice` are numbers in 万 RMB (12.88 means 128,800 RMB). `mileage` is in 万 km (3.7 means 37,000 km). `discountPct` is the gap between guide price and asking price, one decimal, and is null when the guide price is missing or not higher than the asking price. `url` is the public dealer page. `piclist` is the photo URLs. `vincode` is null when the listing does not show a VIN.

### Output Samples

Nationwide Golf search `https://www.che168.com/china/dazhong/gaoerfu/10_15/`, run on 15 Nov 2026. The seller note and the photo list are shortened.

```json
{
  "infoid": 60474426,
  "url": "https://www.che168.com/dealer/657344/60474426.html",
  "carname": "高尔夫 2023款 280TSI DSG R-Line",
  "brandname": "大众",
  "seriesname": "高尔夫",
  "brandid": 1,
  "seriesid": 871,
  "specid": 60539,
  "price": 12.88,
  "guidanceprice": 16.58,
  "discountPct": 22.3,
  "mileage": 3.7,
  "firstregyear": "2023年",
  "firstregdate": "2023-03",
  "gearbox": "自动",
  "engine": "1.4T",
  "displacement": "1.4",
  "fuelname": "汽油",
  "colorname": "黑色",
  "cname": "沈阳",
  "countyname": "于洪",
  "cityid": 210100,
  "imageurl": "https://2sc2.autoimg.cn/escimg/auto/g33/M04/2C/B1/640x480_c42_autohomecar__Chto52rztaWACOI9AAea0qf9FyY585.jpg.webp",
  "piclist": ["https://2sc2.autoimg.cn/escimg/auto/g33/M04/2C/B1/1024x768_c42_autohomecar__Chto52rztaWACOI9AAea0qf9FyY585.jpg.webp"],
  "dealerid": 657344,
  "transfercount": 1,
  "remark": "★车辆图片均为真实图片，一车一照…",
  "vincode": null,
  "tags": [],
  "fetchedAt": "2026-11-15T21:47:45.787Z"
}
```

That run saved 5 cars. Prices were 12.88, 10.29, 12.65, 12.68, and 10.5 万, all inside the 10–15 band. Cities were 沈阳, 无锡, 天津, and 哈尔滨.

### Key Output Fields

**Identity.** `infoid` is the listing id. `url` is the public page. `dealerid` is the dealer in that URL. `carname` is the trim. `brandname` and `seriesname` are the brand and series. `brandid`, `seriesid`, and `specid` are the stable che168 ids.

**Price and use.** `price` and `guidanceprice` are 万 RMB. `discountPct` is the percent below the guide price. `mileage` is 万 km. `firstregyear` and `firstregdate` are the first registration. `transfercount` is how many times the car changed owners.

**Spec and place.** `gearbox`, `engine`, `displacement`, `fuelname`, and `colorname` are the spec line. `cname`, `countyname`, and `cityid` are city, district, and city id. `imageurl` is the cover. `piclist` is the rest of the photos. `remark` is the seller note, in Chinese. `tags` are the badges on the card and are often empty. `vincode` is the VIN when the listing shows one, otherwise null. `fetchedAt` is when the row was saved.

### FAQ

**Where do I get the URL?**
Open che168.com, set brand, series, city, and price, then copy the address bar.

**Why did a series URL return nothing?**
The series segment has to match the site. BMW X5 is `baomax5`, not `x5`.

**Are prices in yuan?**
`price` 12.88 is 12.88 万 RMB, about 128,800 RMB. Mileage 3.7 is 3.7 万 km.

**Does the row include the dealer phone?**
No.

**Does the row include the VIN?**
`vincode` is on every row. On listings checked in November 2026 it was null, because the page did not show a VIN.

**Can I pass several cities?**
Yes. Put one URL per city in `startUrls`.

### Support

Questions and failed runs go on this actor's Issues tab in the Apify Console. Include the run id and the che168 URL you pasted.

### Additional Services

Need a scheduled feed, extra columns, or a fixed city list every morning? Open an issue with the URLs and the columns you want.

### Explore More Scrapers

More actors from the same developer: [memo23 on Apify](https://apify.com/memo23).

### 🤖 For AI Agents & LLM Apps

Compact reference for AI agents calling this actor via the [Apify MCP server](https://mcp.apify.com) or the Apify API (actor: `memo23/che168-scraper`).

**Purpose:** Used-car rows from che168.com, one per listing, with price in 万 RMB, spec, photos, city, and dealer id.

**Minimal input:**

```json
{ "startUrls": ["https://www.che168.com/china/dazhong/gaoerfu/10_15/"], "maxItems": 20 }
```

**Output:** one dataset row per car — infoid, url, carname, brandname, seriesname, brandid, seriesid, specid, price, guidanceprice, discountPct, mileage, firstregyear, firstregdate, gearbox, engine, displacement, fuelname, colorname, cname, countyname, cityid, imageurl, piclist, dealerid, transfercount, remark, vincode, tags, fetchedAt.

**Behaviors an agent should know:**

- Always set `maxItems`. Default is 20. Free-plan runs cap at 100.
- `startUrls` is the only input besides the cap. An empty list falls back to nationwide Volkswagen Golf with no price band.
- The series slug must be the path segment che168 uses (`gaoerfu`, `baomax5`).
- `vincode` is null when the listing shows no VIN. Dealer phone is not a field.
- `price` and `mileage` use 万 (12.88 price means 128,800 RMB, 3.7 mileage means 37,000 km).
- Billing is on the actor Pricing tab once the actor is published. This build does not add a charge inside the run.

### ⚠️ Disclaimer

This Actor is an independent tool and is not affiliated with, endorsed by, or sponsored by Autohome Inc. or any of its subsidiaries. che168.com and 二手车之家 are trademarks of their owners. All trademarks mentioned are the property of their respective owners.

The scraper accesses only publicly available listing pages. It does not log in, and it does not read dealer-only tools. Users are responsible for ensuring their use complies with che168.com's Terms of Service, applicable data-protection law (GDPR, CCPA, and the laws of the People's Republic of China), and any contractual obligations of their own organisation.

### SEO Keywords

che168 scraper, che168.com scraper, scrape che168, che168 api, Apify che168, 二手车 scraper, Autohome used car scraper, China used car listings, used car price China, che168 dealer listings, 万 RMB car prices, Volkswagen Golf che168, BMW X5 che168, China car market data, used car inventory export, dealer listing URL, car spec export, Chinese used car data, che168 search URL, city car listings China

# Actor input Schema

## `startUrls` (type: `array`):

Full che168.com URLs. A search looks like https://www.che168.com/china/dazhong/gaoerfu/10_15/ (nationwide Volkswagen Golf, 10 to 15 万 RMB) or https://www.che168.com/beijing/baoma/baomax5/ (Beijing BMW X5). A single listing looks like https://www.che168.com/dealer/657344/60474426.html. The series word must be the one in the site address (gaoerfu, baomax5), not a shortened name. Default when empty: the nationwide Golf search above, without a price band.

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

Stop after this many listings. Default 20, so a first run stays small. Minimum 1, maximum 10000. Example: 100. On the free Apify plan the run is capped at 100 even if this is higher.

## Actor input object example

```json
{
  "startUrls": [
    "https://www.che168.com/china/dazhong/gaoerfu/10_15/"
  ],
  "maxItems": 20
}
```

# 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 = {
    "startUrls": [
        "https://www.che168.com/china/dazhong/gaoerfu/10_15/"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("memo23/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 = { "startUrls": ["https://www.che168.com/china/dazhong/gaoerfu/10_15/"] }

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

```

## MCP server setup

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