# NetEase Cloud Music Scraper — Charts & Playlists (`hipersoft/netease-music-scraper`) Actor

Scrape NetEase Cloud Music (网易云音乐) charts and playlists: track name, artists, album, popularity, duration and rank. Official top charts or any playlist by ID. Public API, no key.

- **URL**: https://apify.com/hipersoft/netease-music-scraper.md
- **Developed by:** [hiper soft](https://apify.com/hipersoft) (community)
- **Categories:** Social media, Other
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.001 / track scraped

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/platform/actors/running/actors-in-store#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

## NetEase Music Scraper — Charts, Songs & Playlists (网易云音乐)

Scrape **NetEase Cloud Music** (网易云音乐), one of China's biggest music platforms, into clean JSON, CSV or Excel. This NetEase Music scraper extracts **track name, artists, album, popularity, duration and rank** from the official top charts (排行榜) or from **any playlist by ID**. Fast and reliable.

Perfect for **music-trend research, chart tracking, artist analytics and playlist analysis**.

![NetEase Music Scraper input — mode, charts and max tracks in the Apify Console](https://api.apify.com/v2/key-value-stores/SUfvnaFLd9z9eBCtV/records/netease-music-scraper-input.png?v=2)

### What does NetEase Music Scraper do?

The NetEase Music Scraper collects tracks from NetEase Cloud Music and returns them as structured data. It supports two modes — the official top charts or any playlist by ID — and extracts the track name, artists, album, popularity score and rank for each song, so you can build a complete Chinese-market music dataset.

### What data can you scrape from NetEase Music?

| Category | Fields |
|----------|--------|
| 🎵 Track | name, artists, album, duration |
| 📊 Ranking | rank, popularity, chart, playlist name |
| 🔗 Links & meta | track id, track URL, collected date |

### Output

Each track is returned as one clean record. Example output:

```json
{
  "rank": 1,
  "id": 3399839173,
  "name": "甲乙丙丁 (你我怎么两清)",
  "artists": ["李佳薇"],
  "album": "甲乙丙丁",
  "popularity": 100,
  "durationSec": 210,
  "chart": "hot",
  "playlistName": "热歌榜",
  "url": "https://music.163.com/song?id=3399839173",
  "collectedAt": "2026-07-30T12:00:00.000Z"
}
```

#### Output schema

| Field | Type | Description |
|-------|------|-------------|
| `rank` | integer | Position of the track within its chart or playlist. |
| `id` | integer | Unique NetEase track identifier. |
| `name` | string | Track name. |
| `artists` | array | List of performing artists. |
| `album` | string | Album the track belongs to. |
| `popularity` | integer | NetEase popularity score for the track. |
| `durationSec` | integer | Track duration in seconds. |
| `chart` | string | Chart the track was pulled from (chart mode). |
| `playlistName` | string | Name of the chart or playlist. |
| `url` | string (URL) | Direct link to the track. |
| `collectedAt` | string (ISO date) | Timestamp when the record was collected. |

### Use cases

- **Music-trend research** — track which songs are climbing across NetEase charts.
- **Chart tracking** — capture the top charts over time to build a time series.
- **Artist analytics** — measure how an artist's tracks perform and rank.
- **Playlist analysis** — pull the full tracklist and popularity for any playlist.
- **Recommendation engines** — feed track, artist and popularity data into models.
- **A\&R and market intelligence** — spot rising songs and genres early.

### How to scrape NetEase Music data

1. Add the NetEase Music Scraper to your Apify account.
2. Pick a mode — **chart** (official charts) or **playlist** (any playlist by ID).
3. Choose the charts, or add the playlist IDs you want.
4. Set the maximum number of tracks and click **Run**.
5. Export the results as JSON, CSV, Excel or XML, or pull them via the Apify API.

### Input

```json
{
  "mode": "chart",
  "charts": ["hot", "soaring"],
  "maxItems": 400
}
```

Or scrape a specific playlist:

```json
{ "mode": "playlist", "playlistIds": ["3778678"], "maxItems": 200 }
```

| Field | Type | Description |
|-------|------|-------------|
| `mode` | string | `chart` (official top charts) or `playlist` (any playlist by ID). |
| `charts` | array | Which charts to scrape in `chart` mode: Hot, New, Soaring, Original, Rap, Billboard, UK, iTunes, Western, K-pop. |
| `playlistIds` | array | Playlist IDs in `playlist` mode. The ID is in the URL: `music.163.com/#/playlist?id=<ID>`. |
| `maxItems` | integer | Maximum number of tracks to scrape across all selected lists. |

### Need more music and media data?

- [Spotify Scraper](https://apify.com/hipersoft/spotify-scraper)
- [SoundCloud Scraper](https://apify.com/hipersoft/soundcloud-scraper)
- [Deezer Scraper](https://apify.com/hipersoft/deezer-scraper)
- [Bilibili Scraper](https://apify.com/hipersoft/bilibili-scraper)

### FAQ

**How many tracks can I scrape?**
As many as you like — set `maxItems` to cap the run, or leave it high to pull everything available.

**Do I need any setup or a login?**
No setup and no login. Just add the actor, choose a mode, and run.

**How do I scrape a specific playlist?**
Use `playlist` mode and add the playlist ID(s). The ID is in the URL: `music.163.com/#/playlist?id=<ID>`.

**What export formats are supported?**
JSON, CSV, Excel and XML, plus programmatic access through the Apify API.

**How does billing work?**
You pay only per item you get, so costs scale with the number of tracks you scrape.

**Is the data only public data?**
Yes — the scraper returns only publicly available track information.

**Can I integrate this with other tools?**
The NetEase Music Scraper can be connected with almost any cloud service or web app thanks to [integrations on the Apify platform](https://apify.com/integrations). It works with [Make](https://apify.com/integrations/make), [Zapier](https://apify.com/integrations/zapier), [Slack](https://docs.apify.com/platform/integrations/slack), [Airbyte](https://docs.apify.com/platform/integrations/airbyte), [GitHub](https://docs.apify.com/platform/integrations/github), [Google Drive](https://docs.apify.com/platform/integrations/drive) and [many more](https://apify.com/integrations), plus the [Apify API](https://docs.apify.com/api/v2), JavaScript/Python clients and MCP. Or use [webhooks](https://docs.apify.com/platform/integrations/webhooks) to trigger an action whenever a run finishes.

### Related Actors

- [Douban Scraper](https://apify.com/hipersoft/douban-scraper)
- [Bilibili Scraper](https://apify.com/hipersoft/bilibili-scraper)
- [Toutiao Scraper](https://apify.com/hipersoft/toutiao-scraper)

### Notes

Original clean-room implementation. Returns only public data; you are responsible for compliance with NetEase's terms. Not affiliated with NetEase.

# Actor input Schema

## `mode` (type: `string`):

chart = official top charts, playlist = any playlist by ID.

## `charts` (type: `array`):

Which official charts to scrape when mode = chart.

## `playlistIds` (type: `array`):

Playlist IDs to scrape when mode = playlist. A playlist ID is in its URL: music.163.com/#/playlist?id=<ID>.

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

Maximum tracks to scrape across all selected lists.

## Actor input object example

```json
{
  "mode": "chart",
  "charts": [
    "hot"
  ],
  "playlistIds": [
    "3778678"
  ],
  "maxItems": 500
}
```

# Actor output Schema

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

The scraped results as dataset items.

# 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 = {
    "playlistIds": [
        "3778678"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("hipersoft/netease-music-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 = { "playlistIds": ["3778678"] }

# Run the Actor and wait for it to finish
run = client.actor("hipersoft/netease-music-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 '{
  "playlistIds": [
    "3778678"
  ]
}' |
apify call hipersoft/netease-music-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,hipersoft/netease-music-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/L1wzYbfuJjcBXYLL1/builds/ca0GmK45cJq07ihCL/openapi.json
