{
    "info": {
        "name": "APK API",
        "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
        "description": "APK API — Google Play data. Set the apiKey variable to your key from https://apkapi.com/cabinet.php?tab=keys. Docs: https://apkapi.com/api-docs.php"
    },
    "variable": [
        {
            "key": "baseUrl",
            "value": "https://apkapi.com/api/v1"
        },
        {
            "key": "apiKey",
            "value": "YOUR_KEY"
        }
    ],
    "item": [
        {
            "name": "Account",
            "item": [
                {
                    "name": "/account",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "X-API-Key",
                                "value": "{{apiKey}}"
                            }
                        ],
                        "url": {
                            "raw": "{{baseUrl}}/account",
                            "host": [
                                "{{baseUrl}}"
                            ],
                            "path": [
                                "account"
                            ],
                            "query": []
                        },
                        "description": "Your plan, tokens and limits. Free."
                    }
                }
            ]
        },
        {
            "name": "应用",
            "item": [
                {
                    "name": "/app",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "X-API-Key",
                                "value": "{{apiKey}}"
                            }
                        ],
                        "url": {
                            "raw": "{{baseUrl}}/app?id=com.whatsapp",
                            "host": [
                                "{{baseUrl}}"
                            ],
                            "path": [
                                "app"
                            ],
                            "query": [
                                {
                                    "key": "id",
                                    "value": "com.whatsapp",
                                    "description": "应用包名"
                                }
                            ]
                        },
                        "description": "完整的应用详情：标题、描述、“新功能”、安装量（档位与确切数值）、评分、评分与评论数量、星级分布、价格、应用内购买、广告、类别、内容分级、版本、最低 Android 版本、发布与更新日期、图标、截图、视频、开发者及其网站。对于已下架应用：最后保存的数据和下架日期。 Cost: 1 token(s)."
                    }
                },
                {
                    "name": "/apps",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "X-API-Key",
                                "value": "{{apiKey}}"
                            }
                        ],
                        "url": {
                            "raw": "{{baseUrl}}/apps?ids=com.whatsapp,org.telegram.messenger",
                            "host": [
                                "{{baseUrl}}"
                            ],
                            "path": [
                                "apps"
                            ],
                            "query": [
                                {
                                    "key": "ids",
                                    "value": "com.whatsapp,org.telegram.messenger",
                                    "description": "包名，以逗号分隔，最多 100 个"
                                }
                            ]
                        },
                        "description": "一次请求最多 100 个应用：GET ?ids=a,b,c，或在请求体中以列表 POST（每行一个，或 JSON {\"ids\": […]}）。每个应用 1 个令牌；未找到的 ID 会在 not_found 中返回。 Cost: 1 token(s)."
                    }
                },
                {
                    "name": "/apps",
                    "request": {
                        "method": "POST",
                        "header": [
                            {
                                "key": "X-API-Key",
                                "value": "{{apiKey}}"
                            },
                            {
                                "key": "Content-Type",
                                "value": "text/plain"
                            }
                        ],
                        "url": {
                            "raw": "{{baseUrl}}/apps",
                            "host": [
                                "{{baseUrl}}"
                            ],
                            "path": [
                                "apps"
                            ],
                            "query": []
                        },
                        "body": {
                            "mode": "raw",
                            "raw": "com.whatsapp\norg.telegram.messenger"
                        },
                        "description": "POST variant: one package name per line in the body."
                    }
                },
                {
                    "name": "/search",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "X-API-Key",
                                "value": "{{apiKey}}"
                            }
                        ],
                        "url": {
                            "raw": "{{baseUrl}}/search?q=photo editor&per=20",
                            "host": [
                                "{{baseUrl}}"
                            ],
                            "path": [
                                "search"
                            ],
                            "query": [
                                {
                                    "key": "q",
                                    "value": "photo editor",
                                    "description": "在标题、描述和开发者名称中搜索的词语"
                                },
                                {
                                    "key": "category",
                                    "value": "",
                                    "description": "类别 ID，例如 GAME_PUZZLE（见 /v1/categories）",
                                    "disabled": true
                                },
                                {
                                    "key": "developer_id",
                                    "value": "",
                                    "description": "Google Play 开发者 ID",
                                    "disabled": true
                                },
                                {
                                    "key": "min_installs",
                                    "value": "",
                                    "description": "最低安装量（Google Play 档位：1000、10000…）",
                                    "disabled": true
                                },
                                {
                                    "key": "max_installs",
                                    "value": "",
                                    "description": "最大安装量",
                                    "disabled": true
                                },
                                {
                                    "key": "min_score",
                                    "value": "",
                                    "description": "最低评分，0–5",
                                    "disabled": true
                                },
                                {
                                    "key": "min_ratings",
                                    "value": "",
                                    "description": "最少评分数",
                                    "disabled": true
                                },
                                {
                                    "key": "free",
                                    "value": "",
                                    "description": "true — 仅免费，false — 仅付费",
                                    "disabled": true
                                },
                                {
                                    "key": "ads",
                                    "value": "",
                                    "description": "true — 含广告，false — 无广告",
                                    "disabled": true
                                },
                                {
                                    "key": "iap",
                                    "value": "",
                                    "description": "true — 含应用内购买",
                                    "disabled": true
                                },
                                {
                                    "key": "lang",
                                    "value": "",
                                    "description": "标题语言，ISO 代码：en、de、pt…",
                                    "disabled": true
                                },
                                {
                                    "key": "released_from",
                                    "value": "",
                                    "description": "发布于该日期起，YYYY-MM-DD",
                                    "disabled": true
                                },
                                {
                                    "key": "released_to",
                                    "value": "",
                                    "description": "发布于该日期（含）之前",
                                    "disabled": true
                                },
                                {
                                    "key": "updated_from",
                                    "value": "",
                                    "description": "更新于该日期起",
                                    "disabled": true
                                },
                                {
                                    "key": "updated_to",
                                    "value": "",
                                    "description": "更新于该日期（含）之前",
                                    "disabled": true
                                },
                                {
                                    "key": "status",
                                    "value": "",
                                    "description": "live（在商店中，默认）、removed 或 all",
                                    "disabled": true
                                },
                                {
                                    "key": "sort",
                                    "value": "",
                                    "description": "relevance | installs | real_installs | score | ratings | reviews | released | updated | price",
                                    "disabled": true
                                },
                                {
                                    "key": "order",
                                    "value": "",
                                    "description": "desc | asc",
                                    "disabled": true
                                },
                                {
                                    "key": "page",
                                    "value": "",
                                    "description": "页码，从 1 开始",
                                    "disabled": true
                                },
                                {
                                    "key": "per",
                                    "value": "20",
                                    "description": "每页行数，1–100（默认 20）"
                                }
                            ]
                        },
                        "description": "在整个数据库中搜索和筛选。至少需要一个筛选条件。不带 q 时按安装量排序。 Cost: 2 token(s)."
                    }
                },
                {
                    "name": "/suggest",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "X-API-Key",
                                "value": "{{apiKey}}"
                            }
                        ],
                        "url": {
                            "raw": "{{baseUrl}}/suggest?q=whats",
                            "host": [
                                "{{baseUrl}}"
                            ],
                            "path": [
                                "suggest"
                            ],
                            "query": [
                                {
                                    "key": "q",
                                    "value": "whats",
                                    "description": "标题开头，至少 2 个字符"
                                }
                            ]
                        },
                        "description": "按标题开头联想：10 个最热门的匹配项。免费。 Cost: 0 token(s)."
                    }
                }
            ]
        },
        {
            "name": "开发者",
            "item": [
                {
                    "name": "/developer",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "X-API-Key",
                                "value": "{{apiKey}}"
                            }
                        ],
                        "url": {
                            "raw": "{{baseUrl}}/developer?id=5191370068110375942&per=20",
                            "host": [
                                "{{baseUrl}}"
                            ],
                            "path": [
                                "developer"
                            ],
                            "query": [
                                {
                                    "key": "id",
                                    "value": "5191370068110375942",
                                    "description": "开发者 ID（来自应用详情：developer.id）"
                                },
                                {
                                    "key": "name",
                                    "value": "",
                                    "description": "或开发者的确切名称",
                                    "disabled": true
                                },
                                {
                                    "key": "status",
                                    "value": "",
                                    "description": "all（默认）、live 或 removed",
                                    "disabled": true
                                },
                                {
                                    "key": "sort",
                                    "value": "",
                                    "description": "relevance | installs | real_installs | score | ratings | reviews | released | updated | price",
                                    "disabled": true
                                },
                                {
                                    "key": "page",
                                    "value": "",
                                    "description": "页码，从 1 开始",
                                    "disabled": true
                                },
                                {
                                    "key": "per",
                                    "value": "20",
                                    "description": "每页行数，1–100（默认 20）"
                                }
                            ]
                        },
                        "description": "开发者及其全部应用：数量（在架与已下架）、总安装量、平均评分、首次发布、类别、网站。Business 套餐还包含邮箱、电话、地址和法定名称。 Cost: 2 token(s)."
                    }
                }
            ]
        },
        {
            "name": "商店变动",
            "item": [
                {
                    "name": "/new",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "X-API-Key",
                                "value": "{{apiKey}}"
                            }
                        ],
                        "url": {
                            "raw": "{{baseUrl}}/new?per=20",
                            "host": [
                                "{{baseUrl}}"
                            ],
                            "path": [
                                "new"
                            ],
                            "query": [
                                {
                                    "key": "since",
                                    "value": "",
                                    "description": "起始日期，YYYY-MM-DD（默认 7 天前）",
                                    "disabled": true
                                },
                                {
                                    "key": "until",
                                    "value": "",
                                    "description": "截至该日期（含）",
                                    "disabled": true
                                },
                                {
                                    "key": "category",
                                    "value": "",
                                    "description": "类别 ID，例如 GAME_PUZZLE（见 /v1/categories）",
                                    "disabled": true
                                },
                                {
                                    "key": "min_installs",
                                    "value": "",
                                    "description": "最低安装量（Google Play 档位：1000、10000…）",
                                    "disabled": true
                                },
                                {
                                    "key": "lang",
                                    "value": "",
                                    "description": "标题语言，ISO 代码：en、de、pt…",
                                    "disabled": true
                                },
                                {
                                    "key": "sort",
                                    "value": "",
                                    "description": "relevance | installs | real_installs | score | ratings | reviews | released | updated | price",
                                    "disabled": true
                                },
                                {
                                    "key": "page",
                                    "value": "",
                                    "description": "页码，从 1 开始",
                                    "disabled": true
                                },
                                {
                                    "key": "per",
                                    "value": "20",
                                    "description": "每页行数，1–100（默认 20）"
                                }
                            ]
                        },
                        "description": "按首次发布日期排列的新应用，最新的在前。 Cost: 2 token(s)."
                    }
                },
                {
                    "name": "/removed",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "X-API-Key",
                                "value": "{{apiKey}}"
                            }
                        ],
                        "url": {
                            "raw": "{{baseUrl}}/removed?per=20",
                            "host": [
                                "{{baseUrl}}"
                            ],
                            "path": [
                                "removed"
                            ],
                            "query": [
                                {
                                    "key": "since",
                                    "value": "",
                                    "description": "起始日期，YYYY-MM-DD（默认 7 天前）",
                                    "disabled": true
                                },
                                {
                                    "key": "until",
                                    "value": "",
                                    "description": "截至该日期（含）",
                                    "disabled": true
                                },
                                {
                                    "key": "category",
                                    "value": "",
                                    "description": "类别 ID，例如 GAME_PUZZLE（见 /v1/categories）",
                                    "disabled": true
                                },
                                {
                                    "key": "min_installs",
                                    "value": "",
                                    "description": "最低安装量（Google Play 档位：1000、10000…）",
                                    "disabled": true
                                },
                                {
                                    "key": "sort",
                                    "value": "",
                                    "description": "removed_at | installs | score",
                                    "disabled": true
                                },
                                {
                                    "key": "page",
                                    "value": "",
                                    "description": "页码，从 1 开始",
                                    "disabled": true
                                },
                                {
                                    "key": "per",
                                    "value": "20",
                                    "description": "每页行数，1–100（默认 20）"
                                }
                            ]
                        },
                        "description": "已从 Google Play 下架的应用（在我们检查的 19 个国家中均不存在），按下架日期排序。应用详情保留最后的数据。 Cost: 2 token(s)."
                    }
                }
            ]
        },
        {
            "name": "市场",
            "item": [
                {
                    "name": "/keywords",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "X-API-Key",
                                "value": "{{apiKey}}"
                            }
                        ],
                        "url": {
                            "raw": "{{baseUrl}}/keywords?lang=en&q=vpn&per=20",
                            "host": [
                                "{{baseUrl}}"
                            ],
                            "path": [
                                "keywords"
                            ],
                            "query": [
                                {
                                    "key": "lang",
                                    "value": "en",
                                    "description": "语言，默认 en"
                                },
                                {
                                    "key": "q",
                                    "value": "vpn",
                                    "description": "词语或短语"
                                },
                                {
                                    "key": "phrase",
                                    "value": "",
                                    "description": "true — 仅两个词的短语，false — 仅单个词",
                                    "disabled": true
                                },
                                {
                                    "key": "min_apps",
                                    "value": "",
                                    "description": "最少应用数",
                                    "disabled": true
                                },
                                {
                                    "key": "max_apps",
                                    "value": "",
                                    "description": "最大应用数",
                                    "disabled": true
                                },
                                {
                                    "key": "sort",
                                    "value": "",
                                    "description": "opportunity | apps | installs | strong | devs | max_installs",
                                    "disabled": true
                                },
                                {
                                    "key": "order",
                                    "value": "",
                                    "description": "desc | asc",
                                    "disabled": true
                                },
                                {
                                    "key": "page",
                                    "value": "",
                                    "description": "页码，从 1 开始",
                                    "disabled": true
                                },
                                {
                                    "key": "per",
                                    "value": "20",
                                    "description": "每页行数，1–100（默认 20）"
                                }
                            ]
                        },
                        "description": "按语言分别统计的应用标题词语和短语：使用它们的应用数和开发者数、其中强势应用（10 万+ 安装量）的数量、总安装量、头部应用占比以及机会评分（opportunity）。 Cost: 2 token(s)."
                    }
                },
                {
                    "name": "/categories",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "X-API-Key",
                                "value": "{{apiKey}}"
                            }
                        ],
                        "url": {
                            "raw": "{{baseUrl}}/categories?",
                            "host": [
                                "{{baseUrl}}"
                            ],
                            "path": [
                                "categories"
                            ],
                            "query": [
                                {
                                    "key": "status",
                                    "value": "",
                                    "description": "live（在商店中，默认）、removed 或 all",
                                    "disabled": true
                                }
                            ]
                        },
                        "description": "全部类别，含应用数量和总安装量。免费。 Cost: 0 token(s)."
                    }
                },
                {
                    "name": "/free_domains",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "X-API-Key",
                                "value": "{{apiKey}}"
                            }
                        ],
                        "url": {
                            "raw": "{{baseUrl}}/free_domains?per=20",
                            "host": [
                                "{{baseUrl}}"
                            ],
                            "path": [
                                "free_domains"
                            ],
                            "query": [
                                {
                                    "key": "category",
                                    "value": "",
                                    "description": "类别 ID，例如 GAME_PUZZLE（见 /v1/categories）",
                                    "disabled": true
                                },
                                {
                                    "key": "min_installs",
                                    "value": "",
                                    "description": "最低安装量（Google Play 档位：1000、10000…）",
                                    "disabled": true
                                },
                                {
                                    "key": "status",
                                    "value": "",
                                    "description": "live（在商店中，默认）、removed 或 all",
                                    "disabled": true
                                },
                                {
                                    "key": "tld",
                                    "value": "",
                                    "description": "域名后缀，例如 com",
                                    "disabled": true
                                },
                                {
                                    "key": "sort",
                                    "value": "",
                                    "description": "relevance | installs | real_installs | score | ratings | reviews | released | updated | price",
                                    "disabled": true
                                },
                                {
                                    "key": "page",
                                    "value": "",
                                    "description": "页码，从 1 开始",
                                    "disabled": true
                                },
                                {
                                    "key": "per",
                                    "value": "20",
                                    "description": "每页行数，1–100（默认 20）"
                                }
                            ]
                        },
                        "description": "开发者网站域名可注册的应用，附带应用热度。首次购买令牌后开放。 Cost: 3 token(s)."
                    }
                },
                {
                    "name": "/charts",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "X-API-Key",
                                "value": "{{apiKey}}"
                            }
                        ],
                        "url": {
                            "raw": "{{baseUrl}}/charts?country=US&category=GAME_PUZZLE&per=20",
                            "host": [
                                "{{baseUrl}}"
                            ],
                            "path": [
                                "charts"
                            ],
                            "query": [
                                {
                                    "key": "country",
                                    "value": "US",
                                    "description": "国家，ISO 代码：US、DE、BR…"
                                },
                                {
                                    "key": "category",
                                    "value": "GAME_PUZZLE",
                                    "description": "类别，例如 GAME_PUZZLE"
                                },
                                {
                                    "key": "collection",
                                    "value": "",
                                    "description": "free | paid | grossing",
                                    "disabled": true
                                },
                                {
                                    "key": "page",
                                    "value": "",
                                    "description": "页码，从 1 开始",
                                    "disabled": true
                                },
                                {
                                    "key": "per",
                                    "value": "20",
                                    "description": "每页行数，1–100（默认 20）"
                                }
                            ]
                        },
                        "description": "Google Play 某一国家和类别的热门榜单：最多 200 个名次，相对上一次快照的名次变化（change：上升的名次数，\"new\" 表示新上榜）、图标和安装量。 Cost: 2 token(s)."
                    }
                },
                {
                    "name": "/rankings",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "X-API-Key",
                                "value": "{{apiKey}}"
                            }
                        ],
                        "url": {
                            "raw": "{{baseUrl}}/rankings?id=com.whatsapp",
                            "host": [
                                "{{baseUrl}}"
                            ],
                            "path": [
                                "rankings"
                            ],
                            "query": [
                                {
                                    "key": "id",
                                    "value": "com.whatsapp",
                                    "description": "应用包名"
                                },
                                {
                                    "key": "country",
                                    "value": "",
                                    "description": "仅限一个国家",
                                    "disabled": true
                                },
                                {
                                    "key": "collection",
                                    "value": "",
                                    "description": "free | paid | grossing",
                                    "disabled": true
                                }
                            ]
                        },
                        "description": "应用在最新快照中所在的全部榜单：国家、类别、榜单类型、名次；以及榜单数量、国家数量和最佳名次。 Cost: 1 token(s)."
                    }
                },
                {
                    "name": "/availability",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "X-API-Key",
                                "value": "{{apiKey}}"
                            }
                        ],
                        "url": {
                            "raw": "{{baseUrl}}/availability?id=com.whatsapp",
                            "host": [
                                "{{baseUrl}}"
                            ],
                            "path": [
                                "availability"
                            ],
                            "query": [
                                {
                                    "key": "id",
                                    "value": "com.whatsapp",
                                    "description": "应用包名"
                                }
                            ]
                        },
                        "description": "应用在 Google Play 中可用的国家（依据商店 sitemap 中的 hreflang）。如果超过 190 个国家，则返回 worldwide = true 而不附列表。 Cost: 1 token(s)."
                    }
                },
                {
                    "name": "/markets",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "X-API-Key",
                                "value": "{{apiKey}}"
                            }
                        ],
                        "url": {
                            "raw": "{{baseUrl}}/markets?per=20",
                            "host": [
                                "{{baseUrl}}"
                            ],
                            "path": [
                                "markets"
                            ],
                            "query": [
                                {
                                    "key": "country",
                                    "value": "",
                                    "description": "国家，ISO 代码",
                                    "disabled": true
                                },
                                {
                                    "key": "category",
                                    "value": "",
                                    "description": "类别 ID，例如 GAME_PUZZLE（见 /v1/categories）",
                                    "disabled": true
                                },
                                {
                                    "key": "sort",
                                    "value": "",
                                    "description": "entry100 | entry200 | new_share | local_share | local_apps | local_installs | local_new",
                                    "disabled": true
                                },
                                {
                                    "key": "order",
                                    "value": "",
                                    "description": "desc | asc",
                                    "disabled": true
                                },
                                {
                                    "key": "page",
                                    "value": "",
                                    "description": "页码，从 1 开始",
                                    "disabled": true
                                },
                                {
                                    "key": "per",
                                    "value": "20",
                                    "description": "每页行数，1–100（默认 20）"
                                }
                            ]
                        },
                        "description": "基于免费榜单的市场竞争度：进入前 100 名和前 200 名的门槛（该名次应用的安装量）、榜单中新应用（近 12 个月）和本地应用（≤3 个国家）的占比，以及本地市场规模。不带参数：所有国家；country：单个国家的各类别；category：所有国家中的单个类别。 Cost: 1 token(s)."
                    }
                },
                {
                    "name": "/stats",
                    "request": {
                        "method": "GET",
                        "header": [
                            {
                                "key": "X-API-Key",
                                "value": "{{apiKey}}"
                            }
                        ],
                        "url": {
                            "raw": "{{baseUrl}}/stats",
                            "host": [
                                "{{baseUrl}}"
                            ],
                            "path": [
                                "stats"
                            ],
                            "query": []
                        },
                        "description": "数据库规模：商店中的应用和已下架应用、开发者、7 天内新上架和已下架的数量、最近更新时间。免费。 Cost: 0 token(s)."
                    }
                }
            ]
        }
    ]
}