# CarTrade Scraper - India Used Cars From Dealers (`scrapewise/cartrade-scraper`) Actor

Scrape cartrade.com used-car listings from Indian dealers: price in INR, mileage, fuel, transmission, owners, dealer id and description. Private sellers are skipped. No login. Closed listings and error rows are free.

- **URL**: https://apify.com/scrapewise/cartrade-scraper.md
- **Developed by:** [Scrapewise Data](https://apify.com/scrapewise) (community)
- **Categories:** E-commerce
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.76 / 1,000 listing delivereds

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?

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

## CarTrade Scraper: used-car listings from Indian dealers

This CarTrade scraper collects **used-car listings from dealers on cartrade.com**, the Indian car marketplace. Give it a brand list, a city list or a single listing link. Each dealer listing comes with its name, make, model, year, asking price in INR, odometer reading, fuel, transmission, colour, number of previous owners, the dealer's number on the site, the city and the seller's description. No account or login is needed.

Private sellers are left out on purpose: a listing is delivered only when its page shows a dealer. Those listings are not delivered and not charged.

Use it to track asking prices of a brand in one city, compare dealers across cities, watch mileage and price ranges, or build a used-car dataset for research and pricing models.

### At a glance

| What | Price |
|---|---|
| Dealer listing delivered | **US$ 1.00 per 1,000 listings** (US$ 0.001 each) |
| Run start | US$ 0.001 per run |

- 100 listings delivered = **US$ 0.10** plus the run start.
- Private-seller listings, error rows, duplicates and listings already delivered in an earlier run after a restart are never charged.
- `maxItems` is a hard cap. A spending limit set on the run stops it cleanly with everything delivered so far.
- Each listing page is read in full, so a run costs more in data read than in listings delivered. The run log and the dataset show how many listings each list link gave.

### Quick start

A brand in one city, two pages of results:

```json
{
  "startUrls": [{ "url": "https://www.cartrade.com/second-hand/bangalore/hyundai/" }],
  "maxPagesPerLink": 2,
  "maxItems": 30
}
```

A brand across the whole country, under 10 lakh INR and under 60,000 km:

```json
{
  "startUrls": [{ "url": "https://www.cartrade.com/second-hand/hyundai/" }],
  "maxPagesPerLink": 3,
  "maxPrice": 1000000,
  "maxMileageKm": 60000,
  "maxItems": 100
}
```

One listing, by its link:

```json
{
  "startUrls": [{ "url": "https://www.cartrade.com/second-hand/bangalore/hyundai-verna/rmsqa1tk/?dc=0" }]
}
```

### Input

| Field | Type | Default | What it does |
|---|---|---|---|
| `startUrls` | list of links | Bangalore Hyundai list | A brand and city list (`/second-hand/<city>/<brand>/`), a brand list (`/second-hand/<brand>/`), a city list (`/second-hand/<city>/`) or one listing link. |
| `maxPagesPerLink` | integer | 3 | How many result pages to read for each list link (1 to 50). |
| `minPrice` | integer | none | Only listings priced at least this much, in INR. |
| `maxPrice` | integer | none | Only listings priced at most this much, in INR. |
| `maxMileageKm` | integer | none | Only cars with at most this many kilometres. Listings with no mileage are left out when this is set. |
| `includeDescription` | boolean | true | Adds the seller's description as plain text. Turn it off for a faster run. |
| `maxItems` | integer | 30 | Most dealer listings delivered in one run. `0` means no limit. |
| `proxyConfiguration` | object | default connection | Connection for the run. The default works for most users. |

Prices are in **INR** (Indian rupees). 1 lakh is 100,000 INR and 1 crore is 10,000,000 INR. The Actor does not convert them.

If the input has no link, the Actor reads the example list (Bangalore, Hyundai), so an empty run still returns real rows.

### Output fields

| Field | Type | Meaning |
|---|---|---|
| `type` | text | `listing` for a delivered dealer listing, `error` for a free error row. |
| `carId` | text | Listing code in the link. |
| `title` | text | Car name as the listing shows it. |
| `brand` | text | Car make. |
| `model` | text | Car model range. |
| `year` | integer | Manufacturing year. |
| `price` | number | Asking price in INR. |
| `priceCurrency` | text | Always `INR`. |
| `mileageKm` | integer | Odometer reading in kilometres. |
| `fuelType` | text | Fuel, for example Petrol, Diesel or CNG. |
| `transmission` | text | Transmission, for example Manual or Automatic. |
| `color` | text | Colour of the car. |
| `previousOwners` | integer | Number of previous owners. |
| `inStock` | boolean | `true` when the listing is marked as available. |
| `dealerId` | text | The dealer's number on cartrade.com. It identifies the company, not a person. |
| `sellerType` | text | Always `dealer`. |
| `city` | text | City of the listing, taken from its link. |
| `url` | text | Listing link. |
| `description` | text | The seller's description as plain text. Empty when `includeDescription` is off. |
| `sourceQuery` | text | The list link that found the listing, or the listing link you gave. |
| `scrapedAt` | text | UTC time the row was written. |
| `errorCode` | text | Error code on error rows, empty on listing rows. |
| `error` | text | Error message on error rows. |

### Example output

One real row from a run on the Bangalore Hyundai list. The description is the seller's own short note.

```json
{
  "type": "listing",
  "carId": "rmsqa1tk",
  "title": "Hyundai Verna [2011-2015]",
  "brand": "Hyundai",
  "model": "Verna [2011-2015]",
  "year": 2014,
  "price": 423000.0,
  "priceCurrency": "INR",
  "mileageKm": 33014,
  "fuelType": "Petrol",
  "transmission": "Automatic - 4 Gears, Sport Mode",
  "color": "White",
  "previousOwners": 2,
  "inStock": true,
  "dealerId": "2347",
  "sellerType": "dealer",
  "city": "bangalore",
  "url": "https://www.cartrade.com/second-hand/bangalore/hyundai-verna/rmsqa1tk/?dc=0",
  "description": "Warranty Available",
  "sourceQuery": "https://www.cartrade.com/second-hand/bangalore/hyundai/",
  "scrapedAt": "2026-11-03T19:23:09Z",
  "errorCode": null,
  "error": null
}
```

That car was asking 4,23,000 INR (about 4.23 lakh) with 33,014 km on the odometer.

### Errors

Error rows are free and always carry `type: "error"`, an `errorCode` and an `error` message. The run keeps going after an error row.

| `errorCode` | When it appears |
|---|---|
| `INVALID_INPUT` | A value does not fit the input, for example a minimum price above the maximum, or more than 50 pages. The run stops and nothing is charged. |
| `INVALID_URL` | A link is not a cartrade.com used-car list or listing link. |
| `LIST_NOT_FOUND` | The list link does not exist on cartrade.com. |
| `LISTING_NOT_FOUND` | A listing link you gave opens no listing (it was sold or removed). |
| `NO_RESULTS` | The list has no listings, or no dealer listing matches the price and mileage filters. |
| `BLOCKED` | The site refused every attempt for a list. Run it again in a few minutes. |
| `UNEXPECTED` | Something outside the normal flow failed. The listings already delivered stay in the dataset and are charged. |

### Integrations, scheduling and AI agents

- **Schedules.** Set a daily or weekly schedule in the Apify Console to track one brand in one city. Compare `price` and `mileageKm` between runs to see how asking prices move.
- **Export.** Download the dataset as JSON, CSV, Excel or XML from the run page, or read it from the dataset link in the run output.
- **Make, n8n and Zapier.** Use the Apify app in each tool to start a run and read its dataset. Map `title`, `price`, `mileageKm` and `url` into a sheet, a table or an alert.
- **AI agents.** Connect the Apify MCP server to an assistant so it can start this Actor and read the listings. Ask it for a price summary by year, or the cheapest listings under a mileage.
- **Google Sheets.** Connect the dataset to a sheet with a scheduled export so the list refreshes on its own.

### FAQ

**Are the prices in US dollars?** No. Prices are in Indian rupees (INR), as the listing shows them. Divide by the current exchange rate yourself if you need dollars.

**Why are private sellers not in the results?** The Actor delivers only listings whose page shows a dealer, so the data stays on businesses. Private-seller listings are skipped and not charged. The run log says how many were skipped.

**Does the Actor read the dealer's name or phone number?** No. It reads the dealer number that the site uses for its own dealer pages and the city from the link. Phone numbers and e-mail addresses in the description are replaced with `[contact removed]`.

**Why do I get fewer listings than a page shows?** Two reasons: some pages repeat a few listings from the page before, and the Actor delivers each listing once. Also check the price and mileage filters.

**Does it need a login?** No. It reads only what the public site shows to any visitor.

**How many listings can one run deliver?** As many as the list links hold, up to `maxItems`. Use `maxPagesPerLink` to limit how deep the Actor reads each link.

**Can I use it for a whole country?** Yes, with a list link per city, or the brand list without a city. A run across many cities reads more pages, so set `maxPagesPerLink` and `maxItems` to match your budget.

### Limitations

- Prices are asking prices, not sold prices.
- Only dealer listings are delivered. A listing whose page shows no dealer is left out, so a few dealers may be missed if their page does not show the dealer number.
- The dealer's street address and name are not read.
- A list page can repeat listings from the page before. Each listing is delivered once per run.
- The site groups some listings under other cities; the `city` field is the city in the listing link.
- Shipping, finance offers and the site's own price guide are not read.

### Changelog

**0.1 (3 Nov 2026)**: first version. Brand, city and listing reads; `minPrice`, `maxPrice` and `maxMileageKm` filters; INR prices; dealer-only delivery with a count of skipped private-seller listings; error rows with codes; free duplicates and restarts.

# Actor input Schema

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

cartrade.com second-hand links: a city and brand list (https://www.cartrade.com/second-hand/bangalore/hyundai/), a brand list (https://www.cartrade.com/second-hand/hyundai/), a city list (https://www.cartrade.com/second-hand/bangalore/) or one listing link. Lists are read page by page; the filters below apply to each listing.

## `maxPagesPerLink` (type: `integer`):

How many result pages to read for each list link. Each page has about 24 listings, and a page can repeat a few of the previous one.

## `minPrice` (type: `integer`):

Only listings priced at least this much, in Indian rupees (INR).

## `maxPrice` (type: `integer`):

Only listings priced at most this much, in Indian rupees (INR).

## `maxMileageKm` (type: `integer`):

Only cars with at most this many kilometres on the odometer. Listings without a mileage are left out when this is set.

## `includeDescription` (type: `boolean`):

Adds the seller's listing description as plain text. Turn off for a faster run.

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

Most dealer listings delivered in one run. 0 means no limit. You pay only for listings delivered.

## `proxyConfiguration` (type: `object`):

Connection for the run. The default works for most users.

## Actor input object example

```json
{
  "maxPagesPerLink": 3,
  "includeDescription": true,
  "maxItems": 20,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

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

No description

## `resultsCsv` (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 = {
    "maxItems": 20,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("scrapewise/cartrade-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 = {
    "maxItems": 20,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("scrapewise/cartrade-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 '{
  "maxItems": 20,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call scrapewise/cartrade-scraper --silent --output-dataset

```

## MCP server setup

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