NetEase Cloud Music Playlist API
API health
- 24h health
- Normal
- Healthy / normal
- Available
- Limited
- Mostly down
Last 24 hours
Last 30 days
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.
Send POST https://api.everyinfra.com/api/v1/social with platform set to netease_music and action set to playlist. Price $0.56 per 1,000 requests ($0.000556 per call). Failed calls and empty results are not charged. Synchronous. For slow jobs add "mode": "async" to the body, take the job_id and poll.
NetEase Cloud Music Playlist reads one public playlist by playlist_id and returns a row for each track: its position, name and alias, artists, album, length, release time, explicit flag and song link, with the playlist's name, type, cover, track count, play count, saves and last update repeated on every row. Use it to see what a curated or user-made list contains and how much attention the list gets, for playlist pitching, music marketing, catalog research or tracking which songs win placements.
Pass the numeric ID or a playlist link that contains playlist?id= or /playlist/<ID>. duration_ms is in milliseconds, so divide by 1000 for seconds. playlist_play_count counts plays of the whole playlist, not of any one track, and track_alias holds a subtitle or foreign-language title when the song has one. snapshotted_at records when each row was read.
AI prompt
#Please help me write a data collection script with the EveryInfra NetEase Cloud Music Playlist endpoint (netease_music/playlist).
How the endpoint works:
- Request: POST https://api.everyinfra.com/api/v1/social with the header Authorization: Bearer <API key>. Read the key from the EVERYINFRA_API_KEY environment variable and never hard-code it.
- In the request body, set platform to netease_music and action to playlist, and put the parameters inside params.
- Required parameters:
- playlist_id: 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.
- Optional parameters:
- limit: The most rows to return in this call, an integer from 1 to 100. The default applies when you leave it out, and a call can return fewer rows. Larger values return 422 before any charge. (default: 20)
- Returns a list of records. Main fields of each record: rank, track_id, track_name, track_alias, duration_ms, artists, artist_ids, album_id, album_name, album_cover_url, published_at, is_explicit; 23 fields in total, full list at https://api.everyinfra.com/api/v1/social/catalog?platform=netease_music.
- Example request body:
{
"platform": "netease_music",
"action": "playlist",
"params": {
"playlist_id": "3778678"
}
}
- Price: $0.56 per 1,000 requests; failed and empty results are not charged.
- For dozens or hundreds of targets, add "mode": "async" to the body: you get a job_id at once and poll GET https://api.everyinfra.com/api/v1/jobs/{job_id} for the result.
- On 422, fix the request using the suggested parameter names and allowed values in the error; on 429 or 503, wait for Retry-After and try again.
Before writing code, ask me which targets I need, how many, which fields, and what output format I want; then confirm the plan and the rough cost with me.Request parameters
#| Name | In | Type | Required | Default | Description |
|---|---|---|---|---|---|
Authorization | header | string | Yes | - | Bearer followed by your API key. Create it in the console; never put it in a URL or a code repository. |
platform | body | string | Yes | netease_music | Platform identifier, fixed value. |
action | body | string | Yes | playlist | Capability identifier, fixed value. |
playlist_id | body.params | string | Yes | - | 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. |
limit | body.params | integer (1–100) | No | 20 | The most rows to return in this call, an integer from 1 to 100. The default applies when you leave it out, and a call can return fewer rows. Larger values return 422 before any charge. |
Code samples
#curl -X POST 'https://api.everyinfra.com/api/v1/social' \
-H "Authorization: Bearer $EVERYINFRA_API_KEY" \
-H 'Content-Type: application/json' \
--data-raw '{
"platform": "netease_music",
"action": "playlist",
"params": {
"playlist_id": "3778678"
}
}'OpenAPI definition (JSON)Samples read the key from the EVERYINFRA_API_KEY environment variable; copied code never contains your key.
Response example
#{ "id": "req_…", "platform": "netease_music", "action": "playlist", "results": [ { "rank": 1, "track_id": 3342319503, "track_name": "明知故犯", "duration_ms": 166416, "artists": "Max李玄", "artist_ids": "57539469", "album_id": 357748854, "album_name": "失温", "album_cover_url": "http://p3.music.126.net/H2DFRdwP2y5SuCAn-Tuikw==/109951172568091306.jpg", "is_explicit": false, "popularity_score": 100, "track_url": "https://music.163.com/song?id=3342319503", "playlist_id": 3778678, "playlist_name": "原创榜", "playlist_type": "toplist", "playlist_cover_url": "https://p4.music.126.net/0SUEG8yDACfx0Bw2MYFv4Q==/109951170048519512.jpg", "playlist_track_count": 200, "playlist_play_count": 14152643584, "playlist_subscribed_count": 13177436, "playlist_updated_at": "2026-09-26T00:30:24.072000+00:00", "snapshotted_at": "2026-09-26T09:57:42.809000+00:00", "platform": "netease_music" }, { "rank": 2, "track_id": 1973665667, "track_name": "海屿你", "track_alias": "求你别离开我", "duration_ms": 295940, "artists": "马也_Crabbit", "artist_ids": "13288861", "album_id": 150006421, "album_name": "海屿你", "album_cover_url": "http://p3.music.126.net/Enhy6dPn4gpyqrKhVEQvgA==/109951170483249998.jpg", "published_at": "2022-08-19T16:00:00+00:00", "is_explicit": false, "popularity_score": 100, "track_url": "https://music.163.com/song?id=1973665667", "playlist_id": 3778678, "playlist_name": "原创榜", "playlist_type": "toplist", "playlist_cover_url": "https://p4.music.126.net/0SUEG8yDACfx0Bw2MYFv4Q==/109951170048519512.jpg", "playlist_track_count": 200, "playlist_play_count": 14152643584, "playlist_subscribed_count": 13177436, "playlist_updated_at": "2026-09-26T00:30:24.072000+00:00", "snapshotted_at": "2026-09-26T09:57:42.810000+00:00", "platform": "netease_music" } ], "count": 20, "billing": { "charged": …, "charged_usd": …, "balance_after_usd": …, … }, "quota": { … }}
Response fields
#Business data is in results. The table lists the fields a record can contain; values the platform does not show are never made up.
| Field | Meaning |
|---|---|
rank | Keeps the platform's own meaning |
track_id | Keeps the platform's own meaning |
track_name | Keeps the platform's own meaning |
track_alias | Keeps the platform's own meaning |
duration_ms | Keeps the platform's own meaning |
artists | Keeps the platform's own meaning |
artist_ids | Keeps the platform's own meaning |
album_id | Keeps the platform's own meaning |
album_name | Keeps the platform's own meaning |
album_cover_url | Keeps the platform's own meaning |
published_at | Keeps the platform's own meaning |
is_explicit | Keeps the platform's own meaning |
popularity_score | Keeps the platform's own meaning |
track_url | Keeps the platform's own meaning |
playlist_id | Keeps the platform's own meaning |
playlist_name | Keeps the platform's own meaning |
playlist_type | Keeps the platform's own meaning |
playlist_cover_url | Keeps the platform's own meaning |
playlist_track_count | Keeps the platform's own meaning |
playlist_play_count | Keeps the platform's own meaning |
playlist_subscribed_count | Keeps the platform's own meaning |
playlist_updated_at | Keeps the platform's own meaning |
snapshotted_at | Keeps the platform's own meaning |
platform | Source platform identifier, the same as platform in the request (for example xiaohongshu, tiktok). |
FAQ
#Where do I find the playlist_id?
#Open the playlist in a browser and look at its link: the number after playlist?id= or after /playlist/ is the ID. You can pass that number or the whole link. Do not pass a song ID; songs and playlists are numbered separately, and a song ID will not find the list.
Is popularity_score a play count?
#No. It is NetEase's own heat score on a scale from 0 to 100, useful for ranking the tracks in a list against each other. For the attention the list itself gets, read playlist_play_count and playlist_subscribed_count, the number of users who saved it.
How do I read what listeners say about a track?
#Pass the track's track_id as the song ID to the NetEase Cloud Music Comments capability, which also accepts a song link containing song?id=. Comments are read one song at a time, and a playlist ID cannot stand in for the song ID there.
Errors and billing
#- 401
- Missing or invalid key.
- 402
- Insufficient balance. Top up first.
- 422
- Invalid parameter name or value. Fix it using the suggestions in the error. No charge.
- 429
- Per-minute request limit reached. Wait for Retry-After, then try again.
- 503
- Could not complete. The held charge is returned to your balance. If the outcome is unknown, verify it before you retry.
- 200 empty
- No data. No charge.
Official references
#Used only to check objects and terms. They do not imply authorization or endorsement of EveryInfra by the platform.
- NetEase Cloud Music: Chart Containers and Internal Song Links ↗
The official NetEase Cloud Music chart page separates charts from song lists, with each track using its own `song?id=` link. Here, `playlist_id` targets a playlist or chart container, while `song_id` identifies a track; the chart page does not imply complete or real-time API coverage.
Checked 2026-09-04