Reef AI: ask for any data. Try it
Anjuke 安居客 API

China's largest property portal as JSON: resale, rentals, new homes, communities and prices

endpoints
14
credits per call
1–3

Anjuke (安居客, part of the 58.com group) is China's largest property portal.

/anjuke/v1

  • POST/anjuke/v1/cities2 credits
  • POST/anjuke/v1/city_filters2 credits
  • POST/anjuke/v1/sale_search3 credits
  • POST/anjuke/v1/sale_detail1 credit
  • POST/anjuke/v1/suggest1 credit
  • POST/anjuke/v1/community_search2 credits
  • POST/anjuke/v1/community_detail2 credits
  • POST/anjuke/v1/rent_search2 credits
  • POST/anjuke/v1/rent_detail2 credits
  • POST/anjuke/v1/new_home_search2 credits
14 active endpoints, on 1, 2 and 3 credit tiers.+4 more, every parameter ↓OpenAPI 3.0 spec ↗

3 credits per call≈ $3/1,000 calls1,000 free credits, no card

Get a free API key
Try it live

Run the call yourself, on the real endpoint

Change a parameter and press Try it. The response on the right is what your code will receive.

Anjuke 安居客 API

6 of 14 endpoints, ready to run

View docs ↗

Resale homes in a district or area, with every site filter

3 credits1 required · 2 optional
POST/anjuke/v1/sale_search
idle
// Press "Try it" and this pane shows exactly what the
// live site returned this second — including an empty
// result, if that is the truth. No key, no account.

Try every endpoint in the playground

Endpoints

What Anjuke 安居客 endpoints does ReefAPI ship?

14 live read endpoints. Read-only data API: no writes, no account actions, no dashboard access on the target site.

  • cities

    2 cr

    Every city anjuke.com serves (737 measured), with pinyin, short alias, hot-city flag and the…

    required
    —
    optional
    query
  • city_filters

    2 cr

    The city's own search vocabulary.

    required
    city
    optional
    —
  • sale_search

    3 cr

    Resale homes (二手房) for sale in a city, with every filter the site offers.

    required
    city
    optional
    district, area, metro_line, metro_station, price_min, price_max, area_min, area_max, rooms, house_age, fitment, floor, use_type, orientation, property_type, features, community_id, keyword, sort, page, page_size
  • sale_detail

    1 cr

    One resale listing.

    required
    listing_id, city
    optional
    —
  • suggest

    1 cr

    The site's own autocomplete.

    required
    city, keyword
    optional
    —
  • community_search

    2 cr

    communities (小区) in a city with average listing price, listings for sale / rent, households,…

    required
    city
    optional
    district, area, keyword, sort, page, page_size
  • community_detail

    2 cr

    One community page.

    required
    city, community_id
    optional
    —
  • rent_search

    2 cr

    Rental listings (租房) in a city.

    required
    city
    optional
    district, area, rent_min, rent_max, rooms, rent_type, source, page, page_size
  • rent_detail

    2 cr

    One rental listing.

    required
    city, rental_id
    optional
    —
  • new_home_search

    2 cr

    New-home projects (新房 / 楼盘).

    required
    city
    optional
    district, status, rooms, size, property_type, fitment, opening, delivery, features, sort, page, page_size
  • new_home_detail

    3 cr

    One new-home project page.

    required
    city, project_id
    optional
    —
  • new_home_specs

    3 cr

    The project's full specification sheet (楼盘详情).

    required
    city, project_id
    optional
    —
  • new_home_reviews

    1 cr

    Buyer reviews of a new-home project.

    required
    city, project_id
    optional
    —
  • price_trend

    2 cr

    The site's own average resale price (元/m²) history for a city, a district, an area or one com…

    required
    city
    optional
    district, area, community_id

Every parameter, every allowed value →

Missing a Anjuke 安居客 endpoint, or need a source we don't have yet?Contact us real people · same-day reply.
How it works

How the Anjuke 安居客 API works

Anjuke 安居客 is a normal ReefAPI surface — the same four rules that hold for every other engine on the key.

