Get Artist
spotify.get_artist
ActionBusiness appsconnection required
Calls the Spotify API with the connection's credentials.
Read one artist's catalogue metadata by their Spotify id.
Connection
- Required
- Yes — the node will not save without one
- Auth type
- OAuth 2.0
- Providers
- Spotify
- Secret shape
- {"client_id": "…", "client_secret": "…", "refresh_token": "…"}
- Config it needs
- market, device_id
- Resolved by
- config.connection_id, else node.connection_id
Configuration
1 field, 1 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.
| Field | Type | Required | Default | Constraints | Example |
|---|---|---|---|---|---|
artist_id The Spotify id of the artist, as it appears in a search result or on a track's artists array. | string | Yes | — | — | 0TnOYISbd1XYRBk9myaseg |
Example configuration
Every value below is the contract’s own example or default — nothing invented.
{
"artist_id": "0TnOYISbd1XYRBk9myaseg"
}Output
One shape.
result
| Field | Type | Example |
|---|---|---|
id The artist's Spotify id. | string | — |
uri The artist's Spotify URI, usable as a playback context. | string | — |
name The artist name. | string | — |
genres Genres Spotify associates with the artist. | array | — |
popularity Spotify's popularity score from 0 to 100. | number | — |
followers.total How many Spotify users follow the artist. | number | — |
images Artist images, largest first. | array | — |
external_urls.spotify Open the artist in a Spotify client. | string | — |
{
"external_urls": {
"spotify": ""
},
"followers": {
"total": 0
},
"genres": [],
"id": "",
"images": [],
"name": "",
"popularity": 0,
"uri": ""
}See Get Artist run in a workflow.
In a technical demo we add the Spotify connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.