Skip to main content

Get tracks matching an image

GET 

/v0/tracks/matching-image/:imageId

Gets tracks that match an image uploaded by the user

Request

Path Parameters

    imageId stringrequired

    Image id

Query Parameters

    offset int32

    Index of the entry track in the response

    limit int32

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

    genre string[]

    Id for genre

    mood string[]

    Id for mood

Responses

Paginated list of tracks

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...