android_api_extractor
Decompile Android APK files to extract API endpoints from Retrofit and OkHttp3 annotations. Outputs as plain text or Postman collection for security analysis.
Instructions
Decompiles an APK and extracts Retrofit HTTP annotations and OkHttp3 endpoints from smali bytecode. Outputs a list of API endpoints or a Postman collection.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| apk_path | No | Absolute path to the APK file to decompile and analyze | |
| smali_folder | No | Absolute path to an already-decompiled smali folder (skips apktool step) | |
| output_format | No | Output format: plain text list or Postman collection JSON | txt |