Google Play Developer Generatedapks API

The Generatedapks API from Google Play Developer — 2 operation(s) for generatedapks.

GitHub OpenAPI

Operations 2

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /androidpublisher/v3/applications/{packageName}/generatedApks/{versionCode} List generated APKs for a bundle · List generatedapks #
Ask an LLM
“Which generated APKs were built from my app bundle?”
“Can I see download metadata for all APKs from a bundle version?”
Tell an agent
List generated APKs for {packageName} version {versionCode}.
Show download metadata for every APK built from bundle {packageName} at version {versionCode}.
GET /androidpublisher/v3/applications/{packageName}/generatedApks/{versionCode}/downloads/{downloadId}:download Download a generated APK · Download generatedapks #
Ask an LLM
“How do I download one signed APK generated from my bundle?”
“Can I fetch a generated APK by its download ID?”
Tell an agent
Download generated APK {downloadId} for {packageName} version {versionCode}.
Fetch signed APK {downloadId} built from bundle {packageName} at {versionCode}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/google-play:google-play-generatedapks-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

google-play-generatedapks-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Google Play Android Developer Generatedapks API
  version: v3
  description: Generated from Google's published Discovery document for Google Play Android Developer API (androidpublisher v3, revision 20261111). 2 operation(s).
  contact:
    name: Google
    url: https://developers.google.com/
  termsOfService: https://developers.google.com/terms
servers:
- url: https://androidpublisher.googleapis.com
tags:
- name: Generatedapks
paths:
  /androidpublisher/v3/applications/{packageName}/generatedApks/{versionCode}:
    get:
      operationId: androidpublisher.generatedapks.list
      summary: List generatedapks
      description: Returns download metadata for all APKs that were generated from a given app bundle.
      parameters:
      - name: packageName
        in: path
        required: true
        description: Package name of the app.
        schema:
          type: string
      - name: versionCode
        in: path
        required: true
        description: Version code of the app bundle.
        schema:
          format: int32
          type: integer
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GeneratedApksListResponse'
        4XX:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: 'Client error (google.rpc.Status: INVALID_ARGUMENT, PERMISSION_DENIED, NOT_FOUND ...)'
        default:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: Error response (google.rpc.Status)
      security:
      - oauth2:
        - https://www.googleapis.com/auth/androidpublisher
      - apiKey: []
      tags:
      - Generatedapks
  /androidpublisher/v3/applications/{packageName}/generatedApks/{versionCode}/downloads/{downloadId}:download:
    get:
      operationId: androidpublisher.generatedapks.download
      summary: Download generatedapks
      description: Downloads a single signed APK generated from an app bundle.
      parameters:
      - name: packageName
        in: path
        required: true
        description: Package name of the app.
        schema:
          type: string
      - name: versionCode
        in: path
        required: true
        description: Version code of the app bundle.
        schema:
          type: integer
          format: int32
      - name: downloadId
        in: path
        required: true
        description: Download ID, which uniquely identifies the APK to download. Can be obtained from the response of `generatedapks.list` method.
        schema:
          type: string
      responses:
        '200':
          description: Successful response
        4XX:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: 'Client error (google.rpc.Status: INVALID_ARGUMENT, PERMISSION_DENIED, NOT_FOUND ...)'
        default:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: Error response (google.rpc.Status)
      security:
      - oauth2:
        - https://www.googleapis.com/auth/androidpublisher
      - apiKey: []
      tags:
      - Generatedapks
