---
title: "Retrieve Google Play data safety details"
method: GET
path: "/googleplay/datasafety"
tags: ["GooglePlay"]
---

# Retrieve Google Play data safety details

`GET /googleplay/datasafety`

## Request

- Base URL: `https://api.crawlora.net/api/v1`
- URL: `https://api.crawlora.net/api/v1/googleplay/datasafety`
- Auth: API key in header `x-api-key`

Returns the data safety section Google Play shows for an app, by the required `app_id`. It lists the data the app collects and shares, each with its type, purpose and whether it is optional, plus the app's security practices and privacy policy URL. `lang` sets the language.

## Query parameters

- `app_id` string, required
- `lang` string

## Headers

- `x-api-key` string, required

## Response `200`

OK

- GoogleplayDataSafetyResponseDoc
  - `code` integer
  - `data` GoogleplayDataSafetyResult
    - `collected_data` GoogleplayDataSafetyEntry[]: Data the app says it collects, one entry per data item.
      - `data` string: Kind of data covered by this disclosure, such as `Email address`.
      - `optional` boolean: Whether providing this data is optional for the user.
      - `purpose` string: Reason the developer gives for using this data, such as `Analytics`.
      - `type` string: Data group this item belongs to, such as `Personal info`.
    - `privacy_policy_url` string: URL of the app's privacy policy.
    - `security_practices` GoogleplaySecurityPractice[]: Security practices the developer declares for the app.
      - `description` string: Longer explanation of the security practice.
      - `practice` string: Security practice declared by the developer, such as `Data is encrypted in transit`.
    - `shared_data` GoogleplayDataSafetyEntry[]: Data the app says it shares with third parties, one entry per data item.
      - `data` string: Kind of data covered by this disclosure, such as `Email address`.
      - `optional` boolean: Whether providing this data is optional for the user.
      - `purpose` string: Reason the developer gives for using this data, such as `Analytics`.
      - `type` string: Data group this item belongs to, such as `Personal info`.
  - `msg` string

## Other responses

- `400`: Bad Request
- `404`: Not Found
- `429`: Too Many Requests
- `500`: Internal Server Error

---

[API](https://skmtc.dev/crawlora/apis/crawlora-api.md) · [All operations](https://skmtc.dev/crawlora/apis/crawlora-api/llms.txt) · [OpenAPI document](https://skmtc.dev/crawlora/apis/crawlora-api/revisions/0497899e2016?raw)
