Discover/Centanet API
live

Centanet APIsh.centanet.com

Access Shanghai property listings, community profiles, rentals, and new developments via the Centanet (sh.centanet.com) API. 8 endpoints, clean JSON responses.

Endpoint health
verified 3d ago
search_communities
search_new_developments
search_rental_listings
get_geographic_scopes
get_community_detail
8/8 passing latest checkself-healing
Endpoints
8
Updated
26d ago

What is the Centanet API?

This API exposes 8 endpoints covering Shanghai real estate data from sh.centanet.com, including second-hand home sales, rentals, new developments, and residential community profiles. The search_second_hand_listings endpoint returns paginated sale listings filtered by keyword, district, or community code, while get_listing_detail provides per-listing loan estimates, tax info, and agent contact details. Geographic filtering is driven by district IDs retrieved from get_geographic_scopes.

Try it
District ID to filter by (e.g. '2172' for Pudong). Obtain from get_geographic_scopes endpoint.
Number of results per page.
Page number (1-based).
Filter by community name (partial match supported).
api.parse.bot/scraper/34633616-aed5-473f-b409-2660c077a749/<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/34633616-aed5-473f-b409-2660c077a749/search_communities?region_id=2172&page_count=5&page_index=1' \
  -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 sh-centanet-com-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.

"""Shanghai Centanet Real Estate API — usage walkthrough.

Demonstrates browsing districts, searching communities, drilling into listings,
and browsing new developments.
"""
from parse_apis.shanghai_centanet_real_estate_api import (
    Centanet, PostType, ResourceNotFound
)

client = Centanet()

# List all districts (geographic scopes) — single-page, cap total items
for district in client.districts.list(limit=3):
    print(district.name, district.id, district.lat)

# Search communities in Pudong district, capped at 3 results
for community in client.communities.search(region_id="2172", limit=3):
    print(community.name, community.sale_avg_price, community.address)

# Drill into the first community's sale listings
community = client.communities.search(limit=1).first()
if community:
    for listing in community.sale_listings.list(limit=3):
        print(listing.title, listing.sale_price, listing.area)

# Search rental listings by keyword
rental = client.rentallistings.search(keywords="古北", limit=1).first()
if rental:
    print(rental.estate_name, rental.rent_price, rental.room_count)

# Browse new developments and fetch detail
try:
    detail = client.newdevelopments.get(est_ext_id="29618")
    print(detail.name, detail.average_price, detail.status)
except ResourceNotFound as exc:
    print(f"Development not found: {exc}")

print("exercised: districts.list / communities.search / sale_listings.list / rentallistings.search / newdevelopments.get")
All endpoints · 8 totalmissing one? ·

Search for residential communities (xiaoqu) with optional filters. Returns paginated results with community summaries including average sale prices, addresses, sale/rent counts, and nearby transit info. Results are ordered by a relevance score.

Input
ParamTypeDescription
region_idstringDistrict ID to filter by (e.g. '2172' for Pudong). Obtain from get_geographic_scopes endpoint.
page_countintegerNumber of results per page.
page_indexintegerPage number (1-based).
estate_namestringFilter by community name (partial match supported).
Response
{
  "type": "object",
  "fields": {
    "Total": "integer total number of matching communities",
    "Result": "array of community summary objects with EstateCode, EstateName, SaleAvgPrice, Address, SaleNumber, RentNumber",
    "ResultNo": "integer status code (0 = success)"
  },
  "sample": {
    "data": {
      "Total": 11505,
      "Result": [
        {
          "Address": "顺平路59弄",
          "IsSchool": true,
          "RegionId": 2174,
          "IsRailWay": true,
          "EstateCode": "pedawkwyws",
          "EstateName": "中环和润苑",
          "GscopeName": "周家嘴路",
          "RegionName": "杨浦",
          "RentNumber": 4,
          "SaleNumber": 22,
          "SaleAvgPrice": 55123.99
        }
      ],
      "ResultNo": 0
    },
    "status": "success"
  }
}

About the Centanet API

Listings and Communities

The API covers three listing types: second-hand sales (search_second_hand_listings), rentals (search_rental_listings), and new developments (search_new_developments). Each search endpoint returns paginated summaries — Total count, a Result array, and a ResultNo status code. Listing summaries include price, area, and room counts; rental summaries add monthly rent figures. For full detail on any sale or rental listing, pass the AdsNo field and an optional post_type ('s' or 'r') to get_listing_detail, which returns estate info, loan calculator data, tax estimates, and agent contact.

Communities and New Developments

