Discover/Com API
live

Com APIbatdongsan.com.vn

Access Vietnam real estate listings, project data, and news from batdongsan.com.vn via 5 structured API endpoints covering sale, rent, and property details.

Endpoint health
verified 7d ago
search_listings_for_sale
search_listings_for_rent
get_listing_detail
get_news
list_projects
5/5 passing latest checkself-healing
Endpoints
5
Updated
22d ago

What is the Com API?

The batdongsan.com.vn API exposes 5 endpoints covering Vietnam's largest real estate portal, returning structured data on property listings for sale and rent, full listing details, development projects, and market news. The get_listing_detail endpoint delivers per-property specs, masked agent contact info, image URLs, and location breadcrumbs down to ward level — data that typically requires navigating individual listing pages manually.

Try it
Page number for pagination.
Search keyword to filter listings (e.g. 'Vinhomes'). Omitting returns all listings.
Location slug for filtering by city/province (e.g. 'ha-noi', 'tp-hcm', 'da-nang'). Omitting returns listings nationwide.
api.parse.bot/scraper/17f5b902-ea62-41aa-bc40-7b6e52965d8b/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Call it over HTTPgrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/17f5b902-ea62-41aa-bc40-7b6e52965d8b/search_listings_for_sale?page=1&keyword=Vinhomes&location=ha-noi' \
  -H 'X-API-Key: $PARSE_API_KEY'
Python SDK · recommended

Typed, relational, agent-ready

A generated client with real types, enums, and the links between objects — the structure a flat JSON response can't carry. Autocompletes in your editor and reads cleanly to coding agents.

  • Fully typed · autocompletes
  • Objects link to objects
  • Typed errors & pagination

Typed Python client. Set up the SDK in your uv project, then pull this API’s typed client:

uv add parse-sdk
uv run parse init
uv run parse add --marketplace batdongsan-com-vn-api

uv run parse add --marketplace pulls a pinned snapshot of this canonical API — it won’t change underneath you. To customize it, subscribe and swap to your own copy.

"""Walkthrough: Batdongsan.com.vn real estate API — search, drill-down, browse."""
from parse_apis.batdongsan_com_vn_api import Batdongsan, ListingNotFound

client = Batdongsan()

# Search for sale listings in Hanoi, capped at 5 results.
for listing in client.listingsummaries.search_for_sale(location="ha-noi", limit=5):
    print(listing.title, listing.price, listing.area)

# Drill into the first rental listing for full details.
rental = client.listingsummaries.search_for_rent(location="tp-hcm", limit=1).first()
if rental:
    detail = rental.details()
    print(detail.title, detail.price, detail.area)
    print(detail.agent.name, detail.agent.phone_masked)
    for key, val in detail.specs.items():
        print(f"  {key}: {val}")

# Browse development projects.
for project in client.projects.list(limit=3):
    print(project.title, project.address)

# Get latest news articles.
for article in client.articles.list(limit=3):
    print(article.title, article.summary)

# Typed error handling: catch a listing-not-found.
try:
    bad = client.listingsummaries.search_for_sale(keyword="nonexistent_xyzzy_99", limit=1).first()
    if bad:
        bad.details()
except ListingNotFound as exc:
    print(f"Listing gone: {exc.url}")

print("exercised: search_for_sale / search_for_rent / details / projects.list / articles.list")
All endpoints · 5 totalmissing one? ·

Search for real estate listings for sale on batdongsan.com.vn. Returns paginated results with listing summaries including price, area, and location. Results are ordered by recency. Each page returns up to 30 listings.

