GET
Tracks

Get Image Colors

Return dominant artwork colors for a track.

/v1/tracks/:tune_id/colors
Method
GET
Path
/v1/tracks/:tune_id/colors
Group
Tracks

Overview

How to use this endpoint

Use this endpoint when you need structured API data in a predictable JSON shape. Reference the request example, required parameters, and response fields below to wire it into your product or internal tool.

Response format

JSON response

All successful responses return data in a stable JSON envelope and use Tune UUIDs for resource identifiers.

Code example

Example request

request
GET /v1/tracks/3f2504e0-4f89-11d3-9a0c-0305e82c3301/colors

Request parameters

Path parameters

ParameterTypeRequiredDescription
tune_iduuidYesStable Tune identifier for the requested resource.

Response schema

Response fields

FieldTypeDescription
tune_iduuidTrack Tune identifier.
dominantstringDominant hex color from artwork.
secondarystringSecondary hex color.
tertiarystring | nullTertiary hex color if available.

Code example

Example response

application/json
{
  "data": {
    "tune_id": "3f2504e0-4f89-11d3-9a0c-0305e82c3301",
    "dominant": "#1a1a2e",
    "secondary": "#4a90d9",
    "tertiary": "#e8e0f0"
  }
}

Next steps

Keep exploring the reference