数据分析

AdMapix

从 AdMapix API 拉取广告创意、应用、榜单和收入预估等数据,原样返回结构化 JSON。

它能做什么

AdMapix API 的只读客户端,覆盖广告创意、应用、榜单、下载/收入预估、分发与市场元数据等接口,原样返回 JSON 响应,不做任何重命名、汇总或裁剪。认证通过 ADMAPIX_API_KEY 作为 X-API-Key 请求头完成,Key 缺失或无效时输出结构化错误,不会发起裸调用。本技能不进行分析、总结或页面生成,由调用方决定组合哪些接口、如何解读结果。创意搜索的 page_size 上限为 10;下载与收入数据作为第三方预估原样透传,由调用方自行标注。

什么时候用它

  • 按关键词、国家或媒体渠道检索广告创意素材
  • 按国家和分类查询应用商店榜单
  • 获取某款产品的下载量与收入预估数据
  • 通过 filter-options 等元数据接口发现可用筛选字段与编码

技能文档

AdMapix Data Layer

A thin client over the AdMapix read API. It fetches raw structured data and returns it as JSON. It does not analyze, summarize, rank, generate pages, or run autonomous research — the calling agent (e.g. Claude Code, Codex) decides which endpoints to call, composes multi-call workflows from the metadata, and does any analysis itself.

Out of scope (never done inside this skill): HTML/H5 page generation, hosted "deep research", autonomous multi-step research, summaries, insights, recommendations, dashboards, message-send.

Auth

Use ADMAPIX_API_KEY as the X-API-Key header. Never print or expose the key.

admapix_auth_header="X-API-Key: ${ADMAPIX_API_KEY}"
# GET
curl -s "https://api.admapix.com/api/data/{endpoint}?{params}" -H "$admapix_auth_header"
# POST
curl -s -X POST "https://api.admapix.com/api/data/{endpoint}" \
  -H "$admapix_auth_header" -H "Content-Type: application/json" -d '{...}'

For creative search, prefer the admapix.search_creatives MCP tool when available; otherwise call POST /api/data/search directly.

Step 1 — Check the key

Before any API call, verify the key is configured (without printing its value):

[ -n "${ADMAPIX_API_KEY:-}" ] && echo ok || echo missing

Step 2 — If missing, show the setup guide

If the key is missing (and no MCP tool is available), do not call the API. Show the user how to get and configure a key — in their language — then ask them to retry. Detect language from the user's message.

中文用户:

🔑 需要先配置 AdMapix API Key 才能使用:

  1. 打开 https://www.admapix.com 注册账号
  2. 登录后在控制台找到 API Keys,创建一个 Key
  3. 选择一种方式配置:
    • OpenClaw / ClawHub:在终端运行 openclaw config set skills.entries.admapix.apiKey "你的_API_KEY"
    • 通用环境变量:在终端运行 export ADMAPIX_API_KEY="你的_API_KEY"
  4. 配置完成后重新发起查询 ✅

English users:

🔑 You need an AdMapix API Key to get started:

  1. Sign up at https://www.admapix.com
  2. After signing in, open API Keys in your dashboard and create one
  3. Configure it one of these ways:
    • OpenClaw / ClawHub: run openclaw config set skills.entries.admapix.apiKey "YOUR_API_KEY" in your terminal
    • Generic env var: run export ADMAPIX_API_KEY="YOUR_API_KEY" in your terminal
  4. Re-run your query after setup ✅

If the host provides a secure secret/config command, point the user to that instead. Never accept, echo, or store the key from chat — keep it out of responses, logs, and links. For programmatic callers, also return the missing_api_key error (see Error Handling).

Endpoint Catalog

Each endpoint is a raw data source. Read the listed reference file before using an endpoint you have not called yet — it carries the exact params and response fields. Compose multiple calls as needed; the skill itself stays single-call-per-request and returns raw JSON.

Creatives / ads — references/api-creative.md

