API Documentation

Google Play App Permissions API

Query Google Play permissions. Empty results and failures are free.

Test API
Open the product page and test
POST https://api.goanyapi.com/api/v1/googleplay/permissions

Request and input parameters

Synchronous POST JSON query. There are no Path or Query parameters and no asynchronous task.

Parameter Location Type Required Default Constraints and meaning
Authorization Header string Yes — Bearer YOUR_API_KEY
Content-Type Header string Yes application/json application/json
url JSON body string Optional or conditional — Complete HTTPS resource URL; takes precedence over resource identifiers; maxLength=4096
country JSON body string Optional or conditional — Store country code; URL country is used when not explicitly overridden; pattern=^[A-Za-z]{2}$
lang JSON body string Optional or conditional — Language code; pattern=^[A-Za-z]{2,3}(-[A-Za-z0-9]{2,8}){0,2}$
appId JSON body string Optional or conditional — Android application package name; pattern=^[A-Za-z][A-Za-z0-9_](.[A-Za-z][A-Za-z0-9_])+$

Conditional requirements (required lists mandatory fields; satisfy at least one anyOf branch, exactly one oneOf branch, and every allOf branch):

{
  "required": [],
  "anyOf": [
    {
      "required": [
        "url"
      ]
    },
    {
      "required": [
        "appId"
      ]
    }
  ]
}

Request example

POST /api/v1/googleplay/permissions
Authorization: Bearer YOUR_API_KEY
Content-Type: application/json

{
  "url": "https://play.google.com/store/apps/details?id=com.rockstargames.gtasa",
  "appId": "com.rockstargames.gtasa"
}

Output fields

Field path Type Meaning
code string ok on success; public error code otherwise
message string Request status message
data.result object / null Business result; actual null, empty and missing values are preserved
data.creditsUsed integer Actual charge; empty results and failures are free
data.remainingCredits number Account balance after settlement
data.result.appId string appId: public business value; may be empty or absent
data.result.permissions array permissions: public business value; may be empty or absent
data.result.permissions[].permission string permission: public business value; may be empty or absent
data.result.permissions[].type integer type: public business value; may be empty or absent
data.result.permissions[].group string group: public business value; may be empty or absent
data.result.implicitPermissions array implicitPermissions: public business value; may be empty or absent
data.result.count integer Records in this response, not the total

Real response example

Captured: 2026-11-25T10:24:03Z. Real public response excerpt; only data.creditsUsed and data.remainingCredits are omitted. Charges and balance depend on the actual request.

{
  "code": "ok",
  "message": "ok",
  "data": {
    "result": {
      "appId": "com.rockstargames.gtasa",
      "permissions": [
        {
          "permission": "读取您的 USB 存储设备中的内容",
          "type": 0,
          "group": "照片/媒体/文件"
        },
        {
          "permission": "读取您的 USB 存储设备中的内容",
          "type": 0,
          "group": "存储"
        },
        {
          "permission": "查看 WLAN 连接",
          "type": 0,
          "group": "Wi-Fi 网络连接信息"
        },
        {
          "permission": "查看网络连接",
          "type": 1,
          "group": "其他"
        },
        {
          "permission": "计算应用存储空间",
          "type": 1,
          "group": "其他"
        },
        {
          "permission": "完全的网络访问权限",
          "type": 1,
          "group": "其他"
        },
        {
          "permission": "开机启动",
          "type": 1,
          "group": "其他"
        },
        {
          "permission": "控制振动",
          "type": 1,
          "group": "其他"
        },
        {
          "permission": "阻止设备进入休眠状态",
          "type": 1,
          "group": "其他"
        },
        {
          "permission": "Google Play 许可检查",
          "type": 1,
          "group": "其他"
        }
      ],
      "implicitPermissions": [
        "从互联网接收数据"
      ],
      "count": 10
    }
  }
}

Pagination and billing

This operation does not support cursor pagination; do not invent a next page.

…

When neither inputs nor URL provide locale, defaults are CN and zh-CN. Set country and lang explicitly for another locale.

Successful nonempty requests use the current database-configured price. Empty results and failures are free; each page is billed separately. Empty optional fields do not make a record empty. Missing fields, null, empty strings and arrays are preserved. Saved media URLs and cursors may expire; query again for current values.

Status codes

HTTP Meaning
200 Success; results may be empty
400 Invalid parameters or JSON
401 Missing or invalid authentication
402 Insufficient credits
429 Rate limit exceeded
502 The data request could not complete
503 API or pricing is not configured