search_communities lets you find residential communities (xiaoqu) by district or partial name, returning average prices, addresses, and counts of active sale and rental listings. get_community_detail accepts an EstateCode and returns the full community record including EstateInfo, EstateImages, nearby schools, and transit data. New development searches use search_new_developments with 0-based start_index pagination; detail is retrieved via get_new_development_detail using the EstExtId, which returns project introduction, floor plans, developer info, and nearby transit.

Geographic Filtering

get_geographic_scopes takes no inputs and returns all Shanghai districts as an array of objects, each containing a gscopeList of nested sub-areas. The region_id values from this endpoint can be passed to search_communities, search_second_hand_listings, search_rental_listings, and search_new_developments to scope results to a specific district like Pudong (ID '2172'). This makes geographic filtering consistent across all listing types.

Reliability & maintenanceVerified

The Centanet API is a managed, monitored endpoint for sh.centanet.com — not a raw scraper you maintain. Every endpoint is automatically health-checked on a schedule, and when sh.centanet.com 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 sh.centanet.com 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
3d ago
Latest check
8/8 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 second-hand sale listings by district to build a Shanghai property price heat map using average price fields.
  • Monitor new development launches by polling search_new_developments and diffing the Total count and Result array.
  • Build a community comparison tool using get_community_detail to surface average prices, nearby schools, and transit for multiple xiaoqu.
  • Populate a rental search interface by filtering search_rental_listings with estate_code and region_id inputs.
  • Feed a loan affordability calculator using the loan and tax estimate fields returned by get_listing_detail for sale listings.
  • Construct a district-level market summary by combining get_geographic_scopes IDs with paginated results from all three search endpoints.
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 sh.centanet.com have an official public developer API?+
No. Centanet does not publish a public developer API or documentation for third-party access to its Shanghai listing data.
What does `get_listing_detail` return beyond the basic listing summary?+
It returns a full Result object that includes estate information, a loan calculator section, tax estimate fields, and agent contact details — fields not present in the search_second_hand_listings or search_rental_listings summary results. Pass post_type as 's' for sale listings or 'r' for rentals to ensure correct detail retrieval.
How does pagination work across the different search endpoints?+
search_communities, search_second_hand_listings, and search_rental_listings use 1-based page_index with a page_count per-page size. search_new_developments differs: it uses a 0-based start_index offset alongside a length parameter. Both patterns return a Total integer so you can calculate how many pages or offsets remain.
Does the API expose historical price trends or transaction records for communities or listings?+
Not currently. The API covers current listing prices, community average prices, and new development pricing, but does not include historical price series or closed transaction records. You can fork it on Parse and revise to add an endpoint targeting historical transaction data if that surface becomes available.
Is listing data available for cities outside Shanghai?+
This API is scoped to sh.centanet.com, which covers Shanghai only. Centanet operates regional sites for other Chinese cities, but those are not covered here. You can fork this API on Parse and revise it to point at a different regional Centanet domain to extend coverage.
Page content last updated . Spec covers 8 endpoints from sh.centanet.com.
Related APIs in Real EstateSee all →
beijing.anjuke.com API
Search Beijing real estate listings for second-hand homes and rentals, view detailed property information and price trends, and discover agents and community-specific listings. Get access to the Beijing house price index to track market movements and make informed decisions about property purchases or rentals.
58.com Housing API
Access real-time housing market data from 58.com (58同城), China's largest classifieds platform. Search house price trends across 31+ major Chinese cities at city, district, and neighborhood levels, and browse hot new property developments with prices, floor plans, and location details.
cityventures.com API
Find eco-friendly new homes across California communities with detailed floor plans and community information from City Ventures. Browse available developments and compare layouts to discover the perfect home for your needs.
commonfloor.com API
Search and browse property listings, projects, and real estate market trends from CommonFloor with access to detailed property information, amenities, location data, and agent contacts. Discover properties across multiple cities, compare market insights, and get comprehensive project details to help with your property search or investment decisions.
rew.ca API
Search rental and for-sale properties across Canada, get detailed listing information, explore neighbourhoods, and find real estate agents in your area. Access property details, agent profiles, and neighbourhood data all in one place.
smdc.com API
Search and browse SMDC property listings across Heights, Nature, and Symphony Homes segments, view detailed project information, and stay updated with the latest real estate news and articles. Filter properties by location or status and access comprehensive details about available developments all in one place.
rchomesinc.com API
Discover available RC Homes communities across California and explore detailed floor plans and quick move-in home options for each location. Browse community listings to compare layouts and find your ideal property among all RC Homes developments in the state.
californiapacifichomes.com API
Browse new home communities and floor plans across Southern California Pacific Homes developments, and discover move-in ready homes available now. Get detailed information about each community's available layouts and inventory to find your perfect new home.