Extract the dominant raw, dark and light colours Spotify derives from cover art.
Run this endpoint
Endpoint
Parameters
Start with the required fields, then add optional filters only when your use case needs them.
Runnable path
1 required parameter needed before sending a request.
string
Required
Spotify image id or full spotify:image: URI.
example
Response Schema
Example response fields are illustrative; inspect the JSON before integrating.
Example response fields
Scan these fields before integrating.
colors
image_uri
search_parameters
{
"colors": {
"raw": "#882818",
"dark": "#882818",
"light": "#D73F26"
},
"image_uri": "ab67616d00001e0219a88dd5c7118e87d7b1619e",
"search_parameters": {
"engine": "spotify_track_colors",
"image_uri": "ab67616d00001e0219a88dd5c7118e87d7b1619e"
}
}
Errors
Handle these documented responses before retrying or showing customer-facing failures.
Not Found
No Spotify data exists for the requested id or chart key. Failed requests are never charged.
Validation Error
A required parameter is missing or invalid. See the errors object for the offending field.
Upstream Unavailable
Spotify could not be reached or returned an unusable response. This is a failed request and is never charged; it is safe to retry.
Generate Code with AI
Copy a ready-made prompt with all the endpoint details, parameters, and example responses. Paste it into ChatGPT, Claude, or any AI assistant to instantly generate working code.
Try It Live
Test this endpoint in our interactive playground with real data.