vk-audio-api-docs

audio.getPopular

Returns a list of audio files from the “Popular”.

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

Parameters

only_eng
  • 1 — to return only foreign audio files
  • 0 — to return all audio files
flag, either 1 or 0
genre_id Genre ID. See the list of audio genres.
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

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.