# Guazi Used Cars Scraper (`natanielsantos/guazi-used-cars-scraper`) Actor

- **URL**: https://apify.com/natanielsantos/guazi-used-cars-scraper.md
- **Developed by:** [Nataniel Santos](https://apify.com/natanielsantos) (community)
- **Categories:** Automation, Developer tools, Other
- **Stats:** 2 total users, 1 monthly users, 93.8% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.80 / 1,000 results

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?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

### What does Guazi Used Cars Scraper do?

Guazi Used Cars Scraper is an Apify actor that scrapes used car listings from Guazi (en.guazi.com) and extracts comprehensive vehicle data. It collects product details, pricing information, vehicle specifications, battery data for electric vehicles, and seller information.

### Features

- 🚗 Scrape used car listings with complete vehicle data
- ⚡ Fast and reliable scraping with automatic retries
- 🔍 Advanced filtering support (price, brand, fuel type, mileage, battery capacity, etc.)
- 🧑‍💻 Perfect for non-technical users
- 🔒 No need for authentication
- 📦 Outputs data in JSON format for easy integration with other tools
- 🔄 Support for multiple trade types (Buy It Now, Sealed Bid, Live Auction)

### 🎯 Who Is This For?

- Used car dealers looking to monitor competitor listings
- Automotive market researchers analyzing vehicle pricing trends
- Data analysts conducting market research on used car platforms
- Developers needing Guazi used car data for their applications
- Business intelligence professionals tracking inventory changes

### ⬇️ What You Need to Provide

- 🔗 **Start URLs**: A list of Guazi search URLs to scrape listings from
- 🗺️ **Language**: Language code corresponding to the Guazi site (`same_as_url`, `en`, `it`, `ar`, `ru`, `fr`, `es`, `pt`, `de`, `pl` and `cs`).
- 🌍 **Site Country**: Country code corresponding to the Guazi site (`global`, `algeria`, `georgia` and `ghana`)
- 🎯 **Max Items per URL**: Maximum number of items to extract per URL (default: 50)

#### Example URLs:

- `https://en.guazi.com/used-cars?tradeType=buyItNow`
- `https://it.guazi.com/used-cars?tradeType=buyItNow&brandId=218212`
- `https://ar.guazi.com/used-cars?tradeType=buyItNow&price=5000,15000&fuelType=20`

### 📦 What You'll Get (Output)

The actor outputs a dataset containing the following fields for each used car listing:

#### Core Vehicle Information

- `productId`: Unique product identifier
- `carId`: Vehicle ID in Guazi database
- `url`: Direct link to the vehicle listing
- `title`: Vehicle name/model
- `image`: Primary vehicle image URL
- `brandName`: Vehicle brand name
- `seoUri`: SEO-friendly URL segment

#### Pricing Information

- `price`: Current listing price
- `linePrice`: Original line price
- `activityDiscountAmount`: Discount amount if applicable
- `exchangeRate`: Currency exchange rate

#### Vehicle Specifications

- `mfgDate`: Manufacturing date (YYYY.MM format)
- `licenseDate`: License/registration date
- `mileage`: Current mileage
- `fuelType`: Fuel type code
- `fuelTypeName`: Fuel type name (e.g., BEV, Gasoline, etc.)
- `engine`: Engine displacement
- `transmission`: Transmission type
- `brandId`: Brand identifier
- `seriesId`: Series/model identifier

#### Electric Vehicle Information

- `isElectrified`: Boolean indicating if vehicle is electric
- `batteryCapacity`: Battery capacity (kWh)
- `evRange`: Electric vehicle range (km)
- `totalRange`: Total driving range

#### Certification & Status

- `labels`: List of vehicle labels/certifications with type, name, and descriptions
  - Grade rating (e.g., Grade A)
  - Certified Dealer status
  - Guazi Inspection status
  - SOH (State of Health) percentage for batteries
  - And more certification details
- `productStatus`: Product status code
- `showPrice`: Price visibility flag
- `businessType`: Business type code
- `guaziOwned`: Guazi ownership flag

#### Auction Information

- `auctionEnName`: Auction name (if applicable)
- `auctionType`: Auction type code
- `auctionTypeText`: Auction type text
- `auctionMark`: Auction mark/identifier
- `previewEndTime`: Auction preview end time
- `countDown`: Countdown timer
- `sequence`: Auction sequence number

#### Additional Metadata

- `displaySale`: Display for sale flag
- `productLabels`: Array of product label IDs
- `isCollection`: Collection flag

### 📋 Output Example

```json
{
    "url": "https://en.guazi.com/products/aion-y-2023-00l-gray-101600km-at-2wd-5-seats-d9w3vy4a4f.html",
    "productId": "d9w3vy4a4f",
    "image": "https://image-oversea.guazistatic-global.com/ovp/product/prod/aion-y-2023-dark-grey-d9w3vy4a4f-xsc.jpg",
    "title": "Used AION Y 2023 Younger",
    "mfgDate": "2023.03",
    "licenseDate": "20230414",
    "mileage": "101,600km",
    "fuelTypeName": "BEV",
    "fuelType": 20,
    "engine": null,
    "transmission": null,
    "batteryCapacity": "51.9kWh",
    "evRange": "430km(CLTC)",
    "totalRange": null,
    "isElectrified": true,
    "price": "$10,000",
    "brandName": "AION",
    "carId": 218212,
    "productStatus": 1,
    "isCollection": 0,
    "labels": [
        { "type": 2, "name": "Grade A", "value": null },
        {
            "type": 12,
            "name": "Electric",
            "value": "Powered solely by electricity, it uses zero fuel, emits zero tailpipe pollution, and offers a quiet, smooth ride."
        },
        {
            "type": 10,
            "name": "Certified Dealer",
            "value": "Sourced from our platform. Certified partner dealers with abundant stock. High transaction reliability, fully backed by Guazi for secure, hassle-free buying."
        },
        {
            "type": 16,
            "name": "SOH 93%",
            "value": "The ratio of the battery's current maximum available capacity to its original factory capacity."
        },
        {
            "type": 5,
            "name": "Guazi Inspected",
            "value": "This car has passed Guazi's official inspection and obtained the \"Guazi Official Inspection Report\", ruling out major accidents, fire damage, water damage and other issues."
        }
    ],
    "auctionEnName": null,
    "previewEndTime": null,
    "auctionType": null,
    "auctionTypeText": null,
    "sequence": null,
    "exchangeRate": "6.712000",
    "businessType": 1,
    "displaySale": 0,
    "countDown": null,
    "auctionMark": null,
    "brandId": 103885,
    "seriesId": 162585,
    "linePrice": "$10,600",
    "activityDiscountAmount": "$600",
    "showPrice": 1,
    "productLabels": ["117801", "180002", "190001", "190002", "190003", "178004", "190004"],
    "guaziOwned": null
}
```

### 🧩 Integrations and Guazi Used Cars Scraper

Guazi Used Cars Scraper can be connected with almost any cloud service or web app thanks to [integrations on the Apify platform](https://apify.com/integrations). You can integrate with Make, Zapier, Slack, Airbyte, GitHub, Google Sheets, Google Drive, [and more](https://docs.apify.com/integrations). Or you can use [webhooks](https://docs.apify.com/integrations/webhooks) to carry out an action whenever an event occurs, e.g. get a notification whenever Guazi Used Cars Scraper successfully finishes a run.

### 🔌 Using Guazi Used Cars Scraper with the Apify API

The Apify API gives you programmatic access to the Apify platform. The API is organized around RESTful HTTP endpoints that enable you to manage, schedule, and run Apify actors. The API also lets you access any datasets, monitor actor performance, fetch results, create and update versions, and more.

To access the API using Node.js, use the apify-client NPM package. To access the API using Python, use the apify-client PyPI package.

Check out the [Apify API reference](https://docs.apify.com/api/v2) docs for full details or click on the [API tab](https://apify.com/natanielsantos/guazi-used-cars-scraper/api) for code examples.

### 💬 Giving Feedback

We're always working on improving the performance of our Actors. So if you've got any technical feedback for Guazi Used Cars Scraper or simply found a bug, please create an issue on the Actor's [Issues tab](https://apify.com/natanielsantos/guazi-used-cars-scraper/issues/open) in Apify Console.

📧 Email: nathan.santos159@hotmail.com

# Actor input Schema

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

List of starting URLs for the scraper. Each URL should point to a used cars listing page on Guazi's website.

## `maxItemsPerUrl` (type: `integer`):

Maximum number of items to enqueue per URL.

## `siteCountry` (type: `string`):

Select the site country for the scraper. Accepted values are: global, algeria, georgia, ghana.

## `language` (type: `string`):

Language for the scraper. Accepted values are: en, ar, ru, fr, es, pt, de, pl, cs, it.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://en.guazi.com/used-cars?brandId=1207&roadHaul=24000%2C&detectionLevels=S&fuelType=2&page=1"
    }
  ],
  "maxItemsPerUrl": 50,
  "siteCountry": "global",
  "language": "same_as_url"
}
```

# 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": [
        {
            "url": "https://en.guazi.com/used-cars?brandId=1207&roadHaul=24000%2C&detectionLevels=S&fuelType=2&page=1"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("natanielsantos/guazi-used-cars-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": [{ "url": "https://en.guazi.com/used-cars?brandId=1207&roadHaul=24000%2C&detectionLevels=S&fuelType=2&page=1" }] }

# Run the Actor and wait for it to finish
run = client.actor("natanielsantos/guazi-used-cars-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": [
    {
      "url": "https://en.guazi.com/used-cars?brandId=1207&roadHaul=24000%2C&detectionLevels=S&fuelType=2&page=1"
    }
  ]
}' |
apify call natanielsantos/guazi-used-cars-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,natanielsantos/guazi-used-cars-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/gfhoogZ4jRWaAdSpk/builds/8Wh7adzxr5JpEDucb/openapi.json
