Property Search
/api/batdongsan/search
Search Vietnamese homes for sale and for rent by province, price, area, rooms and more
Scrappa's Batdongsan API returns structured JSON from Batdongsan, a Vietnamese property marketplace. Search homes for sale and for rent in all 63 provinces with price, area, bedroom, bathroom, category, legal status, interior, direction and location filters, open any listing with coordinates, photos and publisher, read price history and similar listings, autocomplete districts, wards, streets and projects, look up agent profiles and top agents, and list map markers for a map box.
Try it now
Use the first endpoint in this API family with a Scrappa API key. Every account includes 500 free monthly credits, so you can validate the response shape before buying credits.
curl -X GET "https://scrappa.co/api/batdongsan/search?city=HN&listing_type=sale&bedrooms=2&min_area=50&max_area=60" \
-H "Accept: application/json" \
-H "X-API-KEY: YOUR_API_KEY"
{
"success": true,
"data": {
"pagination": { "page": 1, "per_page": 20, "total": 44794, "total_pages": 2240, "returned": 20, "has_next_page": true },
"items": [
{
"id": 46364654,
"listing_type": "sale",
"title": "Vinhomes The Gallery",
"price": { "value_vnd": 40000000000, "display": "40 tỷ", "unit_display": "333,33 tr/m²" },
"area": 120,
"bedrooms": null,
"location": { "city_code": "HN", "project_name": "Vinhomes The Gallery" }
}
]
},
"meta": { "filtered_out": 0, "endpoint_family": "search", "billable": true }
}
Structured data for real applications. Here are some ideas.
Track asking prices and rents in Vietnamese dong by province, district, project and category.
Page through filtered searches and open each listing for facts, photos and publisher details.
Read the quarterly price chart of a project and compare a listing with the usual price.
Find the top professional agents of a province and read their certificates and listing counts.
Draw listings and project clusters for any map box.
Batdongsan scraper API
The Batdongsan API is built for real-estate analytics, listing tools and market research in Vietnam. Each search item carries the price in Vietnamese dong, the area, rooms, the address in the old and the new ward system, photos and the publisher. Listing detail adds coordinates, legal status, direction, road width and tags.
One search route for sale and rent in all 63 provinces.
Filters are always honoured: items that break a filter are dropped and counted, never returned.
Pagination returns the real page; a page past the end returns an empty list with the real totals.
Prices are in dong, with the display text and the price per square meter.
Failed requests are never billed.
Resolve a district, ward, street or project to an id and a type and pass both into search.
Open Batdongsan Autocomplete API docsPick a province, add filters and sort, then page through the results.
Open Batdongsan Search API docsPass a listing id to get coordinates, all photos, legal status and the publisher track record.
Open Batdongsan Listing API docsEverything you need in one API.
/api/batdongsan/search
Search Vietnamese homes for sale and for rent by province, price, area, rooms and more
/api/batdongsan/listing
Get the full record of one listing by id
/api/batdongsan/price-history
Get the quarterly price chart around a listing
/api/batdongsan/similar
Get listings similar to one listing
/api/batdongsan/autocomplete
Autocomplete districts, wards, streets and projects to a search-ready id
/api/batdongsan/agent
Get a publisher profile with certificate, company and listing count
/api/batdongsan/top-agents
Get the top professional agents of a province
/api/batdongsan/map-markers
List listing and project markers inside a map box
See how Scrappa compares to the official API.
| Feature | Scrappa | ScrapingBee / ScraperAPI |
|---|---|---|
| Batdongsan listing data as JSON | Build your own parser | |
| Sale and rent in one route | Separate scrapers | |
| Filters guaranteed on every item | Not available | |
| Price per 1k requests | From $0.20 | Varies by plan |
| Unified API key | Yes (80+ APIs) | Scraping only |
| Free tier | 500 credits/month | Trial credits only |
No. Scrappa is an independent service and is not affiliated with or endorsed by Batdongsan. The Batdongsan API returns structured JSON from public listing data through a Scrappa API key.
Dong. You send min_price and max_price in dong, and the response gives price.value_vnd in dong with the display text next to it.
No. Batdongsan offers no list of the listings of one agent. The agent route returns the profile and the number of listings. Search by location and project to reach listings.
No. Only successful responses are billed. A valid empty search result is successful and billable.