The audio file object

Audio files are attached to songs, and provide information about the file itself, links to different versions (.mp3, .wav), etc.

Attributes

AttributeTypeDescription
descriptionstringAudio file description. This can be an empty string.
durationnumber or nullDuration in seconds, or null when it is unavailable.
instrumentalbooleantrue when the audio file has no lead vocals. Instrumental and background-vocal versions both return true.
song_idstringID of the song this audio file belongs to.
versionsobject
  • mp3 [string]: URL for the MP3 version.
  • wav [string or null]: URL for the WAV version. It is null for non-live API keys.
URLs are signed and expire after seven days; request the song again to obtain fresh URLs.

Example

{
  "id": "1",
  "type": "audio_files",
  "attributes": {
    "description": "Instrumental [Primary]",
    "duration": 20.18975,
    "instrumental": true,
    "song_id": "1",
    "versions": {
      "mp3": "https://soundstripe.example.com/mp3_the_dread.mp3",
      "wav": "https://soundstripe.example.com/the_dread.wav"
    }
  }
}