Skip to main content

List tracks based on mood, genre or BPM

GET 

/v0/tracks

The tracks endpoint allows you to list all tracks based on a specified mood, genre or BPM.

Request

Query Parameters

    genre string[]

    Id for genre

    mood string[]

    Id for mood

    bpmMin int32

    BPM Min

    bpmMax int32

    BPM Max

    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

Tracks response

Schema

    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
  • ]

  • pagination

    object

    required

    page int32required
    limit int32required
    offset int32

    links

    object

    required

    next stringnullable
    prev stringnullable

    aggregations

    object

    moods

    object[]

  • Array [

  • id string
    name string
    count int32
  • ]

  • genres

    object[]

  • Array [

  • id string
    name string
    count int32
  • ]

Loading...