components:
  schemas:
    ApkTargeting:
      properties:
        textureCompressionFormatTargeting:
          $ref: '#/components/schemas/TextureCompressionFormatTargeting'
          description: Texture-compression-format-level targeting
        screenDensityTargeting:
          $ref: '#/components/schemas/ScreenDensityTargeting'
          description: The screen density that this apk supports.
        abiTargeting:
          $ref: '#/components/schemas/AbiTargeting'
          description: The abi that the apk targets
        languageTargeting:
          $ref: '#/components/schemas/LanguageTargeting'
          description: The language that the apk targets
        multiAbiTargeting:
          $ref: '#/components/schemas/MultiAbiTargeting'
          description: Multi-api-level targeting.
        sdkVersionTargeting:
          $ref: '#/components/schemas/SdkVersionTargeting'
          description: The sdk version that the apk targets
      description: Represents a set of apk-level targetings.
      type: object
    MultiAbiTargeting:
      type: object
      properties:
        alternatives:
          type: array
          items:
            $ref: '#/components/schemas/MultiAbi'
          description: Targeting of other sibling directories that were in the Bundle. For main splits this is targeting of other main splits.
        value:
          description: Value of a multi abi.
          items:
            $ref: '#/components/schemas/MultiAbi'
          type: array
      description: Targeting based on multiple abis.
    ApkSet:
      type: object
      description: A set of apks representing a module.
      properties:
        moduleMetadata:
          $ref: '#/components/schemas/ModuleMetadata'
          description: Metadata about the module represented by this ApkSet
        apkDescription:
          type: array
          items:
            $ref: '#/components/schemas/ApkDescription'
          description: Description of the generated apks.
    LanguageTargeting:
      type: object
      description: Targeting based on language.
      properties:
        value:
          items:
            type: string
          type: array
          description: 'ISO-639: 2 or 3 letter language code.'
        alternatives:
          items:
            type: string
          description: Alternative languages.
          type: array
    GeneratedSplitApk:
      description: Download metadata for a split APK.
      properties:
        downloadId:
          description: Download ID, which uniquely identifies the APK to download. Should be supplied to `generatedapks.download` method.
          type: string
        moduleName:
          description: Name of the module that this APK belongs to.
          type: string
        variantId:
          description: ID of the generated variant.
          type: integer
          format: int32
        splitId:
          type: string
          description: Split ID. Empty for the main split of the base module.
      type: object
    GeneratedApksListResponse:
      properties:
        generatedApks:
          items:
            $ref: '#/components/schemas/GeneratedApksPerSigningKey'
          description: All generated APKs, grouped by the APK signing key.
          type: array
      description: Response to list generated APKs.
      type: object
    GeneratedStandaloneApk:
      description: Download metadata for a standalone APK.
      type: object
      properties:
        downloadId:
          type: string
          description: Download ID, which uniquely identifies the APK to download. Should be supplied to `generatedapks.download` method.
        variantId:
          type: integer
          description: ID of the generated variant.
          format: int32
    DeviceFeatureTargeting:
      properties:
        requiredFeature:
          $ref: '#/components/schemas/DeviceFeature'
          description: Feature of the device.
      type: object
      description: Targeting for a device feature.
    TextureCompressionFormat:
      description: Represents texture compression format.
      properties:
        alias:
          type: string
          enum:
          - UNSPECIFIED_TEXTURE_COMPRESSION_FORMAT
          - ETC1_RGB8
          - PALETTED
          - THREE_DC
          - ATC
          - LATC
          - DXT1
          - S3TC
          - PVRTC
          - ASTC
          - ETC2
          description: Alias for texture compression format.
      type: object
    MultiAbi:
      description: Represents a list of ABIs.
      properties:
        abi:
          description: A list of targeted ABIs, as represented by the Android Platform
          type: array
          items:
            $ref: '#/components/schemas/Abi'
      type: object
    GoogleRpcError:
      type: object
      description: The error envelope every Google API returns.
      properties:
        error:
          type: object
          properties:
            code:
              type: integer
            message:
              type: string
            status:
              type: string
            details:
              type: array
              items:
                type: object
    GeneratedAssetPackSlice:
      description: Download metadata for an asset pack slice.
      properties:
        downloadId:
          type: string
          description: Download ID, which uniquely identifies the APK to download. Should be supplied to `generatedapks.download` method.
        version:
          type: string
          format: int64
          description: Asset module version.
        moduleName:
          description: Name of the module that this asset slice belongs to.
          type: string
        sliceId:
          type: string
          description: Asset slice ID.
      type: object
    SplitApkVariant:
      type: object
      description: Variant is a group of APKs that covers a part of the device configuration space. APKs from multiple variants are never combined on one device.
      properties:
        apkSet:
          items:
            $ref: '#/components/schemas/ApkSet'
          type: array
          description: Set of APKs, one set per module.
        targeting:
          $ref: '#/components/schemas/VariantTargeting'
          description: Variant-level targeting.
        variantNumber:
          type: integer
          description: Number of the variant, starting at 0 (unless overridden). A device will receive APKs from the first variant that matches the device configuration, with higher variant numbers having priority over lower variant numbers.
          format: int32
    ModuleTargeting:
      type: object
      properties:
        userCountriesTargeting:
          $ref: '#/components/schemas/UserCountriesTargeting'
          description: Countries-level targeting
        sdkVersionTargeting:
          $ref: '#/components/schemas/SdkVersionTargeting'
          description: The sdk version that the variant targets
        deviceFeatureTargeting:
          type: array
          description: Targeting for device features.
          items:
            $ref: '#/components/schemas/DeviceFeatureTargeting'
      description: Targeting on the module level.
    SplitApkMetadata:
      properties:
        isMasterSplit:
          description: Indicates whether this APK is the main split of the module.
          type: boolean
        splitId:
          description: Id of the split.
          type: string
      type: object
      description: Holds data specific to Split APKs.
    StandaloneApkMetadata:
      type: object
      properties:
        fusedModuleName:
          type: array
          description: Names of the modules fused in this standalone APK.
          items:
            type: string
      description: Holds data specific to Standalone APKs.
    ModuleMetadata:
      properties:
        moduleType:
          type: string
          enum:
          - UNKNOWN_MODULE_TYPE
          - FEATURE_MODULE
          description: Indicates the type of this feature module.
        targeting:
          $ref: '#/components/schemas/ModuleTargeting'
          description: The targeting that makes a conditional module installed. Relevant only for Split APKs.
        deliveryType:
          description: Indicates the delivery type (e.g. on-demand) of the module.
          type: string
          enum:
          - UNKNOWN_DELIVERY_TYPE
          - INSTALL_TIME
          - ON_DEMAND
          - FAST_FOLLOW
        name:
          description: Module name.
          type: string
        dependencies:
          items:
            type: string
          type: array
          description: Names of the modules that this module directly depends on. Each module implicitly depends on the base module.
      description: Metadata of a module.
      type: object
    GeneratedApksPerSigningKey:
      description: Download metadata for split, standalone and universal APKs, as well as asset pack slices, signed with a given key.
      properties:
        certificateSha256Hash:
          description: SHA256 hash of the APK signing public key certificate.
          type: string
        targetingInfo:
          $ref: '#/components/schemas/TargetingInfo'
          description: Contains targeting information about the generated apks.
        generatedStandaloneApks:
          items:
            $ref: '#/components/schemas/GeneratedStandaloneApk'
          description: List of generated standalone APKs, signed with a key corresponding to certificate_sha256_hash.
          type: array
        generatedAssetPackSlices:
          items:
            $ref: '#/components/schemas/GeneratedAssetPackSlice'
          type: array
          description: List of asset pack slices which will be served for this app bundle, signed with a key corresponding to certificate_sha256_hash.
        generatedSplitApks:
          type: array
          description: List of generated split APKs, signed with a key corresponding to certificate_sha256_hash.
          items:
            $ref: '#/components/schemas/GeneratedSplitApk'
        unprotectedGeneratedSplitApks:
          items:
            $ref: '#/components/schemas/GeneratedSplitApk'
          description: List of generated split APKs without automatic protection, signed with a key corresponding to certificate_sha256_hash. This field is only present if the app uses automatic protection. In this case, `generated_split_apks` contains APKs with automatic protection enabled, whereas this field contains APKs without automatic protection.
          type: array
        generatedUniversalApk:
          $ref: '#/components/schemas/GeneratedUniversalApk'
          description: Generated universal APK, signed with a key corresponding to certificate_sha256_hash. This field is not set if no universal APK was generated for this signing key.
        unprotectedGeneratedStandaloneApks:
          items:
            $ref: '#/components/schemas/GeneratedStandaloneApk'
          description: List of generated standalone APKs without automatic protection, signed with a key corresponding to certificate_sha256_hash. This field is only present if the app uses automatic protection. In this case, `generated_standalone_apks` contains APKs with automatic protection enabled, whereas this field contains APKs without automatic protection.
          type: array
        generatedRecoveryModules:
          items:
            $ref: '#/components/schemas/GeneratedRecoveryApk'
          description: Generated recovery apks for recovery actions signed with a key corresponding to certificate_sha256_hash. This includes all generated recovery APKs, also those in draft or cancelled state. This field is not set if no recovery actions were created for this signing key.
          type: array
      type: object
    TargetingInfo:
      properties:
        assetSliceSet:
          items:
            $ref: '#/components/schemas/AssetSliceSet'
          type: array
          description: List of created asset slices.
        variant:
          description: List of the created variants.
          items:
            $ref: '#/components/schemas/SplitApkVariant'
          type: array
        packageName:
          type: string
          description: The package name of this app.
      type: object
      description: Targeting information about the generated apks.
    Abi:
      description: Represents an Abi.
      type: object
      properties:
        alias:
          type: string
          enum:
          - UNSPECIFIED_CPU_ARCHITECTURE
          - ARMEABI
          - ARMEABI_V7A
          - ARM64_V8A
          - X86
          - X86_64
          - RISCV64
          description: Alias for an abi.
    AbiTargeting:
      type: object
      properties:
        value:
          description: Value of an abi.
          type: array
          items:
            $ref: '#/components/schemas/Abi'
        alternatives:
          items:
            $ref: '#/components/schemas/Abi'
          description: Targeting of other sibling directories that were in the Bundle. For main splits this is targeting of other main splits.
          type: array
      description: Targeting based on Abi.
    ScreenDensity:
      type: object
      description: Represents a screen density.
      properties:
        densityDpi:
          format: int32
          description: Value for density dpi.
          type: integer
        densityAlias:
          type: string
          enum:
          - DENSITY_UNSPECIFIED
          - NODPI
          - LDPI
          - MDPI
          - TVDPI
          - HDPI
          - XHDPI
          - XXHDPI
          - XXXHDPI
          description: Alias for a screen density.
    TextureCompressionFormatTargeting:
      properties:
        alternatives:
          description: List of alternative TCFs (TCFs targeted by the sibling splits).
          type: array
          items:
            $ref: '#/components/schemas/TextureCompressionFormat'
        value:
          items:
            $ref: '#/components/schemas/TextureCompressionFormat'
          type: array
          description: The list of targeted TCFs. Should not be empty.
      description: Targeting by a texture compression format.
      type: object
    ApkDescription:
      properties:
        targeting:
          $ref: '#/components/schemas/ApkTargeting'
          description: Apk-level targeting.
        standaloneApkMetadata:
          $ref: '#/components/schemas/StandaloneApkMetadata'
          description: Set only for standalone APKs.
        path:
          type: string
          description: 'Path of the Apk, will be in the following format: .apk where DownloadId is the ID used to download the apk using GeneratedApks.Download API.'
        splitApkMetadata:
          $ref: '#/components/schemas/SplitApkMetadata'
          description: Set only for Split APKs.
        instantApkMetadata:
          $ref: '#/components/schemas/SplitApkMetadata'
          description: Set only for Instant split APKs.
        assetSliceMetadata:
          $ref: '#/components/schemas/SplitApkMetadata'
          description: Set only for asset slices.
      type: object
      description: Description of the created apks.
    SdkVersion:
      description: Represents an sdk version.
      type: object
      properties:
        min:
          format: int32
          description: Inclusive minimum value of an sdk version.
          type: integer
    SdkVersionTargeting:
      type: object
      properties:
        value:
          items:
            $ref: '#/components/schemas/SdkVersion'
          type: array
          description: Value of an sdk version.
        alternatives:
          type: array
          description: Targeting of other sibling directories that were in the Bundle. For main splits this is targeting of other main splits.
          items:
            $ref: '#/components/schemas/SdkVersion'
      description: Targeting based on sdk version.
    AssetSliceSet:
      properties:
        assetModuleMetadata:
          $ref: '#/components/schemas/AssetModuleMetadata'
          description: Module level metadata.
        apkDescription:
          description: Asset slices.
          type: array
          items:
            $ref: '#/components/schemas/ApkDescription'
      type: object
      description: Set of asset slices belonging to a single asset module.
    AssetModuleMetadata:
      type: object
      description: Metadata of an asset module.
      properties:
        name:
          description: Module name.
          type: string
        deliveryType:
          description: Indicates the delivery type for persistent install.
          type: string
          enum:
          - UNKNOWN_DELIVERY_TYPE
          - INSTALL_TIME
          - ON_DEMAND
          - FAST_FOLLOW
    GeneratedRecoveryApk:
      type: object
      description: Download metadata for an app recovery module.
      properties:
        recoveryStatus:
          description: The status of the recovery action corresponding to the recovery apk.
          type: string
          enum:
          - RECOVERY_STATUS_UNSPECIFIED
          - RECOVERY_STATUS_ACTIVE
          - RECOVERY_STATUS_CANCELED
          - RECOVERY_STATUS_DRAFT
          - RECOVERY_STATUS_GENERATION_IN_PROGRESS
          - RECOVERY_STATUS_GENERATION_FAILED
        downloadId:
          description: Download ID, which uniquely identifies the APK to download. Should be supplied to `generatedapks.download` method.
          type: string
        recoveryId:
          type: string
          format: int64
          description: ID of the recovery action.
        moduleName:
          description: Name of the module which recovery apk belongs to.
          type: string
    VariantTargeting:
      description: Targeting on the level of variants.
      properties:
        multiAbiTargeting:
          $ref: '#/components/schemas/MultiAbiTargeting'
          description: Multi-api-level targeting
        sdkVersionTargeting:
          $ref: '#/components/schemas/SdkVersionTargeting'
          description: The sdk version that the variant targets
        abiTargeting:
          $ref: '#/components/schemas/AbiTargeting'
          description: The abi that the variant targets
        textureCompressionFormatTargeting:
          $ref: '#/components/schemas/TextureCompressionFormatTargeting'
          description: Texture-compression-format-level targeting
        screenDensityTargeting:
          $ref: '#/components/schemas/ScreenDensityTargeting'
          description: The screen densities that this variant supports
      type: object
    GeneratedUniversalApk:
      properties:
        downloadId:
          description: Download ID, which uniquely identifies the APK to download. Should be supplied to `generatedapks.download` method.
          type: string
      type: object
      description: Download metadata for a universal APK.
    UserCountriesTargeting:
      type: object
      description: Describes an inclusive/exclusive list of country codes that module targets.
      properties:
        countryCodes:
          type: array
          items:
            type: string
          description: List of country codes in the two-letter CLDR territory format.
        exclude:
          type: boolean
          description: Indicates if the list above is exclusive.
    ScreenDensityTargeting:
      properties:
        alternatives:
          items:
            $ref: '#/components/schemas/ScreenDensity'
          type: array
          description: Targeting of other sibling directories that were in the Bundle. For main splits this is targeting of other main splits.
        value:
          items:
            $ref: '#/components/schemas/ScreenDensity'
          description: Value of a screen density.
          type: array
      type: object
      description: Targeting based on screen density.
    DeviceFeature:
      description: Represents a device feature.
      type: object
      properties:
        featureName:
          type: string
          description: Name of the feature.
        featureVersion:
          description: The feature version specified by android:glEsVersion or android:version in in the AndroidManifest.
          format: int32
          type: integer
  securitySchemes:
    apiKey:
      type: apiKey
      in: query
      name: key
      description: API key; accepted by methods that do not need user data.
    oauth2:
      type: oauth2
      flows:
        authorizationCode:
          authorizationUrl: https://accounts.google.com/o/oauth2/auth
          tokenUrl: https://oauth2.googleapis.com/token
          scopes:
            https://www.googleapis.com/auth/androidpublisher: View and manage your Google Play Developer account
externalDocs:
  url: https://developers.google.com/android-publisher
x-provenance:
  method: harvested
  publisher: Google
  source: https://androidpublisher.googleapis.com/$discovery/rest?version=v3
  note: converted by discovery-to-openapi.py from Google's Discovery document (revision 20261111)