with one click
sensor-tower
查询 Sensor Tower 移动应用市场数据(下载量、收入、排行榜、活跃用户)
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
查询 Sensor Tower 移动应用市场数据(下载量、收入、排行榜、活跃用户)
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
Discord 社区数据查询:频道消息、成员列表、线程
Figma 设计文件查询:读取文件结构、导出界面截图、查看组件和样式
GitLab 代码仓库数据查询:提交记录、Merge Request、项目成员、用户活跃度
生成交互式 HTML 可视化(图表、流程图、UI原型、数据仪表盘、演示页等)
将自己的 Skill 分享给同事或部门,管理已分享的 Skill
浏览、搜索、安装、卸载所有 Skill(系统/共享/个人)
| name | Sensor Tower数据 |
| description | 查询 Sensor Tower 移动应用市场数据(下载量、收入、排行榜、活跃用户) |
| triggers | ["Sensor Tower","sensortower","下载量","收入估算","App 排行榜","应用排行","DAU","MAU","活跃用户","应用市场数据","移动应用数据","App Store 排名","Google Play 排名","设置 Sensor Tower","设置ST凭证"] |
| tool | tools/st_query.py |
| default | false |
| credentials | {"section":"st","fields":[{"name":"token","label":"API Token","help":"从 Sensor Tower 后台「API 令牌」页面生成"}]} |
通过 Sensor Tower API 查询移动应用市场情报数据。所有 API 调用经 Bot 侧代理(含缓存 + 频率限制),共享缓存可跨用户命中。
本文件位于
skills/st-query/,下文中的相对路径均基于项目根目录。
pip install requests
使用前需先设置 Sensor Tower API Token(从 ST 后台「API 令牌」页面生成):
python3 tools/st_query.py setup --token "YOUR_API_TOKEN"
API 配额为公司账号共用(3,000 次/月),Bot 侧实施频率限制(全局 100 次/天,单人 30 次/天),仅 cache-miss 的实际 API 调用计数。
tools/st_query.py(从 TyClaw 项目根目录运行)
# 按名称搜索 App
python3 tools/st_query.py search --term "Candy Crush"
# 搜索发行商
python3 tools/st_query.py search --term "Lilith" --entity-type publisher
# 指定平台
python3 tools/st_query.py search --term "原神" --os ios --limit 5
# 查询单个 App 的全球数据(需先通过 search 获取 app_id)
python3 tools/st_query.py sales \
--app-ids "553834731" \
--os ios \
--countries "US,JP,CN" \
--start-date 2026-03-01 --end-date 2026-03-31 \
--date-granularity daily
# 多个 App 对比
python3 tools/st_query.py sales \
--app-ids "553834731,1234567890" \
--os ios \
--countries "WW" \
--start-date 2026-01-01 --end-date 2026-03-31 \
--date-granularity monthly
收入数据以美分返回,需除以 100 得到美元金额。
# iOS 游戏收入 Top 20(本月,全球)
python3 tools/st_query.py top-charts \
--os ios --measure revenue --category 6014 --regions WW
# Android 下载量 Top 50(美国,按周)
python3 tools/st_query.py top-charts \
--os android --measure units --category 6014 \
--regions US --time-range week --limit 50
# 指定日期
python3 tools/st_query.py top-charts \
--os unified --measure revenue --category 6014 \
--regions US --date 2026-03-01
python3 tools/st_query.py app-info --app-ids "553834731" --os ios
python3 tools/st_query.py usage \
--app-ids "553834731" \
--os ios \
--countries "US" \
--start-date 2026-01-01 --end-date 2026-03-31 \
--date-granularity monthly
通用参数:
| 参数 | 说明 | 默认值 |
|---|---|---|
--os | 平台:ios / android / unified | unified |
--countries | 国家代码,逗号分隔(WW=全球) | WW |
--start-date | 开始日期 (YYYY-MM-DD) | - |
--end-date | 结束日期 (YYYY-MM-DD) | - |
--date-granularity | 粒度:daily/weekly/monthly/quarterly | daily |
--limit | 返回条数 | 10-20 |
search 参数:
| 参数 | 说明 | 默认值 |
|---|---|---|
--term | 搜索关键词 | (必填) |
--entity-type | app / publisher | app |
top-charts 参数:
| 参数 | 说明 | 默认值 |
|---|---|---|
--measure | revenue / units / DAU / WAU / MAU | revenue |
--category | 分类 ID | (必填) |
--regions | 地区代码 | WW |
--time-range | day / week / month / quarter | month |
--date | 起始日期 | 当月1号 |
| ID | 名称 |
|---|---|
| 6014 | Games |
| 6015 | Finance |
| 6016 | Entertainment |
| 6017 | Education |
| 6018 | Books |
| 6000 | All Categories (iOS) |
| 36 | Games (Android) |
_cached: true 表示命中缓存,_api_calls_today 表示今日已用 API 次数python3 tools/st_query.py setup --token xxxcredentials.yaml 的 st.token 字段