SuperAPI AI Directory

sensortower

Data & analytics

View repository

Updated 10-15 20:12

About this skill

SensorTower Mobile App Data Connector

Via dataBridgePull() get mobile app downloads, revenue, active users, and other data.

Get app downloads and revenue

var resp = dataBridgePull("sensortower", "app_sales", {
  os: "ios",
  app_id: "553834731",
  countries: "US,GB",
  start_date: "2024-01-01",
  end_date: "2024-12-31",
  date_granularity: "monthly"
});
if (!resp || !resp.ok) return "获取数据失败: " + (resp ? resp.error : "网络错误");
var records = resp.data.records;
// iOS: [{date, country, appId, iphoneDownloads, ipadDownloads, totalDownloads, iphoneRevenue, ipadRevenue, totalRevenue}, ...]
// Android: [{date, country, appId, downloads, revenue}, ...]

Get active users (DAU/MAU)

var resp = dataBridgePull("sensortower", "app_active_users", {
  os: "ios",
  app_id: "553834731",
  countries: "US",
  start_date: "2024-01-01",
  end_date: "2024-12-31",
  date_granularity: "monthly",
  metric: "dau"
});
var records = resp.data.records; // [{date, country, appId, dau}, ...]

Parameter Description

Parameter Description Example
os Platform "ios" or "android"
app_id App ID iOS numeric ID: "553834731", Android package name: "com.king.candycrushsaga"
countries Country Code "US", "US,GB,JP", "WW"(Global)
start_date Start Date "2024-01-01"
end_date End Date "2024-12-31"
date_granularity Time Granularity "daily" / "weekly" / "monthly" / "quarterly"
metric Active User Metric "dau" / "mau"

Important Rules

  • Revenue Unit: The returned value has been converted to USD (the API originally returns cents, and the handler has already divided by 100)
  • Date Segmentation: The API has a timeout limit, and the handler automatically makes segmented requests by granularity, so no manual handling is needed
  • iOS Distinguishes Devices: iOS data includes separate downloads/revenue for iPhone and iPad, as well as the combined total
  • Check resp.ok: The return status must be checked