主题
按任务 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为准。
请求参数
路径参数:
| 参数名 | 类型 | 说明 |
|---|---|---|
id | string | 任务唯一标识,采用 UUID 格式。任务创建后,可在 30 天使用该 ID 随时获取结果。 |
响应结构
接口返回 JSON 数据 tasks 数组。
顶层字段
| 字段名 | 类型 | 说明 |
|---|---|---|
version | string | API 当前版本。 |
status_code | integer | 通用状态码。完整错误码请参考错误码文档。 |
status_message | string | 通用状态说明。 |
time | string | 接口执行耗时,单位为秒。 |
cost | float | 平台原始 USD 成本兼容字段;人民币实扣以 X-SeerMarTech-Charge-CNY 为准。 |
tasks_count | integer | tasks 数组中的任务数量。 |
tasks_error | integer | tasks 数组中返回错误的任务数量。 |
tasks | array | 任务结果数组。 |
tasks 数组字段
| 字段名 | 类型 | 说明 |
|---|---|---|
id | string | 任务唯一标识,UUID 格式。 |
status_code | integer | 任务状态码,通常为 10000 至 60000。 |
status_message | string | 任务状态说明。 |
time | string | 任务执行耗时,单位为秒。 |
cost | float | 平台原始 USD 成本兼容字段;人民币实扣以 X-SeerMarTech-Charge-CNY 为准。 |
result_count | integer | result 数组中的结果数量。 |
path | array | 请求路径信息。 |
data | object | 创建任务时提交的参数。 |
result | array | Google Play 应用列表结果。 |
data 字段
data 中创建任务时提交的原始参数,例如:
| 字段名 | 类型 | 说明 |
|---|---|---|
se_type | string | 搜索类型,例如 app_list。 |
se | string | 搜索引擎,例如 google。 |
api | string | API 类型,例如 app_data。 |
function | string | API 功能,例如 app_list。 |
app_collection | string | 应用集合或榜单类型。 |
location_code | integer | 地区代码。 |
language_code | string | 语言代码。 |
depth | integer | 要获取的应用数量深度。 |
app_category | string | 应用分类。 |
device | string | 设备类型。 |
os | string | 操作系统。 |
result 字段
| 字段名 | 类型 | 说明 |
|---|---|---|
keyword | string | 创建任务时提交的应用集合,对应 app_collection。 |
se_domain | string | 创建任务时提交的搜索引擎域名。 |
location_code | integer | 地区代码。 |
language_code | string | 语言代码。 |
check_url | string | 搜索结果页面的直接 URL,可用于核验结果准确性。 |
datetime | string | 获取结果的日期和时间,采用 UTC 格式:yyyy-mm-dd hh-mm-ss +00:00。 |
se_results_count | integer | 搜索结果总数量。 |
items_count | integer | items 数组中的应用数量。 |
items | array | 返回的应用列表。 |
datetime 示例:
text
2019-11-15 12:57:46 +00:00items 数组字段
| 字段名 | 类型 | 说明 |
|---|---|---|
type | string | 结果类型,可能为 google_play_search_organic。 |
rank_group | integer | 在相同 type 结果组中的排名。不同类型结果之间不计算该排名。 |
rank_absolute | integer | 应用在结果中的绝对排名。 |
position | string | 应用在搜索结果页中的对齐位置,可能为 left。 |
app_id | string | 应用 ID。 |
title | string | 应用标题。 |
url | string | Google Play 应用页 URL。 |
icon | string | 应用图标 URL。 |
reviews_count | integer | 应用评论总数。 |
rating | object | 应用平均评分。 |
is_free | boolean | 是否为应用。 |
price | object | 应用价格信息。 |
developer | string | 开发名称。 |
developer_url | string | Google Play 开发页面 URL。 |
rating 字段
| 字段名 | 类型 | 说明 |
|---|---|---|
rating_type | string | 评分类型,可能为 Max5。 |
value | float | 评分值。 |
votes_count | integer | 评分反馈数量。此字段可能返回 null。 |
rating_max | integer | 评分最大值。对于 Max5,最大值为 5。 |
price 字段
| 字段名 | 类型 | 说明 |
|---|---|---|
current | float | 当前价格。 |
regular | float | 常规价格。 |
max_value | float | 最高价格。 |
currency | string | 价格货币的 ISO 代码。 |
is_price_range | boolean | 价格是否以区间形式提供。 |
displayed_price | string | 结果页面展示的原始价格文本。 |
请求示例
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分别处理异常。 - 当任务级
result为null或状态码表示失败时,应结合status_message记录错误并执行重试或告警。
实用场景
- 监控 Google Play 榜单排名:定期获取指定地区和分类下的应用排名,评估自有产品及竞品的市场表现。
- 分析竞品应用信息:采集竞品的评分、评论数、价格和开发信息,为竞品研究和产品定位提供依据。
- 构建应用市场数据看板:按国家、语言、应用分类和榜单类型汇总应用数据,支持市场趋势可视化。
- 筛选高潜力应用:结合排名、评分和评论数量筛选目标应用,广告投放、渠道合作和市场拓展。
- 核验榜单采集结果:通过
check_url对搜索页面,验证采集结果的性和准确性。