# Chotot Scraper – Vietnam Classifieds (Chợ Tốt) (`anxuanng/chotot-scraper`) Actor

Scrape Chợ Tốt (chotot.com), Vietnam's largest classifieds site: cars, motorbikes, apartments, houses, phones, laptops and 70+ categories in 63 provinces. Extract price in VND, location, seller type, brand, model, year, area and every attribute. Pay per listing.

- **URL**: https://apify.com/anxuanng/chotot-scraper.md
- **Developed by:** [Xuan An Nguyen](https://apify.com/anxuanng) (community)
- **Categories:** E-commerce, Real estate
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 listing scrapeds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

Scrape **Chợ Tốt (chotot.com)**, Vietnam's largest classifieds marketplace, and get clean JSON for cars, motorbikes, apartments, houses, land, rooms for rent, phones, laptops and 70+ other categories across all 63 provinces: title, price in VND, district and ward, seller type (private or shop), brand, model, year, mileage, area, rooms, images and every listing attribute. Pay per listing, no subscription.

### What data does the Chotot scraper extract?

- Scrape Chợ Tốt listings by keyword, category, province, price range and seller type
- Extract title, description and price as a VND number
- Extract province, district and ward, plus street address and GPS coordinates in detail mode
- Extract seller type: private seller or shop/dealer
- Extract brand, model, year and mileage for cars and motorbikes
- Extract area in m² and number of bedrooms for apartments, houses and land
- Extract condition (new/used), posting time and every category-specific attribute
- Extract all listing images
- No personal data: seller phone numbers, names and avatars are never collected

### What can you use Vietnamese classifieds data for?

- **Used car and motorbike pricing**: median price by model, year and mileage for dealers and valuation tools
- **Real estate market research**: asking prices per m² by district from owner and broker listings
- **Resale price tracking**: second-hand iPhone, laptop and electronics prices over time
- **Lead generation for B2B**: shops and dealers active in a category and province
- **Market entry research**: supply and pricing of a product category before launching in Vietnam
- **Price alerts**: schedule a run and get new listings under a target price

### How do I scrape Chợ Tốt?

1. Press **Try for free**.
2. Type a keyword such as `iphone 15`, `honda vision` or `căn hộ 2 phòng ngủ`, and/or pick a **category** and **province**.
3. Optionally set a price range, sort by newest or cheapest, and choose private sellers or shops only.
4. Set **Max listings**. Turn on **Fetch listing details** for GPS, full address and all attributes.
5. Press **Start** and export JSON, CSV or Excel, or read the dataset through the API.

### What does the output look like?

```json
{
  "id": "134625403",
  "url": "https://www.chotot.com/134625403.htm",
  "title": "xe i10 2020 bản đủ",
  "price": 210000000,
  "priceText": "210.000.000 đ",
  "currency": "VND",
  "categoryId": 2010,
  "category": "Ô tô",
  "province": "TP Hồ Chí Minh",
  "district": "Quận 5",
  "ward": "Phường 9",
  "sellerType": "private",
  "condition": "Đã sử dụng",
  "postedAt": "2026-09-10T18:20:50.000Z",
  "brand": "Hyundai",
  "model": "Grand i10",
  "year": 2020,
  "mileageKm": 180000,
  "images": ["https://cdn.chotot.com/....jpg"],
  "attributes": { "Hộp số": "Số sàn", "Nhiên liệu": "Xăng", "Kiểu dáng": "Sedan", "Số chỗ": "5" },
  "latitude": 10.758901,
  "longitude": 106.67135,
  "address": "Phường 9, Quận 5, Tp Hồ Chí Minh"
}
```

Brand and model names come with every car listing. For motorbikes, phones and laptops Chợ Tốt sends them only on the listing page, so turn on **Fetch listing details** when you need them. `latitude`, `longitude`, `address` and the full `attributes` map also come from detail mode.

### What are the input options?

| Field | Default | What it does |
|---|---|---|
| `keyword` | none | free text search |
| `category` | all | 76 categories and subcategories from the dropdown |
| `region` | nationwide | one of 63 provinces |
| `priceMin`, `priceMax` | none | price range in VND |
| `sort` | newest | newest or cheapest first |
| `sellerType` | all | private sellers, shops/dealers, or both |
| `startUrls` | none | specific listing URLs (…/123456789.htm) |
| `maxItems` | 100 | stop after this many listings |
| `fetchDetails` | off | GPS, address, all attributes |

### How much does it cost to scrape Chợ Tốt?

You pay per listing, a fifth of a cent each, plus the same again per listing when detail mode is on. Listings are fetched 50 at a time over Chợ Tốt's JSON endpoints, so runs are fast: thousands of listings in a few minutes. Set a budget on the run to cap spend.

### How do I use the Chotot API from code?

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("anxuanng/chotot-scraper").call(run_input={
    "keyword": "honda sh", "category": 2020, "region": 12000, "maxItems": 500, "fetchDetails": True,
})
for ad in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(ad["title"], ad["price"], ad["year"], ad["mileageKm"], ad["district"])
```

```bash
curl -X POST "https://api.apify.com/v2/acts/anxuanng~chotot-scraper/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"keyword":"iphone 15","category":5010,"region":13000,"maxItems":100}'
```

Works as an **MCP tool** for AI agents and with Apify integrations for Google Sheets, Zapier, Make, n8n and webhooks.

### Frequently asked questions

#### Which category and province ids should I use?

Pick them from the dropdowns in the input form. Common ones: cars 2010, motorbikes 2020, apartments 1010, houses 1020, land 1040, rooms for rent 1050, phones 5010, laptops 5030; Ho Chi Minh City 13000, Hanoi 12000.

#### Why is the seller's phone number missing?

On purpose. Personal contact data of private sellers is not collected. Use the listing URL to contact a seller on Chợ Tốt.

#### How many listings can I get?

Everything that matches your filters on Chợ Tốt, up to 10,000 per search. Split large jobs by province or price range.

#### Is it legal to scrape Chợ Tốt?

The Actor reads listings that are publicly visible without logging in and skips personal data. You are responsible for how you use the data.

### Need a custom dataset or another site?

I build and maintain scrapers for Vietnamese and Southeast Asian websites (real estate, jobs, food delivery, e-commerce, Telegram). If you need a one-off dataset, a daily feed into Google Sheets or your database, or a scraper for a site that is not listed here, open an issue on this page with the site and the fields you need. You get a sample of real rows before you pay for anything.

Other scrapers: [Batdongsan.com.vn](https://apify.com/anxuanng/batdongsan-scraper), [Vietnam Jobs](https://apify.com/anxuanng/vietnam-jobs-scraper), [GrabFood](https://apify.com/anxuanng/grabfood-restaurants-scraper), [Telegram Channels](https://apify.com/anxuanng/telegram-channel-scraper).

### Support

Open an issue on this page for bugs or a field you need. Typical response within one business day (GMT+7).

# Actor input Schema

## `keyword` (type: `string`):

Free text such as "iphone 15", "honda vision", "căn hộ 2 phòng ngủ". Empty = all listings in the category.

## `category` (type: `string`):

Chợ Tốt category. Leave empty to search all categories.

## `region` (type: `string`):

Leave empty for nationwide.

## `priceMin` (type: `integer`):

Optional.

## `priceMax` (type: `integer`):

Optional.

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

Newest first, or cheapest first.

## `sellerType` (type: `string`):

Private individuals, shops/dealers, or both.

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

Optional chotot.com listing URLs; only the listing ID pages (…/123456789.htm) are supported as direct inputs.

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

Charged per listing pushed.

## `fetchDetails` (type: `boolean`):

Adds GPS coordinates, full image set and every attribute of the listing. Charged as a separate 'detail' event.

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

Apify datacenter proxy is enough.

## Actor input object example

```json
{
  "keyword": "iphone 15",
  "sort": "newest",
  "sellerType": "all",
  "startUrls": [],
  "maxItems": 100,
  "fetchDetails": false,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `listings` (type: `string`):

All scraped rows as JSON; append ?format=csv for CSV.

## `runSummary` (type: `string`):

Counts of pushed/skipped/failed rows and whether the budget limit was hit.

# 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 = {
    "keyword": "iphone 15",
    "startUrls": [],
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("anxuanng/chotot-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 = {
    "keyword": "iphone 15",
    "startUrls": [],
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("anxuanng/chotot-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 '{
  "keyword": "iphone 15",
  "startUrls": [],
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call anxuanng/chotot-scraper --silent --output-dataset

```

## MCP server setup

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