# 591.com.tw Scraper — Taiwan Rentals & Homes for Sale (`yugenox/taiwan-591-scraper`) Actor

Scrape 591.com.tw, Taiwan's largest property site: rentals and homes for sale with price (TWD), size in ping and m², layout, floor, city, district, address, coordinates, posted date, deposit, facilities and photos. Filter by city, district, type and price. No login.

- **URL**: https://apify.com/yugenox/taiwan-591-scraper.md
- **Developed by:** [Yugenox Corp](https://apify.com/yugenox) (community)
- **Categories:** Real estate, Business
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.50 / 1,000 listings

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

## 591.com.tw Scraper — Taiwan Rentals & Homes for Sale

Scrape **591.com.tw** (591房屋交易網), Taiwan's largest property portal. Get **rentals** (rent.591.com.tw) and **homes for sale** (sale.591.com.tw) as clean rows: price in TWD, size in **ping (坪) and m²**, layout, floor, building type and age, city, district, address, **latitude / longitude**, posted date, tags and photos, plus deposit, management fee, facilities and the listing description for rentals.

One flat price per listing — coordinates and full details are included. No login, no cookies.

### What you can do with it

- **Rental market analysis** — median rent per ping by district, new supply per week, price drops.
- **Investment research** — asking price and price per ping for homes for sale across Taipei, New Taipei, Taichung, Kaohsiung and every other county.
- **Relocation and expat services** — feed live listings with map coordinates into your own search or alerts.
- **Proptech and data products** — a daily snapshot of the market for dashboards, models and valuation tools.

### Input

| Field | What it does |
|---|---|
| **Rent or buy** | `rent` (rentals) or `sale` (homes for sale). |
| **Cities / counties** | 台北市 / Taipei, 新北市 / New Taipei, 台中市 / Taichung, 桃園市 / Taoyuan, 高雄市 / Kaohsiung, 台南市 / Tainan, 新竹市 … in Chinese or English. Empty = Taipei. |
| **Districts** | Optional, in Chinese: 大安區, 信義區, 板橋區 … |
| **Property type** | Rentals: whole home, studio, shared suite, room, parking. Sales: residential, studio, foreclosure, parking. |
| **Min / max price (TWD)** | Monthly rent for rentals, total price for sales (15000000 = 1,500萬). |
| **591 links** | Paste search result links from the site (all your filters are kept) or single listing links. |
| **Max listings** | Upper limit for the run. |
| **Include details** | On by default: coordinates, posted date and all photos (rentals also get deposit, fees, facilities and the description). Turn off for list fields only (faster). |

Example:

```json
{
  "dealType": "rent",
  "regions": ["台北市"],
  "districts": ["大安區", "信義區"],
  "propertyType": "whole-home",
  "priceMax": 40000,
  "maxListings": 200
}
```

### Output

One row per listing (trimmed real row, 2026-11-07):

```json
{
  "listingId": "22294251",
  "dealType": "rent",
  "url": "https://rent.591.com.tw/22294251",
  "title": "璞真全新落成｜忠孝新生正三房｜前後大陽台",
  "propertyType": "整層住家",
  "buildingType": "電梯大樓",
  "price": 180000,
  "priceCurrency": "TWD",
  "pricePeriod": "month",
  "priceText": "180,000元/月",
  "sizePing": 58,
  "sizeM2": 191.74,
  "layout": "3房2廳",
  "floor": "7F",
  "totalFloors": 19,
  "buildingAge": "1年",
  "city": "台北市",
  "district": "大安區",
  "address": "台北市大安區濟南路三段",
  "latitude": 25.0394344,
  "longitude": 121.5357083,
  "posterType": "agent",
  "postedAt": "2026-11-05T02:14:24.000Z",
  "nearby": "距忠孝新生432公尺",
  "deposit": "二個月",
  "managementFee": "13,100元/月",
  "facilities": ["冷氣", "熱水器", "床", "衣櫃", "電梯", "平面車位"],
  "tags": ["近捷運", "新上架", "有電梯"],
  "coverImage": "https://img1.591.com.tw/house/2026/09/23/179015004610467201.jpg!400x300.jpg",
  "detailsIncluded": true
}
```

Homes for sale add `unitPricePerPing` (TWD per ping), `mainAreaPing` and the price converted from 萬 to TWD (`priceText` keeps "1,588萬").

### Price

**$1.50 per 1,000 listings**, details and coordinates included, plus **$0.002 per run** start fee. A 20-listing run costs about $0.032. You pay only for listings saved; a run that finds nothing costs only the start fee.

### Tips

- Districts are matched exactly as 591 writes them (大安區). Leave the field empty for a whole city.
- For a daily market snapshot, schedule the actor once per city with a large **Max listings**.
- Turn **Include details** off when you only need price, size, layout and district — runs are much faster (one request per 30 listings).
- Paste a 591 search link if you used filters on the site that are not in the input (layout, features, MRT line).

### FAQ

**Is it legal to scrape 591.com.tw?**
The actor reads only public listing pages that anyone can open without an account, at a modest pace, and follows the site's robots.txt. You are responsible for how you use the data; check local rules for your use case, especially before republishing listings.

**Does it access any private data?**
No. There is no login. Contact names, phone numbers, e-mail addresses and LINE IDs are not collected, and any that appear inside a description are replaced with "\[phone removed]", "\[email removed]" or "\[line id removed]". Only whether the poster is an owner or an agent is kept.

**Why are some rows missing coordinates?**
A few listings hide their exact location, or their detail page could not be opened during the run. Those rows still carry the list fields and `detailsIncluded: false`.

**Does it cover land, commercial and new-build projects?**
Not yet — rentals and residential sales (including studios, parking and foreclosures).

# Actor input Schema

## `dealType` (type: `string`):

Rentals (rent.591.com.tw) or homes for sale (sale.591.com.tw).

## `regions` (type: `array`):

One or more cities or counties, in Chinese or English (台北市 / Taipei, 新北市 / New Taipei, 台中市 / Taichung, 高雄市 / Kaohsiung …) or 591's numeric id. Each city is one search. Empty = Taipei.

## `districts` (type: `array`):

Optional districts within the cities, in Chinese (大安區, 信義區, 板橋區 …). Leave empty for the whole city.

## `propertyType` (type: `string`):

Rentals: whole home, independent studio, shared suite, room, parking, other. Sales: residential, studio, parking, foreclosure, other. A type that does not exist for the chosen deal type is ignored.

## `priceMin` (type: `integer`):

Monthly rent for rentals, total price for sales, in New Taiwan dollars.

## `priceMax` (type: `integer`):

Monthly rent for rentals, total price for sales, in New Taiwan dollars (e.g. 15000000 = 1,500萬).

## `startUrls` (type: `array`):

Paste 591 search result links (every filter you set on the site is kept) or single listing links (rent.591.com.tw/<id>, sale.591.com.tw/home/house/detail/2/<id>.html).

## `maxListings` (type: `integer`):

Stop after this many listings for the whole run (you are charged per listing saved).

## `includeDetails` (type: `boolean`):

Open each listing for coordinates, posted date, deposit, management fee, building type and age, facilities, all photos and the description. Same price; turn off for a faster run with list fields only.

## `proxyConfiguration` (type: `object`):

Apify datacenter proxy is the default and is included in every plan.

## `_noResidential` (type: `boolean`):

Internal test switch: replaces a residential proxy choice with datacenter.

## Actor input object example

```json
{
  "dealType": "rent",
  "regions": [
    "台北市"
  ],
  "propertyType": "all",
  "maxListings": 20,
  "includeDetails": true,
  "proxyConfiguration": {
    "useApifyProxy": true
  },
  "_noResidential": false
}
```

# Actor output Schema

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

All scraped listings.

## `run` (type: `string`):

Status and statistics for this run.

## `report` (type: `string`):

RUN_REPORT: how the run ended, counts and requests.

# 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 = {
    "dealType": "rent",
    "regions": [
        "台北市"
    ],
    "maxListings": 20,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("yugenox/taiwan-591-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 = {
    "dealType": "rent",
    "regions": ["台北市"],
    "maxListings": 20,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("yugenox/taiwan-591-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 '{
  "dealType": "rent",
  "regions": [
    "台北市"
  ],
  "maxListings": 20,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call yugenox/taiwan-591-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,yugenox/taiwan-591-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/eJ0UAanbxWip8IC9r/builds/ukLn8qRRsF7zDNGNa/openapi.json
