About this query
Triggers, queries, and actions are the building blocks of Applets. Triggers tell an Applet to start, queries ask a question, and actions are its end result.
Developer info
- Description
- This query returns a track's artists.
- API endpoint slug
- spotify.get_artists_for_track
- Runtime method
- performQuery("spotify.get_artists_for_track")
Query fields
Track ID Text input > Other
- Label
- Enter a valid track_id
- Helper text
- Use 'Search tracks' query to find an track_id
- Slug
- track_id
- Required
- false
- Can have default value
- true
Ingredients
Artist IDThe artist's Spotify id.
- Slug
- artist_id
- Filter code
- Spotify.getArtistsForTrack.ArtistId
- Type
- String
- Example
- 3PhoLpVuITZKcymswpck5b
Artist nameThe name of the artist.
- Slug
- artist_name
- Filter code
- Spotify.getArtistsForTrack.ArtistName
- Type
- String
- Example
- Elton John
Artist URLThe URL to the artist's page on Spotify.
- Slug
- artist_url
- Filter code
- Spotify.getArtistsForTrack.ArtistUrl
- Type
- Web URL
- Example
- https://open.spotify.com/artist/3PhoLpVuITZKcymswpck5b