Authenticate01
x-api-key header

No OAuth app, no request signing, no per-site account. One key covers all 746 engines.

Call02
POST /anjuke/v1/…

Every route is a POST with a JSON body. Parameters are validated against the published schema before anything is charged.

Pay03
1 or 2 or 3 credits per call

Credits, not seats. Failed and blocked calls are never charged, and nothing is cached: every call reads the source live.

Read04
{ ok, data, meta, error }

One envelope everywhere. meta carries latency_ms, record_count and the endpoint that answered.

Recipe

From a district to its listings, communities and price history

Read the city's vocabulary, search a district, open a listing and its community, then pull the community's prices.

01city_filters?city=shanghai
GET/anjuke/v1/city_filters?city=shanghai

Shanghai's 17 districts with their areas, metro lines with stations, and the price, size and room buckets the site offers.

02sale_search?city=shanghai&district=浦东&area=八佰伴&page_size=60
GET/anjuke/v1/sale_search?city=shanghai&district=浦东&area=八佰伴&page_size=60

120 resale listings in 八佰伴: total price in 万元 and yuan, price per m², layout, size, floor, year and community.

03sale_detail?city=shanghai&listing_id=4408342721256455
GET/anjuke/v1/sale_detail?city=shanghai&listing_id=4408342721256455

388万 for 94.28 m², 41,155 yuan per m², 2室2厅1卫, built 2004, with description, photos, payments and the listing agent.

04community_detail?city=shanghai&community_id=4664
GET/anjuke/v1/community_detail?city=shanghai&community_id=4664

蓝色港湾(公寓住宅): 2,096 households, developer 上海博馨房地产开发有限公司, average asking price 54,823 yuan per m².

05price_trend?city=shanghai&community_id=4664
GET/anjuke/v1/price_trend?city=shanghai&community_id=4664

The community's monthly average price, 54,818 yuan per m² in 2026-11 (+2.45 % on the month).

A district file: every current listing with its community, and each community's price over time.

request
curl -X POST https://api.reefapi.com/anjuke/v1/sale_search \
  -H "x-api-key: $REEF_KEY" \
  -H "content-type: application/json" \
  -d '{"city":"shanghai","district":"浦东","page_size":20}'
response envelope
{
  "ok": true,
  "data": { … },
  "meta": {
    "api": "anjuke",
    "endpoint": "sale_search",
    "mode": "live",
    "latency_ms": …,
    "record_count": …
  },
  "error": null
}
Fields

What an Anjuke field actually contains

Fields that read differently from how they look. Every row was measured against live anjuke.com pages on 2026-11-19/20.

