# Xiaoyuzhou Podcast Episode Scraper (小宇宙) (`hgservices/xiaoyuzhou-episode-scraper`) Actor

Scrape Xiaoyuzhou (小宇宙FM) podcast episodes by URL or ID. Get title, show notes, duration, publish date, play, like, comment and favorite counts, direct audio file URL (MP3 or M4A), cover image and podcast details. No login needed.

- **URL**: https://apify.com/hgservices/xiaoyuzhou-episode-scraper.md
- **Developed by:** [Harish Garg](https://apify.com/hgservices) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 2 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $4.00 / 1,000 scraped episodes

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

**Xiaoyuzhou Episode Scraper** extracts **Xiaoyuzhou (小宇宙FM) podcast episode data** from episode URLs or IDs. For each episode you get the **title, show notes, publish date, duration, play count, likes, comments, favorites, direct audio file URL (MP3 or M4A), cover image** and **podcast details**.

**No Xiaoyuzhou account, app, login or cookies are needed.** Paste episode links and click **Start**. Then download the data as JSON, CSV or Excel, get it through the Xiaoyuzhou API that this Actor gives you, run it on a schedule, or ask an AI assistant such as Claude or ChatGPT to get Xiaoyuzhou episodes for you.

### What is Xiaoyuzhou Episode Scraper?

Xiaoyuzhou Episode Scraper is an unofficial **Xiaoyuzhou API and scraper** for podcast episodes. You give it a list of episode links, and it saves **one row for each episode**:

- 🎙️ **Episode:** ID, link, title, publish date and length
- 📝 **Show notes:** the full show notes as HTML (with links, images and timestamps) and as plain text
- 📊 **Engagement:** the counts of plays (播放), likes, comments (评论) and favorites (收藏)
- 🔊 **Audio:** the **direct link to the audio file** (MP3 or M4A), its file type and its size in bytes
- 🖼️ **Cover:** the episode cover, or the podcast cover when the episode has none
- 🎬 **Video:** whether the episode also has a video version, and its length
- 🏷️ **Status:** pay type, episode status, and whether the Xiaoyuzhou app shows a transcript
- 📍 **Publisher region:** the region that Xiaoyuzhou shows for the publisher (for example `北京`)
- 📻 **Podcast:** the podcast's ID, link, title, author, subscriber count and cover

The Actor runs on the Apify platform, so you also get **API access, scheduling, integrations, monitoring and data export** in many formats.

### Why scrape Xiaoyuzhou podcast data?

Xiaoyuzhou (小宇宙) is the leading podcast app in China. Many Chinese business, technology and culture podcasts publish there first. Use the data for:

- **Podcast analytics:** track the plays, likes, comments and favorites of episodes over time.
- **Market and competitor research:** compare how the episodes of different shows perform.
- **Guest and topic research:** collect show notes, with their timestamps and links, for a set of episodes.
- **Transcription and AI pipelines:** get the direct audio link, then send the file to a speech-to-text service to make Chinese transcripts, summaries, translations or search indexes.
- **Media monitoring and archiving:** keep the metadata and audio links of important episodes.

### How to scrape Xiaoyuzhou episodes

1. Open an episode on [xiaoyuzhoufm.com](https://www.xiaoyuzhoufm.com), or tap **Share** in the Xiaoyuzhou app, and copy the link.
2. Paste one or more links into **Episode URLs**.
3. Click **Start** and wait for the run to finish. A small list takes less than a minute.
4. Open the **Output** tab to see the episodes, or export them as JSON, CSV, Excel, XML or HTML.

### Input

The Actor has one input field.

| Field | What it does | Example |
|-------|--------------|---------|
| **Episode URLs** (`episodeUrls`) | Links to Xiaoyuzhou episodes, or episode IDs | `["https://www.xiaoyuzhoufm.com/episode/6a97f287f03e74ee6b03ea5b"]` |

These forms all work:

- Episode links: `https://www.xiaoyuzhoufm.com/episode/{episode ID}`
- Share links from the app, with extra parameters: `https://www.xiaoyuzhoufm.com/episode/{episode ID}?s=...`
- Bare episode IDs: `6a97f287f03e74ee6b03ea5b` (24 characters)

The Actor saves each episode one time, also when two links in the list point to the same episode. It skips podcast links (`/podcast/...`), user links (`/user/...`), text that is not an episode link, and episodes that do not exist. The run log names each skipped entry.

#### Input example

```json
{
  "episodeUrls": [
    "https://www.xiaoyuzhoufm.com/episode/6a97f287f03e74ee6b03ea5b",
    "https://www.xiaoyuzhoufm.com/episode/6aba11ab51b8eaeca6b0e233?s=share",
    "6a8472b95aeb2a5712e8de78"
  ]
}
```

### Output

You get one row for each episode. This row is from a real run (long texts are shortened):

```json
{
  "eid": "6a97f287f03e74ee6b03ea5b",
  "episodeUrl": "https://www.xiaoyuzhoufm.com/episode/6a97f287f03e74ee6b03ea5b",
  "pid": "626b46ea9cbbf0451cf5a962",
  "podcastUrl": "https://www.xiaoyuzhoufm.com/podcast/626b46ea9cbbf0451cf5a962",
  "title": "153. 和曾鸣聊产业史观：残酷的真相、会消亡的公司、优秀≠卓越、“OAI、Anth大概率不是原生时代大赢家”",
  "description": "今天的嘉宾是战略学家曾鸣教授。……",
  "shownotesHtml": "<img src=\"https://image.xyzcdn.net/ltK0RxY6lnxA8-Eg0TfgpZzXZ93Q.png\"><p><span>今天的嘉宾是战略学家曾鸣教授。……",
  "shownotesText": "今天的嘉宾是战略学家曾鸣教授。……",
  "pubDate": "2026-09-03T00:00:00.000Z",
  "durationSeconds": 9258,
  "durationText": "2:34:18",
  "playCount": 145681,
  "likeCount": 1017,
  "commentCount": 290,
  "favoriteCount": 2254,
  "audioUrl": "https://media.xyzcdn.net/626b46ea9cbbf0451cf5a962/luZvhPtdKotbkVR-SHFRKVVUiM2P.m4a",
  "audioMimeType": "audio/mp4",
  "audioSizeBytes": 149867818,
  "imageUrl": "https://image.xyzcdn.net/FsGPZo8RfYBhZ7boAgv0PtVf7zBE.png",
  "hasVideo": true,
  "videoDurationSeconds": 9258,
  "payType": "FREE",
  "status": "NORMAL",
  "ipLoc": "北京",
  "isTranscriptEnabled": true,
  "isPrivateMedia": false,
  "podcastTitle": "张小珺Jùn｜商业访谈录",
  "podcastAuthor": "张小珺",
  "podcastSubscriptionCount": 320024,
  "podcastImageUrl": "https://image.xyzcdn.net/Fnuyt9PQDQx0I0wlErG3ZHcW9Gpu.png",
  "editorPickDates": [],
  "labels": [],
  "sourceUrl": "https://www.xiaoyuzhoufm.com/episode/6a97f287f03e74ee6b03ea5b",
  "scrapedAt": "2026-10-21T04:40:32+00:00"
}
```

The **Output** tab shows the episodes in a table with the cover, title, podcast, publish date, duration, plays, likes, comments, favorites, audio link and episode link. You can download the dataset as JSON, CSV, Excel, XML, HTML or RSS.

#### Xiaoyuzhou data fields

| Field | Description |
|-------|-------------|
| `eid` | Episode ID |
| `episodeUrl` | Link to the episode |
| `pid` | Podcast ID |
| `podcastUrl` | Link to the podcast |
| `title` | Episode title |
| `description` | Plain-text episode summary |
| `shownotesHtml` | Full show notes as published, with links, images and timestamps |
| `shownotesText` | Show notes without HTML, one line for each paragraph |
| `pubDate` | Publish date, ISO 8601, UTC |
| `durationSeconds` | Length in seconds |
| `durationText` | Length as `H:MM:SS` or `M:SS` |
| `playCount` | Plays (播放) |
| `likeCount` | Likes |
| `commentCount` | Comments (评论) |
| `favoriteCount` | Favorites (收藏) |
| `audioUrl` | Direct link to the audio file (MP3 or M4A). No login is needed to open it |
| `audioMimeType` | Audio file type, for example `audio/mp4` or `audio/mpeg` |
| `audioSizeBytes` | Audio file size in bytes |
| `imageUrl` | Episode cover, or the podcast cover when the episode has none |
| `hasVideo` | `true` when the episode also has a video version |
| `videoDurationSeconds` | Video length in seconds, or `null` |
| `payType` | `FREE` for free episodes |
| `status` | `NORMAL` for a normal, public episode |
| `ipLoc` | The region that Xiaoyuzhou shows for the publisher |
| `isTranscriptEnabled` | `true` when the Xiaoyuzhou app shows a transcript for the episode. The transcript itself is not included |
| `isPrivateMedia` | `true` when the audio is private |
| `podcastTitle` | Podcast title |
| `podcastAuthor` | Podcast author |
| `podcastSubscriptionCount` | Podcast subscribers |
| `podcastImageUrl` | Podcast cover |
| `editorPickDates` | The dates when Xiaoyuzhou listed the episode as an editor pick. Often empty |
| `labels` | Episode labels. Often empty |
| `sourceUrl` | The link or ID from your input that gave this row |
| `scrapedAt` | When your run collected the row (UTC) |

### How to use the Xiaoyuzhou scraper

You can run the Actor from Apify Console, from the Apify API, from your own JavaScript or Python code, or from an AI assistant. Every example below gets the same data.

#### Apify Console (no code)

1. Open the Actor and paste your links into **Episode URLs** on the **Input** tab.
2. Click **Start**. Follow the progress in the **Log** tab.
3. Open the **Output** tab to see the table, or click **Export** to download the data.
4. To repeat the same run, click **Save as a new task**. Add a **Schedule** to the task to track the plays and likes of the same episodes every day or week.

#### Xiaoyuzhou API (HTTP)

Run the Actor and get the episodes in one request. Replace `YOUR_API_TOKEN` with your token from **Settings → API & Integrations** in Apify Console.

```bash
curl -X POST "https://api.apify.com/v2/acts/hgservices~xiaoyuzhou-episode-scraper/run-sync-get-dataset-items?token=YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"episodeUrls": ["https://www.xiaoyuzhoufm.com/episode/6a97f287f03e74ee6b03ea5b"]}'
```

The response is a JSON array with one object for each episode. Add `&format=csv` or `&format=xlsx` to the URL to get CSV or Excel.

This request waits for the run to finish, for up to 5 minutes. For a long list of episodes, start the run with `POST https://api.apify.com/v2/acts/hgservices~xiaoyuzhou-episode-scraper/runs`. When the run is finished, get the episodes from `GET https://api.apify.com/v2/datasets/{defaultDatasetId}/items`.

#### Scrape Xiaoyuzhou with JavaScript

Install the client with `npm install apify-client`, then run this code:

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

const client = new ApifyClient({ token: 'YOUR_API_TOKEN' });

const run = await client.actor('hgservices/xiaoyuzhou-episode-scraper').call({
    episodeUrls: [
        'https://www.xiaoyuzhoufm.com/episode/6a97f287f03e74ee6b03ea5b',
        'https://www.xiaoyuzhoufm.com/episode/6aba11ab51b8eaeca6b0e233',
    ],
});

const { items } = await client.dataset(run.defaultDatasetId).listItems();
for (const episode of items) {
    console.log(episode.pubDate, episode.podcastTitle, episode.playCount, episode.title);
}
```

#### Scrape Xiaoyuzhou with Python

Install the client with `pip install apify-client` (version 3.0 or later), then run this code:

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_API_TOKEN")

run = client.actor("hgservices/xiaoyuzhou-episode-scraper").call(
    run_input={
        "episodeUrls": [
            "https://www.xiaoyuzhoufm.com/episode/6a97f287f03e74ee6b03ea5b",
            "https://www.xiaoyuzhoufm.com/episode/6aba11ab51b8eaeca6b0e233",
        ],
    }
)
if run is None:
    raise RuntimeError("The run was not found.")

for episode in client.dataset(run.default_dataset_id).iterate_items():
    print(episode["pubDate"], episode["playCount"], episode["title"])
    print("    audio:", episode["audioUrl"])
```

#### Claude, ChatGPT and other AI assistants (MCP)

Connect your AI assistant to the **Apify MCP server**. The assistant can then run this Actor for you and answer from the results. Use this server URL to give the assistant this Actor as a tool:

```
https://mcp.apify.com?tools=hgservices/xiaoyuzhou-episode-scraper
```

**Claude (claude.ai and Claude Desktop)**

1. Open **Settings → Connectors**.
2. Click **Add**, then **Add custom connector**.
3. Enter a name, for example `Apify`, and paste the server URL above.
4. Click **Continue**, keep the detected settings, and click **Add**.
5. Sign in to Apify in the browser window that opens.

On Claude Team and Enterprise plans, an organization owner adds the connector for the organization.

**ChatGPT**

1. Open **Settings → Apps & Connectors** and click **Create**. If you do not see **Create**, turn on **Developer mode**.
2. Enter a name, for example `apify-mcp`, and paste the server URL above as the **MCP Server URL**.
3. Select **OAuth** for authentication and click **Create**.
4. Sign in to Apify and allow access.
5. In a new chat, click **+**, select **More**, and select your Apify connector.

**Claude Code, Cursor, VS Code and Codex**

- **Claude Code:** run `claude mcp add --transport http apify "https://mcp.apify.com?tools=hgservices/xiaoyuzhou-episode-scraper"`, then run `/mcp` and sign in to Apify.
- **Apify CLI:** run `apify mcp install claude-code --tools hgservices/xiaoyuzhou-episode-scraper`. You can use `cursor`, `vscode` or `codex` in place of `claude-code`.
- **Other MCP clients:** add the server URL as a remote (HTTP) MCP server.

Then ask in plain language, for example:

- *"Get the Xiaoyuzhou episode https://www.xiaoyuzhoufm.com/episode/6a97f287f03e74ee6b03ea5b and summarize its show notes in English."*
- *"Scrape these Xiaoyuzhou episodes and make a table of their plays, likes and comments."*
- *"Get the audio links of these Xiaoyuzhou episodes."*

#### Integrations

Send the results to **Google Sheets, Slack, email, Zapier, Make, n8n, Airbyte** or any **webhook** from the Actor's **Integrations** tab. For example, check the plays of a show's new episodes every day and add them to a Google Sheet.

### Tips for scraping Xiaoyuzhou

- **Paste any episode link.** Web links, app share links and bare episode IDs all work.
- **Find episode links with a search engine.** The Xiaoyuzhou website has no search. Search for `site:xiaoyuzhoufm.com/episode` and a keyword, or copy the links of recent episodes from a podcast page on xiaoyuzhoufm.com.
- **Use the audio link directly.** `audioUrl` is a plain file link. You can download the file, play it, or send it to a speech-to-text service.
- **Track episodes over time.** Run the same list on a schedule. Each row has a `scrapedAt` time, so you can compare the counts of different runs.

### Limits

- **The Actor needs episode links or IDs.** It does not search Xiaoyuzhou and does not list all the episodes of a podcast.
- **No comment texts and no transcripts.** The Actor saves the comment count, not the comments. `isTranscriptEnabled` tells you whether the app shows a transcript, but the transcript is not included.
- **No audio files.** The Actor saves the link to each audio file, not the file itself.
- **The publisher region is what Xiaoyuzhou shows.** It is not a verified address.

### 中文简介

小宇宙单集数据抓取工具：输入小宇宙 (xiaoyuzhoufm.com) 单集链接、App 分享链接或单集 ID，即可获取每一集的标题、Shownotes、发布时间、时长、播放量、点赞数、评论数、收藏数、音频直链 (MP3 / M4A)、封面以及播客信息。无需登录小宇宙账号，可导出 JSON、CSV、Excel，也可通过 API 或 AI 助手调用。

### FAQ, disclaimers and support

#### Do I need a Xiaoyuzhou account or the app?

No. The Actor reads only what xiaoyuzhoufm.com shows to any visitor. It never logs in.

#### Do I need a proxy?

No. You do not need to set up a proxy.

#### Can I download Xiaoyuzhou audio files?

The Actor gives you the direct link to each audio file in `audioUrl`. You can download the files from these links with any download tool.

#### Is it legal to scrape Xiaoyuzhou?

The Actor collects only data that is publicly available. Podcast audio and show notes are protected by copyright, and the data can contain personal data, which laws such as the GDPR and China's PIPL protect. You are responsible for using the data in line with Xiaoyuzhou's terms of service and these laws. Do not republish audio that you do not have the rights to.

#### I found a problem or need a feature

Open an issue on the **Issues** tab, and we will look into it. Custom solutions for Xiaoyuzhou and other Chinese websites are available on request.

# Actor input Schema

## `episodeUrls` (type: `array`):

Xiaoyuzhou episode URLs or episode IDs, one per line. Supported: episode pages (https://www.xiaoyuzhoufm.com/episode/<id>, with or without share parameters) and bare 24-character episode IDs. Podcast and user pages are skipped. Duplicates are scraped once.

## Actor input object example

```json
{
  "episodeUrls": [
    "https://www.xiaoyuzhoufm.com/episode/6a97f287f03e74ee6b03ea5b"
  ]
}
```

# Actor output Schema

## `episodes` (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 = {
    "episodeUrls": [
        "https://www.xiaoyuzhoufm.com/episode/6a97f287f03e74ee6b03ea5b"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("hgservices/xiaoyuzhou-episode-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 = { "episodeUrls": ["https://www.xiaoyuzhoufm.com/episode/6a97f287f03e74ee6b03ea5b"] }

# Run the Actor and wait for it to finish
run = client.actor("hgservices/xiaoyuzhou-episode-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 '{
  "episodeUrls": [
    "https://www.xiaoyuzhoufm.com/episode/6a97f287f03e74ee6b03ea5b"
  ]
}' |
apify call hgservices/xiaoyuzhou-episode-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,hgservices/xiaoyuzhou-episode-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/Gx6u7wa77vebxnUOF/builds/DhcL2dOh6nnp16c2F/openapi.json
