vk-audio-api-docs

audio.getRecomendations

Returns a list of suggested audio files based on a user’s playlist or a particular audio file.

This method can be called with a user token. Access rights required: audio.

Parameters

target_audio Use to get recommendations based on a particular audio file. The ID of the user or community that owns an audio file and that audio file's ID, separated by an underscore.
string
user_id Use to get recommendations based on a user's playlist. User ID. By default, the current user ID.
positive number
offset Offset needed to return a specific subset of audio files.
positive number
count Number of audio files to return.
positive number, maximum value 1000, default 100
shuffle 1 — shuffle on
flag, either 1 or 0

Result

Returns the total results number in count field and an array of objects describing audio in items field.

NOTE: Links to .mp3 files are bound to an IP address.

Errors

19 Content blocked

Global errors can occur while running. See their descriptions on this page.