FieldWhat it holds
total_price_wan, total_price_cnyThe asking price. total_price_wan is in 万元 (10,000 yuan) exactly as the site prints it ("388万"); total_price_cny is the same figure in yuan (3,880,000). Total price, price per m², layout and size equalled the listing page on 18 of 18 listings in 9 cities.
unit_price_cny_per_m2The listing's own price per m² ("41759.0元/㎡" beside the total). The 小区均价 printed lower on the same page is the community's average; sale_detail returns it separately as community.listing_avg_price_cny_per_m2.
price_value, price_unit (new homes)A project's price comes in two units: 元/m² for flats ("4000元/m²") and 万元/套 for villas ("4000万元/套起", from 40 million yuan per unit). price_cny_per_m2 is filled only for 元/m² rows and price_from_wan_per_unit only for 万元/套 rows.
reference_price_cny_per_m2Anjuke's own estimate for a project without a published price, printed with "周边" (from the surrounding area) or "往期" (an earlier sale). It is not the developer's price.
years_held_tag满五 (held five years or more) or 满二 (two years or more), the tags Chinese buyers read for transfer tax.
brokerThe agent the site shows on the listing at that moment, with company, store and licence code. A listing shared by several agencies can show a different agent on a later request. Search rows name the agent rarely (8 of 1,828); sale_detail named one on 20 of 20.
community.lat / lngCoordinates as the site publishes them. On resale rows they are the Baidu-map pair (they equal lat_baidu / lng_baidu on community_detail, which also returns the site's second pair as lat / lng); new-home rows name theirs lat_baidu / lng_baidu.
price_trend pointsThe monthly average asking price per m² from the site's price page. For a city it lists the latest months of the current year and August to December of each year back to 2010 (85 points for Shanghai); for a community about the last 19 months with the monthly change.
posted_text (rent)The rental feed prints relative times ("11小时前", "11-16"); they are returned as printed.

Prices are in Chinese yuan. Text fields are the site's own Chinese text, untranslated.

Coverage

Anjuke coverage, measured

Every number below was read from live anjuke.com on 2026-11-19 and 2026-11-20, in 567 live calls across 15 cities.

Market

737 Chinese cities. Resale listings: Shanghai 122,655, Beijing 84,283, Chengdu 132,230; rentals: Shanghai 393,464; new-home projects: Shanghai 2,251; communities: Shanghai 55,034.

Paging

Resale up to 60 per page and 1,850 per filter set; rentals 3,480; communities 3,500; new-home projects all (2,251 in Shanghai). Three consecutive resale, community and new-home pages had no repeats; the rental feed re-ranks live and repeated 3 of 30 rows between pages 2 and 3.

Filters that bite

Shanghai resale 122,655 → 浦东 28,656, 八佰伴 120, metro line 2 13,442, 200-300万 28,614, 60-90 m² 40,748, 2 rooms 54,030, luxury fitment 2,774, villas 5,346, near metro 94,863, urgent sale 12,485, keyword 陆家嘴 671. Rentals 393,464 → 浦东 100,392, 3,000-6,000 yuan 178,772, shared 65,471, owner-listed 10,053.

Values

Total price, price per m², layout and size equalled the listing page on 18 of 18 listings in 9 cities. Search to detail returned the same listing on 20 of 20 resale and 20 of 20 rental ids.

Fields

Resale rows: total price 1,802 of 1,828 (the rest publish none), building year 1,780; community rows: average price 973 of 1,000, households 954; new-home rows: price 517 of 613, sales hotline 405.

Limits

Search rows rarely name the agent (sale_detail does). New-home reviews: the total and the latest reviews the project page shows (at most 2 measured); an unknown project id answers like a project with no reviews. The ring-road filter the site lists is not applied by its resale search, so it is not offered.

Use cases

What people build with Anjuke 安居客

The jobs this data is most often used for.

01

Track asking prices per m² for districts and individual communities across Chinese cities.

02

Build a resale or rental listing feed for one city with the site's own filters and paging.

03

Monitor new-home projects: price, sale status, presale permits and developer.

04

Compare communities (小区) by average price, households, property fee and the site's scores.

14

endpoints

1/2/3

credits per call

Pricing

What Anjuke 安居客 data costs

The cheapest call here is 1 credit, so $15/mo (Pro) buys 10,000 of them — $1.50 per 1,000 credits. Credits roll over and never expire, and failed or blocked calls are not charged.

$0.67–$1.50 / 1,000 credits
Full pricing →
  • 1,000 free credits on signup, no card
  • One key, all 746 APIs, one credit pool
  • Failed and blocked calls are never charged
  • Credits roll over and never expire
no credit card1,000 free credits · instant API key · pay by card or crypto
Quickstart

Call it in two lines

Sign up, get 1,000 credits and one key that works on every engine. Then this is the whole protocol.

curl
curl -X POST https://api.reefapi.com/anjuke/v1/sale_search \
  -H "x-api-key: $REEF_KEY" \
  -H "content-type: application/json" \
  -d '{"city":"shanghai","district":"浦东","page_size":20}'
python
import os
import requests

REEF_KEY = os.environ["REEF_KEY"]

r = requests.post(
    "https://api.reefapi.com/anjuke/v1/sale_search",
    headers={"x-api-key": REEF_KEY},
    json={
        "city": "shanghai",
        "district": "浦东",
        "page_size": 20
    },
    timeout=90,
)
print(r.json()["data"])
FAQ

Have a question? We got answers.

The questions people actually ask before wiring up Anjuke 安居客.

Do I need an Anjuke or 58.com account?▾

No. Everything comes from anjuke.com's logged-out pages. You only need your ReefAPI key.

Which cities are covered?▾

All 737 cities anjuke.com lists. Pass the city as its pinyin (shanghai), the site's short alias (sh) or the Chinese name (上海); the cities action lists them all. For 30 cities the site uses an abbreviation as its host name (西安 is xa, 青岛 is qd); the full pinyin (xian, qingdao) works too.

How many listings can one search return?▾

Resale: up to 60 per page and at most 1,850 per filter set; the site itself stops there, so narrow by district, area or price to reach more. Rentals: up to 60 per page, at most 3,480. Communities: up to 50 per page, at most 3,500. New-home projects: every project is reachable (Shanghai 2,251 = 45 pages of 50 plus 1).

Are prices in yuan?▾

Resale prices come in 万元 as printed and in yuan; price per m² in yuan. Rents are yuan per month. New-home prices carry their unit (元/m² or 万元/套) next to the number.

Can I filter by district by name?▾

Yes. district and area accept the Chinese name (浦东 or 浦东区), the site's slug (pudong) or the id from city_filters. An unknown name returns the list of valid ones.

Does it return agent and agency details?▾

sale_detail returns the listing agent's name, company, store and licence code as the listing shows them; rent_detail returns the agent name and company. Phone numbers are usually blank on the public page because the site connects calls through a temporary number.

How fresh is the data?▾

Every call reads anjuke.com live. In 567 live calls the median answer took 1.0 to 2.2 seconds depending on the action, the slowest 4.4 seconds.

What is the Anjuke 安居客 API?▾

Anjuke 安居客 API is a ReefAPI endpoint group for china's largest property portal: resale homes, rentals, new-home projects, residential communities and monthly price history, city by city. It returns live JSON through POST requests under /anjuke/v1.

Is the Anjuke 安居客 API free to try?▾

Yes. ReefAPI starts with 1,000 free credits, no card required. Anjuke 安居客 calls use the same shared credit balance as every other ReefAPI engine.

Do I need an Anjuke 安居客 login or account?▾

No login to Anjuke 安居客 is needed for the API response. You call ReefAPI with your x-api-key header, and the playground can run live examples before you create a production key.

How fresh is the Anjuke 安居客 data?▾

The page example is captured from a live cities call, and production requests fetch live data through ReefAPI rather than a static sample.

How many credits does the Anjuke 安居客 API use?▾

Anjuke 安居客 actions currently cost 1-3 credits per successful call. Failed or blocked calls are free. All APIs draw from one credit pool.

Can I call Anjuke 安居客 from an AI assistant or MCP client?▾

Yes. Connect ReefAPI once through MCP and your assistant can call anjuke actions with the same key, credit pool and JSON envelope used by normal REST requests.

Is the Anjuke 安居客 API an Anjuke 安居客 scraper?▾

It is the managed alternative to a DIY Anjuke 安居客 scraper. Instead of building and maintaining your own scraper — proxies, headless browsers, captcha and constant breakage — you call one ReefAPI endpoint and get the same china's largest property portal: resale homes, rentals, new-home projects, residential communities and monthly price history, city by city back as clean JSON.

Same key

42 Real Estate APIs on the same key

One key, one credit pool, one response envelope. If you are pulling Anjuke 安居客, you are one call away from the rest of the category — no second contract, no second integration.

Already paying for something else?Anjuke 安居客 vs Bright Data
Contact

Need something this API does not do?

Name the endpoint, the field, or a source we do not carry yet. We ship new APIs every week and you would be first to get the key. Real people read every message and reply the same day.

0/4000

No account needed · we reply from [email protected]

Try it on your own data before you pay anything

The call above is the real endpoint, not a recording. A free key gives you 1,000 credits, the other 745 APIs, and the same envelope everywhere.

Endpoints, parameters and credit costs on this page are read from the live catalog and cannot drift from what the API accepts. Field notes were captured on 2026-11-20.