Skip to content

Apps · MCP TOOL

get_app_historicals

Read daily metrics and optional chart positions for one app.

Set up your assistant · Authentication and errors

When to use it

Check observed changes over time. storefront selects daily snapshots; rank rows identify their own storefronts. Snapshot bounds include UTC calendar days; rank bounds use the supplied instants inclusively.

Parameters

NameTypeRequiredDefaultAllowed valuesDescription
appIdstringYes——"ios:284882215", "android:com.example.app", or a bare id together with `source` Minimum length: 1. Maximum length: 210.
sourcestringNo—apple_mobile, google_mobile, ios, androidStore: apple_mobile/ios or google_mobile/android.
storefrontstringNo——Two-letter storefront for daily metric snapshots. Minimum length: 2. Maximum length: 2. Pattern: ^[a-z]{2}$.
fromstring (date-time)No——Inclusive date/time lower bound.
tostring (date-time)No——Inclusive date/time upper bound.
includeRanksbooleanNo——Include chart positions in addition to daily metric snapshots.

Defaults and constraints come from the published Zod input schema. “—” means no schema default or no enum restriction. Use JSON values of the listed type; additional handler rules are described above.

Example prompts

  • Show Spotify’s daily metrics and chart positions since September 1, 2026.

Example call

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_app_historicals",
    "arguments": {
      "appId": "android:com.spotify.music",
      "from": "2026-09-01T00:00:00Z",
      "includeRanks": true
    }
  }
}

Example result

Illustrative, abridged JSON-RPC result. Only selected fields are shown; empty arrays illustrate a response with no rows. These are not current catalog observations. Parse the JSON inside content[].text.

{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [
      {
        "type": "text",
        "text": "{\"appId\":\"android:com.spotify.music\",\"series\":[],\"ranks\":[]}"
      }
    ]
  }
}

Free vs paid results

Daily snapshots and chart positions for the named app remain available on Free. This series is not a revenue-estimate history.

Paid access does not fill coverage gaps or unknown values. Returned plan metadata and lock notes explain redaction where applicable. Read the full Free data policy.

Rate limits and usage credit

PlanCalls per tool / dayAll tools / week
Free550
Basic100700
Pro3002,500

Days reset at 00:00 UTC. The combined ISO week resets Monday at 00:00 UTC. Every served tool call counts, including cached reads. Failed or refused calls are released along with any charge. Compare plans.

After either allowance, Basic and Pro can opt in to pay $0.02 in usage credit per call to get_app_historicals. A call exceeding both windows is charged once. Free is refused past its allowances; paid plans without opt-in or enough credit are also refused with HTTP 402 / JSON-RPC -32004.

Credential request throttles and, for live keyword work, store-work throttles also apply. Follow retry instructions in the error reference.