# Qiandao (千岛) Scraper (`fetchfinch/qiandao-scraper`) Actor

Collect public Qiandao islands, tags, products, posts, comments, and replies by URL, keyword, sitemap, or island feed.

- **URL**: https://apify.com/fetchfinch/qiandao-scraper.md
- **Developed by:** [Fetch Finch](https://apify.com/fetchfinch) (community)
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.30 / 1,000 qiandao records

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?

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

### Explore Qiandao (千岛) communities, products, and conversations

![Qiandao login](https://img.shields.io/badge/Qiandao%20login-not%20required-43A047)
![Pricing](https://img.shields.io/badge/Pricing-pay%20per%20event-5C6BC0)
![Export](https://img.shields.io/badge/Export-JSON%20%7C%20CSV%20%7C%20Excel-F39C12)
![Examples](https://img.shields.io/badge/Examples-4%20workflows-00A98F)
![Runtime](https://img.shields.io/badge/Runtime-HTTP%20only-3178C6)

Collect public data from [Qiandao (千岛)](https://qiandao.com) in one structured dataset. Start from a known page, search a Chinese keyword, explore an island's post feed, or discover records from sitemaps. Add comments and replies when you need to understand a discussion.

采集千岛公开的岛屿、标签、商品、帖子和评论，轻松导出结构化数据。

### What you can collect

| Record | Useful fields | Typical use |
| --- | --- | --- |
| Islands | Name, image, member count, public details; optional tabs and homepage sections | Map a community or find its recent activity |
| Tags | Name, cover image, follower count, linked island | Track topics and interests |
| Products (SPUs) | Name, image, wish count, product count, reported minimum prices | Research collectibles and product interest |
| Posts | Title, text, author, dates, reactions, attachments, related item; optional comments and replies | Analyze discussions and engagement |

Each result includes a canonical `url`, a `source` showing how it was found, a collection time in `scrapedAt`, and the complete public response in `data`. Useful fields are also available at the top level. IDs are strings, so large post IDs keep every digit. Image links are resolved where Qiandao provides a known image path.

### Choose how to find records

| Method | Set these inputs | What happens |
| --- | --- | --- |
| Exact pages | `startUrls` | Fetch specific island, tag, product, or post URLs first |
| Keyword search | `searchQueries` | Find islands, tags, and products, then fetch their full records |
| Island feed | `startUrls` + `includeIslandPosts` | Expand an island into its public posts |
| Island directory | `discoverIslands` | Browse public islands beyond the sitemap |
| Sitemaps | `useSitemaps` | Discover a mix of all selected record types |

You can combine methods in one run. The scraper removes duplicate type-and-ID pairs and stops writing records at `maxItems`. Keyword search does not find posts; use post URLs, island feeds, or sitemaps for those.

### Quick start

The prefilled input collects one public tag and finishes quickly. Paste this input into the Actor's **Input** tab for the same quick check:

```json
{
  "startUrls": [{ "url": "https://qiandao.com/tag?id=4" }],
  "useSitemaps": false,
  "recordTypes": ["tag"],
  "maxItems": 1
}
```

Run the Actor, then open the **Output** tab to preview the dataset. Download it as JSON, CSV, or Excel from the dataset export menu.

### Pricing

Apify charges **$0.00005 when a run starts**, then charges for each record saved to the default dataset. A post with collected comments and replies is one record. Records that are skipped without being saved do not incur a per-record charge.

| Apify plan | Price per saved record | Example: 100 records, including one run start |
| --- | ---: | ---: |
| Free | $0.0025 | $0.25005 |
| Bronze | $0.0020 | $0.20005 |
| Silver | $0.0016 | $0.16005 |
| Gold and enterprise | $0.0013 | $0.13005 |

Choose `maxItems` to cap how many records the run can save. Apify also lets you set a maximum spend when starting a run.

### Example workflows

These bounded inputs show distinct use cases. Replace the example island, keyword, or post with your own target, then raise `maxItems` when you are ready to collect more. Qiandao can challenge requests to its main host; island and post workflows may need a proxy with access to that host.

| Goal | Key settings | Output to inspect |
| --- | --- | --- |
| Monitor a fan community | One island URL, `includeIslandPosts: true` | Island profile, navigation, and available posts |
| Research a topic | Chinese `searchQueries` | Matching islands, tags, and products with full details |
| Analyze a discussion | One post URL, `includeComments: true` | Post details, root comments, and nested replies |
| Build a mixed catalog | `useSitemaps: true` | Islands, tags, products, and posts in one dataset |

**Research a collectible brand**

```json
{
  "useSitemaps": false,
  "searchQueries": ["Molly"],
  "recordTypes": ["island", "tag", "spu"],
  "searchResultsPerQuery": 5,
  "maxItems": 15
}
```

**Collect a post's comments and replies**

```json
{
  "startUrls": [{ "url": "https://qiandao.com/post?postId=1019067888901865079" }],
  "useSitemaps": false,
  "recordTypes": ["post"],
  "includeComments": true,
  "maxCommentsPerPost": 10,
  "includeCommentReplies": true,
  "maxRepliesPerComment": 10,
  "maxItems": 1
}
```

**Sample all four record types from sitemaps**

```json
{
  "useSitemaps": true,
  "recordTypes": ["island", "tag", "spu", "post"],
  "includeIslandNavigation": false,
  "maxItems": 24
}
```

### Main input options

| Input | Default | Use it for |
| --- | --- | --- |
| `startUrls` | Empty | Exact Qiandao `/island?id=`, `/tag?id=`, `/spu?id=`, or `/post?postId=` pages |
| `useSitemaps` | `false` | Turn on for broad discovery across selected record types |
| `recordTypes` | All four types | Limit results to `island`, `tag`, `spu`, and/or `post` |
| `searchQueries` | Empty | Discover islands, tags, and products by keyword |
| `searchResultsPerQuery` | `50` per type | Limit matches for each keyword and searchable type |
| `discoverIslands` | `false` | Browse the public island directory |
| `includeIslandPosts` | `false` | Fetch posts from each collected island's public feed |
| `postsPerIsland` | `30` | Limit posts discovered per island |
| `includeComments` | `false` | Add root comments to post records |
| `includeCommentReplies` | `true` | Add nested replies when comments are enabled |
| `maxItems` | `100` | Cap dataset records |
| `proxyConfiguration` | Direct connection | Use Apify Proxy or a custom proxy when needed |

The Input tab also offers controls for reply and comment limits, island feed partitions, request spacing, concurrency, retries, and island directory pages.

### Output format

The default dataset contains one item per island, tag, product, or post. The Output tab has views for all records, island activity, topic and product research, and post discussions.

| Field | Meaning |
| --- | --- |
| `type`, `id`, `url` | Record type, exact ID as a string, and canonical public URL |
| `name`, `title`, `description` | Common text fields where available |
| `imageUrl` | Resolved image link where available |
| `source`, `scrapedAt` | Discovery method and collection time |
| `comments` | Root comments with replies when comment collection is enabled |
| `data` | Complete public API payload for deeper analysis |

A `SUMMARY` record in the run's key-value store reports item counts by type, failed requests, and any sitemap fallback.

### Good to know

| Question | Answer |
| --- | --- |
| Is a Qiandao account required? | No. The Actor collects public content without signing in. |
| Does it open a browser? | No. Runs use HTTP requests only. |
| Are sitemap results always current? | The Actor tries live sitemaps first. If one is unavailable, it may use a bundled snapshot captured on 2026-10-04. Check `SUMMARY.sitemapFallbacks`; use search or the island directory when freshness matters. |
| Can it collect every comment? | You control the root-comment and reply limits. Comments on removed or inaccessible posts cannot be collected. |
| What if a record is unavailable? | The run skips that record, reports the error in `SUMMARY`, and continues with other records. |
| What if Qiandao presents a captcha? | The Actor tries Qiandao's other public API host. If both hosts cannot serve a record, the run reports an access challenge or unavailable record. A suitable proxy may help with pages that require the main host. |

# Actor input Schema

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

Qiandao island, tag, SPU, or post URLs. Direct URLs are processed first.

## `useSitemaps` (type: `boolean`):

Discover public records from Qiandao's four entity sitemaps. Turn this on for broad catalog runs; it can take longer than a quick start.

## `recordTypes` (type: `array`):

Entity types to collect from all sources.

## `searchQueries` (type: `array`):

Find islands, tags, and SPUs by keyword, then fetch each full record.

## `searchResultsPerQuery` (type: `integer`):

Maximum full records to discover for each keyword and each searchable entity type.

## `discoverIslands` (type: `boolean`):

Page through the public island directory, which can include islands absent from the sitemap.

## `maxDiscoveryPages` (type: `integer`):

Stop island directory discovery after this many pages of up to 30 islands each.

## `includeIslandNavigation` (type: `boolean`):

Fetch island tabs, filters, and homepage sections with each island.

## `includeIslandPosts` (type: `boolean`):

Page through each island's public post feed and fetch full post details.

## `postsPerIsland` (type: `integer`):

Maximum newly discovered posts to request from each selected island feed.

## `includeComments` (type: `boolean`):

Add paginated public root comments to each post record.

## `maxCommentsPerPost` (type: `integer`):

Cap the number of root comments included with each post.

## `includeCommentReplies` (type: `boolean`):

When comments are enabled, retrieve replies beyond the embedded preview for each root comment.

## `maxRepliesPerComment` (type: `integer`):

Cap the number of replies included for each root comment.

## `islandPartitionId` (type: `string`):

Use 0 for the general island feed, or enter a partition ID.

## `maxItems` (type: `integer`):

Hard cap on records written to the default dataset.

## `maxConcurrency` (type: `integer`):

Maximum records processed at the same time.

## `requestDelayMs` (type: `integer`):

Minimum global spacing between outbound HTTP requests.

## `maxRetries` (type: `integer`):

Retry count for transient network errors and rate limits.

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

Choose direct HTTP, Apify Proxy, or a custom proxy URL.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://qiandao.com/tag?id=4"
    }
  ],
  "useSitemaps": false,
  "recordTypes": [
    "island",
    "tag",
    "spu",
    "post"
  ],
  "searchQueries": [],
  "searchResultsPerQuery": 50,
  "discoverIslands": false,
  "maxDiscoveryPages": 100,
  "includeIslandNavigation": true,
  "includeIslandPosts": false,
  "postsPerIsland": 30,
  "includeComments": false,
  "maxCommentsPerPost": 50,
  "includeCommentReplies": true,
  "maxRepliesPerComment": 20,
  "islandPartitionId": "0",
  "maxItems": 100,
  "maxConcurrency": 4,
  "requestDelayMs": 300,
  "maxRetries": 3,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

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

No description

## `summary` (type: `string`):

No description

# 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://qiandao.com/tag?id=4"
        }
    ],
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("fetchfinch/qiandao-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://qiandao.com/tag?id=4" }],
    "proxyConfiguration": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("fetchfinch/qiandao-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://qiandao.com/tag?id=4"
    }
  ],
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}' |
apify call fetchfinch/qiandao-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,fetchfinch/qiandao-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/AyS9dijdZm46NnPWz/builds/eng0xo8fNK049DhNT/openapi.json
