# Track trending TikTok music rank changes across US and UK

**Use case:** 

Samples the main TikTok Explore feed in the United States and United Kingdom for released music tracks used by at least 2 sampled videos, and compares each country's ranked list against the previous run. Only changes is on, returning NEW, BACK, UP, DOWN and DROPPED tracks with rankChange, plays, likes, freshness and top video links while skipping unchanged tracks.

## Input

```json
{
  "countries": [
    "US",
    "GB"
  ],
  "categories": [
    "All"
  ],
  "sampleVideos": 300,
  "maxSoundsPerSample": 25,
  "minVideosPerSound": 2,
  "soundType": "music",
  "onlyCommercial": false,
  "onlyNewSounds": false,
  "onlyChanges": true,
  "reuseTodaysSample": true,
  "maxItems": 40
}
```

## Output

```json
{
  "country": {
    "label": "Country",
    "format": "string"
  },
  "category": {
    "label": "Category",
    "format": "string"
  },
  "lifecycle": {
    "label": "Change",
    "format": "string"
  },
  "rank": {
    "label": "Rank",
    "format": "integer"
  },
  "previousRank": {
    "label": "Previous rank",
    "format": "integer"
  },
  "rankChange": {
    "label": "Places moved",
    "format": "integer"
  },
  "soundTitle": {
    "label": "Sound",
    "format": "string"
  },
  "soundAuthor": {
    "label": "Artist / creator",
    "format": "string"
  },
  "videosInSample": {
    "label": "Videos using it",
    "format": "integer"
  },
  "firstSeenAt": {
    "label": "First returned",
    "format": "string"
  },
  "soundUrl": {
    "label": "Sound page",
    "format": "string"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The TikTok Trending Sounds Scraper: Songs by Country & Category Actor is ready to run with the inputs already set for "Track trending TikTok music rank changes across US and UK". [Sign up or log in](https://console.apify.com/create-task-from-example/Ebzd7eDiQpCLcem0Q) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Track trending TikTok music rank changes across US and UK" task

The TikTok Trending Sounds Scraper: Songs by Country & Category Actor will start running based on the input automatically. You can also change all the input fields, like countries, explore categories, and more, to match your specific use case.

### 3. Receive the "Track trending TikTok music rank changes across US and UK" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as country, category, change, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Track trending TikTok music rank changes across US and UK" task via API](https://apify.com/kizukidata/tiktok-trending-sounds-scraper.md).

## FAQ

### What does the TikTok trending music rank changes task return?

The TikTok trending music rank changes task returns one row per released track that entered, returned, moved or left the list: country, rank, previousRank, rankChange, lifecycle, soundTitle, soundAuthor, videosInSample, samplePlays and videoUrls.

### Are unchanged or dropped songs charged on scheduled runs?

In the TikTok trending music rank changes task, tracks whose rank stayed SAME are skipped and not charged, and DROPPED rows are reported once without a sound-row charge.

### Can I track other markets such as Brazil, Germany or Japan?

Add up to 25 two-letter country codes such as BR, DE, MX or JP to Countries in the TikTok trending music rank changes task. Unreachable countries are listed in OUTPUT and not charged.

### Does the task need a TikTok account?

The TikTok trending music rank changes task needs no TikTok account or login. Audio file links expire after a run, and the task is not affiliated with TikTok or ByteDance.

## About this Actor

This example demonstrates how to use [TikTok Trending Sounds Scraper: Songs by Country & Category](https://apify.com/kizukidata/tiktok-trending-sounds-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/kizukidata/tiktok-trending-sounds-scraper.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/kizukidata/tiktok-trending-sounds-scraper.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
