> **For coding agents and LLMs:** This is one page from the Social Fetch docs (markdown export). For curated orientation and workflow guidance, start with [`/llms.txt`](https://www.socialfetch.dev/llms.txt); for agent onboarding and crawl rules, use [`/agents.txt`](https://www.socialfetch.dev/agents.txt); for the full endpoint list with links to pages like this one, use [`/llms-endpoints.txt`](https://www.socialfetch.dev/llms-endpoints.txt); for one platform's parameters and curls, use [`/llms-{platform}.txt`](https://www.socialfetch.dev/llms-tiktok.txt); use [`/llms.json`](https://www.socialfetch.dev/llms.json) when you need structured JSON for tool registration.

## This page

- **On-site (HTML):** <https://www.socialfetch.dev/docs/api/v1/google-play/apps/appid/get>
- **Markdown (.mdx) URL:** <https://www.socialfetch.dev/docs/api/v1/google-play/apps/appid/get.mdx>

## API base URL and authentication

- **API origin (from OpenAPI `servers`):** `https://api.socialfetch.dev`
- **Authentication:** send `x-api-key: sfk_...` on `/v1/**` and `/v2/**` routes unless the operation is explicitly anonymous (check OpenAPI `security`, the [API reference hub](https://www.socialfetch.dev/docs/api.mdx), [`/llms.txt`](https://www.socialfetch.dev/llms.txt), or [`/llms.json`](https://www.socialfetch.dev/llms.json) for each route).
- **OpenAPI JSON:** <https://www.socialfetch.dev/openapi.json>

## Recommended docs entrypoints (this site)

- [Documentation overview](https://www.socialfetch.dev/docs.mdx) — top-level orientation (markdown).
- [Quickstart](https://www.socialfetch.dev/docs/quickstart.mdx) — authenticate with `x-api-key`, validate auth with `whoami`, and understand the JSON envelope.
- [SDK](https://www.socialfetch.dev/docs/sdk.mdx) — official TypeScript SDK guide, including `SocialFetchClient`, `Result`, and `unwrap()`.
- [Capability matrix](https://www.socialfetch.dev/docs/capability-matrix.mdx) — every operation with identifiers, pagination, outcomes, media download, credits, and its SDK method. Generated from OpenAPI, so use it for route selection instead of scanning individual pages.
- [Recipes](https://www.socialfetch.dev/docs/recipes.mdx) — copyable workflows (brand monitoring, transcripts, Ad Library, creator scoring, Reddit research) with credit callouts and SDK examples.
- [Integrations](https://www.socialfetch.dev/docs/integrations.mdx) — MCP for AI clients, n8n verified node, Apify Store Actors, Make custom app, SDK, and REST API connection paths.
- [MCP product page](https://www.socialfetch.dev/mcp) — hosted MCP overview, OAuth, Skills install.
- [MCP integration](https://www.socialfetch.dev/docs/integrations/mcp.mdx) — hosted `/mcp` server, OAuth, Cursor/VS Code/Claude install snippets, 1112 endpoint tools, plus docs_search/docs_read for implementation help.
- [n8n integration](https://www.socialfetch.dev/docs/integrations/n8n.mdx) — install `n8n-nodes-socialfetch`, credentials, and workflow examples.
- [Apify integration](https://www.socialfetch.dev/docs/integrations/apify.mdx) — Store Actors under @social-fetch, PPE billing, dataset export, and quick start.
- [Make integration](https://www.socialfetch.dev/docs/integrations/make.mdx) — custom app modules for Make scenarios, API key credentials, and module catalog.
- [`/llms-endpoints.txt`](https://www.socialfetch.dev/llms-endpoints.txt) — every documented operation with a direct link to that route's agent-readable markdown page (prefer this over parsing OpenAPI).
- [`/llms-{platform}.txt`](https://www.socialfetch.dev/llms-tiktok.txt) — per-platform endpoint files generated from OpenAPI (parameters, credits, curls).
- [`/agents.txt`](https://www.socialfetch.dev/agents.txt) — agent crawl/onboarding file with capabilities, auth rules, and allowlist.
- [`/llms.json`](https://www.socialfetch.dev/llms.json) — structured machine-readable operation inventory with parameter names, pagination, outcomes, credits, and SDK mapping.
- [API reference hub](https://www.socialfetch.dev/docs/api.mdx) — human-friendly index of operations with links into generated pages.
- [Errors](https://www.socialfetch.dev/docs/errors.mdx) — shared error envelope and HTTP status guidance.
- [Credits](https://www.socialfetch.dev/docs/credits.mdx) — metering, `402`, and planning batch jobs.
- Outcome semantics such as `found`, `not_found`, and `private` are documented in [Errors](https://www.socialfetch.dev/docs/errors.mdx) and on operation pages when present in the OpenAPI contract.

## Markdown docs convention

- Every docs page has a markdown twin: append **`.mdx`** to the docs pathname (for example `/docs/quickstart` → `/docs/quickstart.mdx`).
- Agents that send `Accept: text/markdown` on `/docs/**` HTML URLs may receive markdown directly (same URL, `Vary: Accept`).
- Published blog posts use the same convention: `/blog/{slug}` → `/blog/{slug}.mdx`, or `Accept: text/markdown` on the HTML URL (`Vary: Accept`).

---
# Get Google Play app (https://www.socialfetch.dev/docs/api/v1/google-play/apps/appid/get)

## Summary

Get a Google Play app with its ratings, installs, price, developer contacts, permissions and similar apps.

**Tags:** `Google Play`

## HTTP

- **Method:** GET
- **Path:** `/v1/google-play/apps/{appId}`
- **Base URL:** `https://api.socialfetch.dev`

## Capability summary

- **SDK mapping:** `client.googlePlay.getApp({ appId: "com.spotify.music" })`
- **Accepted identifiers:** `appId` (path)
- **Pagination:** none
- **Business outcome field:** `data.lookupStatus` with values `found`, `not_found`

## Credits

- **Base:** 1 credit per successful lookup.
- **Maximum on success (200):** 1 credit.
- **Failed requests (`lookup_failed`, `503`):** not charged.
- **Authoritative field:** `meta.creditsCharged`.

## Authentication

- **`x-api-key`**: API key (`sfk_...`)

## Parameters

### `appId` (path)

- **Required:** yes
- **Constraints:** type `string`; minLength: 1; maxLength: 400
- **Description:** Google Play app id (the Android package name), e.g. `com.spotify.music`. A Google Play app link is also accepted.

### `country` (query)

- **Required:** no
- **Constraints:** type `string`; pattern: `^[a-z]{2}$`
- **Description:** Two-letter storefront code, e.g. `us`, `gb` or `jp`, case-insensitive. Prices, ratings, charts and search results follow it. Default: `us`.

### `language` (query)

- **Required:** no
- **Constraints:** type `string`; minLength: 2; maxLength: 10
- **Description:** Language of the text, e.g. `en`, `de`, `pt-BR` or `ja`. Names, descriptions and labels follow it. Default: `en`.

## Responses (status codes)

- **200**: Google Play app.
- **400**: Invalid request
- **401**: Missing or invalid API key
- **402**: Insufficient credits
- **500**: Unexpected or billing error
- **502**: Lookup could not be completed.
- **503**: Service temporarily unavailable; safe to retry with backoff.

## Response body (200)

Google Play app.

### Field outline

- **data** (required) — type `object`. Endpoint-specific response payload.
  - **lookupStatus** (required) — type `string`; enum: found, not_found. `not_found` when Google Play has no such app or developer. An app removed from the store and one that never existed look the same.
  - **storefront** (required) — type `string`. Storefront (country) the record is for.
  - **language** (required) — type `string`. Language of the text.
  - **app** (required) — type `object`; nullable. The app; null when `lookupStatus` is `not_found`.
    - **id** (required) — type `string`. App id (package name), e.g. `com.spotify.music`.
    - **name** (required) — type `string`. App name.
    - **url** (required) — type `string`. The app's Google Play page.
    - **summary** (required) — type `string`; nullable. Short description under the name (up to 80 characters).
    - **description** (required) — type `string`; nullable. Full store description as plain text, line breaks kept.
    - **icon** (required) — type `string`; nullable. Icon image URL.
    - **headerImage** (required) — type `string`; nullable. Feature graphic shown at the top of the page.
    - **screenshots** (required) — type `array`. Screenshot URLs.
      - _items:_
        - type `string`
    - **video** (required) — type `object`; nullable. The promo video; null when the app has none.
      - **url** (required) — type `string`. Trailer player URL.
      - **thumbnail** (required) — type `string`; nullable. Trailer thumbnail image URL.
    - **developer** (required) — type `object`. The developer and the contact details they list.
      - **id** (required) — type `string`; nullable. Developer id to pass to GET /v1/google-play/developers/{developerId}: a number for developers with their own page, otherwise the developer name.
      - **name** (required) — type `string`; nullable. Developer name.
      - **url** (required) — type `string`; nullable. The developer's Google Play page.
      - **email** (required) — type `string`; nullable. Support email the developer lists.
      - **website** (required) — type `string`; nullable. Website the developer lists.
      - **address** (required) — type `string`; nullable. Postal address the developer lists, line breaks kept.
      - **phone** (required) — type `string`; nullable. Phone number the developer lists.
      - **legalName** (required) — type `string`; nullable. Legal name of the business behind the app, when listed.
    - **privacyPolicyUrl** (required) — type `string`; nullable. Privacy policy link the developer lists.
    - **primaryGenre** (required) — type `object`; nullable. A Google Play category.
      - **id** (required) — type `string`; nullable. Category id, e.g. `MUSIC_AND_AUDIO`; null where the store lists only the name.
      - **name** (required) — type `string`. Category name in the requested language.
    - **tags** (required) — type `array`. Further categories and tags the store shows, e.g. `Sandbox` or `Offline`.
      - _items:_
        - type `string`
    - **ratings** (required) — type `object`. Star ratings in this storefront.
      - **average** (required) — type `number`; nullable. Average star rating (1 to 5); null when not rated yet.
      - **count** (required) — type `integer`; nullable. Number of ratings.
      - **reviewCount** (required) — type `integer`; nullable. Number of written reviews.
      - **histogram** (required) — type `object`; nullable. Ratings by number of stars.
    - **installs** (required) — type `string`; nullable. Install band as the store shows it, e.g. `1,000,000,000+`.
    - **installsMin** (required) — type `integer`; nullable. Lower bound of the install band.
    - **installsEstimate** (required) — type `integer`; nullable. The store's own install count behind the band.
    - **price** (required) — type `object`. Price of the app in this storefront.
      - **amount** (required) — type `number`; nullable. Price in the storefront currency; 0 for free apps.
      - **currency** (required) — type `string`; nullable. ISO 4217 currency code, e.g. `USD`.
      - **formatted** (required) — type `string`; nullable. Price as the store shows it, e.g. `$6.99`; null for free apps.
    - **free** (required) — type `boolean`; nullable. True for apps that cost nothing to install.
    - **inAppPurchases** (required) — type `string`; nullable. In-app purchase price range, e.g. `$4.99 - $203.88 per item`; null when the app sells nothing inside it.
    - **containsAds** (required) — type `boolean`. Whether the store says it shows ads.
    - **isEditorsChoice** (required) — type `boolean`; nullable. Whether the store shows its Editors' Choice badge on the app in this storefront; null when the page header could not be read.
    - **ageRating** (required) — type `string`; nullable. Content rating, e.g. `Everyone 10+` or `Teen`.
    - **contentDescriptors** (required) — type `string`; nullable. Reasons behind the content rating, e.g. `Fantasy Violence`.
    - **interactiveElements** (required) — type `string`; nullable. Interactive elements, e.g. `Users Interact, In-Game Purchases`.
    - **chartPosition** (required) — type `object`; nullable. A chart the app ranks in, when the page shows one.
      - **chart** (required) — type `string`. Chart name, e.g. `top free music & audio`.
      - **rank** (required) — type `integer`; nullable. Position in that chart.
    - **version** (required) — type `string`; nullable. Current version; null when it varies with the device, as for most large apps.
    - **minimumAndroidVersion** (required) — type `string`; nullable. Lowest Android version that runs the app; null when it varies with the device.
    - **releasedAt** (required) — type `string`; nullable. When the app was first released (ISO-8601, UTC).
    - **updatedAt** (required) — type `string`; nullable. When the app was last updated (ISO-8601, UTC).
    - **recentChanges** (required) — type `string`; nullable. What is new in the latest update, as plain text.
    - **permissions** (required) — type `array`. Permissions the app asks for, by group.
      - _items:_
    - **dataSafety** (required) — type `array`. The data safety summary the developer declared.
      - _items:_
    - **similarApps** (required) — type `array`. Similar apps the page recommends.
      - _items:_
    - **moreByDeveloper** (required) — type `array`. Other apps by the same developer the page shows.
      - _items:_
- **meta** (required) — type `object`. Metadata describing the request and billing outcome.
  - **requestId** (required) — type `string`; minLength: 1. Unique request identifier for tracing this API call.
  - **creditsCharged** (required) — type `integer`; minimum: 0. Credits charged for this request.
  - **version** (required) — type `string`; enum: v1. Public API version that served the response.
  - **stale** (optional) — type `boolean`; enum: true. Present, and `true`, only when the source couldn't be reached and this is the last good answer for the same request instead, up to 24 hours old. Absent on every live answer.
  - **fetchedAt** (optional) — type `string`. When a stale answer (`stale: true`) was originally fetched (ISO 8601, UTC). Absent on every live answer.

### Example JSON (found)

```json
{
  "data": {
    "lookupStatus": "found",
    "storefront": "us",
    "language": "en",
    "app": {
      "id": "com.spotify.music",
      "name": "Spotify: Music and Podcasts",
      "url": "https://play.google.com/store/apps/details?id=com.spotify.music",
      "summary": "Listen to songs, play podcasts, create playlists and discover music you'll love",
      "description": "With the Spotify music and podcast app, you can play millions of songs, albums and original podcasts for free. We have …",
      "icon": "https://play-lh.googleusercontent.com/IzQgYCcnCFCD08GR-3bdtcT8xzOvrNkC84avGT5CwTX2VIqmTmKKJcP_Cd4JoBOdmCMlTndlOzV6hrthg…",
      "headerImage": "https://play-lh.googleusercontent.com/WdedaGD6EAXZgy88wZM97aIcenQ5Cqzu_IUWBMMalkZmVe2lhv_3YqIUh-6pFqLv27kZ44cQX3qxyZTXH…",
      "screenshots": [
        "https://play-lh.googleusercontent.com/c1jnjL-9CIFlwlTMX3xNyeo8aEH39sNuC5zpTHhfW8keGxQE3TBMRX9Rm3VqM3E03Cyl9AqtnxuKvxJpc…"
      ],
      "video": null,
      "developer": {
        "id": "Spotify AB",
        "name": "Spotify AB",
        "url": "https://play.google.com/store/apps/developer?id=Spotify%20AB",
        "email": "support@spotify.com",
        "website": "https://www.spotify.com",
        "address": "Regeringsgatan 19\n111 53 Stockholm\nSweden",
        "phone": "+46 10 334 03 65",
        "legalName": "Spotify AB"
      },
      "privacyPolicyUrl": "https://www.spotify.com/legal/privacy-policy/",
      "primaryGenre": {
        "id": "MUSIC_AND_AUDIO",
        "name": "Music & Audio"
      },
      "tags": [],
      "ratings": {
        "average": 4.348014,
        "count": 36641402,
        "reviewCount": 1859055,
        "histogram": {
          "1": 3736745,
          "2": 1070435,
          "3": 1313573,
          "4": 3104201,
          "5": 27416425
        }
      },
      "installs": "1,000,000,000+",
      "installsMin": 1000000000,
      "installsEstimate": 3194955154,
      "price": {
        "amount": 0,
        "currency": "USD",
        "formatted": null
      },
      "free": true,
      "inAppPurchases": "$4.99 - $203.88 per item",
      "containsAds": true,
      "isEditorsChoice": true,
      "ageRating": "Teen",
      "contentDescriptors": null,
      "interactiveElements": "In-App Purchases",
      "chartPosition": {
        "chart": "top free music & audio",
        "rank": 1
      },
      "version": null,
      "minimumAndroidVersion": null,
      "releasedAt": "2014-05-27T13:12:17.000Z",
      "updatedAt": "2026-11-09T15:04:13.000Z",
      "recentChanges": "We’re always making changes and improvements to Spotify. To make sure you don’t miss a thing, just keep your Updates tu…",
      "permissions": [
        {
          "group": "Identity",
          "permissions": [
            "find accounts on the device"
          ]
        }
      ],
      "dataSafety": [
        {
          "title": "This app may share these data types with third parties",
          "detail": "Location, Personal info, and Device or other IDs"
        }
      ],
      "similarApps": [
        {
          "id": "com.google.android.apps.youtube.music",
          "name": "YouTube Music",
          "url": "https://play.google.com/store/apps/details?id=com.google.android.apps.youtube.music",
          "icon": "https://play-lh.googleusercontent.com/MyptZXmcCyF59phIWPsNCfHq6zSO_ojEdw_4rMYYWPOGdikSjqeOXcoszBZ053VYpINe5K7ZR9KV1nkFW…",
          "developer": {
            "id": "Google LLC",
            "name": "Google LLC",
            "url": "https://play.google.com/store/apps/developer?id=Google%20LLC"
          },
          "rating": 4.446,
          "price": {
            "amount": 0,
            "currency": "USD",
            "formatted": null
          },
          "free": true,
          "summary": "Connecting you to the world of music:\n● Music content including live performances, covers, remixes and music content yo…",
          "primaryGenre": {
            "id": null,
            "name": "Music & Audio"
          },
          "installs": "5,000,000,000+",
          "ageRating": "Teen",
          "inAppPurchases": "$0.05 - $999.99 per item",
          "screenshots": [
            "https://play-lh.googleusercontent.com/Oc-pD5pp5S62_aqi5OpOLj_PwWTa1I0ycYUgQZVXdFXarBlntuYx3hqOkWogqB7j8iYGg8_spAqwJus0e…"
          ]
        }
      ],
      "moreByDeveloper": [
        {
          "id": "com.spotify.tv.android",
          "name": "Spotify: Music & Podcasts",
          "url": "https://play.google.com/store/apps/details?id=com.spotify.tv.android",
          "icon": "https://play-lh.googleusercontent.com/7ghCqs4kKYrQpTECddnejlSeAXgpdiiKlIghuDR869MpF5msXdPsd3gqjC6lstD_NfJkmP0LAUJTty7UA…",
          "developer": {
            "id": "Spotify AB",
            "name": "Spotify AB",
            "url": "https://play.google.com/store/apps/developer?id=Spotify%20AB"
          },
          "rating": 3.929,
          "price": {
            "amount": 0,
            "currency": "USD",
            "formatted": null
          },
          "free": true,
          "summary": "Turn on the TV, turn up the moment and listen to music and podcasts for free.\nSpotify on Android TV unlocks your living…",
          "primaryGenre": {
            "id": null,
            "name": "Music & Audio"
          },
          "installs": "100,000,000+",
          "ageRating": "Teen",
          "inAppPurchases": null,
          "screenshots": [
            "https://play-lh.googleusercontent.com/B1ixfW5XXLz-fP8lSz0IhlQJQjI-sPc-NdU2r0N1JPjVvAOrYY7mdokYJtpb7WuKLm40Jz2tM2kJ8v1C8…"
          ]
        }
      ]
    }
  },
  "meta": {
    "requestId": "req_01example_v1_google_play_apps_appid",
    "creditsCharged": 1,
    "version": "v1"
  }
}
```

### Machine-readable error codes

When an error JSON body is returned, it may include one of these `error.code` values (derived from the OpenAPI schemas for this operation; additional codes may exist at runtime):

- `bad_request`

## Error handling & retries

Interpret HTTP status codes using the descriptions below. Do not assume a JSON body unless the OpenAPI schema defines one for that status.

- **400**: Invalid request **Retry:** Fix the request; retrying the same invalid payload will not help.
- **401**: Missing or invalid API key **Retry:** Fix the API key first; retrying without changes will not help.
- **402**: Insufficient credits **Retry:** Do not retry without resolving billing/credits (retrying the same request will not help).
- **500**: Unexpected or billing error
- **502**: Lookup could not be completed. **Retry:** May be transient; a few retries with backoff are reasonable.
- **503**: Service temporarily unavailable; safe to retry with backoff. **Retry:** Usually safe to retry with exponential backoff and jitter.

### Suggested client defaults

- Send the API key using the `x-api-key` header on every request.
- On `503` (and sometimes `502`), retry with backoff; cap retries and surface a clear error to the user.
- On `402`, surface an actionable billing message rather than blind retries.

## Examples

### TypeScript SDK

```typescript
import { SocialFetchClient } from "@socialfetch/sdk";

const client = new SocialFetchClient({
  apiKey: process.env.SOCIALFETCH_API_KEY!,
});

const result = await client.googlePlay.getApp({
  appId: "com.spotify.music",
});

if (!result.ok) {
  console.error(result.error);
} else {
  console.log(result.value.data);
}
```

### Node.js

```javascript
const response = await fetch(
  "https://api.socialfetch.dev/v1/google-play/apps/com.spotify.music",
  {
    headers: {
      "x-api-key": "YOUR_API_KEY"
    }
  }
);

const data = await response.json();
console.log(data);
```

### cURL

```bash
curl "https://api.socialfetch.dev/v1/google-play/apps/com.spotify.music" \
  -H "x-api-key: YOUR_API_KEY"
```

### Python

```python
import requests

response = requests.get(
    "https://api.socialfetch.dev/v1/google-play/apps/com.spotify.music",
    headers={"x-api-key": "YOUR_API_KEY"},
)
data = response.json()
print(data)
```