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.
Demo
Installation
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
Usage
apkurlgrep -a ~/path/to/file.apk
Result of URLs:
https://example.com
https://example.net
https://example.edu
Result of URLs Paths:
/example
/admin
/onboarding