Diggy can extract endpoints/URLs from apk files. It saves the result into a txt file for further processing.
Dependencies
./diggy.sh /path/to/apk/file.apk
You can also install it for easier access by running install.sh
After that, you will be able to run Diggy as follows:
diggy /path/to/apk/file.apk