Get an Artists Top Tracks

Go to Product

Get Artist's Top Tracks

Get Spotify catalog information about an artist's top tracks by country.


The [Spotify ID](/documentation/web-api/#spotify-uris-and-ids) of the artist.
Market (*)

An ISO 3166-1 alpha-2 country code. If a country code is specified, only content that is available in that market will be returned.
If a valid user access token is specified in the request header, the country associated with the user account will take priority over this parameter.
Note: If neither market or user country are provided, the content is considered unavailable for the client.
Users can view the country that is associated with their account in the account settings.

Result Format
Specify how the response should be mapped to the table output. The following formats are available:
  • Structured Table: Returns a parsed table with data split into rows and columns.
    • Album:
    • Artists:

      The artists who performed the track. Each artist object includes a link in href to more detailed information about the artist.

    • Available Markets:

      A list of the countries in which the track can be played, identified by their ISO 3166-1 alpha-2 code.

    • Disc Number:

      The disc number (usually 1 unless the album consists of more than one disc).

    • Duration Ms: The track length in milliseconds.
    • Explicit:

      Whether or not the track has explicit lyrics ( true = yes it does; false = no it does not OR unknown).

    • External Ids:
    • External Urls:
    • Href: A link to the Web API endpoint providing full details of the track.
    • Id: The [Spotify ID](/documentation/web-api/#spotify-uris-and-ids) for the track.
    • Is Playable:

      Part of the response when Track Relinking is applied. If true, the track is playable in the given market. Otherwise false.

    • Linked From:

      Part of the response when Track Relinking is applied, and the requested track has been replaced with different track. The track in the linked_from object contains information about the originally requested track.

    • Restrictions:
    • Name: The name of the track.
    • Popularity:

      The popularity of the track. The value will be between 0 and 100, with 100 being the most popular.
      The popularity of a track is a value between 0 and 100, with 100 being the most popular. The popularity is calculated by algorithm and is based, in the most part, on the total number of plays the track has had and how recent those plays are.
      Generally speaking, songs that are being played a lot now will have a higher popularity than songs that were played a lot in the past. Duplicate tracks (e.g. the same track from a single and an album) are rated independently. Artist and album popularity is derived mathematically from track popularity. Note: the popularity value may lag actual popularity by a few days: the value is not updated in real time.

    • Preview Url:

      A link to a 30 second preview (MP3 format) of the track. Can be null

    • Track Number: The number of the track. If an album has several discs, the track number is the number on the specified disc.
    • Type: The object type: "track".
    • Uri: The [Spotify URI](/documentation/web-api/#spotify-uris-and-ids) for the track.
    • Is Local: Whether or not the track is from a local file.
  • Raw Response: Returns the raw response in a single row with the following columns:
    • body: Response body
    • status: HTTP status code

Input Ports

Configuration data.

Output Ports

Result of the request depending on the selected Result Format.
Configuration data (this is the same as the input port; it is provided as passthrough for sequentially chaining nodes to declutter your workflow connections).

Popular Predecessors

  • No recommendations found

Popular Successors

  • No recommendations found


This node has no views


  • No workflows found



You want to see the source code for this node? Click the following button and we’ll use our super-powers to find it for you.