Apkurlgrep Tool helps to extract endpoints from APK files. It used apktool to do the decomplie. It can extract domains and their sub paths as well.
For installing, there a two prerequisites needs to be installed.
Once installed the go and apktool, your good to go to install apkurlgrep.
go get -u github.com/ndelphit/apkurlgrep
apkurlgrep -a ~/path/to/file.apk
Result of URLs:
Result of URLs Paths: