Skip to main content

Che168.com Parser Quick Start Guide - Get Started in Minutes

Get started with Che168.com parser in minutes. Extract Chinese automotive data with just a few lines of code.

What You'll Learn
  • Set up API authentication in under 5 minutes
  • Make your first request to extract Chinese vehicle data
  • Understand API responses and data structure
  • Handle common use cases for Chinese market analysis
  • Troubleshoot issues and get help when needed

Quick Start

Prerequisites​

Before You Begin
  • API Key: Get your API key from the Carapis Dashboard
  • Programming Language: Choose your preferred language (JavaScript, Python, cURL)
  • Internet Connection: Stable connection for API requests
  • Chinese Market Knowledge: Basic understanding of the Chinese automotive market
System Requirements
RequirementMinimumRecommended
API KeyValid Carapis keyChe168.com parser access
ProgrammingAny languageJavaScript, Python, cURL
NetworkStable internetHigh-speed connection
KnowledgeBasic API conceptsChinese automotive market

Step 1: Get Your API Key​

Sign Up for Carapis​

  1. Visit Carapis Dashboard
  2. Create account with your email and password
  3. Verify email to activate your account
  4. Complete profile with your business information

Generate API Key​

  1. Navigate to the API Keys section in your dashboard
  2. Select Che168.com parser from available parsers
  3. Create a new API key with appropriate permissions
  4. Copy your API key and store it securely
API Key Format

Your API key will look like this: che168_parser_sk_1234567890abcdef1234567890abcdef

Security Best Practices
  • Never share your API key publicly
  • Store securely in environment variables
  • Rotate regularly for enhanced security
  • Monitor usage to prevent abuse

Step 2: Make Your First Request​

JavaScript Example​

const che168Parser = new CarapisParser({
platform: 'che168.com',
apiKey: 'che168_parser_sk_1234567890abcdef1234567890abcdef',
region: 'china',
options: {
dataFields: ['price', 'specifications', 'location'],
maxResults: 10,
},
});

// Extract vehicle listings
async function getVehicles() {
try {
const vehicles = await che168Parser.extractListings({
filters: {
brand: 'BYD',
yearFrom: 2022,
priceMax: 400000,
location: 'Beijing',
},
});

console.log(`Found ${vehicles.length} BYD vehicles from 2022+ under 400K CNY`);
console.log('First vehicle:', vehicles[0]);
} catch (error) {
console.error('Error:', error.message);
}
}

getVehicles();

Python Example​

from carapis import Che168Parser

# Initialize parser
parser = Che168Parser(
api_key="che168_parser_sk_1234567890abcdef1234567890abcdef",
region="china",
data_fields=["price", "specifications", "market_data"]
)

# Extract market data
try:
vehicles = parser.extract_listings(
filters={
"brand": "NIO",
"body_type": "SUV",
"price_min": 300000,
"location": "Shanghai"
},
limit=10
)

print(f"Found {len(vehicles)} NIO SUVs above 300K CNY in Shanghai")
print("Sample vehicle:", vehicles[0] if vehicles else "No vehicles found")

except Exception as e:
print(f"Error: {e}")

cURL Example​

curl -X POST "https://api.carapis.com/v1/parsers/che168.com/extract" \
-H "Authorization: Bearer che168_parser_sk_1234567890abcdef1234567890abcdef" \
-H "Content-Type: application/json" \
-d '{
"filters": {
"brand": "BYD",
"yearFrom": 2022,
"priceMax": 400000
},
"options": {
"limit": 10,
"dataFields": ["price", "specifications", "location"]
}
}'

Step 3: Understand the Response​

Response Structure

The API returns structured JSON data with comprehensive vehicle information:

