NetEase Cloud Music Playlist API

POST

API health

24h health
Normal
24h average time
—
  • Healthy / normal
  • Available
  • Limited
  • Mostly down
Normal

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.

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.

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.

AI prompt

Paste this into your AI assistant. It already holds this endpoint's parameters, response fields and an example request, so the assistant can ask what you need and then write the scraper.

Please help me write a data collection script with the EveryInfra NetEase Cloud Music Playlist endpoint (netease_music/playlist).

Endpoint contract:
- 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

NameInTypeRequiredDefaultDescription
AuthorizationheaderstringYes-Bearer followed by your API key. Create it in the console; never put it in a URL or a code repository.
platformbodystringYesnetease_musicPlatform identifier, fixed value.
actionbodystringYesplaylistCapability identifier, fixed value.
playlist_idbody.paramsNot declaredYes-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.
limitbody.paramsinteger (1–100)No20The 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

bash
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

Real response

Captured September 26, 2026 at 08:56 (UTC) by calling this API with the parameters in the code sample above. results and count are that call's real response with personal information (names, handles, avatars, profile links, contact details) removed; the list keeps the first 2. id, billing and quota differ on every call, so only their shape is shown.

json
{
  "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.

FieldMeaning
rankKeeps the platform's own meaning
track_idKeeps the platform's own meaning
track_nameKeeps the platform's own meaning
track_aliasKeeps the platform's own meaning
duration_msKeeps the platform's own meaning
artistsKeeps the platform's own meaning
artist_idsKeeps the platform's own meaning
album_idKeeps the platform's own meaning
album_nameKeeps the platform's own meaning
album_cover_urlKeeps the platform's own meaning
published_atKeeps the platform's own meaning
is_explicitKeeps the platform's own meaning
popularity_scoreKeeps the platform's own meaning
track_urlKeeps the platform's own meaning
playlist_idKeeps the platform's own meaning
playlist_nameKeeps the platform's own meaning
playlist_typeKeeps the platform's own meaning
playlist_cover_urlKeeps the platform's own meaning
playlist_track_countKeeps the platform's own meaning
playlist_play_countKeeps the platform's own meaning
playlist_subscribed_countKeeps the platform's own meaning
playlist_updated_atKeeps the platform's own meaning
snapshotted_atKeeps the platform's own meaning
platformSource 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. Authentication runs before parameter checks, so unauthenticated requests never see the parameter schema.
422
Wrong parameter name or value. The error lists the parameters and allowed values this capability accepts and the closest match; it happens before any charge.
402
Insufficient balance. Top up first.
429
The account's per-minute request limit was reached (all of its API keys count together; a key's own lower limit applies first). Wait for Retry-After and try again; a rate package in the console raises the limit.
503
Could not complete right now. Any charge for the call goes back to your balance automatically, and the billing receipt in the response states the actual outcome, including when it is not yet known. Do not resend blindly.
200 empty
The request completed without data and is not charged (billing.reason = empty_result_refunded).

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