# QQ Music Scraper — Songs, Artists & File Sizes (`blackfalcondata/qq-com-scraper`) Actor

Search QQ Music by keyword and export structured song records: song and artist names, album, duration, release date, 128 and 320 kbps, FLAC and OGG file sizes, and the preview window. Up to 600 songs per search, no login or proxy needed.

- **URL**: https://apify.com/blackfalcondata/qq-com-scraper.md
- **Developed by:** [Black Falcon Data](https://apify.com/blackfalcondata) (community)
- **Categories:** Business, Lead generation, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.40 / 1,000 results

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

### What does QQ Music Scraper do?

QQ Music Scraper extracts structured song data from [qq.com](https://qq.com) — song names, artist names, album names, duration, release date, and the 128 and 320 kbps, FLAC and OGG audio file sizes for each song. It supports keyword search and controllable result limits, so you can run the same query consistently over time.

### How to use this actor

- 👉 **Register for a free Apify account** — no credit card required.
- 🎉 Just click **[Sign up free on Apify →](https://console.apify.com/sign-up?fpr=1h3gvi)** and complete a quick signup.
- 💰 A free Apify account includes $5 in monthly credits — enough to test this actor.
- ⏳ Scrape during the free trial, with no commitment or upfront payment required.

### Key features

- **🔍 Keyword search:** search QQ Music by keyword with the `query` input.
- **🔗 Paste-mode:** paste a QQ Music song-search URL into `startUrls` to scrape exactly the search you ran in the browser.
- **🎵 Song, album and artist metadata:** every song row (`recordType` song) carries QQ Music's IDs — `songId`, `songMid`, `albumId`, `albumMid` — plus `songName`, `albumName`, album position `trackNumber`, `releaseDate` (YYYY-MM-DD), `durationSec`, and artist credits as both a readable `singerNames` string and a structured `singers` list.
- **🎧 Audio formats and preview window:** see which quality tiers QQ Music holds for a track — `size128Kbps`, `size320Kbps`, `sizeOggBytes` and `sizeFlacBytes` in bytes (0 means no lossless master) — and the free preview segment as `previewStartMs` and `previewEndMs`.
- **⭐ QQ exclusives and credit notes:** flag platform-exclusive releases with `isOnlyOnQq` and read `lyricNote`, the short soundtrack/credit note attached to the record; `sourceUrl` links straight to the y.qq.com song page.
- **♻️ Incremental mode:** recurring runs emit only songs that are new or changed since the last run of the same search — track new releases from an artist or keyword without re-downloading the whole catalogue, and pay only for what changed.
- **🔔 Notifications:** Telegram, Slack, Discord, WhatsApp Cloud API and generic webhook out of the box — each message names the song, its artists and album and links to the y.qq.com song page. Pair with incremental mode for new-release alerts.
- **📦 Compact mode:** compact song rows — song and album IDs and names, artists, release date, duration and the song link — for spreadsheets, dashboards and AI agents.
- **🔌 MCP connectors:** push your songs into Notion via Apify's MCP connectors — a tidy run-summary page, no export step, no glue code. Opt-in, deterministic field-mapping (no AI). More destinations as Apify's connector catalog grows.
- **🧹 Empty-field stripping:** drop null, empty-string, and empty-array fields from each record before push. Smaller payloads for AI agents and dashboards that already handle missing fields gracefully.
- **📤 Export anywhere:** Download the dataset as JSON, CSV, or Excel from the Apify Console, or stream live via the Apify API and integrations (Make, Zapier, Google Sheets, n8n, …).

### What data can you extract from qq.com?

Each result includes Core song fields (`recordType`, `songId`, `songMid`, `songName`, `singerNames`, `singers`, `albumId`, and `albumMid`, and more) and extended fields (`detailFetched`). In standard mode, all fields are always present — unavailable data points are returned as `null`, never omitted. In compact mode, only core fields are returned.

### Input

The main inputs are a search keyword and a result limit. Additional filters and options are available in the input schema.

Key parameters:

- **`query`** — Song, artist or album keywords — Chinese or Latin script both work (e.g. "周杰伦", "Jay Chou", "告白气球"). Use a JSON array for several searches in one run, e.g. \["周杰伦","五月天"].
- **`maxResults`** — Maximum total songs (0 = as many as the search returns). A single keyword search returns at most 600 songs. (default: `100`)
- **`compact`** — Core fields only (for AI-agent/MCP workflows). (default: `false`)
- **`excludeEmptyFields`** — Drop null, empty-string, and empty-array fields from each record before push. Smaller payloads for AI agents and dashboards. (default: `false`)
- **`incrementalMode`** — Compare against previous run state. stateKey is optional — defaults to a value derived from search inputs (queries, locations, startUrls, country) so different filter sets never share state. (default: `false`)
- **`stateKey`** — Optional. Stable identifier for the tracked search universe. Leave empty to auto-generate from search inputs.
- **`skipReposts`** — When incremental, skip listings whose content matches an expired listing from a prior run (cross-run duplicate detection). (default: `false`)
- **`notifyOnlyChanges`** — When Incremental Mode is on, only send notifications for NEW and UPDATED listings. Has no effect outside incremental mode. (default: `false`)
- **`notificationLimit`** — Maximum number of listings included in each notification message (1–20). (default: `5`)
- **`telegramToken`** — Telegram bot token (from @BotFather). Required for Telegram notifications.
- **`telegramChatId`** — Telegram chat or channel ID (e.g. "-100123456789"). Required when telegramToken is set.
- **`discordWebhookUrl`** — Discord incoming webhook URL. Server Settings → Integrations → Webhooks → New Webhook.
- ...and 10 more parameters

### Input examples

**Basic search** — Keyword-driven search with a result cap.

→ Full payload per result — all standard fields populated where the source provides them.

```json
{
  "query": "周杰伦",
  "maxResults": 50
}
```

**Incremental tracking** — Only emit songs that changed since the previous run with this `stateKey`.

→ First run builds the baseline state. Subsequent runs emit only records that are new or whose tracked content changed. Set `emitUnchanged: true` to include unchanged records as well.

```json
{
  "query": "周杰伦",
  "maxResults": 200,
  "incrementalMode": true,
  "stateKey": "周杰伦-tracker"
}
```

**Compact output for AI agents** — Return only core fields for AI-agent and MCP workflows.

→ Small payload with the most important fields — ideal for piping into LLMs without token overhead.

```json
{
  "query": "周杰伦",
  "maxResults": 50,
  "compact": true
}
```

### Output

Each run produces a dataset of structured song records. Results can be downloaded as JSON, CSV, or Excel from the Dataset tab in Apify Console.

### Example song record

```json
{
  "recordType": "song",
  "songId": 449200,
  "songMid": "0042QMDR1VzSsx",
  "songName": "说好的幸福呢",
  "singerNames": "周杰伦",
  "singers": [
    {
      "id": 4558,
      "mid": "0025NhlN2yWrP4",
      "name": "周杰伦",
      "name_hilight": "周杰伦"
    }
  ],
  "albumId": 36062,
  "albumMid": "002Neh8l0uciQZ",
  "albumName": "魔杰座",
  "durationSec": 256,
  "releaseDate": "2008-10-14",
  "size128Kbps": 4108738,
  "size320Kbps": 10271547,
  "sizeFlacBytes": 27086130,
  "sizeOggBytes": 5383093,
  "previewStartMs": 72998,
  "previewEndMs": 104743,
  "sourceUrl": "https://y.qq.com/n/ryqq/songDetail/0042QMDR1VzSsx",
  "portalUrl": "https://y.qq.com/n/ryqq/songDetail/0042QMDR1VzSsx",
  "scrapedAt": "2026-11-14T23:53:08.209Z",
  "trackNumber": 6,
  "isOnlyOnQq": true,
  "listingId": "1286c640feeed5319e9b4dc31d771c94f8e3e12c3ad278ee0672336236d3a149",
  "searchQuery": "jay chou",
  "contentQuality": "serp_only",
  "detailFetched": false,
  "source": "qq.com",
  "contentHash": "78d51aa0cdde460fc7849b6c7348c8bae7d413eb6f4ec84e7f5a82e192509896"
}
```

### Incremental fields

When incremental mode is on, each record also carries:

- `changeType` — one of `NEW`, `UPDATED`, `REAPPEARED`.
- `isRepost`, `repostOfId`, `repostDetectedAt` — populated when a new listing matches the tracked content of a previously expired one. Set `skipReposts: true` to drop detected reposts from the output.

### How to scrape qq.com

1. Go to [QQ Music Scraper](https://apify.com/blackfalcondata/qq-com-scraper?fpr=1h3gvi) in Apify Console.
2. Enter a search keyword.
3. Set `maxResults` to control how many results you need.
4. Click **Start** and wait for the run to finish.
5. Export the dataset as JSON, CSV, or Excel.

### Use cases

- Extract song data from qq.com for market research and competitive analysis.
- Monitor new and changed songs on scheduled runs without processing the full dataset every time.
- Feed structured data into AI agents, MCP tools, and automated pipelines using compact mode.
- Export clean, structured data to dashboards, spreadsheets, or data warehouses.
- Compare songs by their rating fields.

### How much does it cost to scrape qq.com?

Pricing for QQ Music Scraper has not been finalized yet. It will be published here before the actor becomes publicly available.

You only use your normal Apify platform resources when you run the actor from your own account.

**Run limits**: A run stops on its own after 12 hours if you set no timeout or a timeout longer than 12 hours. It also stops if it finds no new results for 60 minutes. Results collected before the stop are saved in your dataset.

### FAQ

#### How many results can I get from qq.com?

The number of results depends on the search query and available songs on qq.com. Use the `maxResults` parameter to control how many results are returned per run.

#### Does QQ Music Scraper support recurring monitoring?

Yes. Enable incremental mode to only receive new or changed songs on subsequent runs. This is ideal for scheduled monitoring where you want to track changes over time without re-processing the full dataset.

#### Can I integrate QQ Music Scraper with other apps?

Yes. QQ Music Scraper works with Apify's [integrations](https://apify.com/integrations?fpr=1h3gvi) to connect with tools like Zapier, Make, Google Sheets, Slack, and more. You can also use webhooks to trigger actions when a run completes.

#### Can I use QQ Music Scraper with the Apify API?

Yes. You can start runs, manage inputs, and retrieve results programmatically through the [Apify API](https://docs.apify.com/api/v2). Client libraries are available for JavaScript, Python, and other languages.

#### Can I use QQ Music Scraper through an MCP Server?

Yes. Apify provides an [MCP Server](https://apify.com/apify/actors-mcp-server?fpr=1h3gvi) that lets AI assistants and agents call this actor directly. Use compact mode, a single `descriptionFormat`, and `excludeEmptyFields` to keep payloads manageable for LLM context windows.

#### Is it legal to scrape qq.com?

This actor extracts publicly available data from qq.com. Web scraping of public information is generally considered legal, but you should always review the target site's terms of service and ensure your use case complies with applicable laws and regulations, including GDPR where relevant.

#### Your feedback

If you have questions, need a feature, or found a bug, please [open an issue](https://apify.com/blackfalcondata/qq-com-scraper/issues?fpr=1h3gvi) on the actor's page in Apify Console. Your feedback helps us improve.

### You might also like

- [1182.ee Scraper - Estonian Business Directory](https://apify.com/blackfalcondata/1182-ee-scraper?fpr=1h3gvi) — Scrape the 1182.ee Estonian business directory by keyword and get registry codes, phone numbers.
- [1188.lv Business Directory Scraper](https://apify.com/blackfalcondata/1188-lv-scraper?fpr=1h3gvi) — Scrape 1188.lv — Latvia's business directory. Search by keyword or city and get the phone number.
- [2GIS Russia Places Scraper \[Just 💰$0.45\] — Addresses & Ratings](https://apify.com/blackfalcondata/2gis-ru-scraper?fpr=1h3gvi) — Scrape 2gis.ru places by keyword and city: addresses and coordinates, categories, ratings.
- [a16z Portfolio Scraper \[💰$1.5\] — Companies, Founders & Exits](https://apify.com/blackfalcondata/a16z-com-scraper?fpr=1h3gvi) — Export the full a16z.com portfolio as structured rows. Each company comes with founders, funding.
- [Acquire Scraper - Startups & SaaS Businesses for Sale](https://apify.com/blackfalcondata/acquire-com-scraper?fpr=1h3gvi) — Scrape startup and SaaS businesses for sale on Acquire.com: filter public listings by keyword.
- [Ahrefs Blog Scraper - Posts, Authors & Full Text](https://apify.com/blackfalcondata/ahrefs-com-scraper?fpr=1h3gvi) — Scrape the ahrefs.com blog: search posts by keyword, filter by category, and export title, excerpt,.
- [Apontador Brazil Business Scraper](https://apify.com/blackfalcondata/apontador-com-br-scraper?fpr=1h3gvi) — Scrape Apontador — Brazil's local business directory. Search any city and category for business.
- [Aranyoldalak.hu Business Directory Scraper \[Just 💰$0.9\]](https://apify.com/blackfalcondata/aranyoldalak-hu-scraper?fpr=1h3gvi) — Scrape aranyoldalak.hu, the Hungarian business directory: company name, address, phone numbers,.

### Getting started with Apify

New to Apify? [Create a free account with $5 credit](https://console.apify.com/sign-up?fpr=1h3gvi) — no credit card required.

1. Sign up — $5 platform credit included
2. Open this actor and configure your input
3. Click **Start** — export results as JSON, CSV, or Excel

Need more later? [See Apify pricing](https://apify.com/pricing?fpr=1h3gvi).

### Disclaimer

This actor accesses only publicly available data on qq.com. You are responsible for how you use the extracted data — in particular any personal information such as names, phone numbers, or email addresses — and for complying with QQ Music's terms of use, applicable data-protection law (including the GDPR where it applies), and the anti-spam rules of your jurisdiction.

This actor is an independent tool and is not affiliated with, endorsed by, or sponsored by QQ Music or any of its subsidiaries. All trademarks mentioned are the property of their respective owners.

### Search keywords

qq music scraper, qq music api, apify qq music, qq music data extraction, qq.com scraper, qq.com data, qq.com api, social media scraper, profile data.

# Changelog

This Actor's version history is a separate document: https://apify.com/blackfalcondata/qq-com-scraper/changelog.md

# Actor input Schema

## `query` (type: `string`):

Song, artist or album keywords — Chinese or Latin script both work (e.g. "周杰伦", "Jay Chou", "告白气球"). Use a JSON array for several searches in one run, e.g. \["周杰伦","五月天"].

## `maxResults` (type: `integer`):

Maximum total songs (0 = as many as the search returns). A single keyword search returns at most 600 songs.

## `compact` (type: `boolean`):

Core fields only (for AI-agent/MCP workflows).

## `excludeEmptyFields` (type: `boolean`):

Drop null, empty-string, and empty-array fields from each record before push. Smaller payloads for AI agents and dashboards.

## `incrementalMode` (type: `boolean`):

Compare against previous run state. stateKey is optional — defaults to a value derived from search inputs (queries, locations, startUrls, country) so different filter sets never share state.

## `stateKey` (type: `string`):

Optional. Stable identifier for the tracked search universe. Leave empty to auto-generate from search inputs.

## `skipReposts` (type: `boolean`):

When incremental, skip listings whose content matches an expired listing from a prior run (cross-run duplicate detection).

## `notifyOnlyChanges` (type: `boolean`):

When Incremental Mode is on, only send notifications for NEW and UPDATED listings. Has no effect outside incremental mode.

## `notificationLimit` (type: `integer`):

Maximum number of listings included in each notification message (1–20).

## `telegramToken` (type: `string`):

Telegram bot token (from @BotFather). Required for Telegram notifications.

## `telegramChatId` (type: `string`):

Telegram chat or channel ID (e.g. "-100123456789"). Required when telegramToken is set.

## `discordWebhookUrl` (type: `string`):

Discord incoming webhook URL. Server Settings → Integrations → Webhooks → New Webhook.

## `slackWebhookUrl` (type: `string`):

Slack incoming webhook URL. api.slack.com/messaging/webhooks.

## `whatsappPhoneNumberId` (type: `string`):

Your WhatsApp Business phone-number ID (numeric, from Meta dashboard). Required when whatsappAccessToken is set.

## `whatsappAccessToken` (type: `string`):

WhatsApp Cloud API permanent access token (System User token from Meta Business). Recipient must have messaged the business number within the last 24h (service-conversation window — free since Nov 2024).

## `whatsappTo` (type: `string`):

Recipient phone in E.164 format without + (e.g. "436641234567"). Recipient must have messaged your business number within last 24h.

## `webhookUrl` (type: `string`):

Receives a JSON POST with {metadata, items} after each run. Universal escape hatch for n8n / Make / Zapier / custom backends.

## `webhookHeaders` (type: `object`):

Optional JSON object of custom headers (e.g. {"Authorization":"Bearer ..."}).

## `appConnector` (type: `string`):

Optional. Pick a connected app under Settings → API & Integrations to receive your results (including any contact details). Best-effort across MCP connectors as Apify expands its catalog.

## `mcpIssueTeam` (type: `string`):

Only when the connected app is an issue tracker: the team (name or ID) the summary issue is created under, if that app requires one.

## `descriptionFormat` (type: `string`):

Choose which representation of the listing description to include. `all` keeps every variant; the others keep only the selected one.

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

One or more QQ Music song-search URLs, for example https://y.qq.com/n/ryqq/search?w=jay%20chou\&t=song. Each URL is searched for its keyword. When set, the Search Term field is ignored. Song-detail pages cannot be looked up by link.

## Actor input object example

```json
{
  "query": "周杰伦",
  "maxResults": 100,
  "compact": false,
  "excludeEmptyFields": false,
  "incrementalMode": false,
  "skipReposts": false,
  "notifyOnlyChanges": false,
  "notificationLimit": 5,
  "descriptionFormat": "all"
}
```

# Actor output Schema

## `results` (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 = {
    "query": "周杰伦",
    "maxResults": 100,
    "excludeEmptyFields": false,
    "descriptionFormat": "all"
};

// Run the Actor and wait for it to finish
const run = await client.actor("blackfalcondata/qq-com-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 = {
    "query": "周杰伦",
    "maxResults": 100,
    "excludeEmptyFields": False,
    "descriptionFormat": "all",
}

# Run the Actor and wait for it to finish
run = client.actor("blackfalcondata/qq-com-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 '{
  "query": "周杰伦",
  "maxResults": 100,
  "excludeEmptyFields": false,
  "descriptionFormat": "all"
}' |
apify call blackfalcondata/qq-com-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,blackfalcondata/qq-com-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/3RAqBIAbaGgauiJkl/builds/yu82xPmsj1C4MIJhJ/openapi.json
