GooglePlay API endpoint
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.
/googleplay/datasafety| Field | Filled in, of 11 checked | Values in the sample |
|---|---|---|
| data | 11 | “Crash logs” and 10 other values |
| optional | 11 | true in 4 of 11 |
| purpose | 11 | App functionality, Analytics, F… (3), Analytics (2), Analytics, Fraud prevention, se… (2) and 3 more |
| type | 11 | Personal info (4), App info and performance (3), App activity (2) and 2 more |
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| app_id | string | Yes | Google Play app id | com.openai.chatgpt | |
| lang | string | No | Two-letter language code | en | |
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/googleplay/datasafety?app_id=com.openai.chatgpt&lang=en" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"msg": "OK",
"data": {
"app_id": "com.openai.chatgpt",
"data_shared": [
"Location"
],
"data_collected": [
"Personal info"
]
}
}Request schema
No body schema
Response schema
#/definitions/googleplay.dataSafetyResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| code | integer | No | 200 | |||
| data | googleplay.DataSafetyResult | No | ||||
| data.collected_data | array | No | Data the app says it collects, one entry per data item. | |||
| data.collected_data[].data | string | No | Email address | Kind of data covered by this disclosure, such as `Email address`. | ||
| data.collected_data[].optional | boolean | No | false | Whether providing this data is optional for the user. | ||
| data.collected_data[].purpose | string | No | Analytics | Reason the developer gives for using this data, such as `Analytics`. | ||
| data.collected_data[].type | string | No | Personal info | Data group this item belongs to, such as `Personal info`. | ||
| data.privacy_policy_url | string | No | https://openai.com/policies/privacy-policy | URL of the app's privacy policy. | ||
| data.security_practices | array | No | Security practices the developer declares for the app. | |||
| data.security_practices[].description | string | No | Your data is transferred over a secure connection | Longer explanation of the security practice. | ||
| data.security_practices[].practice | string | No | Data is encrypted in transit | Security practice declared by the developer, such as `Data is encrypted in transit`. | ||
| data.shared_data | array | No | Data the app says it shares with third parties, one entry per data item. | |||
| data.shared_data[].data | string | No | Email address | Kind of data covered by this disclosure, such as `Email address`. | ||
| data.shared_data[].optional | boolean | No | false | Whether providing this data is optional for the user. | ||
| data.shared_data[].purpose | string | No | Analytics | Reason the developer gives for using this data, such as `Analytics`. | ||
| data.shared_data[].type | string | No | Personal info | Data group this item belongs to, such as `Personal info`. | ||
| msg | string | No | OK |
| Status | Description | Schema |
|---|---|---|
| 400 | Bad Request | #/definitions/app.Response |
| 404 | Not Found | #/definitions/app.Response |
| 429 | Too Many Requests | #/definitions/app.Response |
| 500 | Internal Server Error | #/definitions/app.Response |
Use environment variables for secrets and keep Crawlora API keys server-side.
curl -X GET "https://api.crawlora.net/api/v1/googleplay/datasafety?app_id=com.openai.chatgpt&lang=en" \
-H "x-api-key: $CRAWLORA_API_KEY"