Skip to content

获取 Apple App 榜单任务结果(高级)

本接口用于根据任务 id 获取 Apple App Store 榜单抓取结果。返回榜单中的应用列表,以及应用的 app_id、标题、评分、价格、评论数、图标地址等信息。

结果与创建任务时指定的 app_collection、地区、语言等参数一致。

接口说明

请求方式: GET请求地址:

https://api.seermartech.cn/v3/app_data/apple/app_list/task_get/advanced/{id}

计费说明

该接口本身不重复计费,只有在创建任务时扣费。任务创建后,可在 30 天多次获取结果。

扣费以响应头 X-SeerMarTech-Charge-CNY 为准。

路径参数

字段类型说明
idstring任务唯一标识,UUID 格式。可在任务创建后的 30 天 用于随时获取结果。

返回结果说明

接口返回 JSON 数据,顶层 tasks 数组,每个任务对象中对应结果。

顶层字段

字段类型说明
versionstring当前 API 版本
status_codeinteger局状态码
status_messagestring局状态信息
timestring执行耗时,单位秒
costfloat本次请求总成本,单位 USD
tasks_countintegertasks 数组中的任务数量
tasks_errorintegertasks 数组中返回错误的任务数量
tasksarray任务结果数组

建议在接时对状态码与异常进行完整处理。

tasks[] 字段

字段类型说明
idstring任务 ID,UUID 格式
status_codeinteger任务状态码,范围通常为 10000-60000
status_messagestring任务状态信息
timestring任务执行耗时,单位秒
costfloat该任务成本,单位 USD
result_countintegerresult 数组数量
patharray请求路径
dataobject创建任务时提交的参数原样回显
resultarray结果数组

result[] 字段

字段类型说明
keywordstring创建任务时传的应用榜单集合(即 app_collection
se_domainstring创建任务时指定的搜索引擎域名
location_codeinteger创建任务时指定的地区编码
language_codestring创建任务时指定的语言编码
check_urlstring结果直达链接;该接口中通常为 null
datetimestring结果抓取时间,UTC 格式:yyyy-mm-dd hh-mm-ss +00:00
se_results_countinteger结果总数
items_countinteger当前返回的应用数量
itemsarray应用列表

如需更多结果,可在创建任务时通过 depth 参数提高返回深度。

items[] 字段

字段类型说明
typestring结果类型,可能值:app_store_search_organic
rank_groupinteger相同 type 分组的排名
rank_absoluteinteger榜单中的绝对排名
positionstring应用在结果中的位置,当前可能值:left
app_idstring应用 ID
titlestring应用标题
urlstringApp Store 应用页地址
iconstring应用图标地址
reviews_countinteger应用评论总数
ratingobject平均评分信息
is_freeboolean是否
priceobject价格信息

rating 对象字段

字段类型说明
rating_typestring评分类型,当前可能值:Max5
valuefloat平均评分值
votes_countinteger评分反馈数量;该接口中通常为 null
rating_maxinteger评分上限;Max5 对应上限为 5

price 对象字段

字段类型说明
currentfloat当前价格
regularfloat常规价格
max_valuefloat最高价格
currencystring价格对应币种,ISO 货币代码
is_price_rangeboolean是否为价格区间
displayed_pricestring结果中展示的原始价格字符串

沙箱调试

可通过沙箱接口查看该端点可返回的完整字段结构,字段值为模拟数据,不会产生费用。

沙箱地址:

https://sandbox.本平台.com/v3/app_data/apple/app_list/task_get/advanced/00000000-0000-0000-0000-000000000000

请求示例

cURL

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

curl --location --request GET "https://api.seermartech.cn/v3/app_data/apple/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 = f"https://api.seermartech.cn/v3/app_data/apple/app_list/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

print(data)

TypeScript

typescript
import axios from "axios";

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

axios({
 method: "get",
 url: `https://api.seermartech.cn/v3/app_data/apple/app_list/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);
});

响应示例

json
{
 "version": "0.1.20220422",
 "status_code": 20000,
 "status_message": "Ok.",
 "time": "0.0793 sec.",
 "cost": 0,
 "tasks_count": 1,
 "tasks_error": 0,
 "tasks": [
 {
 "data": {
 "se_type": "app_list",
 "se": "apple",
 "api": "app_data",
 "function": "app_list",
 "app_collection": "top_free_ios",
 "location_code": 2840,
 "language_code": "en",
 "depth": 200,
 "app_category": "games",
 "device": "desktop",
 "os": "windows"
 },
 "result": [
 {
 }
 ]
 }
 ]
}

状态码与错误处理

  • status_code = 20000 表示请求成功。
  • 任务级别的 status_code 用于判断该任务是否执行成功。
  • tasks_error 大于 0,说明部分任务返回异常。
  • 建议同时检查:
  • 顶层 status_code
  • tasks[].status_code
  • tasks[].result 是否为空

错误码完整定义可参考错误码附录文档。

使用建议

  1. 通过创建任务接口创建 Apple App 榜单抓取任务。
  2. 再通过本接口按 id 获取指定任务结果。
  3. 如果需要批量拉取已完成任务,可调用 /v3/app_data/apple/app_list/tasks_ready 获取可读取的任务列表。
  4. 若希望返回更多应用条目,请在创建任务时提高 depth 参数。

实用场景

  • 监控榜单变化:定期拉取 top_free_iostop_paid_ios 等榜单,追踪应用排名波动,市场竞争分析。
  • 分析竞品表现:提取竞品的评分、评论数、价格和榜单位置,快速评估当前市场热度与用户口碑。
  • 筛选高潜应用:结合分类、地区、语言维度抓取榜单应用,识别增长中的细分赛道和高热度产品。
  • 评估定价策略:对比应用、付费应用及价格区间分布,判断目标市场的主流变现模式。
  • 构建应用报库:将应用 ID、标题、评分、价格、图标等结构化库,为 ASO、投放和行业研究提供基础数据。

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