Input
ParamTypeDescription
pageintegerPage number for pagination.
keywordstringSearch keyword to filter listings (e.g. 'Vinhomes'). Omitting returns all listings.
locationstringLocation slug for filtering by city/province (e.g. 'ha-noi', 'tp-hcm', 'da-nang'). Omitting returns listings nationwide.
Response
{
  "type": "object",
  "fields": {
    "url": "string, the URL that was fetched",
    "page": "integer, current page number",
    "listings": "array of listing objects with id, title, url, price, area, price_per_m2, location, published_at",
    "total_count_on_page": "integer, number of listings returned on this page"
  },
  "sample": {
    "data": {
      "url": "https://batdongsan.com.vn/nha-dat-ban-ha-noi",
      "page": 1,
      "listings": [
        {
          "id": "45893496",
          "url": "https://batdongsan.com.vn/ban-can-ho-chung-cu-duong-nguyen-trai-phuong-thuong-dinh-hanoi-seasons-garden/ban-goc-truc-08-va-15a-3pn-view-ep-nhat-du-an-dt-97-135m-gia-chi-tu-15-ty-lh-pr45893496",
          "area": "115 m²",
          "price": "Giá thỏa thuận",
          "title": "Bán căn góc trục 08 và 15A căn 3PN view đẹp nhất dự án",
          "location": "·Q. Thanh Xuân",
          "price_per_m2": null,
          "published_at": "Đăng hôm nay"
        }
      ],
      "total_count_on_page": 30
    },
    "status": "success"
  }
}

About the Com API

Listing Search and Filtering

The search_listings_for_sale and search_listings_for_rent endpoints accept three optional parameters: page for pagination, keyword for text-based filtering (e.g. 'Vinhomes'), and location for province or city slugs such as 'tp-hcm' or 'ha-noi'. Each page response includes an array of listing objects with id, title, url, price, area, price_per_m2, location, and published_at, plus a total_count_on_page integer. Omitting both keyword and location returns nationwide results across all property types.

Property Detail Data

get_listing_detail takes a full listing URL — typically sourced from search results — and returns an expanded record. The specs field is a key-value object mapping Vietnamese-language specification labels (bedrooms, legal status, floor area, etc.) to their values, so the available keys vary by property type. The agent object includes name and phone_masked, reflecting the contact display as it appears on the listing. The location object provides breadcrumbs, city, district, and ward for precise geographic placement.

Projects and News

list_projects returns paginated development project entries with title, url, and address. This endpoint does not require any filters — pagination via page is the only available parameter. get_news returns the latest real estate news articles from the portal with title, url, and an optional summary field that may be null depending on the article format. Both endpoints are useful for monitoring market activity and new supply without querying individual listings.

Reliability & maintenanceVerified

The Com API is a managed, monitored endpoint for batdongsan.com.vn — not a raw scraper you maintain. Every endpoint is automatically health-checked on a schedule, and when batdongsan.com.vn changes and a check fails, the API is automatically queued for repair and re-verified. It is built to keep working as the site underneath it changes.

This isn't an official batdongsan.com.vn API — it's an independent, maintained REST wrapper over public data. Where the source has no official API (or only a limited one), Parse gives you a stable contract over a source that never promised one, and keeps it current. Need a new endpoint or field? You can revise it yourself in plain English and the agent rebuilds it against the live site in minutes — contributing the change back to the shared API is free.

Last verified
7d ago
Latest check
5/5 endpoints passing
Maintenance
Monitored & self-healing
Will this API break when the source site changes?+
It's built not to. Every endpoint is health-checked on a schedule with automated test probes. When the source site changes and a check fails, the API is automatically queued for repair and re-verified — that's the self-healing layer. Each API page shows when its endpoints were last verified. And because marketplace APIs are shared, any fix reaches everyone using it.
Is this an official API from the source site?+
No — Parse APIs are independent, managed REST wrappers over publicly available data. That is the point: where a site has no official API (or only a limited one), Parse gives you a maintained, monitored endpoint for that data and keeps it working as the site changes — so you get a stable contract over a source that never promised one.
Can I fix or extend this API myself if I need a new endpoint or field?+
Yes — and you don't have to wait on us. This API was generated by the Parse agent, which stays attached. Describe the change in plain English ("add an endpoint that returns reviews", "fix the price field") in the revise box on the API page or via the revise_api MCP tool, and the agent rebuilds it against the live site in minutes. Contributing the change back to the public API is free.
What happens if I call an endpoint that has an issue?+
Errors are machine-readable: a bad call returns a clean status with the list of available endpoints and a repair hint, so an agent (or you) can recover or trigger a fix instead of failing silently. Confirmed failures feed the automatic repair queue.
Common use cases
  • Aggregate nationwide property-for-sale inventory filtered by city slug for a Vietnam real estate comparison tool.
  • Track rental listing price trends in Ho Chi Minh City using price_per_m2 from paginated search_listings_for_rent results.
  • Build a property detail enrichment pipeline that resolves listing URLs from search results through get_listing_detail to extract bedroom counts and legal status from the specs object.
  • Monitor new development projects entering the market by polling list_projects for new title and address records.
  • Power a Vietnam real estate news feed using get_news article titles and summaries.
  • Map property locations at ward level using the breadcrumbs and ward fields from get_listing_detail.
  • Build a lead-generation tool that surfaces masked agent contact details alongside listing specs for investor outreach.
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000100 req/min

