# Chotot Scraper - Vietnam Classifieds Listings (`bovi/chotot-scraper`) Actor

Scrape live Chotot.com classified listings (real estate, vehicles, electronics, jobs) by region and category from Chotot's public JSON feed. Title, price, location, seller, images and category details. No login, no browser.

- **URL**: https://apify.com/bovi/chotot-scraper.md
- **Developed by:** [Vitalii Bondarev](https://apify.com/bovi) (community)
- **Categories:** Real estate, E-commerce, Lead generation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 78.6% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.50 / 1,000 chotot scraper - vietnam classifieds listings

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?

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

## Chotot Scraper — Vietnam Classifieds Listings

Chotot (chotot.com) is Vietnam's largest classifieds marketplace: real estate, vehicles, electronics, jobs and more, posted by private sellers and shops across the country. This Actor pulls live listings from Chotot's own public JSON feed by region and category and returns one clean row per listing. No login, no browser, no cookies.

### What you get

- **Live listings** — the same feed that powers chotot.com search results, newest first.
- **Any region and category** — Ho Chi Minh City, Hanoi, Da Nang or any other Chotot location code, narrowed to real estate, vehicles, jobs, or all categories.
- **Keyword search** — optionally filter every query by a Vietnamese or English keyword.
- **Rich rows** — title, full description, numeric price and Chotot's formatted price, region / district / ward, coordinates, images, seller, posting time and category-specific attributes (area, rooms, brand, mileage, salary...).
- **Runs on Apify** — schedule it, call it from the API, export to JSON, CSV or Excel.

### Input

| Field | Required | What it does |
|---|---|---|
| `queries` | yes | One entry per query: `region_v2` or `region_v2:cg`. `13000` = Ho Chi Minh City, `12000` = Hanoi; `cg` `1000` = real estate, `2000` = vehicles. `:2000` means a category across Vietnam. |
| `keywords` | no | Free-text search applied to every query. |
| `maxResults` | no | Total listings to collect (default 50), split evenly across the queries. |
| `proxyConfiguration` | no | Optional Apify Proxy settings. The public API works without a proxy. |

```json
{
    "queries": ["13000:1000", "12000"],
    "maxResults": 50
}
```

### Output

One dataset row per listing:

```json
{
    "query": "13000:1000",
    "listId": 135430952,
    "adId": 179436010,
    "url": "https://www.chotot.com/135430952.htm",
    "title": "DÃY TRỌ 20p 509m2 Đ. Hồ Văn Tắng Củ Chi 1tỷ2 Thu nhập 30tr/ tháng",
    "price": 1200000000,
    "priceStr": "1,2 tỷ",
    "categoryId": 1020,
    "category": "Nhà ở",
    "regionName": "TP Hồ Chí Minh",
    "areaName": "Huyện Củ Chi",
    "wardName": "Xã Củ Chi",
    "latitude": 10.938937,
    "longitude": 106.54111,
    "sellerName": "...",
    "isCompanyAd": false,
    "postedAt": "2026-11-08T05:54:47.037000+00:00",
    "attributes": {"size": 509, "size_unit_string": "m²"},
    "scrapedAt": "2026-11-08T06:58:00+00:00"
}
```

Fields are filled only when Chotot provides them for that listing; `attributes` holds category-specific facts and is empty when none exist.

### Pricing

Pay per result: about **$0.002 per listing** (roughly $2 per 1,000 listings). A query that returns nothing produces no rows and is not charged.

### FAQ

**Does it need a login or API key?** No, the listing feed is public.

**How deep can I go?** Chotot's feed exposes up to 10,000 ads per query; use more specific region / category / keyword queries for larger harvests.

**Does it translate listings?** No, text stays in Vietnamese as posted. Seller phone numbers are not collected.

# Actor input Schema

## `queries` (type: `array`):

One entry per query, format `region_v2` or `region_v2:cg`. `region_v2` is Chotot's location code (13000 = Ho Chi Minh City, 12000 = Hanoi, 15000 = Da Nang) and `cg` is the category code (1000 = real estate, 2000 = vehicles, 5000 = jobs). Omit `cg` for all categories in that region; use `:2000` for a category across all of Vietnam. Leave the list empty to get the newest ads nationwide.

## `keywords` (type: `string`):

Optional free-text search applied to every query, in Vietnamese or English (e.g. `honda vision`, `căn hộ`).

## `maxResults` (type: `integer`):

Maximum number of listings to collect in total. It is split evenly across your queries.

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

Optional. Chotot's public API works without a proxy; enable Apify Proxy only if you see blocking at high volume.

## Actor input object example

```json
{
  "queries": [
    "13000:1000",
    "12000"
  ],
  "maxResults": 50,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# Actor output Schema

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

Dataset with the scraped records.

# 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 = {
    "queries": [
        "13000:1000",
        "12000"
    ],
    "maxResults": 50,
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("bovi/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 = {
    "queries": [
        "13000:1000",
        "12000",
    ],
    "maxResults": 50,
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    },
}

# Run the Actor and wait for it to finish
run = client.actor("bovi/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 '{
  "queries": [
    "13000:1000",
    "12000"
  ],
  "maxResults": 50,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}' |
apify call bovi/chotot-scraper --silent --output-dataset

```

## MCP server setup

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