music-search-v2
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "music-search-v2" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-ab08ca8334cfe7dfbfced3b622ab5633f4f930aacb3b161c465c186288b7f84d. Verify the upstream source and version against https://skillhub.cn/skills/user_f446f091/music-search-v2 before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
skillhub.cn
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Use when the user wants to search for songs, find trending music, browse charts, or get music recommendations from QQ Music — supports keyword search, hot search terms, and ranked chart queries.
Introduction source: third_party · user_f446f091 · 1.0.0 Reference
SkillPi interpretation
- Tasks
- Translation pending; see source documentation.
- Audience
- Translation pending; see source documentation.
- Inputs and outputs
- Translation pending; see source documentation.
- Limits and differences
- **No playback** — vkey tokens expire after ~30 minutes, making reliable playback impractical for a simple skill. **No login actions** — Playlist creation, favoriting, and personalized recommendations require authentication. **Rate limits** — QQ Music may throttle excessive requests. Batch searches (e.g., "search 50 songs at once") should be done sequentially with small delays.
- Testing
- Not tested
Browse files
Frontmatter
name: music-search
description: Use when the user wants to search for songs, find trending music, browse charts, or get music recommendations from QQ Music (QQ音乐) — supports keyword search, hot search terms, and ranked chartsMusic Search (QQ音乐搜索)
Overview
Search QQ Music via open HTTP endpoints using WebFetch. Parse JSON/JSONP responses to present songs, rankings, and trending searches — no authentication required.
When to Use
- User asks to search a song, artist, or album on QQ Music
- User wants to see what's trending / hot right now
- User asks for music charts (热歌榜, 新歌榜, 飙升榜, etc.)
- User wants music recommendations
When NOT to use: Playing/streaming songs (vkey is time-limited), creating playlists (requires login), downloading files.
API Endpoints
Three endpoints cover all supported operations. Base host: c.y.qq.com.
| Endpoint | Method | Purpose |
|---|---|---|
https://c.y.qq.com/soso/fcgi-bin/client_search_cp |
GET | Search songs/albums/playlists |
https://c.y.qq.com/splcloud/fcgi-bin/gethotkey.fcg |
GET | Hot search keywords |
https://c.y.qq.com/v8/fcg-bin/fcg_v8_toplist_cp.fcg |
GET | Ranked charts (top lists) |
1. Search Songs
GET https://c.y.qq.com/soso/fcgi-bin/client_search_cp?w={keyword}&format=json&n={count}&p={page}&search_type={type}
| Param | Description | Default |
|---|---|---|
w |
Search keyword (URL-encode Chinese) | required |
format |
Response format: json or jsonp |
json |
n |
Results per page (max 50) | 10 |
p |
Page number (1-based) | 1 |
search_type |
0=song, 2=album, 3=playlist, 4=MV, 7=lyrics | 0 |
Response path: data.song.list[] — each item has songname, singer (array of {name}), albumname, songmid, interval (duration in seconds).
Example: Search "七里香", show top 10:
WebFetch: https://c.y.qq.com/soso/fcgi-bin/client_search_cp?w=七里香&format=json&n=10
→ Parse data.song.list → table: # | Song | Singer | Album | Duration
2. Hot Search Keywords
GET https://c.y.qq.com/splcloud/fcgi-bin/gethotkey.fcg?format=json
Response path: data.hotkey[] — each item has k (keyword), n (rank).
Example:
WebFetch: https://c.y.qq.com/splcloud/fcgi-bin/gethotkey.fcg?format=json
→ Parse data.hotkey → numbered list of trending search terms
3. Rankings (Top Lists)
GET https://c.y.qq.com/v8/fcg-bin/fcg_v8_toplist_cp.fcg?topid={id}&platform=yqq.json
Common topid values:
| topid | Chart Name |
|---|---|
| 4 | 巅峰榜 (Peak) |
| 26 | 热歌榜 (Hot) |
| 27 | 新歌榜 (New) |
| 28 | 飙升榜 (Soaring) |
| 36 | K歌嗨唱 (KTV Hits) |
Response format: This endpoint returns JSONP — the body is wrapped in MusicJsonCallbacktoplist(...). Strip the wrapper before parsing:
Raw: MusicJsonCallbacktoplist({...json...})
→ Strip to: {...json...}
→ Parse JSON → songlist[] → each: {songname, singername, rank, albumname}
Example: Get hot chart top 20:
WebFetch: https://c.y.qq.com/v8/fcg-bin/fcg_v8_toplist_cp.fcg?topid=26&platform=yqq.json
→ Strip JSONP wrapper → Parse songlist → numbered table: rank | song | singer
Workflows
Search Flow
User: "搜一下XX" or "search for XX"
- Determine if keyword implies a type (default: song)
- WebFetch the search endpoint with
w={keyword}&format=json&n=10 - Parse
data.song.list[] - Present as a table: # | Song | Singer | Album
- If user wants more, increment
ppage parameter
Hot/Trending Flow
User: "有什么热门" or "what's hot"
- WebFetch the hotkey endpoint
- Parse
data.hotkey[] - List ranked hot search terms
Chart/Ranking Flow
User: "排行榜" or "热歌榜"
- If user specifies chart type, look up topid from table (default: 26 热歌榜)
- WebFetch the toplist endpoint
- Strip JSONP wrapper before parsing
- Parse
songlist[] - Present as numbered ranking table
Quick Reference
| User says | Action | Endpoint |
|---|---|---|
| "搜XX" / "search XX" | Keyword search | client_search_cp |
| "热门" / "trending" | Hot search terms | gethotkey.fcg |
| "排行榜" / "charts" | Ranked chart | fcg_v8_toplist_cp.fcg |
| "新歌榜" | topid=27 | fcg_v8_toplist_cp.fcg |
| "飙升榜" | topid=28 | fcg_v8_toplist_cp.fcg |
Output Format
Present results as tables for clarity:
| # | Song | Singer |
|---|---|---|
| 1 | 七里香 | 周杰伦 |
For ranked charts, prepend rank column. Always show top 10 by default. Include songmid in a secondary column or note if user wants more details (detail page: https://y.qq.com/n/yqq/song/{songmid}.html).
Common Mistakes
- JSONP not stripped — The toplist endpoint wraps JSON in
MusicJsonCallbacktoplist(...). Strip the wrapper before JSON.parse. If parsing fails, check for callback wrapper first. - Too many results — Default to 10. Overwhelming the user with 50+ results makes the output unreadable.
- No User-Agent — QQ Music may reject requests without browser-like headers. WebFetch typically handles this, but if requests fail with 403, mention the header requirement.
- Wrong search_type — Ensure
search_type=0for songs. Searching an artist name with type 0 finds their songs; use type 2 for albums, type 3 for playlists. - URL-encoding Chinese — WebFetch handles encoding automatically when you pass the URL as-is with Chinese characters.
Song Detail Links
- Song page:
https://y.qq.com/n/yqq/song/{songmid}.html - Artist page:
https://y.qq.com/n/yqq/singer/{singermid}.html - Album page:
https://y.qq.com/n/yqq/album/{albummid}.html
Include relevant links when the user asks for more details about a specific song.
Limitations
- No playback — vkey tokens expire after ~30 minutes, making reliable playback impractical for a simple skill.
- No login actions — Playlist creation, favoriting, and personalized recommendations require authentication.
- Rate limits — QQ Music may throttle excessive requests. Batch searches (e.g., "search 50 songs at once") should be done sequentially with small delays.
Current listing version
1.0.0
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 提供 QQ 音乐搜索、热词、排行榜等高频实用功能
- 覆盖用户常见音乐信息查询场景,实用性强
Highlights
- 触发词覆盖全面,支持多种用户表达方式
- 边界清晰,不易误触或漏触
Highlights
- 文档结构完整,章节清晰,包含完整的工作流程和示例
- frontmatter 完整,输出格式规范
Highlights
- API 来源明确,参数说明详细
- 覆盖主要异常处理,有常见错误提示
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
These common operations were not identified in the main document. This does not mean no permissions or risks exist.
Domains or addresses referenced in the document
These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.
- c.y.qq.com
- y.qq.com
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.