# App Store Trends API [Health: Active]

**Category:** 💻 Developer Tools  
**Repository:** https://github.com/trendsapi-ai/app-store-trends-api  
**GitHub Stars:** 0  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/app-store-trends-api-2

## Description
App downloads and chart ranking trends for iOS and Android. Free key at trendsapi.ai

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `uvx` (confidence: high):

```json
"mcpServers": {
  "app-store-trends-api": {
    "command": "uvx",
    "args": ["trendsapi-app-store"],
    "env": {
      "TRENDSAPI_KEY": ""
    }
  }
}
```

**Requires environment variables:** `TRENDSAPI_KEY` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What App Store Trends API does

The App Store Trends API MCP server connects agent workflows to Trends API data for Android app demand and live store rankings. Its data covers Android download history, live iOS App Store charts, and live Google Play charts.

Historical queries use an Android package identifier such as `com.openai.chatgpt`, rather than a human-readable app name. Time-series results contain dated index values from 0 to 100 and may also include absolute volume when available. Growth responses compare one or more predefined or custom periods and report growth, direction, dates, and values.

Live feeds return ranked rows containing a position and label. Supported feed types are `App Store Top Free`, `App Store Top Paid`, and `Google Play`.

## How it works

The Python package sends requests to `POST https://api.trendsapi.ai/api`. Authentication uses the same key as the HTTP API through the `Authorization: Bearer` header. The client exposes parsed Python dataclasses, while JavaScript responses use object properties with the same field names.

The main operations are `get_time_series`, `get_growth`, `get_live`, and `get_top_trends`. A request can retrieve several growth windows at once, and the asynchronous client supports concurrent calls. Each successful request counts as one billed request, including asynchronous calls.

## Setup and configuration

Install the package with:

```bash
pip install trendsapi-app-store
export TRENDSAPI_KEY=your_key
```

Python 3.9 or newer is required. The client reads `TRENDSAPI_KEY` by default, or an API key can be supplied directly to `TrendsAPI` or `AsyncTrendsAPI`. A key is available from trendsapi.ai.

For raw HTTP requests, send JSON with a `mode`, and include `source: "app downloads"` for Android history. The package’s keyword helpers use that source by default. The API expects lowercase source values and exact live-feed type names.

## Tools and capabilities

The App Store Trends API MCP server supports:

- Retrieving dated demand series with `get_time_series`.
- Calculating growth for periods such as `7D`, `3M`, `12M`, `YTD`, or custom date ranges.
- Reading live ranked feeds with pagination through `limit` and `offset`.
- Selecting a live feed category where supported.
- Running asynchronous queries with `AsyncTrendsAPI`.
- Converting time-series dataclasses into pandas data frames for analysis.

## Limitations and notes

Historical `app downloads` data is Android-only; iOS data is available through live feeds rather than the historical series. Use an Android package ID as the keyword. A human-readable term such as `chatgpt` can return a 404, while `com.openai.chatgpt` is the expected format.

A 400 response usually indicates an incorrectly spelled `source` or `type`. Authentication failures return 401, quota exhaustion returns 429, and a missing series returns 404 and should not be retried. The client retries 5xx responses before raising an error. When using curl directly, the HTTP `body` field is a JSON string that must be decoded separately.

_Full upstream README: https://allmcps.com/mcp/app-store-trends-api-2/readme_

