# Nhatot Property Scraper - Vietnam Real Estate Listings (`sian.agency/nhatot-property-scraper`) Actor

Scrape nhatot.com (Chợ Tốt Nhà) property ads: VND and USD prices, m², bedrooms, legal papers, GPS, ward, project, photos and private-or-agent seller.

- **URL**: https://apify.com/sian.agency/nhatot-property-scraper.md
- **Developed by:** [SIÁN OÜ](https://apify.com/sian.agency) (community)
- **Categories:** Real estate, Lead generation
- **Features:** Limited permissions
- **Stats:** 3 total users, 1 monthly users, 100.0% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.32 / 1,000 property listings

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

## Nhatot Scraper - Vietnam Property Listings & Prices 🏠

[![SIÁN Agency Store](https://img.shields.io/badge/Store-SI%C3%81N%20Agency-1AE392)](https://apify.com/sian.agency?fpr=sian) [![Batdongsan](https://img.shields.io/badge/Store-Batdongsan%20Scraper-E03C31)](https://apify.com/sian.agency/batdongsan-property-scraper?fpr=sian) [![PropertyGuru](https://img.shields.io/badge/Store-PropertyGuru-E31C3D)](https://apify.com/sian.agency/propertyguru-property-scraper?fpr=sian) [![Fazwaz](https://img.shields.io/badge/Store-Fazwaz%20Thailand-1AE392)](https://apify.com/sian.agency/fazwaz-property-scraper?fpr=sian)

#### 🎉 Chợ Tốt's property section as a table: 50 adverts per request, GPS and legal papers on every row

##### For analysts, agencies and investors who need Ho Chi Minh City, Ha Noi and the provinces as rows, not browser tabs

### 🔎 What is the Nhatot Vietnam Property Scraper — and when should you use it?

The **Nhatot Vietnam Property Scraper** turns public nhatot.com (Chợ Tốt Nhà) property adverts from any of Vietnam's 63 provinces into clean, structured rows you can filter, export and feed straight into a spreadsheet, database or AI agent. No account, no portal API key, no browser automation to maintain.

**Use it when you need:** Vietnamese sale and rental adverts as rows. The price comes back as a whole number of đồng next to the text the site shows (3,2 tỷ), plus a US dollar figure and price per m². Each row carries area, bedrooms, bathrooms, legal papers, furnishing, the project name, GPS, the province, district, ward and street, every photo, and whether the seller is a private owner or an agent.

**Use something else when:** you want Vietnam's largest agent-heavy portal rather than the Chợ Tốt classifieds one, or the property is outside Vietnam. Use [Batdongsan Scraper](https://apify.com/sian.agency/batdongsan-property-scraper?fpr=sian) for batdongsan.com.vn, Vietnam's biggest property portal, with agent IDs and promotion tiers. Use [PropertyGuru Property Scraper](https://apify.com/sian.agency/propertyguru-property-scraper?fpr=sian) for Singapore, Malaysia and Thailand listings with agent details. This actor reads the property section of Chợ Tốt only: apartments, houses, offices and shopfronts, land, and rooms for rent. Cars, phones and jobs are not read. Seller phone numbers are not returned. One search stops at 10,000 adverts, so a whole city needs splitting by district.

### 🤖 Use with AI agents

Already connected to the [Apify MCP server](https://mcp.apify.com)? Just ask for this Actor by name: sian.agency/nhatot-property-scraper

**Your agent can pay for its own runs.** This Actor is eligible for [agentic payments](https://docs.apify.com/platform/actors/publishing/monetize), so an agent can discover it, run it and settle the bill over [x402](https://www.x402.org/) (USDC on Base) or [Skyfire](https://www.skyfire.xyz/) — without an Apify account or API token of its own. Billing is the same either way: per successful row, never for errors.

Otherwise copy this prompt into Claude, ChatGPT, Cursor or any MCP-enabled assistant:

```text
I want property listings and asking prices from nhatot.com in Vietnam using the Apify Actor `sian.agency/nhatot-property-scraper`.

Use it when I need: Vietnamese sale and rental adverts as rows. The price comes back as a whole number of đồng next to the text the site shows (3,2 tỷ), plus a US dollar figure and price per m². Each row carries area, bedrooms, bathrooms, legal papers, furnishing, the project name, GPS, the province, district, ward and street, every photo, and whether the seller is a private owner or an agent.

Don't use it when: you want Vietnam's largest agent-heavy portal rather than the Chợ Tốt classifieds one, or the property is outside Vietnam — use batdongsan-property-scraper or propertyguru-property-scraper instead.

How to call it: set `listingType` to `sell` or `rent`, `propertyType` to `all`, `apartment`, `house`, `commercial`, `land` or `room` (rent only), and `region` to a province slug such as `tp-ho-chi-minh`, `ha-noi` or `da-nang` (or `all`). Narrow with `districts` (names like Quận 7 or Cầu Giấy), `sellerType` (`private` or `agent`), `minPrice`/`maxPrice` in đồng, `minArea`/`maxArea` in m², and `bedrooms` (`1`-`5` or `6-plus`).

Start with this input:
{
  "operation": "search",
  "listingType": "sell",
  "propertyType": "apartment",
  "region": "tp-ho-chi-minh",
  "districts": [
    "Quận 7"
  ],
  "sellerType": "all",
  "bedrooms": "any",
  "maxResults": 50
}

Ask me which province and districts to cover, sale or rent, the property type and a price range, and whether they want private owners only, then run the Actor and summarise the results as a table.
```

**Things you can ask your agent for:**

- *Pull apartments for sale in Quận 7, Ho Chi Minh City, under 5 tỷ and rank wards by median price per m².*
- *List private-owner houses for sale in Đà Nẵng with legal papers and GPS on each row.*
- *Compare monthly rents for 2-bedroom apartments in Cầu Giấy and Đống Đa, Ha Noi.*

Machine-readable API, MCP config and OpenAPI definition for this Actor are published at [apify.com/sian.agency/nhatot-property-scraper.md](https://apify.com/sian.agency/nhatot-property-scraper.md).

### 📋 Overview

**Nhatot.com is the property section of Chợ Tốt, Vietnam's largest classifieds site.** It holds at least 78,000 live adverts across 63 provinces: apartments, houses, offices and shopfronts, land, and rooms for rent. This actor turns any search on it into clean rows.

**What you get:**

- ✅ **No login, no API key, no proxy to set up.** Pick a province and press Start.
- ⚡ **50 adverts per request**, newest first, with price, area, bedrooms, ward and photos on every row.
- 🎯 **Private owners or agents, your choice.** The site's own seller filter is applied, so a private-only run bills only private adverts.
- 💰 **$1.50 per 1,000 adverts** at the Bronze tier, plus a $0.005 run start.
- 💎 **Vietnamese facts kept intact**: prices in đồng, legal papers (sổ hồng), handover status and both the old and the 2025 ward names.
- ✨ **NEW**: GPS coordinates on every advert, ready for a map.

### ✨ Features

- 🏢 **Six categories**: all property, apartments, houses, offices and shopfronts, land, and rooms for rent.
- 🗺️ **All 63 provinces**, plus a nationwide search. Ho Chi Minh City is pre-selected.
- 📍 **District filter** by name: Quận 7, Bình Thạnh, Cầu Giấy. Accents and the Quận or Huyện prefix are optional.
- 🙋 **Seller filter**: private owners only, agents only, or both.
- 💵 **Price and area ranges** applied by the site, so the count you see is the count you get.
- 🛏️ **Bedroom filter** from 1 to 6 or more.
- 💰 **Price as a whole number of đồng**, the text the site shows, a US dollar figure and price per m².
- 📜 **Legal papers, furnishing, handover and facing direction** in the site's own Vietnamese wording.
- 🌐 **GPS, ward, street and project name** on every advert.
- 🖼️ **Every photo** plus a thumbnail for the dataset view.

### 🎬 Quick Start

Open the actor and press Start: apartments for sale in Ho Chi Minh City are already selected. Change the province, category or districts first if you want something else. Results land in a dataset you can download as JSON, CSV or Excel.

```bash
curl -X POST "https://api.apify.com/v2/acts/sian.agency~nhatot-property-scraper/runs?token=YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"listingType":"sell","propertyType":"apartment","region":"tp-ho-chi-minh","districts":["Quận 7"],"maxResults":50}'
```

### 🚀 Getting Started (3 Simple Steps)

#### Step 1: Choose what to search

For sale or for rent, then a category: apartments, houses, offices and shopfronts, land, or rooms.

#### Step 2: Choose where

Pick a province, then add districts if you want to narrow it down. Set a price range, an area range, bedrooms or private owners only.

#### Step 3: Press Start

Raise Max listings if you want more than the first 50.

**In under a minute you will have:**

- Adverts with price, area, bedrooms and ward as columns
- GPS coordinates and photos for every advert
- A seller type on every row, so you can split owners from agents

### 📥 Input Configuration

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `listingType` | string | No | `sell` or `rent`. Defaults to `sell` |
| `propertyType` | string | No | `all`, `apartment`, `house`, `commercial`, `land` or `room` (rent only). Defaults to `apartment` |
| `region` | string | No | Province slug such as `tp-ho-chi-minh`, `ha-noi`, `da-nang`, or `all`. Defaults to `tp-ho-chi-minh` |
| `districts` | array | No | District names inside that province, for example `Quận 7`, `Bình Thạnh` |
| `sellerType` | string | No | `all`, `private` or `agent` |
| `minPrice` / `maxPrice` | integer | No | Price in đồng. 3000000000 is 3 tỷ; for rent it is the monthly rent |
| `minArea` / `maxArea` | integer | No | Area in m² |
| `bedrooms` | string | No | `any`, `1` to `5`, or `6-plus`. Not for land, offices or rooms |
| `maxResults` | integer | No | How many adverts to return, up to 10,000. Defaults to 50 |

**Example: private-owner apartments in District 7 under 5 tỷ**

```json
{
  "listingType": "sell",
  "propertyType": "apartment",
  "region": "tp-ho-chi-minh",
  "districts": ["Quận 7"],
  "sellerType": "private",
  "maxPrice": 5000000000,
  "maxResults": 200
}
```

**Example: 2-bedroom rentals in two Ha Noi districts**

```json
{
  "listingType": "rent",
  "propertyType": "apartment",
  "region": "ha-noi",
  "districts": ["Cầu Giấy", "Đống Đa"],
  "bedrooms": "2",
  "maxResults": 100
}
```

### 📤 Output

Results are saved to the Apify dataset with **more than 50 fields** per advert, including:

| Field | Type | Description |
|-------|------|-------------|
| `propertyTitle` | string | Advert title as posted |
| `priceVnd` | integer | Price in đồng (monthly rent for rentals) |
| `priceText` | string | The price as the site shows it, for example 6,5 tỷ |
| `priceUsd` | number | Dollar figure at the run's exchange rate (stamped on the row) |
| `pricePerSqmVnd` | integer | Price per m² in đồng |
| `areaSqm` | number | Floor or land area in m² |
| `bedrooms` / `bathrooms` | integer | Counts, when the advert has them |
| `legalStatus` | string | Legal papers, for example Sổ hồng riêng or Hợp đồng mua bán |
| `furnishing` / `handoverStatus` | string | Furnishing level and whether the unit is handed over |
| `projectName` | string | Apartment project, when there is one |
| `district` / `ward` / `wardNew` | string | District, the ward as posted and the ward's 2025 name |
| `latitude` / `longitude` | number | GPS coordinates |
| `sellerType` | string | `private` or `agent` |
| `sellerName` / `shopName` | string | The seller's public name and shop, if any |
| `imageUrls` | array | Every photo |
| `postedAt` | string | When the advert was last posted (ISO date) |
| `url` | string | The advert on nhatot.com |

**Example row** (from a real run, description and photo list shortened):

```json
{
  "listingId": 134706324,
  "url": "https://www.nhatot.com/134706324.htm",
  "propertyTitle": "Chính chủ bán căn hộ cao cấp giá mềm - The Prive Q2",
  "priceVnd": 6500000000,
  "priceText": "6,5 tỷ",
  "priceUsd": 250565,
  "pricePerSqmVnd": 130000000,
  "listingType": "sale",
  "category": "Căn hộ/Chung cư",
  "propertySubtype": "Chung cư",
  "areaSqm": 50,
  "bedrooms": 2,
  "bathrooms": 1,
  "floorNumber": 19,
  "direction": "Hướng Tây Bắc",
  "legalStatus": "Hợp đồng mua bán",
  "furnishing": "Nội thất cao cấp",
  "handoverStatus": "Chưa bàn giao",
  "projectName": "The Privé",
  "province": "Tp Hồ Chí Minh",
  "district": "Thành phố Thủ Đức",
  "ward": "Phường An Phú (Quận 2 cũ)",
  "wardNew": "Phường Bình Trưng",
  "latitude": 10.791403,
  "longitude": 106.76624,
  "sellerType": "agent",
  "sellerName": "BĐS CHÍNH CHỦ",
  "shopName": "Chuyên trang BĐS Phòng kinh doanh",
  "imageUrls": ["https://cdn.chotot.com/zhIEdQ96Fo0zizbspqCfS8kN9Lqrc4mWui1xvpRh6pA/preset:view/plain/17790954b29ba44c52792cef68b0546d-3002214231125358193.jpg"],
  "photoCount": 3,
  "hasVideo": true,
  "postedAt": "2026-10-02T16:29:16.563Z",
  "firstPostedAt": "2026-09-15T08:05:51.000Z",
  "fxRateVndPerUsd": 25941.352635
}
```

That example also shows why the seller filter matters: the account calls itself "BĐS CHÍNH CHỦ" (owner property), but the site marks it as an agent, and that is what `sellerType` reports.

### 💼 Use Cases & Examples

#### 1. Private-owner lead lists

**Agencies that want listings to win before another agent signs them.**

**Input:** a province, a few districts, Seller set to private owners only.
**Output:** owner-posted adverts with ward, street, project, price and photos.
**Use:** call through the advert link, and re-run weekly for new stock.

#### 2. Asking-price tracking

**Analysts and developers watching a district's prices.**

**Input:** one district, a category, a schedule.
**Output:** price in đồng, price per m² and a dollar figure for every advert.
**Use:** median price per m² by ward, week over week, with no parsing of "6,5 tỷ".

#### 3. Rental yield screens

**Investors comparing buy and let in the same neighbourhood.**

**Input:** the same district twice, once for sale and once for rent, filtered to 2 bedrooms.
**Output:** asking prices and monthly rents (with deposits) on matching fields.
**Use:** gross yield per ward in a spreadsheet.

#### 4. Mapping and site selection

**Planners, retailers and proptech teams.**

**Input:** a province, offices and shopfronts or land.
**Output:** GPS coordinates, ward and street on every advert.
**Use:** drop the CSV into a GIS tool and see where supply clusters.

#### 5. Legal-status screening

**Buyers' agents and lenders.**

**Input:** a district and price range.
**Output:** legal papers and handover status on every row, in the site's own words.
**Use:** filter to "Sổ hồng riêng" before calling anyone.

#### 6. Coverage beyond one portal

**Data teams building a Vietnam property dataset.**

**Input:** the same search you run on our [Batdongsan Scraper](https://apify.com/sian.agency/batdongsan-property-scraper?fpr=sian).
**Output:** adverts that mostly are not on batdongsan.com.vn. In a photo comparison over three districts, roughly a quarter to a half of nhatot adverts also appeared there; the rest did not.
**Use:** a fuller picture of the market than either site gives alone.

### 🔗 Integration Examples

#### JavaScript/Node.js

```javascript
import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: 'YOUR_TOKEN' });

const run = await client.actor('sian.agency/nhatot-property-scraper').call({
  listingType: 'sell',
  propertyType: 'apartment',
  region: 'tp-ho-chi-minh',
  districts: ['Quận 7'],
  maxResults: 50,
});

const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items[0].propertyTitle, items[0].priceVnd);
```

#### Python

```python
from apify_client import ApifyClient
client = ApifyClient('YOUR_TOKEN')

run = client.actor('sian.agency/nhatot-property-scraper').call(run_input={
    'listingType': 'rent',
    'propertyType': 'apartment',
    'region': 'ha-noi',
    'districts': ['Cầu Giấy'],
    'maxResults': 50,
})

for item in client.dataset(run['defaultDatasetId']).iterate_items():
    print(item['propertyTitle'], item['priceVnd'], item['ward'])
```

#### cURL

```bash
curl -X POST 'https://api.apify.com/v2/acts/sian.agency~nhatot-property-scraper/run-sync-get-dataset-items?token=YOUR_TOKEN' \
  -H 'Content-Type: application/json' \
  -d '{"listingType":"sell","propertyType":"house","region":"da-nang","sellerType":"private","maxResults":50}'
```

#### Automation Workflows (N8N / Zapier / Make)

1. **Trigger**: a daily schedule.
2. **HTTP Request**: call the actor with your saved search.
3. **Process**: keep the listing IDs you have not seen before.
4. **Action**: post new adverts to Google Sheets, a CRM or a chat channel.

### 📊 Performance & Pricing

#### Free plan (try it now)

- **25 adverts per run** with every field included
- No credit card required
- Enough to check the data fits before you scale

#### Paid plans (production)

- **Up to 10,000 adverts per search**, as many searches as you like
- Pay per advert returned: **$0.0015 at Bronze** ($1.50 per 1,000), falling to $0.00117 at Diamond
- A run start of $0.005. A search that matches nothing is not billed for rows

💰 **Priced level with our Batdongsan Scraper** and below most Chợ Tốt actors on the Store.

🔗 [View current pricing](https://apify.com/sian.agency/nhatot-property-scraper?fpr=sian)

### ❓ Frequently Asked Questions

**Q: Do I need an account, an API key or a proxy?**
A: No. Pick a province and a category and press Start.

**Q: Can I get only private owners?**
A: Yes. Set Seller to private owners only. Nhatot marks each advert as private (cá nhân) or agent (môi giới), and the filter is applied by the site, so you pay only for private adverts. Expect roughly one advert in five to be private; the share varies by city and category.

**Q: Why is there no phone number?**
A: Chợ Tốt hides it behind a login, and it is personal data. You get the seller's public name, seller ID, shop name and the advert link.

**Q: How is "3,2 tỷ" turned into a number?**
A: The site already stores prices as whole numbers of đồng, so it arrives as 3200000000. The text the site shows stays next to it in `priceText`.

**Q: How many adverts can one search return?**
A: Up to 10,000, which is where nhatot.com stops paging. Ho Chi Minh City passes that in several categories, so split it by district or price range.

**Q: Why are there two ward names?**
A: Vietnam merged many wards in 2025. `ward` is the name the advert was posted under and `wardNew` is the merged ward it belongs to now.

**Q: What output formats are available?**
A: JSON, CSV, Excel, XML or the Apify API, straight from the dataset.

**Q: How long does a run take?**
A: About a second and a half per 50 adverts, so 1,000 adverts take under a minute.

### 🐛 Troubleshooting

**The run returned no adverts.**

- Widen the price or area range, or remove a district.
- Set Seller and Bedrooms back to their broadest option.

**The run stopped with "Not a district of …".**

- The message lists every valid district for that province. Copy the name from there.
- Make sure the province matches the district (Cầu Giấy is in Ha Noi, not Ho Chi Minh City).

**The run stopped before Max listings.**

- On the free plan a run returns 25 adverts. Add a payment method to lift it.
- One search stops at 10,000 adverts. Split by district or price.

**The run said nhatot.com is slowing it down.**

- Wait about 10 minutes and run it again. The adverts already returned are kept.

### ⚖️ Is it legal to scrape data?

Our actors are ethical and do not extract any private user data, such as email addresses, gender, or location. They only extract what the user has chosen to share publicly. We therefore believe that our actors, when used for ethical purposes by Apify users, are safe.

However, you should be aware that your results could contain personal data. Personal data is protected by the **GDPR** in the European Union, by Vietnam's personal data protection rules and by other regulations around the world. You should not scrape personal data unless you have a legitimate reason to do so. If you're unsure whether your reason is legitimate, consult your lawyers.

Nhatot and Chợ Tốt are trademarks of their respective owners (Carousell Group). This actor is not affiliated with, endorsed by, or sponsored by Chợ Tốt, Nhatot or Carousell Group.

You can also read Apify's blog post on the [legality of web scraping](https://blog.apify.com/is-web-scraping-legal/).

### 🤝 Support

**Questions or a search that does not work?**

- Open an issue: [apify.com/sian.agency/nhatot-property-scraper/issues](https://apify.com/sian.agency/nhatot-property-scraper/issues)
- Leave a review: [apify.com/sian.agency/nhatot-property-scraper/reviews](https://apify.com/sian.agency/nhatot-property-scraper/reviews)
- Check the [SIÁN Agency Store](https://apify.com/sian.agency?fpr=sian) for more automation tools
- 📧 <apify@sian-agency.online>

***

**Built by [SIÁN Agency](https://www.sian-agency.online)** | **[More Tools](https://apify.com/sian.agency?fpr=sian)**

# Changelog

This Actor's version history is a separate document: https://apify.com/sian.agency/nhatot-property-scraper/changelog.md

# Actor input Schema

## `operation` (type: `string`):

Property Listing reads nhatot.com's property search and returns up to 50 listings per request, newest first. Choose sale or rent, a property category, a province, and optionally districts, a price range, a floor-area range, bedrooms and whether you want private sellers, agents or both. Every filter is applied by the site itself, so the count you see is the count you get.

## `listingType` (type: `string`):

Which side of the market to read. Rent prices are per month and the row says so. Rooms for rent exist only on the rent side; picking them with For sale is rejected before anything is charged.

## `propertyType` (type: `string`):

Nhatot's own top-level property categories. Apartments include serviced and mini apartments, duplexes and penthouses, and the row names which one it is.

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

One of the 63 provinces and cities Chợ Tốt lists, or all of Vietnam. Ho Chi Minh City and Ha Noi hold most of the stock.

## `districts` (type: `array`):

Optional. District names inside the province above, as nhatot writes them, for example Quận 7, Bình Thạnh or Thành phố Thủ Đức. Accents and the Quận / Huyện prefix are optional, so quan 7 and binh thanh work too. Several districts are searched together. A name that is not in the province stops the run before any charge and lists the valid ones.

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

Nhatot marks every advert as posted by a private person or by an agent. Choose Private owners only to skip brokers entirely; roughly one advert in five is private, more in some cities.

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

Lowest price in đồng, as a whole number: 3000000000 is 3 tỷ. For rent this is the monthly rent: 5000000 is 5 triệu. Leave empty for no floor.

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

Highest price in đồng, as a whole number. Leave empty for no ceiling.

## `minArea` (type: `integer`):

Smallest floor or land area in square metres. Leave empty for no minimum.

## `maxArea` (type: `integer`):

Largest floor or land area in square metres. Leave empty for no maximum.

## `bedrooms` (type: `string`):

Exact bedroom count, applied by the site. Leave on Any for land, offices and rooms, which have no bedroom field.

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

Stop after this many listings. One request returns 50. Nhatot itself stops at 10,000 rows per search, so split a large city by district to go further. Free-plan runs are capped lower and the log says so.

## Actor input object example

```json
{
  "operation": "search",
  "listingType": "sell",
  "propertyType": "apartment",
  "region": "tp-ho-chi-minh",
  "districts": [],
  "sellerType": "all",
  "bedrooms": "any",
  "maxResults": 50
}
```

# Actor output Schema

## `nhatotListings` (type: `string`):

Every listing this run returned.

## `scrapingSummary` (type: `string`):

HTML summary showing successful and failed results with key metrics

# 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 = {
    "operation": "search",
    "listingType": "sell",
    "propertyType": "apartment",
    "region": "tp-ho-chi-minh",
    "districts": [],
    "sellerType": "all",
    "bedrooms": "any",
    "maxResults": 50
};

// Run the Actor and wait for it to finish
const run = await client.actor("sian.agency/nhatot-property-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 = {
    "operation": "search",
    "listingType": "sell",
    "propertyType": "apartment",
    "region": "tp-ho-chi-minh",
    "districts": [],
    "sellerType": "all",
    "bedrooms": "any",
    "maxResults": 50,
}

# Run the Actor and wait for it to finish
run = client.actor("sian.agency/nhatot-property-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 '{
  "operation": "search",
  "listingType": "sell",
  "propertyType": "apartment",
  "region": "tp-ho-chi-minh",
  "districts": [],
  "sellerType": "all",
  "bedrooms": "any",
  "maxResults": 50
}' |
apify call sian.agency/nhatot-property-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,sian.agency/nhatot-property-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/pDlq67jBzabrAN7X8/builds/kCFi4SiSKtpCtKPrE/openapi.json