One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does batdongsan.com.vn offer an official developer API?+
Batdongsan.com.vn does not publish a public developer API or documented data access program. Data access for developers is not available through an official channel from the site.
What does `get_listing_detail` return that the search endpoints don't?+
The search endpoints return summary-level fields: id, title, price, area, price_per_m2, location, and published_at. get_listing_detail adds the full description text, an images array, a specs object with property-specific attributes (bedrooms, legal status, etc.), an agent object with name and phone_masked, and a structured location object with breadcrumbs, city, district, and ward.
Can I filter listings by property type, price range, or area size?+
The current search endpoints support filtering by keyword and location slug only. Price range, area size, and property type filters are not currently exposed. You can fork this API on Parse and revise it to add those filter parameters.
Is project detail data available, or only the project list?+
list_projects returns title, url, and address per project. Detailed project pages — unit counts, developer info, pricing, or completion status — are not currently covered by a dedicated endpoint. You can fork this API on Parse and revise it to add a get_project_detail endpoint using the project URLs from the list.
How current are the listings returned by the search endpoints?+
Each listing object includes a published_at field so you can assess recency yourself. The API reflects the live state of batdongsan.com.vn at the time of the request; it does not cache historical snapshots, so repeated calls to the same page may return different listings as the portal's inventory changes.
Page content last updated . Spec covers 5 endpoints from batdongsan.com.vn.
Related APIs in Real EstateSee all →
ingatlan.com API
Search real estate listings and development projects on ingatlan.com to find properties with detailed information like prices, descriptions, and project details. Get comprehensive data on available homes and construction projects even when direct access is restricted.
ddproperty.com API
Search and browse property listings across Thailand for both sale and rent, view detailed property information, explore locations, and calculate mortgage payments to help with your real estate decisions.
propertyguru.com.sg API
Search and browse thousands of property listings across Singapore for both sale and rent, view comprehensive details like pricing and features, and discover upcoming new project launches. Find the perfect property or connect with real estate agents all in one platform.
dotproperty.com.ph API
Search for residential properties for rent or sale on Dot Property Philippines and retrieve detailed information like pricing, specifications, and agent details from individual listings. Access comprehensive property data to compare options and make informed real estate decisions.
housing.com API
Search and retrieve real estate listings on Housing.com. Browse properties for sale, rent, plots, and commercial spaces across major Indian cities with filtering by locality and property type.
realcommercial.com.au API
Search commercial property listings across Australia, view detailed property information, and stay updated with the latest real estate market news all from one platform. Find investment opportunities, compare properties, and read industry insights to make informed decisions in the commercial property market.
domain.com.au API
Search and compare property listings for sale, rent, or sold properties across Australia, view detailed property information and agent profiles, and explore suburb insights to make informed real estate decisions. Access comprehensive data on agents, neighborhoods, and properties all in one place.
propertypal.com API
Search and browse thousands of properties across Northern Ireland including rentals, sales, and commercial listings while accessing agent details, price trends, and market news. Get comprehensive property information, open viewing schedules, and real estate insights all in one place.