android_api_extractor
Decompile an APK to extract Retrofit and OkHttp3 API endpoints from smali bytecode, then output a plain endpoint list or Postman collection for API 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
| 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 |