vk-audio-api-docs

audio.get

Returns a list of audio files of a user or community.

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

Parameters

owner_id ID of the user or community that owns the audio file. Use a negative value to designate a community ID.
int (number), current user id is used by default
album_id Audio album ID.
int (number)
audio_ids IDs of the audio files to return.
list of comma-separated positive numbers
need_user 1 — to return information about users who uploaded audio files.
flag, either 1 or 0
offset Offset needed to return a specific subset of audio files.
positive number
count Number of audio files to return.
positive number

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

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