Skip to content

按任务 ID 获取 Google 应用列表结果(高级版)

本接口使用 GET 方法,通过任务 ID 获取 Google Play 应用列表结果。

接口路径:

text
GET https://api.seermartech.cn/v3/app_data/google/app_list/task_get/advanced/$id

该接口返回 Google Play 榜单中的应用列表应用 ID、评分、价格、标题、开发信息等。结果取决于创建任务时提交的应用集合、地区和语言参数。

本平台会尽可能准确地还原指定参数下的搜索结果。你可以访问响应中的 check_url,并建议使用无痕模式进行核验。系统不会考虑用户偏好、搜索历史等个性化因素。

计费说明

  • 创建任务时产生费用。
  • 任务完成后,可在 30 天获取结果
  • 本接口用于读取已创建任务的结果,通常不会重复扣费。
  • 实扣费以响应头 X-SeerMarTech-Charge-CNY 为准。

请求参数

路径参数:

参数名类型说明
idstring任务唯一标识,采用 UUID 格式。任务创建后,可在 30 天使用该 ID 随时获取结果。

响应结构

接口返回 JSON 数据 tasks 数组。

顶层字段

字段名类型说明
versionstringAPI 当前版本。
status_codeinteger通用状态码。完整错误码请参考错误码文档。
status_messagestring通用状态说明。
timestring接口执行耗时,单位为秒。
costfloat平台原始 USD 成本兼容字段;人民币实扣以 X-SeerMarTech-Charge-CNY 为准。
tasks_countintegertasks 数组中的任务数量。
tasks_errorintegertasks 数组中返回错误的任务数量。
tasksarray任务结果数组。

tasks 数组字段

字段名类型说明
idstring任务唯一标识,UUID 格式。
status_codeinteger任务状态码,通常为 1000060000
status_messagestring任务状态说明。
timestring任务执行耗时,单位为秒。
costfloat平台原始 USD 成本兼容字段;人民币实扣以 X-SeerMarTech-Charge-CNY 为准。
result_countintegerresult 数组中的结果数量。
patharray请求路径信息。
dataobject创建任务时提交的参数。
resultarrayGoogle Play 应用列表结果。

data 字段

data 中创建任务时提交的原始参数,例如:

字段名类型说明
se_typestring搜索类型,例如 app_list
sestring搜索引擎,例如 google
apistringAPI 类型,例如 app_data
functionstringAPI 功能,例如 app_list
app_collectionstring应用集合或榜单类型。
location_codeinteger地区代码。
language_codestring语言代码。
depthinteger要获取的应用数量深度。
app_categorystring应用分类。
devicestring设备类型。
osstring操作系统。

result 字段

字段名类型说明
keywordstring创建任务时提交的应用集合,对应 app_collection
se_domainstring创建任务时提交的搜索引擎域名。
location_codeinteger地区代码。
language_codestring语言代码。
check_urlstring搜索结果页面的直接 URL,可用于核验结果准确性。
datetimestring获取结果的日期和时间,采用 UTC 格式:yyyy-mm-dd hh-mm-ss +00:00
se_results_countinteger搜索结果总数量。
items_countintegeritems 数组中的应用数量。
itemsarray返回的应用列表。

datetime 示例:

text
2019-11-15 12:57:46 +00:00

items 数组字段

字段名类型说明
typestring结果类型,可能为 google_play_search_organic
rank_groupinteger在相同 type 结果组中的排名。不同类型结果之间不计算该排名。
rank_absoluteinteger应用在结果中的绝对排名。
positionstring应用在搜索结果页中的对齐位置,可能为 left
app_idstring应用 ID。
titlestring应用标题。
urlstringGoogle Play 应用页 URL。
iconstring应用图标 URL。
reviews_countinteger应用评论总数。
ratingobject应用平均评分。
is_freeboolean是否为应用。
priceobject应用价格信息。
developerstring开发名称。
developer_urlstringGoogle Play 开发页面 URL。

rating 字段

字段名类型说明
rating_typestring评分类型,可能为 Max5
valuefloat评分值。
votes_countinteger评分反馈数量。此字段可能返回 null
rating_maxinteger评分最大值。对于 Max5,最大值为 5

price 字段

字段名类型说明
currentfloat当前价格。
regularfloat常规价格。
max_valuefloat最高价格。
currencystring价格货币的 ISO 代码。
is_price_rangeboolean价格是否以区间形式提供。
displayed_pricestring结果页面展示的原始价格文本。

请求示例

cURL

bash
id="04011058-0696-0199-0000-2196151a15cb"

