# Che168 API: Chinese Used Car Listings (`apiauto_space/che168-api`) Actor

Chinese used-car listings from Che168 as clean JSON: make, model, year, mileage, price. From the apiauto.space team, not affiliated with Che168 or Autohome. Does not scrape: reads the apiauto.space API with your own key.

- **URL**: https://apify.com/apiauto_space/che168-api.md
- **Developed by:** [Apiauto Space](https://apify.com/apiauto_space) (community)
- **Categories:** Developer tools, E-commerce
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

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

## 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 API: Chinese Used Car Listings

Get Chinese used-car listings from Che168 as clean JSON: make, model, trim, year, mileage, price in CNY and USD, fuel, body type, city, photos and the listing link.
This Actor is made and maintained by the apiauto.space team. It is not affiliated with Che168 or Autohome. It does not scrape che168.com: it reads a ready catalog through the apiauto.space API.
You need your own apiauto.space API key to run it. Apify does not sell that key.

### What data you get

Each car is one record in the dataset.

| Field | What it holds |
| --- | --- |
| `title`, `brand`, `model`, `trim` | Year, make, model and full version name, in Latin script |
| `year`, `mileage_km` | Year of first registration and mileage in kilometres |
| `model_year`, `registration_date` | Model year from the version name (null when it has none), and month of first registration as YYYY-MM |
| `price`, `price_usd` | Asking price in CNY, and in US dollars at the ECB daily rate, as decimal strings |
| `fuel`, `transmission`, `engine_cc`, `body_type`, `color` | Specifications |
| `power_hp`, `power_kw`, `power_kind` | Power from the listing; for hybrids and range extenders the engine alone |
| `location` | Country, region and city |
| `photos`, `photo_count` | Signed photo links, valid for about a day, and their number |
| `listing_url` | The listing at the source |
| `is_active`, `first_seen_at`, `last_seen_at`, `disappeared_at` | Whether the car is on sale, and when it was seen |
| `raw` | A few source-only fields, such as drive type and the full first registration date |

Values the source does not give are `null`. Che168 does not give VINs, so `vin` is always `null`.

### How to use it

1. Enter your API key.
2. Set filters, or leave them empty to get the newest listings.
3. Set **Maximum records**: 20 by default, up to 1000 per run.
4. Run the Actor, then export the dataset as JSON, CSV or Excel, or read it through the Apify API.

#### Input example

```json
{
  "apiKey": "YOUR_API_KEY",
  "brand": "BYD",
  "model": "Han",
  "yearMin": 2021,
  "priceMaxCny": 200000,
  "mileageMaxKm": 60000,
  "sort": "price",
  "maxRecords": 20
}
```

#### Output example

```json
{
  "id": "che168:60386128",
  "market": "cn",
  "source": "che168",
  "source_id": "60386128",
  "title": "2022 Audi Q3",
  "brand": "Audi",
  "model": "Q3",
  "generation": null,
  "trim": "Audi Q3 2022 35 Tfsi Fashionable And Dynamic",
  "year": 2022,
  "mileage_km": 25000,
  "fuel": "gasoline",
  "transmission": "automatic",
  "engine_cc": 1395,
  "body_type": "suv",
  "color": "White",
  "vin": null,
  "price": { "amount": "119000.00", "currency": "CNY" },
  "price_usd": "17886.98",
  "location": { "country": "CN", "region": null, "city": "Datong" },
  "photos": ["https://api.apiauto.space/img/che168:60386128/1.jpg?exp=<expiry>&sig=<signature>"],
  "photo_count": 16,
  "listing_url": "https://www.che168.com/dealer/563249/60386128.html",
  "is_active": true,
  "first_seen_at": "2026-11-02T12:58:58.289988Z",
  "last_seen_at": "2026-11-02T12:58:58.289988Z",
  "disappeared_at": null,
  "updated_at": "2026-11-02T12:58:58.289988Z",
  "raw": { "drive": "fwd", "power_hp": 150, "first_registration": "2022-06-01" }
}
```

#### Change feed

Set **What to fetch** to the change feed to get events since a moment instead of cars: `added`, `disappeared`, `price_drop` and `price_up`. Use it on a schedule to track new cars and price changes. The feed needs a key on the Pro plan or higher; with a lower plan the run stops with a message that says so. Car filters do not apply to the feed.

### What it costs

| Who charges | For what |
| --- | --- |
| This Actor | No Actor fee |
| Apify | Your usual platform usage for the run |
| The key provider | The key itself, paid separately, outside Apify |

Every car or event returned spends one record of your key's quota.

**Maximum records** ends the run once that many records are saved. The Actor does not repeat a request after a network failure or a timeout, because the API may already have counted it. It repeats a request up to two times after an answer of 429, 500, 502 or 503. A response lost on the way, or a server error, may still be counted without any records reaching you.

### How your API key is handled

- The field is an Apify secret input. Apify keeps your input, with the key encrypted, in the `INPUT` record of the run's key-value store, and only the Actor can decrypt it.
- If you run the Actor on your own computer with `apify run`, the input stays in plain text in the local `storage/` folder. Delete that folder afterwards.
- The key is sent only to `api.apiauto.space`, over HTTPS, in a request header.
- The Actor does not write it to the log or the dataset, adds no other copies to the key-value store, and does not quote it in error messages.
- Requests go to one fixed address: the input cannot change it, and redirects are refused.

### Errors

| Message | What to do |
| --- | --- |
| The API key was refused | Check the key. It may be wrong or revoked, or its subscription may have ended |
| The quota of this key is spent | Wait until the date in the message or change the plan. Records saved before this stay in the dataset |
| This key's plan does not include the China market | Use a key whose plan includes the `cn` market |
| The change feed is available on the Pro plan and higher | Use search mode or change the plan |
| Too many requests | The Actor already retried. Wait and run again |
| The API is temporarily unavailable | Run again later. Records already saved stay in the dataset |
| Could not get an answer from the API | Run again later. This request was not repeated, and it may have been counted |
| The run limit of 10 minutes was reached | Lower **Maximum records** or run again later |

### How it compares with scrapers

| | This Actor | Che168 scrapers on Apify |
| --- | --- | --- |
| Data source | A ready catalog through an API | The site, at the time of the run |
| What you pay for | Apify usage and a separate key | Usually a price per result on Apify |
| Setup | Needs a key from outside Apify | Usually no outside key |
| Site changes and captchas | Handled on the catalog side | Can affect a run |
| Freshness | A copy, which can be behind the source | Live, when the run succeeds |
| Fields | One format, with source-only fields in `raw` | Depends on the Actor; some give more dealer details |

Choose a scraper if you do not want a separate key or need a field this catalog does not have. This Actor suits regular reads in a stable format.

### FAQ

#### Is this an official Che168 or Autohome API?

No. It comes from the apiauto.space team, an independent service that is not affiliated with, sponsored by or endorsed by Che168 or Autohome.

#### Does this Actor scrape che168.com?

No. It only calls the apiauto.space API. How that catalog is kept up to date is the provider's side of the service.

#### Where do I get a key?

The key comes from apiauto.space, an independent service that is not part of Apify. Apify does not sell the key and does not handle its payment.

#### How fresh is the data?

The catalog is a copy of the source, so it can be behind it. A car can sell before it disappears from the catalog.

#### Is there a "sold" status?

No. A car taken off sale gets `is_active: false` and `disappeared_at`, and stays readable for 14 days through the API. Prices are asking prices at the source, so check them with the seller.

#### Can I use the data for anything?

You are responsible for using the data lawfully and in line with the rules that apply to you.

### Support

Open an issue in the **Issues** tab of this Actor.

# Actor input Schema

## `apiKey` (type: `string`):

Your apiauto.space API key. It is stored encrypted, sent only to api.apiauto.space in a request header, and never written to the log or the results.

## `mode` (type: `string`):

Search returns cars that match the filters. The change feed returns events since a moment and is available on the Pro plan and higher.

## `maxRecords` (type: `integer`):

The run stops after this many cars or events, up to 1000 per run. Each one spends a record of your quota. A response lost to a network failure or a server error may still be counted.

## `brand` (type: `string`):

Make in Latin script, for example BYD or Toyota. Case, spaces and hyphens are ignored.

## `model` (type: `string`):

Model in Latin script, for example Han or CS55 Plus. Case, spaces and hyphens are ignored.

## `yearMin` (type: `integer`):

Earliest model year.

## `yearMax` (type: `integer`):

Latest model year.

## `priceMinCny` (type: `integer`):

Lowest price in Chinese yuan.

## `priceMaxCny` (type: `integer`):

Highest price in Chinese yuan.

## `priceMinUsd` (type: `integer`):

Lowest price in US dollars, converted at the ECB daily rate.

## `priceMaxUsd` (type: `integer`):

Highest price in US dollars, converted at the ECB daily rate.

## `mileageMaxKm` (type: `integer`):

Highest mileage in kilometres.

## `sort` (type: `string`):

Order of the cars.

## `changesSince` (type: `string`):

ISO 8601 date and time with a time zone, for example 2026-11-01T00:00:00Z. If empty, the last 24 hours.

## `changeTypes` (type: `array`):

If empty, every type.

## Actor input object example

```json
{
  "mode": "search",
  "maxRecords": 20,
  "sort": "-first_seen"
}
```

# Actor output Schema

## `results` (type: `string`):

Cars in search mode, events in change-feed mode, as JSON

# 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 = {
    "mode": "search",
    "maxRecords": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("apiauto_space/che168-api").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 = {
    "mode": "search",
    "maxRecords": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("apiauto_space/che168-api").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 '{
  "mode": "search",
  "maxRecords": 20
}' |
apify call apiauto_space/che168-api --silent --output-dataset

```

## MCP server setup

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

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/10LZQCbDsbrDB9eWM/builds/fXvK3SmORTtRSDuEe/openapi.json
