主题
获取 Apple 应用信息结果(按任务 ID)
本接口使用 GET 方法,通过任务 ID 获取 Apple App Store 应用信息结果。
GET https://api.seermartech.cn/v3/app_data/apple/app_info/task_get/advanced/$id
接口返回应用 ID、图标、描述、评论数、评分、图片、开发信息、价格、版本及相似应用等数据。结果与创建任务时提交的 app_id、地区和语言参数对应。
本平台会尽可能准确地模拟指定参数下的 Apple App Store 搜索结果。响应中的 check_url 可用于直接访问对应结果页面,建议在无痕模式下打开,以核验返回数据。系统不会考虑用户偏好、搜索历史等个性化因素。
计费说明
- 在创建任务时计费。
- 创建任务后的 30 天,可获取该任务的结果。
- 实扣费以响应头
X-SeerMarTech-Charge-CNY为准。 - 获取结果接口本身不会重复收取任务费用。
请求参数
路径参数:
| 参数 | 类型 | 说明 |
|---|---|---|
id | string | 任务唯一标识。采用 UUID 格式,可在任务创建后的 30 天用于获取任务结果。 |
请求示例
cURL
bash
id="04011058-0696-0199-0000-2196151a15cb"
curl --location --request GET \
"https://api.seermartech.cn/v3/app_data/apple/app_info/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/apple/app_info/"
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/apple/app_info/task_get/advanced/${taskId}`,
{
headers: {
Authorization: "Bearer smt_live_YOUR_KEY",
"Content-Type": "application/json",
},
}
)
.then((response) => {
console.log(response.data);
})
.catch((error) => {
console.error(error.response?.data || error.message);
});沙盒测试
可使用以下沙盒地址查看该接口支持的字段。沙盒返回的数据为虚拟数据,不会产生费用:
https://api.seermartech.cn/v3/app_data/apple/app_info/task_get/advanced/00000000-0000-0000-0000-000000000000
响应结构
接口返回 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 | 请求 URL 路径。 |
data | object | 创建任务时提交的参数。 |
result | array | 任务结果数组。 |
result 字段
| 字段 | 类型 | 说明 |
|---|---|---|
app_id | string | 创建任务时提交的应用 ID。 |
se_domain | string | 创建任务时提交的 Apple App Store 域名。 |
location_code | integer | 创建任务时提交的地区代码。 |
language_code | string | 创建任务时提交的语言代码。 |
check_url | string | 对应的 App Store 结果页面 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 | 素类型。目前可能为 app_store_info_organic。 |
rank_group | integer | 在相同 type素分组中的位置。不同类型之间不计该排名。 |
rank_absolute | integer | 应用在结果中的绝对排名。 |
position | string | 素在结果页中的对齐位置,目前可能为 left。 |
app_id | string | 应用 ID。 |
title | string | 应用标题。 |
subtitle | string | 应用副标题。 |
url | string | App Store 应用页 URL。 |
icon | string | 应用图标 URL。 |
description | string | 应用描述。 |
reviews_count | integer | 应用评论总数。 |
rating | object | 应用平均评分。 |
price | object | 应用价格信息。 |
is_free | boolean | 是否为应用。 |
main_category | string | 应用主分类或主类型。 |
categories | array | 应用分类或类型。该字段目前只返回一个分类。 |
languages | array | 应用支持的语言。目前该字段只返回一种支持的语言。 |
advisories | array | 年龄评级及基于年龄的提示。 |
developer | string | 应用开发名称。 |
developer_id | string | 应用开发 ID。 |
developer_url | string | App Store 开发页面 URL。 |
version | string | 应用当前版本。 |
minimum_os_version | string | 安应用所需的最低操作系统版本。 |
size | string | 应用大小。 |
released_date | string | 应用首次发布的日期和时间,采用 UTC 格式。该字段已弃用,始终返回 null。 |
last_update_date | string | 应用最后更新的日期和时间,采用 UTC 格式。 |
update_notes | string | 最新版本更新说明。 |
images | array | 应用图片 URL 数组。 |
similar_apps | array | 与目标应用相似的应用列表。 |
more_apps_by_developer | array | 同一开发发布的应用列表。 |
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 | 结果页面中展示的原始价格文本。 |
similar_apps 与 more_apps_by_developer 字段
这两个数组中的以下字段:
| 字段 | 类型 | 说明 |
|---|---|---|
app_id | string | 应用 ID。 |
title | string | 应用标题。 |
url | string | App Store 应用页 URL。 |
响应示例
json
{
"version": "0.1.20260713",
"status_code": 20000,
"status_message": "Ok.",
"time": "0.0449 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",
"apple",
"app_info",
"task_get",
"advanced"
],
"data": {
"se_type": "app_info",
"api": "app_data",
"function": "app_info",
"se": "apple",
"app_id": "835599320",
"location_code": 2840,
"language_code": "en",
"device": "desktop",
"os": "windows"
},
"result": [
{
"app_id": "835599320",
"se_domain": "apps.apple.com",
"location_code": 2840,
"language_code": "en",
"check_url": "https://apps.apple.com/us/app/example/id835599320",
"datetime": "2026-07-13 23:12:09 +00:00",
"se_results_count": 1,
"items_count": 1,
"items": [
{
"type": "app_store_info_organic",
"rank_group": 1,
"rank_absolute": 1,
"position": "left",
"app_id": "835599320",
"title": "示例应用",
"subtitle": "视频与浏览应用",
"url": "https://apps.apple.com/us/app/example/id835599320",
"icon": "https://example.com/icon.png",
"description": "应用描述文本",
"reviews_count": 125000,
"rating": {
"rating_type": "Max5",
"value": 4.8,
"votes_count": null,
"rating_max": 5
},
"price": {
"current": 0,
"regular": 0,
"max_value": 0,
"currency": "USD",
"is_price_range": false,
"displayed_price": "Free"
},
"is_free": true,
"main_category": "Entertainment",
"categories": [
"Entertainment"
],
"languages": [
"EN"
],
"advisories": [],
"developer": "示例开发",
"developer_id": "1322881000",
"developer_url": "https://apps.apple.com/us/developer/example/id1322881000",
"version": "Version 46.0.0",
"minimum_os_version": "Requires iOS 14.0 or later.",
"size": "936 MB",
"released_date": null,
"last_update_date": "2026-07-13 23:12:09 +00:00",
"update_notes": "优化浏览体验。",
"images": [
"https://example.com/image-1.png"
],
"similar_apps": [
{
"app_id": "123456789",
"title": "相似应用",
"url": "https://apps.apple.com/us/app/similar/id123456789"
}
],
"more_apps_by_developer": [
{
"app_id": "987654321",
"title": "开发的应用",
"url": "https://apps.apple.com/us/app/another/id987654321"
}
]
}
]
}
]
}
]
}状态码与异常处理
请根据顶层 status_code 及任务级别的 tasks[].status_code 判断请求是否成功:
20000:请求成功。tasks_error大于0:至少有一个任务返回错误。- 当任务状态码大于或等于
40000,或result为空时,应失败请求处理。 status_message用于提供的状态或错误信息。
建议客户端对网络异常、鉴权失败、任务不存在、任务已过期和服务端错误进行统一处理,并记录任务 ID 以便排查。
实用场景
- 查询应用数据:批量获取应用标题、描述、分类、语言和版本信息,支持应用库建设与竞品资料整理。
- 监控应用评分与口碑:定期读取评分、评论数量和评分变化,为产品运营和竞品预警提供依据。
- 分析应用商店竞品:提取价格、图标、图片、更新时间及更新说明,竞品定位和版本策略分析。
- 发现相似应用:获取 App Store 推荐的相似应用,扩展竞品单并支持市场覆盖分析。
- 挖掘开发产品矩阵:读取同一开发发布的应用,分析开发的产品布局与市场集中度。