curl --location --request GET \
  "https://api.seermartech.cn/v3/app_data/google/app_list/task_get/advanced/${id}" \
  --header "Authorization: Bearer smt_live_YOUR_KEY" \
  --header "Content-Type: application/json"

Python

python
import requests

task_id = "06141103-2692-0309-1000-980b778b6d25"

url = (
    "https://api.seermartech.cn/v3/app_data/google/app_list/"
    f"task_get/advanced/{task_id}"
)

headers = {
    "Authorization": "Bearer smt_live_YOUR_KEY",
    "Content-Type": "application/json",
}

response = requests.get(url, headers=headers)
data = response.json()

if data.get("status_code") == 20000:
    print(data)
    # 在此处处理应用列表结果
else:
    print(
        "请求失败,状态码:{},说明:{}".format(
            data.get("status_code"),
            data.get("status_message"),
        )
    )

TypeScript

typescript
import axios from "axios";

const taskId = "02231934-2604-0066-2000-570459f04879";

axios
  .get(
    `https://api.seermartech.cn/v3/app_data/google/app_list/task_get/advanced/${taskId}`,
    {
      headers: {
        Authorization: "Bearer smt_live_YOUR_KEY",
        "Content-Type": "application/json",
      },
    }
  )
  .then((response) => {
    const result = response.data;
    console.log(result);
    // 在此处处理应用列表结果
  })
  .catch((error) => {
    console.error("请求失败:", error.response?.data || error.message);
  });

响应示例

json
{
  "version": "0.1.20220428",
  "status_code": 20000,
  "status_message": "Ok.",
  "time": "0.0431 sec.",
  "cost": 0,
  "tasks_count": 1,
  "tasks_error": 0,
  "tasks": [
    {
      "id": "04011058-0696-0199-0000-2196151a15cb",
      "status_code": 20000,
      "status_message": "Ok.",
      "time": "0.0312 sec.",
      "cost": 0,
      "result_count": 1,
      "path": [
        "v3",
        "app_data",
        "google",
        "app_list",
        "task_get",
        "advanced"
      ],
      "data": {
        "se_type": "app_list",
        "se": "google",
        "api": "app_data",
        "function": "app_list",
        "app_collection": "topselling_free",
        "location_code": 2840,
        "language_code": "en",
        "depth": 100,
        "app_category": "shopping",
        "device": "desktop",
        "os": "windows"
      },
      "result": [
        {
          "keyword": "topselling_free",
          "se_domain": "play.google.com",
          "location_code": 2840,
          "language_code": "en",
          "check_url": "https://play.google.com/store/apps",
          "datetime": "2019-11-15 12:57:46 +00:00",
          "se_results_count": 100,
          "items_count": 1,
          "items": [
            {
              "type": "google_play_search_organic",
              "rank_group": 1,
              "rank_absolute": 1,
              "position": "left",
              "app_id": "com.example.app",
              "title": "示例应用",
              "url": "https://play.google.com/store/apps/details?id=com.example.app",
              "icon": "https://example.com/icon.png",
              "reviews_count": 12500,
              "rating": {
                "rating_type": "Max5",
                "value": 4.6,
                "votes_count": null,
                "rating_max": 5
              },
              "is_free": true,
              "price": {
                "current": 0,
                "regular": 0,
                "max_value": 0,
                "currency": "USD",
                "is_price_range": false,
                "displayed_price": "Free"
              },
              "developer": "示例开发",
              "developer_url": "https://play.google.com/store/apps/developer"
            }
          ]
        }
      ]
    }
  ]
}

说明

  • id 只能用于获取对应任务的结果,不能替代任务 ID。
  • 任务结果最多保留 30 天,期限后可能无法继续获取。
  • 如需获取更多应用,可在创建任务时提高 depth 参数。
  • 建议根据顶层 status_code 和任务级 status_code 分别处理异常。
  • 当任务级 resultnull 或状态码表示失败时,应结合 status_message 记录错误并执行重试或告警。

实用场景

  • 监控 Google Play 榜单排名:定期获取指定地区和分类下的应用排名,评估自有产品及竞品的市场表现。
  • 分析竞品应用信息:采集竞品的评分、评论数、价格和开发信息,为竞品研究和产品定位提供依据。
  • 构建应用市场数据看板:按国家、语言、应用分类和榜单类型汇总应用数据,支持市场趋势可视化。
  • 筛选高潜力应用:结合排名、评分和评论数量筛选目标应用,广告投放、渠道合作和市场拓展。
  • 核验榜单采集结果:通过 check_url 对搜索页面,验证采集结果的性和准确性。

统一入口:官网 · LLM API · 控制台