Skip to main content

List all tracks in a collection

GET 

/v0/collections/:collectionId

The collections endpoint allows you to list all the tracks in a specific collection.

Request

Path Parameters

    collectionId stringrequired

    Collection id

Query Parameters

    limit int32

    Max number of entries returned in the response, default 50 and max 100

    offset int32

    Index of the entry track in the response

Responses

Collection response

Schema

    id uuidrequired
    name stringrequired

    tracks

    object[]

    required

  • Array [

  • id stringrequired

    Unique ID of the track

    mainArtists string[]required

    The main artist that created the track.

    featuredArtists string[]required

    Additional artists that contributed to the track.

    title stringrequired

    Title of the track

    bpm int32required

    Beats per minute for the track.

    length int32required

    Track length in seconds

    moods

    object[]

    required

    Lists the moods of the track.

  • Array [

  • id stringrequired

    Unique ID of the mood

    name stringrequired

    Name of the mood

  • ]

  • genres

    object[]

    required

    Lists the genres of the track.

  • Array [

  • id stringrequired
    name stringrequired

    parent

    object

    id stringrequired

    Unique ID of the parent genre

    name stringrequired

    Name of the parent genre

  • ]

  • images

    object

    default stringnullable
    L stringnullable
    M stringnullable
    S stringnullable
    XS stringnullable
    waveformUrl stringrequired

    Reference to the waveform as a json object.

    hasVocals booleannullable

    Set to true if the track has vocals. Set to false for instrumental tracks.

    added stringrequired

    The date the track was released in the format YYYY-mm-dd.

    tierOption stringnullable

    Possible values: [PAID, FREE]

    isExplicit booleannullable
    isPreviewOnly boolean
  • ]

  • availableTracks int32nullable

    pagination

    object

    required

    page int32required
    limit int32required
    offset int32

    links

    object

    required

    next stringnullable
    prev stringnullable

    images

    object

    required

    default stringrequired
    L stringnullable
    M stringnullable
    S stringnullable
    XS stringnullable
Loading...