# NetEase Cloud Music API

Read NetEase Cloud Music charts, playlist tracks, artist info, and song reviews with like counts to analyze music trends.

Supply numeric playlist IDs or song URLs to fetch tracks and comments separately.

- Request: POST https://api.everyinfra.com/api/v1/social with `{"platform": "netease_music", "action": "<action>", "params": {...}}`
- Canonical page: [https://everyinfra.com/en/netease-music-api](https://everyinfra.com/en/netease-music-api?utm_medium=ai_doc&utm_campaign=page_md)
- Each capability uses the price recorded in the public catalog. The response includes the amount charged. Authentication failures, invalid parameters, failed calls, and empty results are not charged.

## Actions

### toplist — Music charts
Get the tracks on NetEase Cloud Music charts. Each track has rank, artists, album, duration and heat score, plus the chart's name, play count and last update. `popularity_score` runs from 0 to 100 and is not a play count. `rank` applies to that snapshot only.
- Sync delivery · Price: $0.56 per 1,000 requests (every 20 rows count as one call)
- Catalog values: defaultLimit=20, maxLimit=100. For some actions a limit controls pages or per-parent expansion, so it is not always the final row count.
- Returns fields: rank, track_id, track_name, track_alias, duration_ms, artists, artist_ids, album_id, album_name, album_cover_url, published_at, is_explicit, popularity_score, track_url, playlist_id, playlist_name, playlist_type, playlist_cover_url, playlist_track_count, playlist_play_count, playlist_subscribed_count, playlist_updated_at, snapshotted_at, platform
- Capability page: [https://everyinfra.com/en/netease-music-api/toplist](https://everyinfra.com/en/netease-music-api/toplist?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/netease-music-api/toplist.md)

### playlist — Playlist
List the tracks of a NetEase Cloud Music playlist in order, from its `playlist_id` or link, with artists, album, duration and release date for each. Duration is in milliseconds, and a listed track is not guaranteed to be playable in every region.
- Sync delivery · Price: $0.56 per 1,000 requests (every 20 rows count as one call)
- Catalog values: defaultLimit=20, maxLimit=100. For some actions a limit controls pages or per-parent expansion, so it is not always the final row count.
- Parameters:
  - `playlist_id` (required): Specifies the NetEase Cloud Music playlist ID for the playlist action. Accepts either a numeric playlist ID or a URL containing playlist?id= or /playlist/ID. This parameter is distinct from song IDs and is not used by the toplist action.
- Returns fields: rank, track_id, track_name, track_alias, duration_ms, artists, artist_ids, album_id, album_name, album_cover_url, published_at, is_explicit, popularity_score, track_url, playlist_id, playlist_name, playlist_type, playlist_cover_url, playlist_track_count, playlist_play_count, playlist_subscribed_count, playlist_updated_at, snapshotted_at, platform
- Capability page: [https://everyinfra.com/en/netease-music-api/playlist](https://everyinfra.com/en/netease-music-api/playlist?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/netease-music-api/playlist.md)

### comments — Comments
Read the comments on a NetEase Cloud Music song from its `song_id` or song link. Get likes, reply counts, hot flags and the parent comment for each reply. Sorting accepts hot (the default), recommend or time. Pinned comments can appear under any order.
- Sync delivery · Price: $0.56 per 1,000 requests (every 50 rows count as one call)
- Catalog values: defaultLimit=50, maxLimit=1000. For some actions a limit controls pages or per-parent expansion, so it is not always the final row count. A larger limit is accepted and capped at 1000.
- Parameters:
  - `song_id` (required): Specifies the NetEase Cloud Music track ID for the comments action. Accepts either a numeric song ID or a URL containing song?id= or /song/ID. A playlist ID cannot be substituted for a song ID.
  - `sort` (optional): Sorts track comments for the comments action. Supported values are hot (default), recommend, and time. Compatibility aliases latest and new map to time sorting. The value newest is unsupported and falls back to hot. Pinned top comments may still appear in results regardless of sort selection.
- Returns fields: id, song_id, song_name, url, text, like_count, reply_count, is_hot, is_reply, parent_comment_id, author_name, author_avatar_url, posted_at, platform
- Capability page: [https://everyinfra.com/en/netease-music-api/comments](https://everyinfra.com/en/netease-music-api/comments?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/netease-music-api/comments.md)

## NetEase Cloud Music API questions

### What can I retrieve with the NetEase Cloud Music API?

Set `platform` to `netease_music`. The current catalog lists music charts, playlist, and comments. These action names identify different NetEase Cloud Music objects or views; they are not interchangeable search modes.

### Which input starts the NetEase Cloud Music `toplist` request?

The `toplist` action has no required business input. Send the platform and action identifiers, plus only the optional parameters you need.

### Which fields can NetEase Cloud Music `toplist` return?

Its declared schema includes `rank`, `track_id`, `track_name`, and `track_alias`. A declared field can still be absent from an individual record, and every other action has its own field list.

### Does every NetEase Cloud Music action return immediately?

Actions labeled asynchronous return a job ID you poll. Every other action can also run asynchronously: add `"mode": "async"` to the request body to receive a job ID immediately, useful for slow tasks or large limits. The current catalog contains sync delivery.

## Also

- Machine catalog (no key): https://everyinfra.com/openapi.json · GET /api/v1/social/catalog?platform=netease_music
- API guide for AI clients: https://everyinfra.com/llms.txt · agents guide: https://everyinfra.com/agents.md
