# 🚀 Anjuke Rent Scraper · 5,000 Free Rentals/Month (`omkar-cloud/anjuke-rent-scraper`) Actor

Anjuke Rent Scraper gets you Anjuke (安居客) rental data ⚡ fast, 🎯 100% accurate and 🔍 ridiculously detailed — China rentals with rent, layout, amenities, photos, metro & brokers. 💰 $1 per 1,000 rentals, no start fee. Scrape your first 5,000 rentals free every month 🚀

- **URL**: https://apify.com/omkar-cloud/anjuke-rent-scraper.md
- **Developed by:** [Omkar Cloud](https://apify.com/omkar-cloud) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.00 / 1,000 rental scrapeds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
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.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## 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.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Anjuke Rent Scraper

Anjuke Rent Scraper by Omkar Cloud gets you 🎯 accurate, 🔍 detailed Anjuke (安居客) rental data.

Anjuke is China's largest property portal — 405,630 rentals in Shanghai alone right now, across 679 cities — and every run scrapes it live, so you get today's rents, layouts, amenities and brokers, and can successfully complete your project.

**$1 per 1,000 rentals.** And with Apify's free plan you get $5 of credit every month, so your first **~5,000 rentals each month are free**.

This is an excellent Actor made by Omkar Cloud, which is Rated Excellent — [4.7 based on 37 reviews on Trustpilot](https://www.trustpilot.com/review/omkar.cloud).

👉 [**Try Anjuke Rent Scraper free**](https://apify.com/omkar-cloud/anjuke-rent-scraper) — your first ~5,000 rentals are Free.

### What can I get

- 🏙️ **Rentals (租房) in 679 Chinese cities** — search any city by pinyin (`shanghai`), alias (`sh`) or Chinese name (`上海`); narrow by place name, district, business area (商圈), rent, bedrooms, whole home or shared flat, fitment, and agent or owner listings
- 💴 **Rent, layout & location on every row** — monthly rent, layout (室/厅/卫), size, floor, orientation, fitment, community, district, business area, nearest metro, verified badge, posted time & main photo
- 📋 **Full details** — payment terms (押一付一…) & fees, every amenity (grouped by room where Anjuke groups them, as it often does for shared flats), description, street address, coordinates, every photo, video, nearby metro stations with walking distance, and the broker's company, licence, store, service score & ratings
- 🔗 **Any rental URL** — paste desktop or mobile Anjuke rental links (or rental ids) and get the full rental back

### Why Anjuke Rent Scraper

Most other Anjuke scrapers fail you in one of four ways:

- 🗄️ **Inaccurate, cached, stale data**
- 🧩 **Low-detail data** — a few fields per row, never the full picture
- 💸 **Pay more to get the same data**
- 🪦 **Works today, breaks next month** — nobody maintains it

Anjuke Rent Scraper is scraped live on every run, priced honestly, and actively maintained.

### Example Output

```json
{
  "search_city": "shanghai",
  "search_keyword": "陆家嘴",
  "id": "4815969906009099",
  "link": "https://sh.zu.anjuke.com/fangyuan/4815969906009099",
  "title": "新上高区一线江景带车位 精装中央空调带地暖 临地铁 钥匙房",
  "rental_type": "整租",
  "rent_monthly": 43000,
  "rent_currency": "CNY",
  "rent_payment_terms": "押一付一",
  "layout": "3室2厅2卫",
  "rooms": 3,
  "bathrooms": 2,
  "area_sqm": 167.17,
  "floor": 13,
  "total_floors": 32,
  "orientation": "南北",
  "fitment": "精装修",
  "is_verified": true,
  "has_elevator": true,
  "metro": "距9号线-商城路站857m",
  "posted_ago": "7小时前",
  "photo": "https://pic1.ajkimg.com/display/anjuke/06efbae753646630377ebe4a1528e1c3/480x360c.jpg?t=1&srotate=1",
  "community_name": "仁恒滨江园(一二期)",
  "district": "浦东",
  "business_area": "陆家嘴",
  "address": "浦明路99弄",
  "latitude": 31.235296,
  "longitude": 121.514755,
  "metro_stations": [
    { "line": "9号线", "station": "商城路", "walk_text": "步行857米", "walk_m": 857 },
    { "line": "14号线", "station": "陆家嘴", "walk_text": "步行902米", "walk_m": 902 }
  ],
  "amenities": ["冰箱", "电视", "洗衣机", "热水器", "空调", "宽带", "沙发", "床"],
  "description": "本房源亮点：仁恒滨江园(一二期)整租，3室2厅2卫，精装修，南北朝向，带电梯，有停车位，押一付一，付款方式灵活。小区绿化率高，容积率低，环境优美。周边设施齐全，生活便利。",
  "broker_name": "张宣保",
  "broker_company": "上海铖家房产经纪有限公司",
  "broker_service_score": 833,
  "broker_ratings": [
    { "name": "服务能力", "rating": "优秀" },
    { "name": "房源信息", "rating": "良好" },
    { "name": "专业能力", "rating": "良好" }
  ]
}
```

*Trimmed for readability. Every row is flat — it exports straight to CSV and Excel. Chinese values stay exactly as Anjuke shows them.*

### Example Inputs

Shared rooms (合租) around Lujiazui up to 3,000 CNY a month, with full details:

```json
{
  "cities": ["shanghai"],
  "keyword": "陆家嘴",
  "rentalType": "shared",
  "rentMax": 3000,
  "scrapeRentalDetails": true,
  "maxResultsPerSearch": 200
}
```

Two-bedroom whole homes (整租) listed by their owners in Beijing's Chaoyang district:

```json
{
  "cities": ["beijing"],
  "district": "朝阳",
  "rooms": "2",
  "rentalType": "whole",
  "listedBy": "owner"
}
```

Rental URLs (desktop or mobile) or bare ids — always returned in full:

```json
{
  "rentalUrls": [
    "https://sh.zu.anjuke.com/fangyuan/4815969906009099",
    "4813206449548289"
  ]
}
```

### Get Started with 5,000 Free Rentals

1. [Hit **Try for Free Button**](https://apify.com/omkar-cloud/anjuke-rent-scraper) — the input is pre-filled with a Shanghai rental search and one rental URL.
2. Enjoy your data 😎.

### Pricing

High value, Low price.

| What | Price | What you get |
|---|---|---|
| **Standard rentals** | **$1.00 per 1,000** | id, link, title, whole home or shared flat, monthly rent, layout, rooms, living rooms, bathrooms, size, floor, orientation, fitment, verified, elevator & video flags, tags, nearest metro, posted time, main photo, community, district, business area + search context |
| **Detailed rentals** | $3.00 per 1,000 | Everything above + payment terms, agency & service fees, use type, every amenity (grouped by room where the site groups them), description, street address, coordinates, every photo, video, nearby metro stations with walking distance, and the broker's name, photo, company, licence, store, service score & ratings |

No start fee — you pay only for the rows you get. Control your spend with **Max Rentals per City**: 1,000 rentals = $1.00.

What a run costs:

- 💡 **100 Shanghai rentals** (the default) — **$0.10**
- 💡 **A full search, 3,480 rentals** — **$3.48**
- 💡 **500 detailed rentals** — **$1.50**

Apify's free plan includes $5 of credit every month — about **5,000 free rentals, every month** (or ~1,650 detailed rentals).

👉 [**Scrape your first 5,000 rentals free**](https://apify.com/omkar-cloud/anjuke-rent-scraper)

### Run It from Code

Grab your API token from [Integrations Settings here](https://console.apify.com/settings/integrations) and replace `<YOUR_API_TOKEN>` below.

**Python** (`pip install apify-client`)

```python
from apify_client import ApifyClient

client = ApifyClient("<YOUR_API_TOKEN>")
run = client.actor("omkar-cloud/anjuke-rent-scraper").call(run_input={
    "cities": ["shanghai"],
    "keyword": "陆家嘴",
    "rooms": "2",
    "scrapeRentalDetails": True,
    "maxResultsPerSearch": 10,
})
for row in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(row["title"], row["rent_monthly"], row["layout"], row["broker_company"])
```

**Node.js** (`npm install apify-client`)

```javascript
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: '<YOUR_API_TOKEN>' });
const run = await client.actor('omkar-cloud/anjuke-rent-scraper').call({
    rentalUrls: ['https://sh.zu.anjuke.com/fangyuan/4815969906009099'],
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);
```

### FAQ

**How much does it cost to scrape Anjuke rentals?** $1.00 per 1,000 rentals, or $3.00 per 1,000 with full details — flat, with no start fee. Other Anjuke rental scrapers charge about $10 per 1,000 rows plus a fee on every run, so the same 1,000 rentals cost you up to 10× less here.

**Is it legal to scrape Anjuke?** Anjuke Rent Scraper collects only data the site shows publicly to every visitor, without logging in. You are responsible for using it in line with the law and the site's terms — don't use broker details for spam.

**How do I search one neighbourhood?** Type it in **Place Name** — a business area or community in pinyin or Chinese, like `lujiazui` or `陆家嘴`. It is matched to a business area through Anjuke's own autocomplete, and the run log tells you what it matched. Or pick a **District** / **Business Area** directly.

**How many results can one search return?** Anjuke serves at most 116 pages of 30 — 3,480 rentals per search. Split a big city by district, business area, rent band or bedrooms to get more.

**Why do some rows have empty fields?** The site leaves them out: many rentals state no agency or service fee, and the floor number, elevator flag and posted time come from search results while the address, coordinates, amenities, photos and broker come with the full-detail option. Amenities are grouped by room only where Anjuke groups them, as it often does for rooms in shared flats.

### 💬 Have Questions? We Have Answers.

You're a business owner — we know how hard completing a project can be. So we offer full support: just message us and we'll reply ✅ with a solution within 1 working day.

[![Message Us on WhatsApp about Anjuke Rent Scraper](https://raw.githubusercontent.com/omkarcloud/assets/master/images/whatsapp-us.png)](https://www.omkar.cloud/l/anjuke-scraper-apify-whatsapp)

[![Ask Us by Email about Anjuke Rent Scraper](https://raw.githubusercontent.com/omkarcloud/assets/master/images/ask-on-email.png)](mailto:happy.to.help@omkar.cloud?subject=Help%20with%20Anjuke%20Rent%20Scraper%20actor\&body=I%20need%20help%20using%20the%20Anjuke%20Rent%20Scraper%20actor.)

### Related Actors

- 🏠 [**Anjuke Scraper**](https://apify.com/omkar-cloud/anjuke-scraper) — China homes for sale with prices, layouts, photos, communities & brokers.
- 🏗️ [**Anjuke New Homes Scraper**](https://apify.com/omkar-cloud/anjuke-new-homes-scraper) — China new-home projects (新房) with prices, floor plans, permits, reviews & sales hotlines.

### Popular Actors by Omkar Cloud

- [**Rightmove Scraper**](https://apify.com/omkar-cloud/rightmove-scraper) — UK homes for sale, to rent & new homes with agent phones
- [**Zoopla Scraper**](https://apify.com/omkar-cloud/zoopla-scraper) — Zoopla homes for sale, to rent & new homes with agent phones
- [**G2 Product Scraper**](https://apify.com/omkar-cloud/g2-product-scraper) — G2 product details, ratings & AI-found contacts
- [**Website Email Contact Scraper**](https://apify.com/omkar-cloud/website-email-contact-scraper) — emails, phones & socials from any website
- [**Booking Scraper**](https://apify.com/omkar-cloud/booking-scraper) — Booking.com hotels: prices, ratings, rooms & amenities
- [**Etsy Scraper**](https://apify.com/omkar-cloud/etsy-scraper) — Etsy products: prices, discounts, shops & variations

👉 [**Scrape your first 5,000 rentals free now**](https://apify.com/omkar-cloud/anjuke-rent-scraper)

# Actor input Schema

## `cities` (type: `array`):

Cities as their pinyin (`shanghai`), short alias (`sh`) or Chinese name (`上海`) — 679 cities are supported. Rows carry a `search_city` field so you can tell them apart.

## `keyword` (type: `string`):

A business area or community name, in pinyin or Chinese, e.g. `lujiazui` or `陆家嘴`. It is matched to a business area through the site's autocomplete, and the search covers that business area. Applies to every city.

## `district` (type: `string`):

District as its pinyin slug or Chinese name, e.g. `pudong`, `浦东`, `chaoyang`, `朝阳`.

## `area` (type: `string`):

Business area (商圈) inside the city as its pinyin slug or Chinese name, e.g. `lujiazui`, `陆家嘴`, `cbd`.

## `rentMin` (type: `integer`):

Minimum monthly rent in CNY, e.g. `3000`.

## `rentMax` (type: `integer`):

Maximum monthly rent in CNY, e.g. `8000`.

## `rooms` (type: `string`):

Number of bedrooms; 5 means five or more.

## `rentalType` (type: `string`):

Rent the entire home, or a room in a shared flat.

## `fitment` (type: `string`):

Interior finish.

## `listedBy` (type: `string`):

Who lists the rental: an agent or the owner.

## `rentalUrls` (type: `array`):

Rental URLs (desktop `https://sh.zu.anjuke.com/fangyuan/…` or mobile `https://m.anjuke.com/sh/rent/…`) or rental ids. Always scraped with full details (billed at the detailed-rental rate).

## `maxResultsPerSearch` (type: `integer`):

Maximum rentals to scrape per city. Use it to control your cost (1,000 rentals = $1.00). Ignored for rental URLs.

## `scrapeRentalDetails` (type: `boolean`):

When enabled, every search result is also scraped in full — payment terms and fees, every amenity (grouped by room where the site groups them), description, street address, coordinates, every photo, video, nearby metro stations with walking distance, and the broker's company, licence, store and service score. Still one row per rental, billed once at the detailed rate (1,000 detailed rentals = $3.00 vs $1.00 standard). Runs take longer because each rental page is fetched individually.

## Actor input object example

```json
{
  "cities": [
    "shanghai"
  ],
  "rooms": "",
  "rentalType": "",
  "fitment": "",
  "listedBy": "",
  "rentalUrls": [
    "4813206449548289"
  ],
  "maxResultsPerSearch": 20,
  "scrapeRentalDetails": false
}
```

# Actor output Schema

## `results` (type: `string`):

Every row with every field.

## `overview` (type: `string`):

Photo, title, rent, layout, size, type, district, business area, community and metro of every rental.

## `details` (type: `string`):

Payment terms, amenities, description, address, coordinates, photos, video, metro stations and broker of detailed rentals.

# 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 = {
    "cities": [
        "shanghai"
    ],
    "rentalUrls": [
        "4813206449548289"
    ],
    "maxResultsPerSearch": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("omkar-cloud/anjuke-rent-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 = {
    "cities": ["shanghai"],
    "rentalUrls": ["4813206449548289"],
    "maxResultsPerSearch": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("omkar-cloud/anjuke-rent-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 '{
  "cities": [
    "shanghai"
  ],
  "rentalUrls": [
    "4813206449548289"
  ],
  "maxResultsPerSearch": 20
}' |
apify call omkar-cloud/anjuke-rent-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,omkar-cloud/anjuke-rent-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/NWm7LN3ccG1LHN02v/builds/awDLyHtF6aSbGx2OQ/openapi.json
