Tracks · GET
Track credits
GET /track_credits
About
Track credits is a GET endpoint in the Tracks group of the Spotify Data API. It takes one parameter: id (required). The recorded sample response, captured 2025-06-07, is a JSON object with 5 top-level keys: trackUri, trackTitle, roleCredits, extendedCredits and sourceNames.
Parameters 1
- id Required
- In
- query
- Default
- —
Request
Against https://spotify-proxy.checkleaked.cc, with the same example values the Run button sends.
| curl -X GET \ |
| "https://spotify-proxy.checkleaked.cc/track_credits?id=7qiZfU4dY1lWllzX7mPBI3" \ |
| -H "x-api-key: $SPOTIFY_API_KEY" |
Sample response
Recorded sample · captured 2025-06-07
| { |
| "trackUri": "spotify:track:7qiZfU4dY1lWllzX7mPBI3", |
| "trackTitle": "Shape of You", |
| "roleCredits": [ |
| { |
| "roleTitle": "Performers", |
| "artists": [ |
| { |
| "uri": "spotify:artist:6eUKZXaKkcviH0Ku9w2n3V", |
| "name": "Ed Sheeran", |
| "imageUri": "https://i.scdn.co/image/ab677762000078e6d2b377637d9f6ed34f1652e2", |
| "subroles": [ |
| "main artist" |
| ], |
| "weight": 14 |
| } |
| ] |
| }, |
| { |
| "roleTitle": "Writers", |
| "artists": [ |
| { |
| "name": "Johnny McDaid", |
| "externalUrl": "https://artists.spotify.com/songwriter/4aaZt9u13lV93eeYZsSJZD", |
| "creatorUri": "spotify:songwriter:4aaZt9u13lV93eeYZsSJZD", |
| "subroles": [], |
| "weight": 0 |
| }, |
| { |
| "name": "Steve Mac", |
| "externalUrl": "https://artists.spotify.com/songwriter/7GjnAxbQvT7RIW85GPtwrH", |
| "creatorUri": "spotify:songwriter:7GjnAxbQvT7RIW85GPtwrH", |
| "subroles": [], |
| "weight": 0 |
| }, |
| { |
| "name": "Ed Sheeran", |
| "subroles": [], |
| "weight": 0 |
| }, |
| { |
| "name": "Kandi Burruss", |
| "subroles": [], |
| "weight": 0 |
| }, |
| { |
| "name": "Kevin Briggs", |
| "subroles": [], |
| "weight": 0 |
| }, |
| { |
| "name": "Tameka Cottle", |
| "subroles": [], |
| "weight": 0 |
| } |
| ] |
| }, |
| { |
| "roleTitle": "Producers", |
| "artists": [ |
| { |
| "uri": "spotify:artist:4HQPu8xlD0YTKmUhCsty3a", |
| "name": "Steve Mac", |
| "imageUri": "https://i.scdn.co/image/ab677762000078e645c984e8c82f9ce15ebf1f51", |
| "subroles": [ |
| "producer" |
| ], |
| "weight": 7 |
| } |
| ] |
| } |
| ], |
| "extendedCredits": [], |
| "sourceNames": [ |
| "Atlantic Records UK", |
| "Spirit Music Group", |
| "Universal Music Publishing" |
| ] |
| } |
79 lines — the whole recorded body.
Response fields
Read off the recorded sample, not a schema: a JSON object with 5 top-level keys, and one level below each key.
trackUristringtrackTitlestringroleCreditsarray of 3 objectsroleCredits[].roleTitlestringroleCredits[].artistsarray of 1 objectextendedCreditsempty arraysourceNamesarray of 3 strings
Errors
- 400
- “id” is required — a request that omits it, or sends a value of the wrong type, is rejected before it reaches Spotify.
- 404
- No Spotify item exists for the “id” that was sent. Spotify ids are 22 characters of base62, so a share link has to be reduced to the id in it first.
- 401 / 403
- The key is missing, wrong, or on a plan that does not include this endpoint. On RapidAPI the header is X-RapidAPI-Key; on the Direct Portal it is an Authorization: Bearer token; on Apify the actor supplies it.
- 429
- Rate limited. The demo on this site allows 100 requests per 15 minutes and 500 per day per visitor, inside a budget shared by every visitor. With a key it is 5 requests per second on every RapidAPI plan and 10 per second on the Direct Portal.
- 5xx
- Spotify itself failed or timed out. These are transient; retry once with a short backoff rather than immediately.
Related endpoints
The other 3 operations in the Tracks group.