# TikTok Sound Scraper (`automly/tiktok-sound-scraper`) Actor

Scrape any TikTok sound (song or original audio): its title, artist and how many videos use it, plus the videos that use it with views, likes, captions and creators. Real-time API included. No login.

- **URL**: https://apify.com/automly/tiktok-sound-scraper.md
- **Developed by:** [Automly](https://apify.com/automly) (community)
- **Categories:** Social media
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.50 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

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 examples already wired to this Actor's own input schema, see the [API](#api) section below.

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`).

# README

## TikTok Sound Scraper

### What is TikTok Sound Scraper?

**TikTok Sound Scraper** is a tool that lets you **scrape any TikTok sound and the videos that use it**. A sound is a song or an original audio clip that creators add to their videos. For each sound you get its title, artist, length and how many videos use it, then the videos themselves with views, likes, comments, shares, captions, hashtags and creator details. Paste sound links, click **Start**, and download the data as Excel, CSV or JSON.

- 🎵 **Sounds:** title, artist, length and number of videos using it
- 🎬 **Videos:** every video's stats, caption, hashtags and creator
- ⚡ **Real-time API:** get a sound's videos inside your app without starting a run
- 🔓 **No login:** no TikTok account, cookies or API key needed

### What can TikTok Sound Scraper do?

- Get the details of any public TikTok sound, songs and original sounds alike
- Scrape up to 10,000 videos that use each sound
- See which creators use a song and how well their videos perform
- Scrape many sounds in one run
- Get results in seconds over the **real-time API**, without starting a run
- Export to Excel, CSV, JSON, HTML or XML, or send them to Google Sheets, Make, Zapier and more

### What data can you extract from TikTok sounds?

| | | |
|---|---|---|
| 🎵 Sound title | 🎤 Artist or creator | 🔢 Videos using the sound |
| ⏱️ Sound length | 🖼️ Sound cover | ✨ Original sound or released song |
| 🎬 Video URL and ID | 💬 Caption, hashtags and mentions | 📅 Post date |
| 👀 Views, likes, comments | 🔁 Shares, saves, reposts | 👤 Creator username, name and followers |

### How to scrape TikTok sounds

1. [Create a free Apify account](https://console.apify.com/sign-up) (no credit card needed).
2. Open **TikTok Sound Scraper**.
3. Paste one or more **sound links** or sound IDs.
4. Choose how many videos you want per sound, then click **Start**.
5. When the run finishes, download your data as Excel, CSV, JSON, HTML or XML.

### ⬇️ Input

Add sound links or IDs. To find a sound's link, tap the sound name at the bottom of any TikTok video and copy the link of the sound page, for example `https://www.tiktok.com/music/original-sound-7688400273810737951`. The sound ID is the number at the end of the link.

| Setting | What it does |
|---|---|
| Sounds | The sounds to scrape, as links or IDs |
| Videos per sound | How many videos that use each sound to get (default 100, up to 10,000) |
| Include sound details | Also get one row per sound with its title, artist and number of videos (on by default) |
| Language | Language for the results (default English) |

Example: 500 videos for each of two sounds.

```json
{
  "sounds": [
    "https://www.tiktok.com/music/Trunks-7538696884119324689",
    "7688400273810737951"
  ],
  "resultsPerSound": 500
}
```

### ⬆️ Output

You get one row per sound (`"type": "sound"`) and one row per video that uses it (`"type": "video"`). You can view them as a table in Apify Console or download them as Excel, CSV, JSON, HTML or XML.

A sound row:

```json
{
  "type": "sound",
  "id": "7538696884119324689",
  "title": "Trunks",
  "url": "https://www.tiktok.com/music/-7538696884119324689",
  "author": "A$AP ROCKY",
  "authorUsername": null,
  "original": false,
  "durationSeconds": 60,
  "videos": 324200,
  "coverUrl": "https://p16-common.tiktokcdn-us.com/tos-alisg-v-2774/oYiZknEEKAkDVeQtt9bV14gIDfCBFBAr6BAotI~tplv-tiktokx-cropcenter:720:720.jpeg?...",
  "source": "https://www.tiktok.com/music/Trunks-7538696884119324689",
  "fetchedAt": "2026-09-24T18:45:12Z"
}
```

A video row:

```json
{
  "type": "video",
  "id": "7688400123809893662",
  "url": "https://www.tiktok.com/@khaby.lame/video/7688400123809893662",
  "text": "Yeah… I’m never taking these glasses off again.👓🔨#learnfromkhaby #comedy ",
  "createdAt": "2026-09-22T16:39:49Z",
  "authorUsername": "khaby.lame",
  "authorNickname": "Khabane lame",
  "authorId": "127905465618821121",
  "authorVerified": true,
  "authorFollowers": 163000000,
  "views": 1300000,
  "likes": 188200,
  "comments": 5231,
  "shares": 1573,
  "saves": 8808,
  "reposts": 0,
  "hashtags": ["learnfromkhaby", "comedy"],
  "mentions": [],
  "durationSeconds": 36,
  "coverUrl": "https://p16-common-sign.tiktokcdn-us.com/tos-useast8-p-0068-tx2/oIO9KeEQQEAqDtsf7XFVlNNUIq8NAEAbDBqRI7~tplv-tiktokx-origin.image?...",
  "isSlideshow": false,
  "slideshowImages": [],
  "soundId": "7688400273810737951",
  "soundTitle": "original sound",
  "soundAuthor": "Khabane lame",
  "soundOriginal": true,
  "isAd": false,
  "isPinned": false,
  "language": "en",
  "location": null,
  "isAiGenerated": false,
  "source": "https://www.tiktok.com/music/original-sound-7688400273810737951",
  "fetchedAt": "2026-09-24T18:45:12Z"
}
```

Each run also saves a short report that lists how many sounds and rows it covered, and any sound it could not scrape with the reason (for example, a mistyped or removed sound).

### How can I use TikTok sound data?

- **Music marketing:** track how a song spreads on TikTok and which creators drive it
- **Trend research:** spot rising sounds early and see what kind of videos use them
- **Influencer discovery:** find creators who already use a song or your brand's sound
- **Campaign tracking:** measure the views and engagement of every video made with your sound
- **Content ideas:** see which videos with a trending sound get the most views and why

### Real-time TikTok sound API

Need a sound's videos right away inside your app? Call the actor's API and get the rows back in the response, without starting a run:

```
GET https://<your-actor-standby-url>/sound?id=https://www.tiktok.com/music/Trunks-7538696884119324689&limit=100
Authorization: Bearer <YOUR_APIFY_TOKEN>
```

You can also run the actor from your own code with the [Apify API](https://docs.apify.com/api/v2) or the Python and JavaScript clients:

```python
from apify_client import ApifyClient

client = ApifyClient("<YOUR_APIFY_TOKEN>")
run = client.actor("automly/tiktok-sound-scraper").call(run_input={
    "sounds": ["https://www.tiktok.com/music/Trunks-7538696884119324689"],
    "resultsPerSound": 1000,
})
for row in client.dataset(run["defaultDatasetId"]).iterate_items():
    if row["type"] == "video":
        print(row["url"], row["views"])
```

### ❓FAQ

#### How much does it cost to scrape TikTok sounds?

$0.50 per 1,000 results ($0.0005 per video or sound row), plus $0.00005 per run at the default settings. You pay only for the rows you get, and the **Pricing** tab always shows the current price. Every Apify account gets $5 of free usage each month, enough for about 10,000 results, so you can try it at no cost.

#### How many videos can I get for one sound?

Up to 10,000 per sound. Set **Videos per sound** to the number you need. TikTok does not list every video that uses a sound, so for some sounds you get fewer videos than the number shown on the sound page.

#### What is a TikTok sound ID?

It is the number at the end of a sound's link. In `https://www.tiktok.com/music/original-sound-7688400273810737951` the sound ID is `7688400273810737951`. You can paste either the link or the ID.

#### Do I need a TikTok account?

No. You don't need a TikTok account, cookies or an API key.

#### Can I scrape private videos?

No. Only public sounds and videos can be scraped. Removed or mistyped sounds are skipped and listed in the run report.

#### Is it legal to scrape TikTok sounds?

This scraper only collects sounds and videos that people chose to post publicly. It does not collect private data such as email addresses or phone numbers. Captions and usernames can still contain personal data, which may be protected by laws such as GDPR, so only scrape it for a legitimate reason and ask a lawyer if you are unsure. You can read more in [Is web scraping legal?](https://blog.apify.com/is-web-scraping-legal/)

TikTok Sound Scraper is an independent tool. It is not affiliated with, endorsed by or sponsored by TikTok.

#### Something isn't working. What should I do?

Open the **Issues** tab and tell us the sound link and what you expected. We usually reply within a day.

# Actor input Schema

## `sounds` (type: `array`):

TikTok sound links (https://www.tiktok.com/music/original-sound-7688400273810737951 or https://www.tiktok.com/music/Song-Name-123...) or just the sound ID (the number at the end of the link).

## `resultsPerSound` (type: `integer`):

How many videos that use each sound to scrape.

## `includeSoundInfo` (type: `boolean`):

Also output one row per sound with its title, artist, length and how many videos use it.

## `language` (type: `string`):

Two-letter language code for the results (e.g. en, es, fr, de, ja).

## `proxyConfiguration` (type: `object`):

Proxy settings. The default works for most runs.

## Actor input object example

```json
{
  "sounds": [
    "https://www.tiktok.com/music/Trunks-7538696884119324689"
  ],
  "resultsPerSound": 100,
  "includeSoundInfo": true,
  "language": "en",
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `overview` (type: `string`):

No description

## `videos` (type: `string`):

No description

## `sounds` (type: `string`):

No description

## `results` (type: `string`):

No description

## `report` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "sounds": [
        "https://www.tiktok.com/music/Trunks-7538696884119324689"
    ],
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("automly/tiktok-sound-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "sounds": ["https://www.tiktok.com/music/Trunks-7538696884119324689"],
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("automly/tiktok-sound-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "sounds": [
    "https://www.tiktok.com/music/Trunks-7538696884119324689"
  ],
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call automly/tiktok-sound-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,automly/tiktok-sound-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/Gkc2eF9gIqS5xIigC/builds/egUUaHbPqe7OniM9N/openapi.json
