API Endpoints
Complete reference of all available API endpoints.
Base URL
All API requests should be made to:
https://api.carapis.com/v1
Encar Parser Endpoints
Get Vehicles
GET /encar/vehicles
Parameters:
make(optional): Vehicle makemodel(optional): Vehicle modelyear(optional): Vehicle yearprice_min(optional): Minimum priceprice_max(optional): Maximum pricelimit(optional): Number of results (default: 50, max: 100)
Response:
{
"data": [
{
"id": "12345",
"make": "Hyundai",
"model": "Sonata",
"year": 2020,
"price": 25000000,
"mileage": 50000,
"location": "Seoul",
"seller": "Dealer Name",
"url": "https://encar.com/vehicle/12345"
}
],
"pagination": {
"total": 150,
"page": 1,
"limit": 50,
"pages": 3
}
}
Get Vehicle Details
GET /encar/vehicles/{id}
Response:
{
"data": {
"id": "12345",
"make": "Hyundai",
"model": "Sonata",
"year": 2020,
"price": 25000000,
"mileage": 50000,
"location": "Seoul",
"seller": "Dealer Name",
"specifications": {
"engine": "2.0L",
"transmission": "Automatic",
"fuel_type": "Gasoline",
"color": "White"
},
"images": ["https://example.com/image1.jpg", "https://example.com/image2.jpg"],
"description": "Vehicle description...",
"url": "https://encar.com/vehicle/12345"
}
}
Che168 Parser Endpoints
Get Vehicles
GET /che168/vehicles
Parameters:
brand(optional): Vehicle brandseries(optional): Vehicle seriesyear(optional): Vehicle yearprice_min(optional): Minimum priceprice_max(optional): Maximum pricelimit(optional): Number of results (default: 50, max: 100)
Get Vehicle Details
GET /che168/vehicles/{id}
Common Parameters
All endpoints support these common parameters:
format(optional): Response format (json,xml) - default:jsonlanguage(optional): Response language (en,ko,zh) - default:en