EndpointMethodPurpose
/api/data/searchPOSTSearch ad creatives
/api/data/countPOSTCount creatives for a query
/api/data/count-allPOSTCounts broken down by dimension
/api/data/distributePOSTCreative distribution breakdown
/api/data/distribute-dimsGETAvailable distribute dimensions
/api/data/content-detailGETSingle creative detail (`related=imagevideo
/api/data/item-appsPOSTApps associated with a creative
/api/data/screen-typesGETScreen / element type codes
/api/data/page-configGETSearch page config

Metadata / filters — references/api-creative.md + references/param-mappings.md

EndpointMethodPurpose
/api/data/filter-optionsGETAll filter metadata: countries, mediaChannels, adTypes, device, tradeLevel(Tree), productModel, etc. Pull this to discover valid codes for any filter.

Apps / products / companies — references/api-product.md

EndpointMethodPurpose
/api/data/unified-product-searchPOSTUnified app/product search
/api/data/product-searchPOSTProduct search
/api/data/company-searchPOSTDeveloper / company search
/api/data/app-detailGETApp detail by unifiedProductId
/api/data/developer-detailGETDeveloper detail
/api/data/app-profileGETApp profile
/api/data/similar-appsPOSTSimilar apps
/api/data/sdk-detailGETSDKs used by a package
/api/data/product-content-searchPOSTCreatives for a product
/api/data/product-content-countsPOSTCreative counts for a product
/api/data/product-list, /for-product-list, /product-agg-listPOSTProduct lists / aggregations

Rankings — references/api-ranking.md

EndpointMethodPurpose
/api/data/store-rankPOSTApp-store rankings (free / paid / grossing)
/api/data/generic-rankPOSTGeneric ranking lists
/api/data/store-categoriesGETStore category codes
/api/data/store-countriesGETStore country codes

Downloads & revenue (third-party estimates) — references/api-download-revenue.md

EndpointMethodPurpose
/api/data/download-date, download-detail, download-countryGET/POSTDownload estimates by date / detail / country
/api/data/revenue-date, revenue-detail, revenue-countryGET/POSTRevenue estimates by date / detail / country

⚠️ Download/revenue figures are third-party estimates, not official data. Return the raw numbers as-is; the calling agent must note they are estimates when presenting.

Distribution — references/api-distribution.md

EndpointMethodPurpose
/api/data/app-distributionPOSTApp-level distribution
/api/data/global-promotePOSTGlobal promotion data

Market — references/api-market.md

EndpointMethodPurpose
/api/data/market-searchPOSTMarket-level search / aggregation

Parameter Mapping

Read references/param-mappings.md to translate natural language into codes:

  • creative type (010=video, etc.), industry (trade_level1: 602=Game, 607=Finance…), country / region groups, relative date ranges, sorting, page size.
  • For codes not in param-mappings (sub-industries, media channels, devices, store categories…), pull GET /api/data/filter-options or the endpoint-specific dimension call (e.g. store-categories).

For the creative search endpoint, page_size is capped at 10 (clamp any larger request down to 10; use page for more). Other list endpoints use their own documented ranges.

Output Rules

Return the API response as raw structured JSON — keep the API field names; do not rename, drop, summarize, rank, or editorialize. The calling agent composes and analyzes.

  • Response shapes vary by endpoint. Creative search via direct API returns pageIndex / pageSize / totalSize / list; the MCP tool additionally wraps it with request / page / page_size. totalSize may be null on filtered queries — use the length of list.
  • An empty list is a valid result (no matches), not an error.
  • Pass through extra fields (e.g. gptCorrect spelling suggestions) unchanged; do not silently swap a keyword.

Do not: generate H5 / landing / card / dashboard pages, hide records behind links, run hosted "deep research" or autonomous multi-step research, or produce analysis / recommendations unless the user explicitly asks after receiving the data.

Error Handling

Agent-level (no request was made — no MCP tool and ADMAPIX_API_KEY is missing):

{ "error": { "code": "missing_api_key", "message": "Missing ADMAPIX_API_KEY environment variable", "retry": false } }

API-level (the call returned a non-2xx status). The API responds with { "detail": "...", "code": "..." }; surface it plus the HTTP status, and never print the key. HTTP 401 with INVALID_API_KEY / NOT_AUTHENTICATED means the key is missing, malformed, or disabled — do not retry:

{ "error": { "code": "invalid_api_key", "http_status": 401, "message": "Invalid API key format", "retry": false } }

常见问题

这个技能会自己做分析或总结吗?
不会。它只原样返回 API 的 JSON,不做解读、组合或分析,这些都由调用方完成。
API Key 缺失时会怎样?
返回 code 为 missing_api_key 的结构化错误,不发起实际请求,也不会在任何输出、日志或链接里出现 Key 的值。
下载和收入数据是官方数字吗?
不是,这些是第三方预估数据,本技能原样透传,调用方在展示时应自行标注为预估。

相关技能

通过托管 OAuth,使用 GAQL 查询 Google Ads 广告系列、关键词和效果数据。

261 次安装20 星标

读取产品的漏斗、路径、留存与实验结果,并给出下一步最小可行的增长动作。

163 次安装2 星标

追踪关键词排名、SERP 特性与 AI 可见性,输出带基线标签的位移变化。

124 次安装1 星标

通过托管 OAuth 连接,读写 Google Merchant Center 的商品、库存、促销与账户数据。

231 次安装5 星标

跨境电商研究型智能体,79 个内置工具覆盖亚马逊选品、关键词、竞品、专利与趋势分析,并支持 1688 货源、AI 图像与 PDF 处理。

97 次安装7 星标

通过托管 OAuth 代理调用 Apollo.io API,完成人员与公司搜索、联系人补全和销售数据管理。

226 次安装5 星标