appfigures
Official@appfigures/cli
Appfigures CLI — 从你的终端查询应用指标、评论和商店数据。
无需安装,立即试用:
npx @appfigures/cli auth login
npx @appfigures/cli apps search "youtube"安装
npm install -g @appfigures/cli需要 Node.js 22+。pnpm 和 yarn 同样适用。
Related MCP server: asc-mcp
快速开始
appfigures auth login
appfigures --help也可使用 af 别名。
身份验证
自行登录。
af auth login --interactive会在引导流程中打开你的浏览器;批准后,将显示的代码粘贴回来。或者让智能体引导你。 默认情况下,
af auth login会打印一个授权 URL — 打开该 URL,批准,然后使用显示的代码执行af auth login --code <code>完成登录。智能体可以端到端地完成此流程。如需无人值守使用,请改用APPFIGURES_API_KEY:在 appfigures.com/developers/keys 点击 Create a New Client,然后点击 Create Personal Access Token 创建令牌。
无论哪种登录方式,令牌都会保存到你的操作系统凭据管理器(macOS Keychain、Windows Credential Manager、Linux Secret Service)中。有关 APPFIGURES_API_KEY 及其他覆盖项,请参阅 环境。
MCP 服务器
af mcp 通过 stdio 在本地运行一个 Model Context Protocol 服务器,将 CLI 的应用智能命令作为 MCP 工具暴露出来。将任意 MCP 客户端(Claude Code、Claude Desktop、Cursor 等)指向它,即可让智能体直接查询应用指标、评论和商店数据。
将其添加到你的客户端的 MCP 配置中:
{
"mcpServers": {
"appfigures": {
"command": "npx",
"args": ["-y", "@appfigures/cli", "mcp"]
}
}
}服务器会使用你存储的凭据登录,因此请先运行一次 af auth login。对于无头环境,请改为通过客户端的 env 传递令牌:
{
"mcpServers": {
"appfigures": {
"command": "npx",
"args": ["-y", "@appfigures/cli", "mcp"],
"env": { "APPFIGURES_API_KEY": "<your-token>" }
}
}
}CLI 是全局安装而不是通过 npx 运行?请使用 "command": "af" 并配合 "args": ["mcp"]。
Claude Code。 用一条命令添加:
claude mcp add appfigures -- npx -y @appfigures/cli mcp先运行 af auth login 登录,或附加 --env APPFIGURES_API_KEY=<your-token> 用于无头环境。
命令
Apps
查找应用并查看其身份信息。其他命令使用这些命令返回的应用 ID。
Command | Description |
af apps search | 按名称或发行商查找应用。每个统一应用返回一行。默认返回 Apple 和 Google 商店列表;传入 |
af apps tracked | 列出你的 Appfigures 账户追踪的应用。 |
af apps get | 获取一个应用的记录:基本元数据(名称、开发者等),以及(如果用户追踪了该应用)其可以访问的数据。传入产品 ID 可指定单个商店;传入统一应用 ID 可涵盖所有商店。 |
Explorer
搜索并分析完整的应用目录:涵盖 Apple、Google Play、Amazon 及其他主要商店的数百万款产品,拥有 120+ 个字段,涵盖身份信息、商店和国家可用性、类别、评分、发布日期、榜单排名、下载和收入估算、SDK 使用情况、受众特征及相关应用。
Command | Description |
af explorer list‑products | 读取一个或多个应用的目录字段。 |
af explorer aggregate‑products | 在涵盖 Apple、Google Play、Amazon 及其他主要商店的数百万款产品的完整目录上进行聚合:对任意匹配产品集合计算计数、平均值、最小值/最大值和直方图。使用与 |
af explorer describe‑fields | 列出目录字段以及当前用户对每个字段的访问级别。按关键字搜索即可查找字段。与 |
Metrics
跨维度查询数值数据集。
Command | Description |
af metrics query | 查询一个或多个应用的任意数值数据集。可选择按最多两个维度分组,返回结果为嵌套分区树,而非应用记录。可独立按国家、设备类型和日期范围筛选。 |
af metrics describe‑datasets | 列出 |
Store
应用商店呈现:商店列表内容、分类排名、热门榜单和精选位置。
命令 | 描述 |
af store app‑ranks | 追踪一个或多个应用在多个国家/地区、设备类型、类别子类和类别中的排名历史,以时间序列位置形式呈现,并附带逐日变化量。 |
af store top‑charts | 列出指定国家/地区和类别下某一分类榜单中的热门应用,包含当前排名和逐日变化量。 |
af store categories | 列出所有商店分类及其 ID。此即为 |
af store featured | 获取某应用或商店产品的精选与编辑推荐位。请求 0 行时仅返回汇总统计。 |
af store app‑listing | 读取单个商店地区的完整商店列表:本地化文本(名称、副标题、描述、版本说明)以及截图、视频、分类、变现方式、支持设备、国家/地区可用性、价格、文件大小和年龄分级。需要一个数字产品 ID(一次一个商店地区;一个统一应用在每个商店地区各有一个产品)。每次请求仅限一个语言区域。 |
受众
了解应用的用户是谁,以及他们还会使用什么。涵盖估算的年龄和性别,以及与其他应用的受众重叠情况。
命令 | 描述 |
af audience demographics | 读取应用的受众画像:估算的年龄和性别构成。 |
af audience cross‑usage | 查找某个应用的用户还使用了哪些其他应用。 |
评论
搜索、总结并回复 iOS 和 Google Play 应用商店评论。
命令 | 描述 |
af reviews list | 读取一个或多个应用的单项评论。返回评论文本、星级评分、国家/地区和应用版本。可按星级、日期范围、国家、版本和跟踪关系筛选。 |
af reviews breakdown | 按维度聚合一个或多个应用的评论数量。每个维度值返回一个计数,外加整个匹配集合的全局总计。 |
af reviews reply | 在具体评论上发布或撤回开发者回复。传入 |
关键词
关键词可见性、排名跟踪与发现,覆盖自然搜索(App Store、Google Play)和 Apple 广告。
命令 | 描述 |
af keywords organic | 查看一个或多个应用获得自然排名的关键词,并显示排名、流行度和竞争力。 |
af keywords paid | 列出一个或多个应用投放广告的付费关键词,并显示曝光份额和自然排名。 |
af keywords tracked‑ranks | 查看单个应用+国家/地区组合下所有已跟踪关键词的排名,包括每个关键词的当前排名、自上次变化以来的变动量、起始排名、流行度和竞争力。 |
af keywords tracked‑trend | 追踪单个应用+国家/地区组合下某个已跟踪关键词的排名随时间的变化。每个数据点给出该关键词的排名,以及较上一个数据点移动的名次。 |
af keywords suggestions | 为单个应用+国家/地区组合发现值得考虑的关键词点子,按与应用的相关性排序,并包含部分来自竞品应用的关键词。每个词都附有流行度、竞争力和该应用当前排名。 |
af keywords ranking‑apps | 列出在自然搜索中为特定关键词排名的应用,并附上该关键词自身的流行度和竞争力得分。 |
af keywords advertisers | 列出针对特定关键词投放广告的应用,并显示每个广告主的曝光份额、自然排名及其出价时长。 |
af keywords related | 查找与种子词相关、适合用于 ASO 调研的关键词,便于寻找受众相似但更热门或竞争更小的替代词。 |
af keywords tracked | 列出已跟踪的关键词及其不透明 ID。 |
af keywords track | 跟踪某个关键词,以监测你的应用在被跟踪关键词上的每小时排名,并在排名变化时收到自动提醒。 |
af keywords untrack | 停止跟踪某个关键词。 |
Apple Ads
管理你的 Apple Ads 广告系列、广告组、关键词和投放表现。
命令 | 描述 |
af apple‑ads organizations | 列出你在其中管理广告系列的 Apple Ads 组织,以及每个组织的货币和时区。 |
af apple‑ads campaigns | 列出你的 Apple Ads 广告系列,包括每个系列的状态、预算、定向国家和投放日程。 |
af apple‑ads ad‑groups | 列出 Apple Ads 广告组,包括每个广告组的默认出价、CPA 上限、定价模型和投放日程。 |
af apple‑ads keywords | 列出某个广告系列的竞价关键词,包括每个关键词在日期范围内的表现(展示次数、点击次数、安装量、花费、每次安装成本),以及其匹配类型、出价,并说明它是定向词还是否定词。 |
af apple‑ads search‑terms | 列出触发广告系列广告的实际用户搜索词,每个搜索词都带有其历史累计表现(展示次数、点击次数、安装量、花费、每次安装成本)。使用这些搜索词来发现新的可竞价或可排除的关键词。 |
af apple‑ads report | 按广告系列报告 Apple Ads 表现(展示次数、点击次数、安装量、花费、每次安装成本),并在日期范围内附带整个账号的总计。 |
af apple‑ads top‑keywords | 在日期范围内,按转化率、花费和安装量对广告系列中表现最佳的关键词进行排名。每个列表包含按一项指标排名的热门关键词。 |
SDK
查找我们跟踪的 SDK。
命令 | 描述 |
af sdks list | 列出所有已知 SDK 及其 id,或进行搜索以查找特定 SDK。 |
文档
针对特定操作和常见任务的参考文档和指南。
命令 | 描述 |
af docs get | 按 slug 返回参考文档或指南。 |
API
命令 | 描述 |
af api | 对于没有专用命令的端点发起原始 API 请求。端点、参数和响应结构见 https://docs.appfigures.com。 |
MCP
命令 | 描述 |
af mcp | 通过 stdio 运行 MCP 服务器,供 Claude Desktop 和 Cursor 等 MCP 客户端调用 Appfigures 工具。 |
认证
命令 | 描述 |
af auth login | 登录 Appfigures |
af auth logout | 移除已存储的凭据 |
af auth status | 显示认证和账号状态 |
运行 af <command> --help 可查看参数、标志和示例。
环境变量
变量 | 用途 |
| API 密钥;跳过交互式认证 |
| 将 HTTP 记录到 stderr(同 |
| 禁用 ANSI 颜色 |
| 跳过 npm 注册表更新检查 |
| 同样跳过更新检查(任何 CI 系统) |
API 参考
每个命令的完整参数和标志列表。如需一行概述,请参阅上面的 命令。
全局标志。 所有命令都接受:
-v, --verbose— 将 HTTP 请求记录到 stderr。也可通过AF_VERBOSE=1设置。-V, --version— 打印 CLI 版本并退出。-h, --help— 显示当前命令的用法。
输出格式。 每个命令都会在 stdout 上输出一个 JSON 值——可将其通过管道传给 jq 进行过滤。信息性消息、提示和更新通知会写入 stderr,以保持管道干净。
af apps search
af apps search <q> [flags]
按名称或发布者查找应用。每个统一应用返回一行。默认返回 Apple 和 Google 的应用列表;传入 --all-stores 可包含其他商店。若要按估算值筛选应用(例如上个月下载量超过 10 万的应用),请使用 explorer list-products。如需按时间、国家/地区或商店查看估算明细,请使用 metrics query,数据集为 estimates.sales 或 estimates.revenue。
选项
<q>必填字符串。搜索查询(应用名称或发布者)。--all-stores布尔值,默认false。包含 Apple 和 Google 以外的商店:Amazon、Windows、Steam、Roku、LG TV、Samsung TV 等。--count整数,默认10。要返回的结果数量。--page整数,默认1。页码。
示例
# Find every Electronic Arts app.
af apps search 'electronic arts'
# Page through long results.
af apps search 'electronic arts' --count=25 --page=2
# Find Minecraft on every storefront (e.g. Amazon, Steam, Windows, Roku; not common).
af apps search minecraft --all-stores
af apps tracked
af apps tracked [flags]
列出你的 Appfigures 账号跟踪的应用。
选项
--count整数,默认10。要返回的结果数量。--page整数,默认1。页码。--q字符串。要筛选的应用名称。--filter-apps-by-id(integer or string)[]. 仅包含特定应用的数据,按产品 ID 或统一应用 ID。设置后,优先于其他filterAppsBy*键。对于可以用这些条件描述的应用集合,商店、来源或类型筛选更合适。--filter-apps-by-storefrontstring[]. 将账号跟踪的应用缩小到这些商店上的应用(例如 apple:ios、google_play)。--filter-apps-by-sourcestring[]. 按跟踪关系缩小账号跟踪的应用范围。--filter-apps-by-typestring[]. 将账号跟踪的应用缩小到这些类型的产品。
示例
# List your apps with private-data access.
af apps tracked --filter-apps-by-source=own,shared
# List your tracked fitness apps.
af apps tracked --q=fitness
# List just your iOS apps.
af apps tracked --filter-apps-by-storefront=apple:ios
# Page through long results.
af apps tracked --filter-apps-by-source=own,shared --count=50 --page=2
# List tracked competitors.
af apps tracked --filter-apps-by-source=manual
# Find individual IAPs or subscriptions (not common).
af apps tracked --filter-apps-by-type=inapp,subscription
af apps get
af apps get <app-id> [flags]
获取应用记录:基本元数据(名称、开发者等),以及如果用户跟踪了该应用,他们可以访问哪些数据。传入某个商店的产品 ID;统一应用 ID 则用于同时获取所有商店的数据。
选项
<app-id>必填整数或字符串。应用的统一应用 ID 或产品 ID。--all-stores布尔值,默认false。对于统一应用 ID:包含所有商店中的成员产品(Amazon、Steam、Windows、Roku 等)。为false时,member_products仅限于具有应用智能覆盖范围的商店(iOS + Google Play)。对于产品 ID 则忽略此参数。
示例
# Get Minecraft's unified-app record (iOS + Google Play by default).
af apps get ua_X7iNgb
# Get Minecraft's Google Play product record.
af apps get 6938219
af explorer list-products
af explorer list-products [flags]
读取一个或多个应用的目录字段。由 query 或 sort 引用的字段会自动返回;传入 --extra-fields 可获取更多字段。对于单个应用,使用 ["match","product_id",<id>];或组合筛选器进行总体查询(例如,使用 Firebase 且美国收入超过 100 万美元的 iOS 应用)。这 120 多个字段涵盖排名、评分、下载量和收入估算、SDK、人口统计数据等;查询语法和字段列表见 docs get catalog_playbook。
选项
--query数组,默认[]。以 JSON 数组格式的 Explorer 查询,用于选择匹配的目录产品。缺失值和[]会匹配每个商店中的每个产品。完整的字段列表和查询语法见docs get catalog_playbook。--extra-fieldsstring[]. 在你的query或sort已引用的字段之外,额外包含的字段。使用explorer describe-fields查找字段路径(以及你可以读取哪些字段)。--sort字符串。Explorer 字段名称。完整的字段列表见docs get catalog_playbook。--order字符串,默认desc。排序方向。--count整数,默认10。要返回的结果数量。--page整数,默认1。页码。--allow-unscoped-nested布尔值,默认false。用于故意进行宽泛查询的逃生口。绕过默认对未限定范围的嵌套谓词的拦截,这些谓词通常会使结果膨胀。
示例
# Find iOS apps that have Firebase installed.
af explorer list-products --query='["and",["match","storefronts","apple:ios"],["nested","all_sdks",["and",["match","all_sdks.id","firebase"],["match","all_sdks.active",true]]]]'
# Rank the biggest US iOS games by revenue.
af explorer list-products --query='["and",["match","storefronts","apple:ios"],["match","categories.all",6014]]' --sort='custom_meta[country=us].revenue_estimates_sum_30_days' --order=desc --count=25
# Find US iOS apps in the $100k–$1M/month revenue tier.
af explorer list-products --query='["and",["match","storefronts","apple:ios"],["nested","custom_meta",["and",["match","custom_meta.country","us"],["match","custom_meta.revenue_estimates_sum_30_days",["number_range",100000,1000000]]]]]'
# Page through results.
af explorer list-products --query='["and",["match","storefronts","apple:ios"],["match","categories.all",6014]]' --count=50 --page=2
# Pass `--extra-fields` for columns the query doesn't already reference. Common for single-app reads.
af explorer list-products --query='["match","product_id",304004187384]' --extra-fields='custom_meta[country=zz].revenue_estimates_sum_365_days,all_sdks[id=firebase].active'
af explorer aggregate-products
af explorer aggregate-products <fields> [flags]
在 Apple、Google Play、Amazon 和其他主要商店的完整目录(数百万产品)中进行聚合:对任意一组匹配产品计算计数、平均值、最小/最大值和直方图。使用的查询语法与 explorer list-products 相同;返回聚合结果,而非产品记录。适用于市场规模分析、基准测试和细分分析。
选项
<fields>必填 string[]。字段与聚合配对(例如all_rating/stats、storefronts/terms)。聚合类型:stats、terms、histogram、date_histogram、cardinality。完整字段列表见docs get catalog_playbook。--query数组,默认[]。JSON 数组格式的 Explorer 查询,用于选择匹配的目录 Products。缺失值和[]匹配每个商店中的所有 Product。完整字段列表和查询语法见docs get catalog_playbook。--allow-unscoped-nested布尔值,默认false。用于有意放宽查询范围的逃生舱口。绕过默认对无作用域嵌套谓词的阻止(这类谓词通常会夸大结果)。--terms-count整数,默认20。每个terms聚合返回的最大桶数。其他聚合类型忽略此参数。--date-histogram-interval字符串。每个date_histogram聚合的桶粒度。其他聚合类型忽略此参数。
示例
# How many monthly downloads does an average iOS app get in Japan?
af explorer aggregate-products 'custom_meta[country=jp].download_estimates_average_30_days/stats' --query='["and",["match","storefronts","apple:ios"],["match","countries","jp"]]'
# What's the rating, category mix, and developer concentration for US iOS apps in the $100k–$10M/mo net-revenue tier?
af explorer aggregate-products all_rating/stats,categories.all/terms,developer_id/cardinality --query='["and",["match","storefronts","apple:ios"],["nested","custom_meta",["and",["match","custom_meta.revenue_estimates_sum_30_days",["number_range",100000,10000000]],["match","custom_meta.country","us"]]]]'
# Are new iOS games still launching at the same rate as two years ago?
af explorer aggregate-products release_date/date_histogram --query='["and",["match","storefronts","apple:ios"],["match","categories.all",6014],["match","release_date",["range","2024-01-01","2025-12-31"]]]'
# What SDKs do apps commonly ship alongside OneSignal?
af explorer aggregate-products 'all_sdks[*].id/terms' --query='["nested","all_sdks",["and",["match","all_sdks.id","onesignal"],["match","all_sdks.active",true]]]'
# How do iOS app ratings distribute?
af explorer aggregate-products all_rating/histogram --query='["match","storefronts","apple:ios"]'
# How many apps are on each storefront?
af explorer aggregate-products storefronts/terms
af explorer describe-fields
af explorer describe-fields [flags]
列出目录字段以及当前用户对每个字段的访问级别。按关键字搜索以查找字段。与 explorer list-products 和 explorer aggregate-products 接受的字段集相同。
选项
--count整数,默认50。返回的结果数量。--page整数,默认1。页码。--q字符串。按path、title、description、type过滤。
示例
# Search for revenue-related fields.
af explorer describe-fields --q=revenue
# List every catalog field with the current user's access level.
af explorer describe-fields
af metrics query
af metrics query <dataset> [flags]
查询一个或多个应用的任何数值数据集。可选地按最多两个维度分组,返回为嵌套分区树而非应用记录。可独立按国家、设备类型和日期范围过滤。filterAppsBy* 选项缩小应用集合(按 ID、商店、来源或类型);未指定时,查询覆盖账户跟踪的每个应用。
选项
<dataset>必填字符串。要查询的数据集(例如 sales.combined_downloads)。完整列表以及哪些数据集是私有数据(仅对你拥有或共享的应用可见)见metrics describe-datasets。--group-bystring[]。要分组的维度。最多 2 个:第一个槽位成为外部实体类型,第二个成为内部序列。每个维度都会使结果规模倍增。--granularity字符串。按日期分组时的时间粒度。--count整数。行数上限。使用--group-by时,按值取外部实体类型的前 N 个(按日期分组时取最早 N 个)。不使用--group-by时,为单页预览。--countriesstring[]。过滤为一个或多个 ISO 国家代码(例如 US、JP、GB)。--device-type字符串。设备类型。--all-time布尔值,默认false。选择查看完整历史。不带此标志(且不带start/end)时,查询默认为最近 30 天。与start和end互斥。--filter-apps-by-id(整数或字符串)[]。仅包含特定应用的数据,按产品 ID 或统一应用 ID。设置后优先于其他filterAppsBy*键。对于可以用这些条件描述的应用集合,商店、来源或类型过滤器更合适。--filter-apps-by-storefrontstring[]。将账户跟踪的应用缩小到这些商店上的应用(例如apple:ios、google_play)。--filter-apps-by-sourcestring[]。按跟踪关系缩小账户跟踪的应用。--filter-apps-by-typestring[]。将账户跟踪的应用缩小到这些类型的产品。--start字符串。开始日期(YYYY-MM-DD)。--end字符串。结束日期(YYYY-MM-DD,默认为今天)。
示例
# Get total downloads across your apps with private-data access.
af metrics query sales.combined_downloads --filter-apps-by-source=own,shared
# Get revenue split by storefront, plus a top-level total.
af metrics query sales.combined_revenue --filter-apps-by-source=own,shared --group-by=storefront
# Rank the top 5 tracked competitors by estimated monthly revenue.
af metrics query estimates.revenue --filter-apps-by-source=manual --group-by=product --count=5
# Track Candy Crush Saga's daily download estimates.
af metrics query estimates.sales --filter-apps-by-id=ua_V1Q1uX --group-by=date --granularity=daily
# Track net monthly recurring revenue per app, month over month.
af metrics query subscriptions.mrr --filter-apps-by-source=own,shared --group-by=product,date --granularity=monthly
# Get Minecraft's new ratings.
af metrics query ratings.new_total --filter-apps-by-id=ua_X7iNgb
# Track daily ad spend across your apps.
af metrics query adspend.cost --filter-apps-by-source=own,shared --group-by=date --granularity=daily
# Compare Candy Crush's December 2025 downloads across the US, Japan, and UK.
af metrics query estimates.sales --filter-apps-by-id=ua_V1Q1uX --countries=US,JP,GB --group-by=country --start=2025-12-01 --end=2025-12-31
# Track all-time monthly revenue across your apps with private-data access.
af metrics query sales.combined_revenue --filter-apps-by-source=own,shared --group-by=date --granularity=monthly --all-time
# Get Minecraft's review volume by country.
af metrics query reviews.total --filter-apps-by-id=ua_X7iNgb --group-by=country
af metrics describe-datasets
af metrics describe-datasets [flags]
列出 metrics query 接受的每个数值数据集,每行一个数据集,包含其值类型以及是否仅限于你自己的应用。
选项
--count整数,默认50。返回的结果数量。--page整数,默认1。页码。--q字符串。按dataset、value_type、label、description过滤。
示例
# Search by keyword (matches name, label, or description).
af metrics describe-datasets --q='combined downloads'
# Look up one dataset by its exact name.
af metrics describe-datasets --q=sales.combined_downloads
# List every dataset with its value type and whether it's limited to your own apps.
af metrics describe-datasets
af store app-ranks
af store app-ranks <app-ids> [flags]
追踪一个或多个应用在国家、设备类型、类别子类型和类别中的排名历史,以时间序列位置和日环比变化的形式呈现。
选项
<app-ids>必填(整数或字符串)[]。应用标识符(统一应用 ID 或产品 ID)。--countriesstring[]。要查询的国家代码。默认为每个有排名覆盖的国家。--granularity字符串,默认hourly。采样率。Hourly 提供最新数据;传入--granularity=daily可获得紧凑的多日历史。--device-typesstring[],默认["handheld"]。要包含的设备类型;每种类型在各自的图表中排名。添加更多以扩大响应范围。--subtypesstring[],默认["free"]。要包含的类别子类型;每种在各自的图表中排名。添加更多以扩大响应范围。--category-idsinteger[]。将响应行过滤到特定类别 ID;省略则包含全部。类别 ID 来自store categories。--start字符串。开始日期(YYYY-MM-DD)。--end字符串。结束日期(YYYY-MM-DD,默认为今天)。--count整数,默认10。返回的结果数量。--page整数,默认1。页码。
示例
# Check ChatGPT's current ranks (unified app).
af store app-ranks ua_miTXv6 --countries=US
# Check ChatGPT's current ranks on one storefront.
af store app-ranks 336744124021 --countries=US
# Compare ChatGPT's ranks across the US, UK, and Japan.
af store app-ranks ua_miTXv6 --countries=US,GB,JP
# Check Procreate's paid iPad chart ranks.
af store app-ranks ua_CxA1MS --subtypes=paid --device-types=tablet --countries=US
# Trace ChatGPT's chart history through December 2025.
af store app-ranks ua_miTXv6 --granularity=daily --start=2025-12-01 --end=2025-12-31 --countries=US
# Check ChatGPT's rank in one category (US iOS Productivity).
af store app-ranks 336744124021 --category-ids=6007 --countries=US
af store top-charts
af store top-charts [flags]
列出给定国家和类别的类别排行榜中的热门应用,包含当前排名和日环比变化。
选项
--country必填字符串。ISO 国家代码(例如 US、JP、GB)。--category-id必填整数。类别 ID 来自store categories。--subtype字符串,默认free。类别子类型(类别内的排行榜变体)。--date字符串。快照日期(YYYY-MM-DD,默认为当前日期)。--count整数,默认10。返回的结果数量。--page整数,默认1。页码。
示例
# Find the Games category, then pull its US chart.
af store categories --q=games
af store top-charts --country=US --category-id=6014
# List top paid apps on the US App Store.
af store top-charts --country=US --category-id=25204 --subtype=paid
# List top free apps on the Japan App Store.
af store top-charts --country=JP --category-id=25204
# List top free apps on Google Play in the US.
af store top-charts --country=US --category-id=100
# List top free apps on the US App Store in December 2025.
af store top-charts --country=US --category-id=25204 --date=2025-12-01
af store categories
af store categories [flags]
列出每个商店类别及其 ID。store app-ranks --category-ids 和 store top-charts --category-id 所需的数字类别 ID 可在此处获取。
选项
--count整数,默认50。返回的结果数量。--page整数,默认1。页码。--q字符串。按name过滤。--sort字符串。排序字段。省略时,若设置了q则按相关性排序,否则按列表顺序。--order字符串,默认desc。排序方向。--category-idinteger[]。仅返回这些类别 ID。--parent-id整数。仅包含此父类别的子类别(按 ID 下钻)。--storefrontstring[]。仅包含来自这些商店的类别(例如apple:ios、google_play)。--device-typestring[]。仅包含这些设备类型的类别(例如handheld、tablet)。--all布尔值,默认false。包含非排名商店(roku、vizio 等)。这些商店有类别但没有排名数据。
示例
# Find the Games category.
af store categories --q=games
# List every Apple iOS category.
af store categories --storefront=apple:ios
# List subcategories of a parent category (here, Apple Games).
af store categories --parent-id=6014
# Include categories from non-rank-supporting stores (e.g. Roku, Vizio) (not common).
af store categories --all
af store featured
af store featured <app-id> [flags]
列出应用或商店产品的精选和编辑推荐位。请求 0 行仅获取汇总统计。
选项
<app-id>必填整数或字符串。应用的统一应用 ID 或产品 ID。--countriesstring[]。要包含的国家。省略则仅查询美国,或传入多个以比较市场。要包含每个国家,请改用--all-countries。--all-countries布尔值,默认false。包含每个国家。不能与--countries组合使用。--include-rank-trend布尔值,默认false。为每个推荐位包含每间隔的 rank_trend。--sort字符串,默认relevance。按相关性或日期对推荐位排序。--order字符串,默认desc。排序方向。--start字符串。开始日期(YYYY-MM-DD)。--end字符串。结束日期(YYYY-MM-DD,默认为今天)。跨度最多 31 天。--count整数,默认10。返回的结果数量。--page整数,默认1。页码。
示例
# List Minecraft's recent featured placements (unified app).
af store featured ua_X7iNgb
# List Minecraft's recent featured placements on one storefront.
af store featured 10157213
# Compare Minecraft's placement coverage across the US, UK, and Japan.
af store featured ua_X7iNgb --countries=US,GB,JP
# List Minecraft's placements during a specific month (December 2025).
af store featured ua_X7iNgb --start=2025-12-01 --end=2025-12-31
# List Minecraft's placements with rank history.
af store featured ua_X7iNgb --include-rank-trend
# List Minecraft's placements sorted by end date, newest run first.
af store featured ua_X7iNgb --sort=date --order=desc
# Get Minecraft's placement summary only.
af store featured ua_X7iNgb --count=0
af store app-listing
af store app-listing <product-id> [flags]
读取一个商店的完整商店列表:本地化文本(名称、副标题、描述、发布说明)以及截图、视频、类别、变现方式、支持的设备、国家可用性、价格、文件大小和年龄分级。接受数字产品 ID(一次一个商店;统一应用在每个商店有一个产品)。每次请求一个语言区域。
选项
<product-id>必填整数。一个商店的数字产品 ID。不是统一应用 ID。成员 product_id 值可从apps get '<unified-app-id>'获取。--language字符串。名称、副标题、描述、发布说明和截图的语言区域(例如 en、ja、zh-Hans)。默认为 en;当请求的语言区域没有元数据时,回退到第一个可用语言区域。响应会回显解析后的语言。--device-type字符串,默认handheld。与 Apple 应用相关。选择 handheld 获取 iPhone 特定元数据,tablet 获取 iPad,desktop 获取 Mac 等。
示例
# Read Minecraft's store listing.
af store app-listing 10157213
# Read Minecraft's Japanese-localized listing.
af store app-listing 10157213 --language=ja
# Read Minecraft's iPad screenshots.
af store app-listing 10157213 --device-type=tablet
af audience demographics
af audience demographics <app-id>
读取应用的受众人口统计:估计的年龄和性别分布。
选项
<app-id>必填整数或字符串。应用的统一应用 ID 或产品 ID。
示例
# Read Minecraft's audience across all its storefronts (unified app ID).
af audience demographics ua_X7iNgb
# Read Minecraft's audience on Google Play only (product ID).
af audience demographics 6938219
af audience cross-usage
af audience cross-usage <app-id> [flags]
查找应用的用户还使用的其他应用。
选项
<app-id>必填整数或字符串。应用的统一应用 ID 或产品 ID。--count整数,默认10。返回的结果数量。--page整数,默认1。页码。
示例
# Find the apps ChatGPT's users also use (unified app ID).
af audience cross-usage ua_miTXv6
# Find the apps ChatGPT's users also use on the App Store only (product ID).
af audience cross-usage 336744124021
af reviews list
af reviews list [flags]
读取一个或多个应用的单个评论。返回评论文本、星级评分、国家和应用版本。可按星级评分、日期范围、国家、版本和跟踪关系过滤。
选项
--starsnumber[]。按星级评分筛选。--versionsstring[]。按应用版本筛选。可传入多个以组合筛选。--countriesstring[]。筛选至一个或多个 ISO 国家/地区代码(例如 US、JP、GB)。--qstring。搜索评论标题和正文。可传入多个关键词以匹配任意一个。不区分大小写;与其他筛选条件组合使用。--sortstring。按评论日期或星级评分排序。--orderstring,默认desc。排序方向。--filter-apps-by-id(integer or string)[]。仅包含特定应用的数据,按产品 ID 或统一应用 ID。设置后优先于其他filterAppsBy*键。对于可通过这些条件描述的应用集,商店、来源或类型筛选更合适。--filter-apps-by-storefrontstring[]。将账户跟踪的应用缩小到这些商店上的应用(例如 apple:ios、google_play)。--filter-apps-by-sourcestring[]。按跟踪关系缩小账户跟踪的应用。--filter-apps-by-typestring[]。将账户跟踪的应用缩小到这些类型的产品。--startstring。开始日期(YYYY-MM-DD)--endstring。结束日期(YYYY-MM-DD,默认为今天)--countinteger,默认10。返回的结果数量。--pageinteger,默认1。页码。1-500。
示例
# Read Minecraft's recent reviews.
af reviews list --filter-apps-by-id=ua_X7iNgb
# Read Minecraft's 5-star reviews.
af reviews list --filter-apps-by-id=ua_X7iNgb --stars=5
# Compare Minecraft's reviews across the US, Japan, and the UK.
af reviews list --filter-apps-by-id=ua_X7iNgb --countries=US,JP,GB
# Read Minecraft's December 2025 reviews.
af reviews list --filter-apps-by-id=ua_X7iNgb --start=2025-12-01 --end=2025-12-31
# Page through long results across your own apps.
af reviews list --filter-apps-by-source=own --count=50 --page=2
af reviews breakdown
af reviews breakdown [flags]
聚合一个或多个应用的评论数量,按维度分桶。返回每个维度值的一个计数,以及匹配集合的全局总计。
选项
--starsnumber[]。按星级评分筛选。--versionsstring[]。按应用版本筛选。可传入多个以组合筛选。--countriesstring[]。筛选至一个或多个 ISO 国家/地区代码(例如 US、JP、GB)。--qstring。搜索评论标题和正文。可传入多个关键词以匹配任意一个。不区分大小写;与其他筛选条件组合使用。--filter-apps-by-id(integer or string)[]。仅包含特定应用的数据,按产品 ID 或统一应用 ID。设置后优先于其他filterAppsBy*键。对于可通过这些条件描述的应用集,商店、来源或类型筛选更合适。--filter-apps-by-storefrontstring[]。将账户跟踪的应用缩小到这些商店上的应用(例如 apple:ios、google_play)。--filter-apps-by-sourcestring[]。按跟踪关系缩小账户跟踪的应用。--filter-apps-by-typestring[]。将账户跟踪的应用缩小到这些类型的产品。--startstring。开始日期(YYYY-MM-DD)--endstring。结束日期(YYYY-MM-DD,默认为今天)--bystring[]。将响应限制为这些维度;省略则返回所有。--topinteger,默认20。每个维度返回的最大值;其余在__other__下求和。
示例
# Break down Minecraft's recent reviews.
af reviews breakdown --filter-apps-by-id=ua_X7iNgb
# Where are Minecraft's biggest fans writing from?
af reviews breakdown --filter-apps-by-id=ua_X7iNgb --stars=5
# Count Minecraft's December 2025 5-star reviews.
af reviews breakdown --filter-apps-by-id=ua_X7iNgb --stars=5 --start=2025-12-01 --end=2025-12-31
# How many Minecraft reviewers raved?
af reviews breakdown --filter-apps-by-id=ua_X7iNgb --q='love amazing fun great best'
# Compare review volume across your own apps.
af reviews breakdown --filter-apps-by-source=own
af reviews reply
af reviews reply <review-id> [flags]
在特定评论上发布或撤回开发者回复。传入 content 以发布;传入 delete: true 以撤回先前发布的回复。返回结果状态(发布为 published/pending,撤回为 removed/removal_pending)以及提交账户。
选项
<review-id>必填字符串。要操作的评论。使用reviews list中的review_id。--contentstring。开发者想要发布的回复文本。--deleteboolean。撤回此评论上先前发布的回复。与content互斥。
示例
# Reply to a low-star review after shipping a fix.
af reviews reply rev123 --content='We just shipped a fix in v2.1. Let us know if you still see this.'
# Withdraw a previously-posted response.
af reviews reply rev123 --delete
af keywords organic
af keywords organic [flags]
检查一个或多个应用排名的自然关键词,包括位置、热度和竞争力。
选项
--product-idsinteger[]。产品标识符(数字,每个商店一个)。--countries必填 string[]。一个或多个 ISO 国家/地区代码(例如 US、JP、GB)。传入多个以比较市场。--device-typestring。设备类型--countinteger,默认10。返回的结果数量(最少 10)。--pageinteger,默认1。页码。
示例
# Check ChatGPT's current US keyword rankings.
af keywords organic --product-ids=336744124021 --countries=US
# Check ChatGPT's iPad-only keyword rankings.
af keywords organic --product-ids=336744124021 --countries=US --device-type=tablet
# Compare ChatGPT and Gemini's US keyword rankings.
af keywords organic --product-ids=336744124021,337217072531 --countries=US
af keywords paid
af keywords paid <product-ids> [flags]
列出一个或多个应用投放广告的付费关键词,包括展示份额和自然排名。
选项
<product-ids>必填 integer[]。产品标识符(数字,每个商店一个)。--daysinteger,默认180。回溯期(天)。常见值:7、14、30、90、180、365。--countries必填 string[]。一个或多个 ISO 国家/地区代码(例如 US、JP、GB)。传入多个以比较市场。--device-typesstring[]。按设备类型筛选。默认为手持设备。--countinteger,默认10。返回的结果数量(最少 10)。--pageinteger,默认1。页码。
示例
# Find Headspace's US paid keywords.
af keywords paid 15250929 --countries=US
# Compare Headspace's and Calm's US paid keywords.
af keywords paid 15250929,304554144 --countries=US
# Find Headspace's paid keywords across the US, UK, and Japan.
af keywords paid 15250929 --countries=US,GB,JP
# Find Headspace's US iPad paid keywords.
af keywords paid 15250929 --countries=US --device-types=tablet
# Check Headspace's US paid keywords over the last 30 days.
af keywords paid 15250929 --countries=US --days=30
af keywords tracked-ranks
af keywords tracked-ranks <product-id> [flags]
查看单个应用+国家/地区组合中所有跟踪关键词的排名,包括每个关键词的当前位置、自上次变化以来的变动、起始位置、热度和竞争力。
选项
<product-id>必填 integer。单个商店的数字产品 ID。不是统一应用 ID。成员 product_id 值可从apps get '<unified-app-id>'获取。--country必填 string。ISO 国家/地区代码(例如 US、JP、GB)--device-typestring。要读取排名的设备。省略则使用商店默认值。--countinteger,默认10。返回的结果数量(最少 10)。--pageinteger,默认1。页码。--sortstring。结果排序字段。--orderstring,默认desc。排序方向。--startstring。窗口开始日期(YYYY-MM-DD)。省略范围则使用最近 7 天;开始日期的排名是起始位置基线。--endstring。窗口结束日期(YYYY-MM-DD,默认为今天)。跨度最多 31 天。--keyword-termstring。仅包含术语包含此文本的跟踪关键词。--min-positioninteger。要包含的最佳排名(1 = 顶部)。--max-positioninteger。要包含的最差排名。--min-popularityinteger。要包含的最低热度(0-100)。--max-popularityinteger。要包含的最高热度(0-100)。--min-competitivenessinteger。要包含的最低竞争力(0-100)。--max-competitivenessinteger。要包含的最高竞争力(0-100)。
示例
# Check how ChatGPT's tracked keywords are ranking.
af keywords tracked-ranks 336744124021 --country=US
# List ChatGPT's best-ranking keywords first.
af keywords tracked-ranks 336744124021 --country=US --sort=position --order=asc
# Show only the keywords ChatGPT ranks in the top 10.
af keywords tracked-ranks 336744124021 --country=US --max-position=10
# Find the most-searched keywords ChatGPT should prioritize.
af keywords tracked-ranks 336744124021 --country=US --sort=popularity --min-popularity=50
# Trace ChatGPT's keyword movement across a custom week.
af keywords tracked-ranks 336744124021 --country=US --start=2026-01-06 --end=2026-01-12
# Page through a long tracked keyword set.
af keywords tracked-ranks 336744124021 --country=US --page=2
af keywords tracked-trend
af keywords tracked-trend <keyword-id> [flags]
追踪单个应用+国家/地区组合中一个跟踪关键词的排名随时间的变化。每个点给出排名以及自前一个点以来移动的位置数。
选项
<keyword-id>必填 string。要追踪的关键词。必须为此应用和国家/地区跟踪;其不透明 ID 来自keywords tracked-ranks或keywords tracked。--product-id必填 integer。单个商店的数字产品 ID。不是统一应用 ID。成员 product_id 值可从apps get '<unified-app-id>'获取。--country必填 string。ISO 国家/地区代码(例如 US、JP、GB)--device-typestring。要读取排名的设备。省略则使用商店默认值。--granularitystring,默认daily。采样率。--startstring。窗口开始日期(YYYY-MM-DD)。省略范围则使用最近 7 天。--endstring。窗口结束日期(YYYY-MM-DD,默认为今天)。小时粒度最多 14 天,日粒度最多 31 天。
示例
# Find a tracked keyword, then trace its rank day by day.
af keywords tracked-ranks 336744124021 --country=US
af keywords tracked-trend 00f2b1ead3a0990b818517356cb40280 --product-id=336744124021 --country=US
# Trace a keyword's rank for ChatGPT across a specific week.
af keywords tracked-trend 00f2b1ead3a0990b818517356cb40280 --product-id=336744124021 --country=US --start=2026-01-06 --end=2026-01-12
# Trace a keyword hour by hour.
af keywords tracked-trend 00f2b1ead3a0990b818517356cb40280 --product-id=336744124021 --country=US --granularity=hourly
af keywords suggestions
af keywords suggestions <product-id> [flags]
发现单个应用+国家/地区组合可考虑定位的关键词建议,按与应用的相关性排序,并包含一些来自竞争对手应用的关键词。每个关键词都附带其热度、竞争力以及应用当前的排名。
选项
<product-id>必填 integer。单个商店的数字产品 ID。不是统一应用 ID。成员 product_id 值可从apps get '<unified-app-id>'获取。--country必填 string。ISO 国家/地区代码(例如 US、JP、GB)--device-typestring。要读取排名的设备。省略则使用商店默认值。--countinteger,默认10。返回的结果数量。--pageinteger,默认1。页码。
示例
# Discover keywords ChatGPT should consider targeting.
af keywords suggestions 336744124021 --country=US
# Find keyword ideas for ChatGPT in Japan.
af keywords suggestions 336744124021 --country=JP
# Pull a broader set of suggestions.
af keywords suggestions 336744124021 --country=US --count=50
af keywords ranking-apps
af keywords ranking-apps <keyword-term> [flags]
列出在自然搜索中为特定关键词排名的应用,以及该关键词自身的热度和竞争力分数。
选项
<keyword-term>必填 string。要查找的关键词。--country必填 string。ISO 国家/地区代码(例如 US、JP、GB)--storefront必填 string。应用商店平台(例如 apple:ios、google_play、amazon_appstore、steam、windows10、apple:mac、apple:tv、apple:imessage 或其他受支持的商店)。--device-typestring。设备类型--countinteger,默认10。返回的结果数量。--pageinteger,默认1。页码。
示例
# Find US iOS apps ranking for "fitness".
af keywords ranking-apps fitness --country=US --storefront=apple:ios
# Find Google Play apps ranking for "fitness".
af keywords ranking-apps fitness --country=US --storefront=google_play
# Find US iPad apps ranking for "meditation".
af keywords ranking-apps meditation --country=US --storefront=apple:ios --device-type=tablet
af keywords advertisers
af keywords advertisers <keyword-term> [flags]
列出在特定关键词上投放广告的应用,包括每个广告主的展示份额、自然排名以及他们出价的时间长度。
选项
<keyword-term>必填 string。要查找广告主的关键词--daysinteger,默认180。回溯期(天)。常见值:7、14、30、90、180、365。--country必填 string。ISO 国家/地区代码(例如 US、JP、GB)--device-typestring。设备类型--countinteger,默认10。返回的结果数量。--pageinteger,默认1。页码。
示例
# Find US apps advertising on the "notion" brand.
af keywords advertisers notion --country=US
# Find US iPad apps advertising on "meditation".
af keywords advertisers meditation --country=US --device-type=tablet
# Find US apps advertising on "fitness" over the last 30 days.
af keywords advertisers fitness --country=US --days=30
af keywords related
af keywords related <keyword-term> [flags]
为 ASO 研究查找与种子词相关的关键词。有助于找到具有相似受众、更热门或竞争力更低的替代词。
选项
<keyword-term>必填 string。要查找相关词的种子关键词。--country必填 string。ISO 国家/地区代码(例如 US、JP、GB)--storefront必填 string。应用商店平台(例如 apple:ios、google_play、amazon_appstore、steam、windows10、apple:mac、apple:tv、apple:imessage 或其他受支持的商店)。--device-typestring。设备类型--countinteger,默认10。返回的结果数量。--pageinteger,默认1。页码。
示例
# Find US iOS keywords related to "fitness".
af keywords related fitness --country=US --storefront=apple:ios
# Find US Google Play keywords related to "fitness".
af keywords related fitness --country=US --storefront=google_play
# Find US iPad keywords related to "meditation".
af keywords related meditation --country=US --storefront=apple:ios --device-type=tablet
af keywords tracked
af keywords tracked [flags]
列出带有不透明 ID 的跟踪关键词。
选项
--countinteger,默认10。返回的结果数量。--pageinteger,默认1。页码。--qstring。按keyword_term筛选。--sortstring。排序字段。省略时,当设置q时按相关性排序,否则按列表顺序。--orderstring,默认desc。排序方向。--include-relationshipsboolean,默认false。在每行中包含每个(产品、国家/地区)的跟踪详细信息和同步状态。默认关闭;为每个跟踪的(产品、国家/地区)对添加嵌套块。
示例
# List every tracked keyword.
af keywords tracked
# Search tracked keywords for "fitness".
af keywords tracked --q=fitness
# List the most-recently-tracked keywords first.
af keywords tracked --sort=added_on
# Show each keyword's tracking and sync detail.
af keywords tracked --include-relationships
af keywords track
{"type":"text"}af keywords track <keyword-term> [flags]
跟踪一个关键词,以监控你的应用在该关键词下的每小时排名,并在排名变化时自动收到提醒。
选项
<keyword-term>必填字符串。要开始跟踪的关键词--product-id必填整数。要跟踪关键词的应用的产品 ID--country必填字符串。ISO 国家代码(例如 US、JP、GB)
示例
# Start tracking "meditation" for one of your apps in the US.
af keywords track meditation --product-id=336744124021 --country=US
# Track "workout" in Japan.
af keywords track workout --product-id=336744124021 --country=JP
af keywords untrack
af keywords untrack <keyword-id>
停止跟踪某个关键词。
选项
<keyword-id>必填字符串。已跟踪关键词行的标识符(由keywords tracked返回)。不是关键词文本。
示例
# Stop tracking a keyword.
af keywords untrack a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6
af apple-ads organizations
af apple-ads organizations [flags]
列出你管理广告系列所在的 Apple Ads 组织,以及每个组织的货币和时区。
选项
--count整数,默认10。返回的结果数量。--page整数,默认1。页码。
示例
# List all the Apple Ads organizations you manage.
af apple-ads organizations
af apple-ads campaigns
af apple-ads campaigns [flags]
列出你的 Apple Ads 广告系列,以及每个广告系列的状态、预算、目标国家和排期。
选项
--display-status字符串。按状态筛选广告系列。省略则包含所有状态。--name字符串。筛选名称包含此文本的广告系列。--countries字符串[]。筛选目标国家包含这些国家中任意一个的广告系列。--count整数,默认10。返回的结果数量。--page整数,默认1。页码。
示例
# List all your Apple Ads campaigns.
af apple-ads campaigns
# List only your running campaigns.
af apple-ads campaigns --display-status=running
# Search your campaigns by name.
af apple-ads campaigns --name=Brand
# List campaigns targeting the US or UK.
af apple-ads campaigns --countries=US,GB
af apple-ads ad-groups
af apple-ads ad-groups [campaign-id] [flags]
列出 Apple Ads 广告组,以及每个广告组的默认出价、CPA 上限、定价模型和排期。
选项
[campaign-id]字符串。限定到某个广告系列中的广告组。--display-status字符串。按状态筛选广告组。省略则包含所有状态。--name字符串。筛选名称包含此子字符串的广告组。--count整数,默认10。返回的结果数量。--page整数,默认1。页码。
示例
# List all your ad groups across every campaign.
af apple-ads ad-groups
# List the ad groups in one campaign.
af apple-ads ad-groups aac_W9YthU
af apple-ads keywords
af apple-ads keywords <campaign-id> [flags]
列出某个广告系列的竞价关键词,以及每个关键词在日期范围内的表现(展示次数、点击次数、安装量、花费、每次安装成本),以及其匹配类型、出价,以及它是定向词还是否定词。
选项
<campaign-id>必填字符串。要列出竞价关键词的广告系列。--ad-group-id字符串。筛选到某个广告组中的关键词。--status字符串。按状态筛选关键词。省略则包含所有状态。--match-type字符串。按匹配类型筛选。省略则包含两种。--name字符串。筛选文本包含此子字符串的关键词。--sort字符串。按某个表现指标或出价对关键词排序。省略则按最新优先。--order字符串,默认desc。排序方向。--start字符串。开始日期(YYYY-MM-DD)--end字符串。结束日期(YYYY-MM-DD,默认为今天)--count整数,默认10。返回的结果数量。--page整数,默认1。页码。
示例
# Find a running campaign, then list its bid keywords.
af apple-ads campaigns --display-status=running
af apple-ads keywords aac_W9YthU
# See how a campaign's keywords performed over July 2026.
af apple-ads keywords aac_W9YthU --start=2026-07-01 --end=2026-07-31
# Find a campaign's highest-spending keywords.
af apple-ads keywords aac_W9YthU --sort=spend
af apple-ads search-terms
af apple-ads search-terms <campaign-id> [flags]
列出触发某个广告系列广告的实际用户搜索词,以及每个搜索词的历史表现(展示次数、点击次数、安装量、花费、每次安装成本)。利用这些数据发现新的可竞价或可排除的关键词。
选项
<campaign-id>必填字符串。要列出搜索词的广告系列。--count整数,默认10。返回的结果数量。--page整数,默认1。页码。
示例
# Find a campaign, then see the user searches that triggered its ads.
af apple-ads campaigns
af apple-ads search-terms aac_uDGL4v
af apple-ads report
af apple-ads report [flags]
按广告系列报告 Apple Ads 表现(展示次数、点击次数、安装量、花费、每次安装成本),以及账户级总计,覆盖一个日期范围。
选项
--campaign-ids字符串[]。将报告限制到特定广告系列。--start字符串。开始日期(YYYY-MM-DD)--end字符串。结束日期(YYYY-MM-DD,默认为今天)--count整数,默认10。返回的结果数量。--page整数,默认1。页码。
示例
# See how much an install costs across all your campaigns.
af apple-ads report
# Report on July 2026 performance.
af apple-ads report --start=2026-07-01 --end=2026-07-31
# List campaigns, then report on specific ones.
af apple-ads campaigns
af apple-ads report --campaign-ids=aac_uDGL4v
af apple-ads top-keywords
af apple-ads top-keywords <campaign-id> [flags]
按转化率、花费和安装量对某个广告系列在日期范围内的表现最佳关键词进行排名。每个列表包含一个指标上的最佳关键词。
选项
<campaign-id>必填字符串。要排名关键词的广告系列。--top整数,默认5。每个排名返回的关键词数量(最大 10)。--start字符串。开始日期(YYYY-MM-DD)--end字符串。结束日期(YYYY-MM-DD,默认为今天)
示例
# Find a campaign, then see its top-performing keywords.
af apple-ads campaigns
af apple-ads top-keywords aac_uDGL4v
# Rank a campaign's keywords for a specific week.
af apple-ads top-keywords aac_uDGL4v --start=2026-07-25 --end=2026-07-31
# Widen each ranking to the maximum of 10 keywords.
af apple-ads top-keywords aac_uDGL4v --top=10
af sdks list
af sdks list [flags]
列出每个已知 SDK 及其 ID,或搜索以查找特定 SDK。
选项
--count整数,默认50。返回的结果数量。--page整数,默认1。页码。--q字符串。按name、description、tags筛选。--sort字符串。排序字段。省略时,当设置了q则按相关性排序,否则按列表顺序。--order字符串,默认desc。排序方向。--sdk-id字符串[]。仅返回这些 SDK ID。--include-inactive布尔值,默认false。包含非活跃 SDK。很少见;大多数调用者只需要活跃的。
示例
# Find OneSignal's id.
af sdks list --q=OneSignal
# Search for analytics SDKs.
af sdks list --q=analytics
# Look up details for several SDK ids.
af sdks list --sdk-id=firebase,admob,onesignal
# Include inactive SDKs in the listing (not common).
af sdks list --include-inactive
af docs get
af docs get <slug>
按 slug 返回参考文档或指南。
选项
<slug>必填字符串。要返回的参考文档。
示例
# Read the dataset naming conventions and pitfalls for [`metrics query`](#command-metrics-query); the dataset list itself is in [`metrics describe-datasets`](#command-metrics-describe-datasets).
af docs get numeric_metrics
# Read the catalog query grammar, field-reference syntax, aggregation rules, and worked queries for [`explorer list-products`](#command-explorer-list-products) and [`explorer aggregate-products`](#command-explorer-aggregate-products).
af docs get catalog_playbook
# Read the glossary of domain terms seen in responses.
af docs get glossaryaf api
af api <path> [flags]
对没有专用命令的端点发起原始 API 请求。端点、参数和响应结构在 https://docs.appfigures.com 有文档说明。
选项
<path>必填字符串。API 路径(例如 /users、/products)--method字符串,默认GET。HTTP 方法(可选值:GET、POST、PUT、PATCH、DELETE、HEAD、OPTIONS)--body字符串。请求体(JSON 字符串)
af mcp
af mcp
通过 stdio 运行一个 MCP 服务器,供 Claude Desktop 和 Cursor 等 MCP 客户端调用 Appfigures 工具。
af auth login
af auth login [flags]
登录 Appfigures
打印一个 URL 以授权此 CLI。打开它,批准访问,然后使用批准后显示的代码重新运行 --code <code>。传递 --interactive 以通过引导式浏览器流程登录。
对于无人值守使用(CI、脚本),请改为在环境中设置 APPFIGURES_API_KEY。无需浏览器流程。
选项
--code字符串。来自 OAuth 同意页面的授权代码。af auth login的第二步:交换代码、保存令牌、退出。--interactive布尔值。通过引导式浏览器流程登录。
af auth logout
af auth logout
移除已存储的凭据
af auth status
af auth status
显示身份验证和账户状态
支持
贡献
此包在私有 monorepo 中开发,并作为镜像发布于此。要报告错误或请求功能,请打开一个问题。
我们也在招聘 AI 原生开发者。如果你想帮助构建 AI 应用智能的未来,请在 appfigures.com/careers 申请。
许可证
Apache 2.0
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseNot gradedqualityAmaintenanceMCP server for App Store Connect API with 208 tools across 25 workers. Manage apps, builds, TestFlight, in-app purchases, subscriptions, reviews, provisioning, screenshots, analytics, and more — directly from Claude, Cursor, VS Code, or any MCP client. Multi-account support, worker filtering, JWT auth.57MIT
- AlicenseAqualityAmaintenanceAn opinionated MCP server for App Store Connect that provides 13 curated tools, slash-command workflows, and a Claude Skill to manage apps, reviews, sales, and pre-submission audits via natural language.411,235MIT
- AlicenseNot gradedqualityAmaintenanceA Model Context Protocol server that exposes the entire Apple App Store Connect API (1,200+ operations) as MCP tools, enabling AI assistants to query apps, manage builds, handle submissions, read analytics, and more.21MIT
- AlicenseAqualityBmaintenanceMCP server for Claude Desktop that exposes App Store Connect and RevenueCat APIs, enabling indie iOS developers to query portfolio metrics, sales reports, subscriptions, and customer reviews directly in chat.17MIT
Related MCP Connectors
MCP connector that lets ChatGPT list, search, and run your Apple Shortcuts via a local Mac agent
Real-time Amazon, WIPO & PACER data for AI agents — 19 tools via the MCP protocol.
Search, read, and write your Apple Notes from ChatGPT/Claude via a local Mac agent + MCP relay.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/appfigures/cli'
If you have feedback or need assistance with the MCP directory API, please join our Discord server