{
"success": true,
"data": {
"vehicles": [
{
"id": "che168_12345",
"title": "2023 比亚迪汉 EV 创䞖版",
"english_title": "2023 BYD Han EV Creation Edition",
"brand": "BYD",
"model": "Han",
"trim": "Creation Edition",
"year": 2023,
"engine": "Electric",
"transmission": "Single-speed",
"fuel_type": "Electric",
"mileage": {
"value": 8000,
"unit": "km",
"formatted": "8,000 km"
},
"price": {
"amount": 280000,
"currency": "CNY",
"formatted": "Â¥280,000",
"negotiable": true
},
"location": {
"city": "Beijing",
"region": "Chaoyang District",
"address": "朝阳区建囜闚倖倧街1号",
"coordinates": {
"lat": 39.9042,
"lng": 116.4074
}
},
"seller": {
"type": "dealer",
"name": "北京比亚迪4S店",
"english_name": "Beijing BYD 4S Store",
"rating": 4.6,
"reviews_count": 89,
"certified": true,
"phone": "+86-10-1234-5678"
},
"specifications": {
"battery_capacity": "85.4kWh",
"range": "715km",
"power": "380kW",
"torque": "700Nm",
"acceleration": "3.9s (0-100km/h)",
"seats": 5,
"doors": 4,
"color": "Dragon Red",
"interior_color": "Black"
},
"features": ["Electric Vehicle", "Long Range Battery", "Fast Charging", "Autonomous Driving", "Premium Sound System", "Panoramic Sunroof"],
"history": {
"accident_free": true,
"owners_count": 1,
"import_type": "domestic",
"warranty": "8 years battery warranty"
},
"market_data": {
"days_listed": 5,
"views": 75,
"price_trend": "stable",
"market_position": "competitive"
}
}
],
"pagination": {
"total": 2500,
"page": 1,
"per_page": 50,
"has_more": true
},
"metadata": {
"extraction_time": "2024-01-15T10:30:00Z",
"region": "china",
"filters_applied": {
"brand": "BYD",
"yearFrom": 2022,
"priceMax": 400000
}
}
}
}

Step 4: Common Use Cases​

Extract BYD Vehicles in Beijing​

Beijing Market Analysis
const beijingVehicles = await che168Parser.extractListings({
filters: {
brand: 'BYD',
location: 'Beijing',
yearFrom: 2021,
},
options: {
sortBy: 'price',
sortOrder: 'asc',
},
});

Get SUV Market Analysis for China​

SUV Market Data
suv_data = parser.extract_listings(
filters={
"body_type": "SUV",
"price_min": 200000,
"year_from": 2020
},
options={
"group_by": "brand",
"include_stats": True
}
)

Monitor Dealer Inventory Across Regions​

Regional Monitoring
const regionalData = await che168Parser.extractListings({
filters: {
sellerType: 'dealer',
},
options: {
groupBy: 'location',
includeStats: true,
},
});

Troubleshooting Common Issues​

Authentication Errors​

API Key Issues
  • Invalid API key: Check your key format and validity
  • Expired key: Generate a new API key from dashboard
  • Insufficient permissions: Ensure Che168.com parser access
  • Rate limiting: Check your usage limits and quotas

Data Extraction Issues​

Common Problems
IssueCauseSolution
No resultsFilters too restrictiveBroaden search criteria
Partial dataRate limitingReduce request frequency
Timeout errorsNetwork issuesCheck connection stability
Invalid filtersWrong parameter namesCheck API documentation

Performance Optimization​

Best Practices
  • Use appropriate limits to avoid overwhelming the API
  • Implement caching for frequently requested data
  • Batch requests when possible for better efficiency
  • Monitor rate limits to stay within quotas

Next Steps​

Ready to Go Deeper?
  1. View Features - Explore all available capabilities
  2. API Reference - Complete API documentation
  3. Market Analysis - Chinese market insights
  4. FAQ - Common questions and solutions
Need Help?

Pro Tips​

For Production Use
  • Implement error handling for robust applications
  • Use environment variables for API key management
  • Add logging for debugging and monitoring
  • Set up alerts for API failures and rate limits
  • Test thoroughly before deploying to production
Chinese Market Insights
  • Focus on major brands like BYD, NIO, XPeng, and Tesla
  • Consider regional preferences across Chinese provinces
  • Monitor EV market trends in the Chinese automotive market
  • Track import vehicle demand and pricing

Start extracting Chinese automotive data with the Che168.com parser today!

Get Your API Key →