# Mafengwo 马蜂窝 POI Scraper | China Places & Ticket Prices (`zen-studio/mafengwo-poi-scraper`) Actor

Extract Chinese travel places from Mafengwo (马蜂窝): GPS coordinates, ticket and tour prices, sub-attractions, nearby restaurants and hotels, and review counts. Paste a place link for one attraction or a destination link for a whole city, with optional nearby discovery. 19 fields per place.

- **URL**: https://apify.com/zen-studio/mafengwo-poi-scraper.md
- **Developed by:** [Zen Studio](https://apify.com/zen-studio) (community)
- **Categories:** Travel
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.29 / 1,000 place scrapeds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## Mafengwo (Mafeng Wo / 马蜂窝) POI Scraper | China Travel Places, Coordinates & Ticket Prices (2026)

<blockquote style="margin:0 0 16px;border-left:5px solid #4C945E;background:#F0FDF4;padding:16px 20px">
<span style="font-size:18px;font-weight:700;color:#1C1917">Paste a Chinese city, get every attraction in it: 23 fields each, reviews split positive and negative.</span>
</blockquote>

<a href="https://console.apify.com/actors/05ZMu4ciljVfMpct7/input"><img src="https://api.apify.com/v2/key-value-stores/pJ7iaZsTFhR3k9tjV/records/mafengwo-poi-scraper-hero.png" alt="Mafengwo (马蜂窝) POI scraper: GPS coordinates, ticket and tour prices, sub-attractions, and nearby restaurants and hotels as structured JSON" style="max-width:100%"></a>

<table>
<tr>
<td colspan="5" style="padding:10px 14px;background:#4C945E;border:none;border-radius:4px 4px 0 0">
<span style="color:#FAFAF9;font-size:14px;font-weight:700;letter-spacing:0.5px">Zen Studio China Travel &amp; Places</span>
<span style="color:#E8F5E9;font-size:13px">&nbsp;&nbsp;&bull;&nbsp;&nbsp;Attractions, hotels and maps across mainland China</span>
</td>
</tr>
<tr>
<td style="padding:12px 16px;border:1px solid #E7E5E4;border-radius:0 0 0 4px;background:#D3EDD9;border-right:none;border-top:none;vertical-align:top;width:20%">
<a href="https://apify.com/zen-studio/mafengwo-poi-scraper" style="color:#4C945E;text-decoration:none;font-weight:700;font-size:14px">Mafengwo Places</a><br>
<span style="color:#4C945E;font-size:12px;font-weight:600">&#10148; You are here</span>
</td>
<td style="padding:12px 16px;border:1px solid #E7E5E4;background:#E8F5E9;border-right:none;border-top:none;vertical-align:top;width:20%">
<img src="https://apify-image-uploads-prod.s3.us-east-1.amazonaws.com/NWYsOG96fMDy8ycdf-actor-3rGXyh4kWAdtrE9vG-bsQxzBhXPT-amap-scraper-logo.jpg" width="24" height="24" style="vertical-align:middle"> &nbsp;<a href="https://apify.com/zen-studio/amap-places-scraper" style="color:#1C1917;text-decoration:none;font-weight:700;font-size:14px">AMap Places</a><br>
<span style="color:#78716C;font-size:12px">POI and contacts</span>
</td>
<td style="padding:12px 16px;border:1px solid #E7E5E4;background:#E8F5E9;border-right:none;border-top:none;vertical-align:top;width:20%">
<img src="https://apify-image-uploads-prod.s3.us-east-1.amazonaws.com/NWYsOG96fMDy8ycdf-actor-EgDf0I1X8lNhCes2E-kpZCa398Jg-baidu-maps-scraper-logo.png" width="24" height="24" style="vertical-align:middle"> &nbsp;<a href="https://apify.com/zen-studio/baidu-maps-scraper" style="color:#1C1917;text-decoration:none;font-weight:700;font-size:14px">Baidu Maps POI</a><br>
<span style="color:#78716C;font-size:12px">Contacts and reviews</span>
</td>
<td style="padding:12px 16px;border:1px solid #E7E5E4;background:#E8F5E9;border-right:none;border-top:none;vertical-align:top;width:20%">
<img src="https://apify-image-uploads-prod.s3.us-east-1.amazonaws.com/NWYsOG96fMDy8ycdf-actor-kF3YqhAJErv0QJSx1-cYCSbByQ5P-dolphin-logo-1000.png" width="24" height="24" style="vertical-align:middle"> &nbsp;<a href="https://apify.com/zen-studio/ctrip-hotel-prices-scraper" style="color:#1C1917;text-decoration:none;font-weight:700;font-size:14px">Ctrip Hotel Prices</a><br>
<span style="color:#78716C;font-size:12px">Live room rates</span>
</td>
<td style="padding:12px 16px;border:1px solid #E7E5E4;border-radius:0 0 4px 0;background:#E8F5E9;border-top:none;vertical-align:top;width:20%">
<img src="https://apify-image-uploads-prod.s3.us-east-1.amazonaws.com/NWYsOG96fMDy8ycdf-actor-m6N528dGvfD6p2iLa-cPplSXPm7y-tencent-maps-qq-scraper-logo.png" width="24" height="24" style="vertical-align:middle"> &nbsp;<a href="https://apify.com/zen-studio/tencent-maps-scraper" style="color:#1C1917;text-decoration:none;font-weight:700;font-size:14px">Tencent QQ Maps</a><br>
<span style="color:#78716C;font-size:12px">New &#183; POI and reviews</span>
</td>
</tr>
</table>

### Key Features

- **23 fields per place**: name, GPS coordinates, ticket and tour prices, the positive/negative split of its reviews, bookable experiences with sold counts, sub-attractions, nearby food and hotels, and the review count Chinese travellers actually left.
- **Paste a place or a whole destination**: one link gives you one attraction; a destination link gives you that city's top places in a single run.
- **Nearby discovery**: follow the attraction links around each place to widen coverage automatically. Transport stops are never included.
- **Free tier**: 25 runs, up to 50 places per run.

### How to Scrape Mafengwo Places

#### Basic: one attraction

```json
{
    "startUrls": [
        { "url": "https://www.mafengwo.cn/poi/5426285.html" }
    ]
}
```

#### A whole destination

```json
{
    "startUrls": [
        { "url": "https://www.mafengwo.cn/travel-scenic-spot/mafengwo/10133.html" }
    ],
    "maxPois": 50
}
```

#### Discover everything around a place

```json
{
    "startUrls": [
        { "url": "https://www.mafengwo.cn/poi/5426285.html" }
    ],
    "expandNearby": true,
    "maxPois": 100
}
```

Open any place or destination page on Mafengwo and copy the address bar. The actor works out which kind of link it received.

### Input Parameters

| Parameter | Type | Default | Description |
|-----------|------|---------|-------------|
| `startUrls` | array | *required* | Mafengwo place links or destination links |
| `maxPois` | integer | `50` | Stop after this many places |
| `expandNearby` | boolean | `false` | Follow nearby-attraction links to discover more |
| `includeTickets` | boolean | `true` | Ticket and tour products with starting prices |
| `includeRatingBreakdown` | boolean | `true` | Positive/negative/photo/featured review counts, plus two example reviews |
| `includeLocalActivities` | boolean | `true` | Bookable experiences with sold counts and ratings |
| `includeSubPois` | boolean | `true` | Attractions inside the place, with visitor counts |
| `includeNearbyFood` | boolean | `true` | Nearby restaurants with ratings and distance |
| `includeNearbyHotels` | boolean | `true` | Nearby hotels with prices and review counts |

### What Data Can You Extract from Mafengwo?

Every place includes:

- **Identity**: place ID, name, canonical URL, place type, country destination ID
- **Location**: latitude, longitude, nearby attractions and nearby transport, each with its own coordinates and distance in metres
- **Commerce**: ticket and tour products with category, title, booking link, and starting price
- **Structure**: sub-attractions inside the place, with visitor counts and photos
- **Surroundings**: nearby restaurants with ratings and review counts; nearby hotels with starting prices, review counts, and how many travel notes mention them
- **Signals**: the Chinese review count for the place, and how it breaks down into positive, negative, photo and featured reviews, so you can rank places by sentiment without reading a single review
- **Example reviews**: two per place, with star rating, date, author level and photos
- **Local experiences**: bookable tours at the place, with how many were sold, their rating, duration and departure city

#### Output Example

```json
{
  "poiId": 5426285,
  "name": "黄鹤楼",
  "url": "https://www.mafengwo.cn/poi/5426285.html",
  "lat": 30.544649,
  "lng": 114.302467,
  "type": 3,
  "countryMddId": 21536,
  "isChinaMainland": true,
  "isTaiwan": false,
  "commentCount": 4577,
  "nearbyAttractions": [
    { "poiId": 5807, "name": "武昌起义军政府旧址", "type": 3, "lat": 30.542265, "lng": 114.30634, "distanceM": 500 },
    { "poiId": 6767, "name": "户部巷小吃一条街", "type": 3, "lat": 30.547953, "lng": 114.29957, "distanceM": 500 }
    // ... 6 more
  ],
  "nearbyTransit": [
    { "poiId": 136686980, "name": "司门口黄鹤楼(地铁站)", "type": 6, "lat": 30.546899, "lng": 114.302183, "distanceM": 300 }
    // ... 7 more
  ],
  "tickets": [
    {
      "category": "二日游",
      "title": "武汉出发·庐山风景名胜区2日游【含门票+住宿+人工讲解】真纯玩",
      "url": "http://www.mafengwo.cn/sales/7775698.html?cid=1030",
      "priceFrom": 588,
      "priceText": "￥588起"
    },
    {
      "category": "半日游",
      "title": "【大咖说】歌咏黄鹤楼·湖北武汉黄鹤楼讲解半日游",
      "url": "http://www.mafengwo.cn/sales/9968185.html?cid=1030",
      "priceFrom": 208,
      "priceText": "￥208起"
    }
    // ... 1 more
  ],
  "subPois": [
    { "poiId": 3316516, "name": "蛇山景区", "visitorCount": 415, "image": "https://p1-q.mafengwo.net/s6/M00/08/CA/wKgB4lI9YMeASlS8AAG0sUw8c3g44.jpeg" },
    { "poiId": 9503522, "name": "千禧钟", "visitorCount": 18, "image": "https://p1-q.mafengwo.net/s10/M00/15/39/wKgBZ1lzOwWAEMORABGTTRW_R4o72.jpeg" }
    // ... 45 more
  ],
  "subPoisHasMore": false,
  "nearbyFood": [
    {
      "poiId": 2842,
      "name": "蔡林记(户部巷店)",
      "reviewCount": 1826,
      "noteMentions": null,
      "rating": 4,
      "priceFrom": null,
      "distanceM": 510,
      "image": "https://p1-q.mafengwo.net/s11/M00/FF/23/wKgBEFqj3y6AaP-rAAtEadYy8Sc04.jpeg"
    }
    // ... 2 more
  ],
  "nearbyHotels": [
    {
      "poiId": 8351202,
      "name": "Lavande Hotel (Wuhan Yellow Crane Tower Hubu Lane)",
      "reviewCount": 2255,
      "noteMentions": 5,
      "rating": null,
      "priceFrom": 324,
      "distanceM": 321,
      "image": "https://hotel.mafengwo.net/img/24/9e7cabb082bd35cc835ea14361f55990.jpeg"
    }
    // ... 2 more
  ],
  "sourceDestinationId": null,
  "scrapedAt": "2026-08-26T08:00:36+00:00"
}
```

### Advanced Usage

Ready-made configurations for China travel market research, tourism competitor analysis, POI database building, and destination coverage mapping.

#### Build a POI database for one city

```json
{
    "startUrls": [
        { "url": "https://www.mafengwo.cn/travel-scenic-spot/mafengwo/10133.html" }
    ],
    "maxPois": 100,
    "expandNearby": true
}
```

#### Coordinates only, as fast as possible

```json
{
    "startUrls": [
        { "url": "https://www.mafengwo.cn/travel-scenic-spot/mafengwo/10065.html" }
    ],
    "maxPois": 200,
    "includeTickets": false,
    "includeSubPois": false,
    "includeNearbyFood": false,
    "includeNearbyHotels": false
}
```

Turning the optional field groups off cuts the work per place to two requests, so large destination sweeps finish considerably faster.

#### Ticket and tour pricing for a shortlist

```json
{
    "startUrls": [
        { "url": "https://www.mafengwo.cn/poi/5426285.html" },
        { "url": "https://www.mafengwo.cn/poi/3474.html" }
    ],
    "includeNearbyFood": false,
    "includeNearbyHotels": false
}
```

#### Hotel demand around a landmark

```json
{
    "startUrls": [
        { "url": "https://www.mafengwo.cn/poi/3474.html" }
    ],
    "includeSubPois": false,
    "includeTickets": false
}
```

Each place returns nearby hotels with starting prices and review counts, which is a quick read on accommodation demand around a specific attraction.

### Pricing: Pay Per Event (PPE)

**$3.99 per 1,000 places** at the base rate. Volume discounts apply automatically on higher Apify plans.

| Plan tier | Per 1,000 places |
|-----------|------------------|
| Free / Bronze | $3.99 |
| Silver | $3.79 |
| Gold and above | $3.29 |

Free tier: 25 runs, up to 50 places per run.

### Scheduling and Integrations

Ticket prices and nearby hotel rates move with the season, so this actor suits a schedule rather than one-off runs. A weekly run keeps a destination's pricing picture current; monthly is enough for a stable POI database.

Results flow straight into Google Sheets, Make, Zapier, Slack, or your own endpoint via webhooks, all configurable from the Integrations tab of the run.

Scheduling lives in the Schedules tab of the Apify Console: pick the actor, pick a cron, done.

### FAQ

**What is Mafengwo (Mafeng Wo / 马蜂窝 / "Hornet's Nest")?**
Mafengwo is one of China's long-running travel communities, where Chinese travellers publish trip reports, destination guides, and reviews of attractions, restaurants, and hotels. It is often described as China's answer to TripAdvisor crossed with a guidebook. This actor covers the places side of the site: attractions and their surrounding food, hotels, and ticket options.

**Which links can I paste?**
Place links like `mafengwo.cn/poi/5426285.html` and destination links like `mafengwo.cn/travel-scenic-spot/mafengwo/10133.html`. Open the page on Mafengwo and copy the address bar; the actor detects which kind it is.

**How many places can I get from one destination?**
A destination link resolves to that destination's top places, currently around 80 for a large city. Turn on `expandNearby` to keep discovering outward from those places, bounded by `maxPois`.

**Can I get the full review text for a place?**
Not from this actor: it returns the review count so you can see which places are heavily reviewed. Review text is a separate job because it is far more work per place. A dedicated Mafengwo reviews actor is in progress.

**How fresh is the data?**
Every run fetches live pages, so ticket prices, nearby hotel rates, and review counts reflect the moment the run happened. Nothing is served from a cache.

**Why are some fields empty?**
Not every place carries every field. Small attractions often have no ticket products and no sub-attractions, and nearby hotels carry a starting price where nearby restaurants carry a star rating instead. Fields that do not apply come back as `null` rather than being dropped.

**Do I need a Mafengwo account?**
No. Paste public links and run.

**How do I export the data?**
JSON, CSV, Excel, XML, or HTML from the run's Storage tab, or through the Apify API. Each place carries nested lists (nearby attractions, tickets, sub-attractions), so JSON preserves the structure best; CSV flattens those columns.

**What's the free tier?**
25 runs with up to 50 places per run. No credit card required.

**Is it legal to scrape Mafengwo place data?**
The actor reads publicly visible pages only, nothing behind a login. You are responsible for complying with Mafengwo's terms of service and with applicable data protection law, including GDPR, CCPA, and China's PIPL. Note that nearby-place and review-count fields describe businesses rather than individuals, but you should still review your own use case.

**Can I get hotel room rates rather than a starting price?**
Not here. This actor reports the starting price shown next to a nearby hotel. For live, date-specific room rates across China and globally, use [Ctrip Hotel Prices](https://apify.com/zen-studio/ctrip-hotel-prices-scraper).

**Can I get phone numbers and opening hours for these places?**
Mafengwo does not publish those on its place pages. For Chinese POI contact details and opening hours, use [Baidu Maps POI](https://apify.com/zen-studio/baidu-maps-scraper), which you can match on the place name and coordinates this actor returns.

**What does `type` mean in the output?**
It is Mafengwo's own place classification. Attractions are type 3 and transport stops are type 6, which is why nearby attractions and nearby transport arrive as two separate lists. Other values appear for things like festivals and events.

### More Zen Studio scrapers for Chinese platforms

**🛒 E-commerce**

- <img src="https://apify-image-uploads-prod.s3.us-east-1.amazonaws.com/NWYsOG96fMDy8ycdf-actor-5QcLc4BHaLMBUKYs3-f3CWQ60Row-goofish-search-scraper-logo.png" width="16" height="16" style="vertical-align:middle;border-radius:3px"> **Goofish 闲鱼**
  - [Goofish (Xianyu) Search Scraper](https://apify.com/zen-studio/goofish-xianyu-search-scraper)
  - [Goofish (Xianyu) Seller Scraper](https://apify.com/zen-studio/goofish-xianyu-seller-scraper)
  - [Goofish (Xianyu) Item Detail Scraper](https://apify.com/zen-studio/goofish-xianyu-item-detail-scraper)
  - [Goofish (Xianyu) Item Comments & Q\&A Scraper](https://apify.com/zen-studio/goofish-xianyu-item-comments-scraper)
- <img src="https://apify-image-uploads-prod.s3.us-east-1.amazonaws.com/NWYsOG96fMDy8ycdf-actor-PsAKYWM55HG4AHXjK-ItywU7Bp0s-taobao-search-scraper-logo.png" width="16" height="16" style="vertical-align:middle;border-radius:3px"> **Taobao 淘宝**
  - [Taobao Search Scraper](https://apify.com/zen-studio/taobao-search-scraper)
  - [Taobao Product Detail Scraper](https://apify.com/zen-studio/taobao-detail-scraper)
  - [Taobao Seller Products Scraper](https://apify.com/zen-studio/taobao-seller-products-scraper)
- <img src="https://apify-image-uploads-prod.s3.us-east-1.amazonaws.com/NWYsOG96fMDy8ycdf-actor-uZy6tbKLKnSVtT4BN-emXnT123uR-jd-com-scraper-logo-square.png" width="16" height="16" style="vertical-align:middle;border-radius:3px"> **JD.com 京东**
  - [JD.com Search Scraper](https://apify.com/zen-studio/jd-com-search-scraper)
- <img src="https://apify-image-uploads-prod.s3.us-east-1.amazonaws.com/NWYsOG96fMDy8ycdf-actor-ghXSMZcW3GxsCrkiR-5hnvsKv4Yt-1688-wholesale-scraper-logo.png" width="16" height="16" style="vertical-align:middle;border-radius:3px"> **1688 阿里巴巴**
  - [1688 Wholesale Scraper](https://apify.com/zen-studio/1688-wholesale-scraper)

**🎬 Short-video & social**

- <img src="https://apify-image-uploads-prod.s3.us-east-1.amazonaws.com/NWYsOG96fMDy8ycdf-actor-3TJaaOJDU1AMiOoJM-Vu2eVr0P6N-douyin-profile-scraper-logo.png" width="16" height="16" style="vertical-align:middle;border-radius:3px"> **Douyin 抖音**
  - [Douyin Search Scraper](https://apify.com/zen-studio/douyin-search-scraper)
  - [Douyin Profile Scraper](https://apify.com/zen-studio/douyin-profile-scraper)
  - [Douyin Video Scraper](https://apify.com/zen-studio/douyin-video-scraper)
  - [Douyin Comments Scraper](https://apify.com/zen-studio/douyin-comments-scraper)
  - [Douyin Transcripts Scraper](https://apify.com/zen-studio/douyin-transcripts-scraper)
  - [Douyin Creator Rankings Scraper](https://apify.com/zen-studio/douyin-xingtu-rankings-scraper)
  - [Douyin Live Recorder](https://apify.com/zen-studio/douyin-live-recorder)
  - [Douyin Hot Search Scraper](https://apify.com/zen-studio/douyin-hot-search-scraper)
- <img src="https://apify-image-uploads-prod.s3.us-east-1.amazonaws.com/NWYsOG96fMDy8ycdf-actor-mHKEEgoDqr6btQQer-fUs5ZquIeN-xiaohongshu-search-scraper-logo-square.png" width="16" height="16" style="vertical-align:middle;border-radius:3px"> **RedNote 小红书**
  - [RedNote User Profile Scraper](https://apify.com/zen-studio/rednote-user-profile-scraper)
  - [RedNote Search Scraper](https://apify.com/zen-studio/rednote-search-scraper)
  - [RedNote Comments Scraper](https://apify.com/zen-studio/rednote-comments-scraper)
  - [RedNote Product Search Scraper](https://apify.com/zen-studio/rednote-product-search-scraper)
  - [RedNote Note Detail Scraper](https://apify.com/zen-studio/rednote-note-detail-scraper)
  - [RedNote Product Reviews Scraper](https://apify.com/zen-studio/rednote-product-reviews-scraper)
  - [RedNote Live Recorder](https://apify.com/zen-studio/rednote-live-recorder)
- <img src="https://apify-image-uploads-prod.s3.us-east-1.amazonaws.com/NWYsOG96fMDy8ycdf-actor-dexCSKEZtKS8hg4fT-lD4weyiYga-shigua-____-scraper-logo.jpg" width="16" height="16" style="vertical-align:middle;border-radius:3px"> **Xigua 西瓜视频**
  - [Xigua Video Search Scraper](https://apify.com/zen-studio/xigua-video-search-scraper)
  - [Xigua Video Detail Scraper](https://apify.com/zen-studio/xigua-video-detail-scraper)

**🏠 Real estate & autos**

- <img src="https://apify-image-uploads-prod.s3.us-east-1.amazonaws.com/NWYsOG96fMDy8ycdf-actor-1tAzNSf8Kz0v7Q2Lr-AINJ7FsZVU-anjuke-scraper-logo.jpg" width="16" height="16" style="vertical-align:middle;border-radius:3px"> **Anjuke 安居客**
  - [Anjuke For-Sale Listings Scraper](https://apify.com/zen-studio/anjuke-real-estate-scraper)
  - [Anjuke New-Home Scraper](https://apify.com/zen-studio/anjuke-new-home-scraper)
  - [Anjuke Rental Listings Scraper](https://apify.com/zen-studio/anjuke-rent-scraper)
  - [Anjuke Listing Detail Scraper](https://apify.com/zen-studio/anjuke-sale-detail-scraper)
- <img src="https://apify-image-uploads-prod.s3.us-east-1.amazonaws.com/NWYsOG96fMDy8ycdf-actor-32OkWqsiUywoq2ci3-7JhFlW1qg3-58__-real-estate-scraper-logo.jpg" width="16" height="16" style="vertical-align:middle;border-radius:3px"> **58.com 58同城**
  - [58.com Real Estate Scraper](https://apify.com/zen-studio/58-real-estate-scraper)
- <img src="https://apify-image-uploads-prod.s3.us-east-1.amazonaws.com/NWYsOG96fMDy8ycdf-actor-ytaE4YpSmjXDmibPv-L1UMPHa2bO-che168-autohome-scraper-logo.png" width="16" height="16" style="vertical-align:middle;border-radius:3px"> **Autohome 汽车之家**
  - [Autohome (Che168) Used-Car Scraper](https://apify.com/zen-studio/che168-car-scraper)

**🧭 Travel & maps**

- <img src="https://apify-image-uploads-prod.s3.us-east-1.amazonaws.com/NWYsOG96fMDy8ycdf-actor-3rGXyh4kWAdtrE9vG-bsQxzBhXPT-amap-scraper-logo.jpg" width="16" height="16" style="vertical-align:middle;border-radius:3px"> **AMap 高德地图**
  - [AMap Places Scraper](https://apify.com/zen-studio/amap-places-scraper)
  - [AMap Directions API](https://apify.com/zen-studio/amap-directions-api)
  - [AMap Gas Prices Scraper](https://apify.com/zen-studio/amap-gas-prices-scraper)
- <img src="https://apify-image-uploads-prod.s3.us-east-1.amazonaws.com/NWYsOG96fMDy8ycdf-actor-EgDf0I1X8lNhCes2E-kpZCa398Jg-baidu-maps-scraper-logo.png" width="16" height="16" style="vertical-align:middle;border-radius:3px"> **Baidu Maps 百度地图**
  - [Baidu Maps Scraper](https://apify.com/zen-studio/baidu-maps-scraper)
- <img src="https://apify-image-uploads-prod.s3.us-east-1.amazonaws.com/NWYsOG96fMDy8ycdf-actor-m6N528dGvfD6p2iLa-cPplSXPm7y-tencent-maps-qq-scraper-logo.png" width="16" height="16" style="vertical-align:middle;border-radius:3px"> **Tencent Maps 腾讯地图**
  - [Tencent Maps (QQ Maps) Scraper](https://apify.com/zen-studio/tencent-maps-scraper)
- <img src="https://apify-image-uploads-prod.s3.us-east-1.amazonaws.com/NWYsOG96fMDy8ycdf-actor-kF3YqhAJErv0QJSx1-cYCSbByQ5P-dolphin-logo-1000.png" width="16" height="16" style="vertical-align:middle;border-radius:3px"> **Ctrip 携程**
  - [Ctrip Hotel Prices Scraper](https://apify.com/zen-studio/ctrip-hotel-prices-scraper)

### Support

- **Bugs**: Issues tab
- **Features**: Issues tab

### Legal Compliance

Extracts publicly available data. Users must comply with Mafengwo terms and data protection regulations (GDPR, CCPA, PIPL).

***

*Structured Chinese travel place data: coordinates, ticket prices, and what is around every attraction.*

# Actor input Schema

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

Mafengwo links. Either a single place, for example <code>https://www.mafengwo.cn/poi/5426285.html</code>, or a whole destination, for example <code>https://www.mafengwo.cn/travel-scenic-spot/mafengwo/10133.html</code>, which pulls that destination's top places. Open a page on Mafengwo and copy the address bar.

## `maxPois` (type: `integer`):

Stop after this many places. Also caps how far nearby expansion can grow.

## `expandNearby` (type: `boolean`):

Follow the nearby-attraction links on each place to discover more, up to the maximum above. Only attractions are followed, never transport stops.

## `includeTickets` (type: `boolean`):

Include bookable tickets and tours with their starting prices.

## `includeRatingBreakdown` (type: `boolean`):

Include how many reviews are positive, negative, have photos or are featured, plus two example reviews with star ratings. The review count itself is always included.

## `includeLocalActivities` (type: `boolean`):

Include bookable tours and experiences at the place, with how many were sold and their ratings.

## `includeSubPois` (type: `boolean`):

Include attractions located inside the place, with visitor counts.

## `includeNearbyFood` (type: `boolean`):

Include nearby restaurants with ratings, review counts and distance.

## `includeNearbyHotels` (type: `boolean`):

Include nearby hotels with starting prices, review counts and distance.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://www.mafengwo.cn/poi/5426285.html"
    },
    {
      "url": "https://www.mafengwo.cn/poi/3474.html"
    },
    {
      "url": "https://www.mafengwo.cn/travel-scenic-spot/mafengwo/10133.html"
    }
  ],
  "maxPois": 50,
  "expandNearby": false,
  "includeTickets": true,
  "includeRatingBreakdown": true,
  "includeLocalActivities": true,
  "includeSubPois": true,
  "includeNearbyFood": true,
  "includeNearbyHotels": true
}
```

# Actor output Schema

## `places` (type: `string`):

Link to the dataset containing all scraped places.

# 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 = {
    "startUrls": [
        {
            "url": "https://www.mafengwo.cn/poi/5426285.html"
        },
        {
            "url": "https://www.mafengwo.cn/poi/3474.html"
        },
        {
            "url": "https://www.mafengwo.cn/travel-scenic-spot/mafengwo/10133.html"
        }
    ],
    "maxPois": 50
};

// Run the Actor and wait for it to finish
const run = await client.actor("zen-studio/mafengwo-poi-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 = {
    "startUrls": [
        { "url": "https://www.mafengwo.cn/poi/5426285.html" },
        { "url": "https://www.mafengwo.cn/poi/3474.html" },
        { "url": "https://www.mafengwo.cn/travel-scenic-spot/mafengwo/10133.html" },
    ],
    "maxPois": 50,
}

# Run the Actor and wait for it to finish
run = client.actor("zen-studio/mafengwo-poi-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 '{
  "startUrls": [
    {
      "url": "https://www.mafengwo.cn/poi/5426285.html"
    },
    {
      "url": "https://www.mafengwo.cn/poi/3474.html"
    },
    {
      "url": "https://www.mafengwo.cn/travel-scenic-spot/mafengwo/10133.html"
    }
  ],
  "maxPois": 50
}' |
apify call zen-studio/mafengwo-poi-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,zen-studio/mafengwo-poi-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/05ZMu4ciljVfMpct7/builds/fuhMbDARmeFpgjSkr/openapi.json
