# APK / AAB / IPA Inspector API

> Read an Android APK / AAB or iOS IPA: package, version, SDK levels, permissions, exported components, deep links, signing certificate, provisioning.

- Endpoint: `POST https://apibox.io.vn/v1/apk-info`
- Category: Files
- HTML docs: https://apibox.io.vn/docs/apk-info/ (Vietnamese: https://apibox.io.vn/vi/docs/apk-info/)
- Online tool: https://apibox.io.vn/tools/apk-info/
- Authentication: `Authorization: Bearer <API key>` or `X-API-Key: <API key>` (free key: https://apibox.io.vn/dashboard/#signup)

Upload an app package and see what is inside without installing Android Studio or Xcode. For an APK APIBox reads the binary AndroidManifest.xml and resources.arsc itself: package name, versionCode / versionName, app label and launcher icon (resolved through the resources, `icon=1` returns the PNG), min / target / compile SDK, every permission marked normal, dangerous (runtime) or special, features, activities / services / receivers / providers with their exported state and intent filters, deep links and App Links (`autoVerify`), and warnings (debuggable, cleartext traffic, missing `android:exported` on targetSdk 31+, v1-only signature). Signatures are read from the APK Signing Block (v2, v3, v3.1) and the JAR v1 files: subject, issuer, validity and SHA-1 / SHA-256 fingerprints, the values you register for Google sign-in, Firebase or App Links.

The Google Play target API check uses the current rule: since 31 August 2026 new apps and updates must target Android 16 (API 36); Wear OS and Android Automotive OS apps 35, Android TV and XR apps 34. For an AAB the protobuf manifest is decoded (resource references are shown by name). For an IPA: bundle id, version and build, minimum iOS, device families, URL schemes, privacy usage descriptions, App Transport Security, background modes, frameworks, and the embedded provisioning profile (Team ID, profile type, expiry, provisioned devices, entitlements, associated domains, developer certificates).

Only the needed entries are decompressed. The file size limit follows your plan (Free 5 MB, Starter 20 MB, Pro 50 MB). Nothing is stored. The tool does not verify signatures cryptographically or scan code for malware.

## Parameters

| Name | In | Type | Required | Default | Description |
|---|---|---|---|---|---|
| `file` | body | file | yes |  | The .apk, .aab or .ipa (multipart, raw body or `file_base64`). Max size by plan. |
| `icon` | body | boolean | no |  | `1`: include the APK launcher icon as a PNG / WebP data URL. |

## Example request

```bash
curl -X POST "https://apibox.io.vn/v1/apk-info" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -F "file=@./my-file"
```

## Example response

```json
{
  "file": {
    "name": "org.billthefarmer.shorty_116.apk",
    "bytes": 126299,
    "entries": 59
  },
  "platform": "android",
  "format": "apk",
  "package": "org.billthefarmer.shorty",
  "version_code": 116,
  "version_name": "1.16",
  "label": "Shorty",
  "min_sdk": 14,
  "target_sdk": 28,
  "compile_sdk": 28,
  "target_android": "9",
  "google_play": {
    "required_target_sdk": 36,
    "form_factor": "phone",
    "rule_since": "2026-08-31",
    "existing_apps_min": 35,
    "meets_requirement": false,
    "message": "targetSdk 28 is below the Google Play requirement: new apps and updates must target API 36 (Android 16) since 2026-08-31.",
    "source": "https://developer.android.com/google/play/requirements/target-sdk",
    "reviewed": "2026-11-15"
  },
  "permissions": [
    {
      "name": "android.permission.WRITE_EXTERNAL_STORAGE",
      "level": "dangerous"
    },
    {
      "name": "com.android.launcher.permission.INSTALL_SHORTCUT",
      "level": "custom / third-party"
    }
  ],
  "permission_counts": {
    "total": 2,
    "dangerous": 1,
    "special": 0
  },
  "features": [],
  "deep_links": [],
  "components": {
    "activities": [
      {
        "name": "org.billthefarmer.shorty.MainActivity",
        "exported": true,
        "launcher": true,
        "intent_filters": [
          {
            "actions": [
              "android.intent.action.MAIN"
            ],
            "categories": [
              "android.intent.category.LAUNCHER"
            ]
          }
        ]
      },
      "…"
    ],
    "services": [],
    "receivers": [],
    "providers": []
  },
  "exported_without_permission": 2,
  "application": {
    "name": null,
    "debuggable": false,
    "allow_backup": true,
    "uses_cleartext_traffic": null,
    "network_security_config": false,
    "icon": "res/I8.png"
  },
  "warnings": [
    "allowBackup is not false: app data can be included in device backups."
  ],
  "native_abis": [],
  "dex_files": 1,
  "icon": {
    "path": "res/I8.png",
    "bytes": 27959
  },
  "signatures": [
    {
      "scheme": "v2",
      "certificates": [
        {
          "subject": "C=UK, ST=ORG, L=ORG, O=fdroid.org, OU=FDroid, CN=FDroid",
          "issuer": "C=UK, ST=ORG, L=ORG, O=fdroid.org, OU=FDroid, CN=FDroid",
          "self_signed": true,
          "serial": "4c3f146e",
          "not_before": "2015-04-22T08:00:25.000Z",
          "not_after": "2042-09-07T08:00:25.000Z",
          "expired": false,
          "signature_algorithm": "SHA256withRSA",
          "public_key": "RSA 2048",
          "sha1": "41:4C:C9:7B:BF:CB:C3:0E:F6:15:97:F5:B2:E1:10:50:92:7E:E1:60",
          "sha256": "9B:BC:63:DE:B6:AB:8A:9B:94:76:EE:1B:05:0B:3A:84:A8:E6:48:06:6F:C9:F3:74:23:77:A1:B2:8A:8A:77:61"
        }
      ]
    },
    "… v3, v1 (JAR)"
  ],
  "signature_schemes": [
    "v2",
    "v3",
    "v1"
  ],
  "ms": 78
}
```

## Use cases

- Check versionCode, targetSdk and permissions of a build before uploading to Google Play
- Get the SHA-256 signing fingerprint for assetlinks.json, Firebase or Google sign-in
- Confirm which devices and Team ID an ad-hoc IPA was provisioned for
- Audit third-party APKs for exported components, cleartext traffic and dangerous permissions

## FAQ

### Which signing certificate is shown for an AAB?

The upload key that signed the bundle. Google Play re-signs the generated APKs with the app signing key; take that fingerprint from Play Console.

### Why is the icon missing?

Many apps use adaptive (vector XML) launcher icons; there is then no bitmap to extract and the response gives the resource path.

### Is the signature verified?

No: certificates and fingerprints are read and decoded, but the signature over the APK contents is not recomputed. Use apksigner verify for that.
