---
updatedAt: 2026-05-29T15:12:00.000Z
agentTools:
  projectIndex: https://artisttools.readme.io/llms.txt
---

# Get track credits

Returns performer and writer credit information for the given track. This endpoint is cache-first: credits are read from the track document when available. Pass `update=true` to refresh credits from Spotify and persist the refreshed credits back to the track document when the response is valid.

# OpenAPI definition

```json
{
  "openapi": "3.0.3",
  "info": {
    "title": "artist.tools V2 API",
    "description": "REST API for accessing artist.tools data about Spotify playlists, tracks, artists and curators, as well as miscellaneous utilities. All endpoints are read-only and require an `x-api-key` sent as a request header.",
    "version": "2.0.0"
  },
  "servers": [
    {
      "url": "https://api.artist.tools/v2",
      "description": "Production server"
    }
  ],
  "security": [
    {
      "ApiKeyAuth": []
    }
  ],
  "paths": {
    "/tracks/{id}/credits": {
      "get": {
        "tags": [
          "Tracks"
        ],
        "summary": "Get track credits",
        "description": "Returns performer and writer credit information for the given track. This endpoint is cache-first: credits are read from the track document when available. Pass `update=true` to refresh credits from Spotify and persist the refreshed credits back to the track document when the response is valid.",
        "parameters": [
          {
            "$ref": "#/components/parameters/TrackId"
          },
          {
            "$ref": "#/components/parameters/Update"
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/TrackCreditsResponse"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "ApiKeyAuth": {
        "type": "apiKey",
        "in": "header",
        "name": "x-api-key"
      }
    },
    "parameters": {
      "TrackId": {
        "name": "id",
        "in": "path",
        "required": true,
        "schema": {
          "type": "string",
          "example": "1irAliF0T8sLIOPJp6n7rU"
        },
        "description": "Spotify Track ID"
      },
      "Update": {
        "name": "update",
        "in": "query",
        "schema": {
          "type": "boolean"
        },
        "description": "Force the service to refresh the data before returning. This will increase latency but provide the most up-to-date data."
      }
    },
    "schemas": {
      "SuccessEnvelope": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean",
            "example": true
          },
          "status": {
            "type": "integer",
            "example": 200
          }
        },
        "required": [
          "success",
          "status"
        ]
      },
      "ErrorResponse": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean",
            "example": false
          },
          "error": {
            "type": "string"
          },
          "status": {
            "type": "integer"
          }
        },
        "required": [
          "success",
          "error",
          "status"
        ]
      }
    },
    "responses": {
      "TrackCreditsResponse": {
        "description": "Track performer and writer credits with copyright info",
        "content": {
          "application/json": {
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/SuccessEnvelope"
                },
                {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": "string",
                      "enum": [
                        "track_credits"
                      ]
                    },
                    "data": {
                      "type": "object",
                      "properties": {
                        "copyright": {
                          "type": "string",
                          "nullable": true,
                          "description": "Copyright information from the track's album"
                        },
                        "credits": {
                          "type": "array",
                          "description": "List of track credits including performers and writers",
                          "items": {
                            "type": "object",
                            "properties": {
                              "name": {
                                "type": "string",
                                "description": "Name of the credited person"
                              },
                              "role": {
                                "type": "string",
                                "description": "Role or contribution of the credited person"
                              }
                            },
                            "required": [
                              "name",
                              "role"
                            ]
                          }
                        }
                      },
                      "required": [
                        "copyright",
                        "credits"
                      ]
                    }
                  }
                }
              ]
            },
            "example": {
              "success": true,
              "status": 200,
              "type": "track_credits",
              "data": {
                "copyright": "© 2020 The Weeknd XO, Inc., marketed by Republic Records, a division of UMG Recordings, Inc.",
                "credits": [
                  {
                    "name": "Abel Tesfaye",
                    "role": "Writer"
                  },
                  {
                    "name": "Max Martin",
                    "role": "Writer"
                  },
                  {
                    "name": "Oscar Holter",
                    "role": "Writer"
                  },
                  {
                    "name": "Ahmad Balshe",
                    "role": "Writer"
                  },
                  {
                    "name": "Jason Quenneville",
                    "role": "Writer"
                  },
                  {
                    "name": "The Weeknd",
                    "role": "Main Artist"
                  },
                  {
                    "name": "Max Martin",
                    "role": "Producer"
                  },
                  {
                    "name": "Oscar Holter",
                    "role": "Producer"
                  }
                ]
              }
            }
          }
        }
      },
      "NotFound": {
        "description": "Resource not found",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ErrorResponse"
            }
          }
        }
      }
    }
  }
}
```