We are trying to get the audio duration of file via API. Can anyone point us to the right direction?
The Dropbox API does not extract and return media information such as duration for audio files, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though. That being the case, to access this information, you'd need to download the file and determine the desired information from the audio file data.