# Google Play SDK Index: Adoption, Permissions & Versions (`crawlyth-forge/google-play-sdk-index`) Actor

Explore the Google Play SDK Index: browse categories, search by SDK, provider or Maven ID, or open detail URLs. Get providers, permissions, API levels, install adoption, retention, version usage and issue flags.

- **URL**: https://apify.com/crawlyth-forge/google-play-sdk-index.md
- **Developed by:** [crawlyth forge](https://apify.com/crawlyth-forge) (community)
- **Categories:** Developer tools, Automation, Integrations
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.49 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Google Play SDK Index: Adoption, Permissions & Versions

Google Play's SDK Index is the public catalogue of commercial Android SDKs. It combines Google Play app usage data with code detection to show which permissions an SDK uses, how widely it is adopted, how long apps keep it, and which library versions are in use. This actor turns that catalogue into a queryable dataset.

Use it to size an ad-tech or analytics SDK's market share, audit the permissions and API levels of a vendor's latest release, check whether an SDK is deprecated or has policy/security issues, or track version migration across a Maven artifact.

No login, cookies, API key or proxy configuration is needed.

### Three ways to query it

| Mode | What it returns | When to use it |
|---|---|---|
| `details` | Full records for SDK slugs, detail URLs, Maven IDs or names | Due diligence on specific SDKs |
| `browse` | Every SDK in one of the nine index categories | Market mapping and category sweeps |
| `search` | SDKs matching a name, provider or Maven ID | Fast lookup when you do not know the slug |

Browse and search return lightweight summary rows by default. Set `includeDetails` to fetch full records (permissions, adoption, retention, versions) for every result.

### Fields per SDK

- `sdkId` — SDK Index slug, e.g. `com-google-firebase-firebase-analytics`
- `name`, `provider`, `iconUrl`, `sdkUrl`
- `mavenIds[]`, `mavenRepositoryUrl`
- `categories[]`, `primaryCategory`
- `dataSafetyGuidanceUrl` — provider's guidance for the Play data-safety form
- `registeredInSdkConsole`, `ownedByGoogle`, `deprecated`
- `targetApiLevel`, `minimumApiLevel`, `latestVersion`, `latestProguardRules`
- `androidPermissions[]` — permission name, `type` (Calendar, SMS, Storage, Location, Phone, Microphone, Activity recognition, Camera, Nearby devices, Network), and `removedInVersion` when known
- `adoptionByAppInstalls[]` — install bucket (`1K-100K`, `100K-1M`, `1M-10M`, `10M+`) plus the published app count when Google gives one
- `retentionByApp[]` — probability that an app still uses the SDK after 3, 6 and 12 months
- `recommendedAlternatives[]` — replacement SDKs listed for deprecated entries
- `libraries[]` — every Maven library that makes up the SDK

Each library contains:

- `mavenId`, `mavenRepositoryUrl`, `versionCount`
- `versions[]` — version, `usageSharePercent`, `isLatest`, `outdated`, `providerReportedOutdated`, `providerNotes[]`
- `outdatedVersionCount`, `versionsWithPolicyIssues`, `versionsWithSecurityFindings` — always counted over every observed version, even when `maxVersionsPerLibrary` truncates the nested list
- `issueCodes[]`, `issueTypes[]`, `impact` (`preventsRelease` or `warning`), `preventsAppRelease`
- `replacementVersion`, `replacementMavenId`
- `securityFindings[]` — finding code, readable type where known, and the affected class or method
- `targetApiLevel`, `minimumApiLevel`, `proguardRules`, `permissions[]`

Every record is omit-empty: unavailable fields are left out rather than emitted as `null`.

### Input

| Field | Type | Default | Notes |
|---|---|---|---|
| `mode` | select | `details` | `details` / `browse` / `search` |
| `category` | select | – | Required for `browse`: advertising-and-monetization, analytics, data-management, location, marketing-and-engagement, payments, social, user-authentication, user-support |
| `searchQuery` | string | – | Required for `search`; name, provider or Maven ID |
| `sdkIds` | string list | – | Required for `details`; slugs, detail URLs, Maven IDs or names |
| `includeDetails` | boolean | `false` | Enrich browse/search rows with full records |
| `includeVersions` | boolean | `true` | Include Maven libraries and version tables |
| `maxItems` | integer | `200` | Cap on SDK records, not versions |
| `maxVersionsPerLibrary` | integer | `0` | Keep the first N versions (newest first); `0` keeps all |

#### Example: full details for two SDKs

```json
{
  "mode": "details",
  "sdkIds": [
    "com-google-firebase-firebase-analytics",
    "https://play.google.com/sdks/details/com-google-android-gms-play-services-location"
  ]
}
```

#### Example: browse analytics with full records

```json
{
  "mode": "browse",
  "category": "analytics",
  "includeDetails": true,
  "includeVersions": true
}
```

#### Example: search and enrich

```json
{
  "mode": "search",
  "searchQuery": "com.adjust.sdk",
  "includeDetails": true,
  "maxItems": 5
}
```

### Coverage and limits

- SDK Index search returns at most 20 matches per query. Use several queries or browse a category for wider coverage.
- Data only includes apps that share their library dependencies with Google Play and have over 1,000 installs; installs count only devices turned on at least once in the last 30 days.
- Versions, usage shares and issue flags are what Google Play has observed. The table is not a complete Maven release history, and old versions often have no usage share.
- Target and minimum API levels come from `AndroidManifest.xml` inside AAR artifacts. JAR-only artifacts show no value.
- Adoption bucket app counts are rounded and sometimes omitted; retention has no 12-month value for a few SDKs.
- Policy issues are exposed as Google's codes plus readable types where confirmed. Security findings keep the raw code and affected API so new finding types are never lost.
- App-by-app install lists, historical trends and a total install count per SDK are not published by the SDK Index.
- Categories and SDK names are global; there is no country or language dimension in the source.

### How it runs

The actor calls the same public JSON endpoints that render the SDK Index page. It paces requests, retries rate limits and server errors, and uses only the free datacenter connection — no proxy, browser or paid service. A full detail record is usually one detail call plus one library call, so even the largest SDK (several thousand versions) is a single small run.

### FAQ

**Does this need a Google account?** No. The SDK Index is public.

**Why is a version missing a usage percentage?** Google only publishes usage for versions it observes in enough apps; old or rarely used versions have no share.

**What does retention mean?** Google's probability that an app still using the SDK today will still use it after 3, 6 or 12 months, based on published apps.

**What do the issue codes mean?** They are Google's policy issue categories (user data, device and network abuse, permissions, location, ads, interpreted-code abuse) plus security findings detected in the bytecode. `impact` says whether the issue is a warning or prevents an app release.

**Can I monitor changes?** Yes. Run the actor on a schedule and diff `latestVersion`, `deprecated`, issue flags or version lists between runs.

# Actor input Schema

## `mode` (type: `string`):

`details` resolves SDK slugs, detail URLs, Maven IDs or names. `browse` lists one category. `search` queries the SDK Index.

## `category` (type: `string`):

Category to browse (mode=browse). Every category returns its complete SDK list.

## `searchQuery` (type: `string`):

SDK name, provider or Maven ID (mode=search). The SDK Index returns at most 20 matches per query.

## `sdkIds` (type: `array`):

SDK slugs (com-google-firebase-firebase-analytics), detail URLs, Maven IDs (com.google.firebase:firebase-analytics) or names (mode=details).

## `includeDetails` (type: `boolean`):

For mode=browse and mode=search, fetch the full detail record for every SDK instead of the summary row.

## `includeVersions` (type: `boolean`):

Include every Maven library and its versions with usage share, issue flags and provider notes when a detail record is emitted.

## `maxItems` (type: `integer`):

Hard cap on emitted SDK records (not versions).

## `maxVersionsPerLibrary` (type: `integer`):

Keep only the first N versions per library in the table order (newest first). 0 keeps every version.

## Actor input object example

```json
{
  "mode": "details",
  "sdkIds": [
    "com-google-firebase-firebase-analytics"
  ],
  "includeDetails": false,
  "includeVersions": true,
  "maxItems": 200,
  "maxVersionsPerLibrary": 0
}
```

# Actor output Schema

## `sdks` (type: `string`):

Dataset containing the scraped SDK Index records.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "mode": "details",
    "sdkIds": [
        "com-google-firebase-firebase-analytics"
    ],
    "includeDetails": false,
    "includeVersions": true,
    "maxItems": 200,
    "maxVersionsPerLibrary": 0
};

// Run the Actor and wait for it to finish
const run = await client.actor("crawlyth-forge/google-play-sdk-index").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "mode": "details",
    "sdkIds": ["com-google-firebase-firebase-analytics"],
    "includeDetails": False,
    "includeVersions": True,
    "maxItems": 200,
    "maxVersionsPerLibrary": 0,
}

# Run the Actor and wait for it to finish
run = client.actor("crawlyth-forge/google-play-sdk-index").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "mode": "details",
  "sdkIds": [
    "com-google-firebase-firebase-analytics"
  ],
  "includeDetails": false,
  "includeVersions": true,
  "maxItems": 200,
  "maxVersionsPerLibrary": 0
}' |
apify call crawlyth-forge/google-play-sdk-index --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,crawlyth-forge/google-play-sdk-index"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/dJ0DRAyKJoIZf2ikX/builds/KLPlclSALuuZj9pQG/openapi.json
