# AloNhaDat Vietnam Real Estate Scraper (`rainminer/alonhadat-scraper`) Actor

Scrape real estate listings from AloNhaDat.com.vn. Extract price, area, address, legal status, property type, and seller contact details from houses, land, and apartments for sale across Vietnam.

- **URL**: https://apify.com/rainminer/alonhadat-scraper.md
- **Developed by:** [rainminer](https://apify.com/rainminer) (community)
- **Categories:** Real estate, Lead generation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.37 / 1,000 listings

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
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 AloNhaDat Vietnam Real Estate Scraper do?

**AloNhaDat Vietnam Real Estate Scraper** extracts **house, land, and apartment listings** from [AloNhaDat.com.vn](https://alonhadat.com.vn/) — one of Vietnam's longest-running real estate classifieds sites. Paste a search URL (for example `https://alonhadat.com.vn/can-ban-nha-dat`) or a single listing detail URL and export structured property data — **price, area, address, legal status, property type, direction, and seller contact** — without writing any code.

Run it on the **Apify platform** to schedule crawls, export JSON/CSV/Excel, rotate proxies, monitor failures, and integrate results via API.

### Why scrape AloNhaDat.com.vn?

- **Market research** — Track asking prices and area (m²) trends across Vietnamese provinces and cities.
- **Lead generation** — Collect seller names and phone numbers for real estate outreach.
- **Inventory monitoring** — Watch new listings as they are posted to AloNhaDat search pages.
- **Competitive intelligence** — Compare listing density and pricing by province, district, and property type.
- **Data pipelines** — Feed structured property data into dashboards, CRMs, or valuation tools.

### How to use AloNhaDat Vietnam Real Estate Scraper

1. Open the Actor in Apify Console.
2. Add one or more **AloNhaDat search or listing URLs** under **Start URLs**.
3. Set **Maximum items** (listings per start URL).
4. Run the Actor and download the results from the **Dataset** tab.

### Input

AloNhaDat Vietnam Real Estate Scraper accepts **Start URLs**, **maxItems** (per start URL), and an optional **proxy configuration**. See the **Input** tab in Apify Console for details.

Supported start URLs:

- All properties for sale: `https://alonhadat.com.vn/can-ban-nha-dat`
- Province pages: `https://alonhadat.com.vn/can-ban-nha-dat/ha-noi`
- Category pages: `https://alonhadat.com.vn/can-ban-dat-tho-cu-dat-o`
- Listing detail: `https://alonhadat.com.vn/ban-dat-hoa-lac-gan-dh-quoc-gia-ha-noi-xay-nha-o-sinh-vien-thu-thue-dong-tien-luon-19015421.html`

### Output

Each result is a structured real estate listing object. You can download the dataset in **JSON, CSV, Excel, or HTML**.

```json
{
  "id": "19015421",
  "title": "BÁN ĐẤT HOÀ LẠC GẦN ĐH QUỐC GIA HÀ NỘI XÂY NHÀ Ở, SINH VIÊN THUÊ THU DÒNG TIỀN LUÔN",
  "description": "Nếu có một mảnh đất vừa xây nhà ở, vừa kinh doanh, lại có thể khai thác cho thuê...",
  "price": 3600000000,
  "priceText": "3,6 tỷ",
  "currency": "VND",
  "area": 100,
  "propertyType": "Đất thổ cư, đất ở",
  "legalStatus": null,
  "direction": null,
  "streetWidth": "6m",
  "fullAddress": "Đường Quốc lộ 21, Xã Đoài Phương, Hà Nội",
  "sellerName": "Nguyễn Thị Hường",
  "sellerPhone": "0927.038.688",
  "imageUrl": "https://alonhadat.com.vn/files/properties/2026/8/21/images/019015421-3512-ban-dat-tho-cu-dat-o-ha-noi.jpg",
  "url": "https://alonhadat.com.vn/ban-dat-hoa-lac-gan-dh-quoc-gia-ha-noi-xay-nha-o-sinh-vien-thu-thue-dong-tien-luon-19015421.html",
  "scrapedAt": "2026-08-21T08:00:00.000Z"
}
```

### What data can you extract from AloNhaDat.com.vn?

| Field | Description |
| --- | --- |
| id | Listing identifier |
| title | Listing title |
| description | Full listing description |
| price | Asking price in VND |
| priceText | Original price text (e.g. "3,6 tỷ") |
| area | Floor / land area in m² |
| propertyType | Type of real estate (land, house, apartment, etc.) |
| legalStatus | Legal document status (sổ đỏ / sổ hồng) |
| direction | House/land facing direction |
| streetWidth | Street width in front of the property |
| frontageWidth | Property frontage width |
| floors | Number of floors |
| bedrooms | Number of bedrooms |
| fullAddress | Street, ward/commune, and province |
| sellerName | Seller or agent name |
| sellerPhone | Seller or agent phone number |
| imageUrl | Primary listing image URL |
| imageUrls | Full image gallery URLs |
| postedDate | Date the listing was posted |
| url | Public listing detail URL |
| scrapedAt | ISO timestamp when the record was scraped |

### How much does it cost to scrape AloNhaDat.com.vn?

This Actor uses a lightweight **HTTP crawler (no browser)**. AloNhaDat.com.vn rate-limits requests aggressively, so **residential proxies are used by default** to keep crawls reliable; you pay Apify platform usage (compute + proxy) directly and a low per-listing maintenance fee. A typical test run with a handful of listings per URL usually finishes in a few minutes.

### Image Credit

Image credit: [alonhadat.com.vn](https://alonhadat.com.vn/)

# Actor input Schema

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

AloNhaDat search URLs (e.g. https://alonhadat.com.vn/can-ban-nha-dat) or individual listing detail URLs.

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

Maximum number of real estate listings to return per start URL.

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

Proxy settings. AloNhaDat rate-limits datacenter IPs aggressively, so residential proxies are used by default.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://alonhadat.com.vn/can-ban-nha-dat"
    }
  ],
  "maxItems": 5,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# Actor output Schema

## `overview` (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://alonhadat.com.vn/can-ban-nha-dat"
        }
    ],
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("rainminer/alonhadat-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://alonhadat.com.vn/can-ban-nha-dat" }],
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    },
}

# Run the Actor and wait for it to finish
run = client.actor("rainminer/alonhadat-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://alonhadat.com.vn/can-ban-nha-dat"
    }
  ],
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}' |
apify call rainminer/alonhadat-scraper --silent --output-dataset

```

## MCP server setup

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