# TikTok Hashtag, Sound & Place Scraper | Posts & Stats (`genial_candlestand/tiktok-hashtag-sound-place-scraper`) Actor

Get TikTok posts from hashtag, sound (music) and place (location) feeds: caption, publish date, views, likes, shares, saves, author handle, sound title, tagged place and rank in the feed. Mix many hashtags, sounds and places in one run. No login.

- **URL**: https://apify.com/genial_candlestand/tiktok-hashtag-sound-place-scraper.md
- **Developed by:** [Flowo](https://apify.com/genial_candlestand) (community)
- **Categories:** Social media
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.96 / 1,000 posts

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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 Hashtag, Sound & Place Scraper | Posts & Stats

![TikTok Hashtag, Sound & Place Scraper | Posts & Stats](https://api.apify.com/v2/key-value-stores/Ll7RrWtDkZYOrBvfE/records/tiktok-com-hashtag-sound-location-feed-banner-fcecab6b.png)

Get the public posts of TikTok hashtag, sound (music) and place (location) feeds as flat rows: caption, publish date, views, likes, comments, shares and saves, the author's handle, the sound title and the tagged place. Every row also tells you which feed it came from, the input you gave and the post's rank in the feed, plus the feed's total video count (and total views for hashtags). One run can mix any number of hashtags, sounds and places, with no login.

### What does TikTok Hashtag, Sound & Place Scraper do?

You give it TikTok hashtags (`cooking`, `#quokka` or a `/tag/` URL), sound URLs or ids and place URLs or ids. It returns one row per post in each feed, in the order TikTok serves them. It is built for marketers tracking a campaign hashtag or a trending sound, music labels measuring how a track spreads, tourism and local-business analysts watching a place, and researchers or AI agents that need "posts for #X, sound Y or place Z" in one call.

### How to scrape TikTok hashtag, sound and place feeds

![How TikTok Hashtag, Sound & Place Scraper works: Resolves each hashtag, sound or place to its TikTok feed and its totals; Pages through each feed in order: hashtags, then sounds, then places; Retries ](https://api.apify.com/v2/key-value-stores/Ll7RrWtDkZYOrBvfE/records/tiktok-com-hashtag-sound-location-feed-how-a2829d5f.png)

1. Open the actor in Apify Console.
2. Add hashtags to **Hashtags**, sound URLs or ids to **Sounds (music)** and place URLs or ids to **Places (locations)**. Fill any one of them or all three.
3. Set **Max posts per feed** (default 100) and, if you want a hard cap for the whole run, **Max posts in total**.
4. Keep the default Apify datacenter proxy.
5. Click **Start**. Download the posts as JSON, CSV or Excel, or read them via the API.

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

Price per event by Apify plan:

| Event | Free | Bronze | Silver | Gold and above |
|---|---|---|---|---|
| Post | $2.30 per 1,000 | $2.185 per 1,000 | $2.07 per 1,000 | $1.955 per 1,000 |
| Actor start | $0.00005 | $0.00005 | $0.00005 | $0.00005 |

A test run with the API example input below returned 400 rows in 81 s.

You pay per post saved to the dataset (the `post` event, $0.0023 per post, $2.30 per 1,000 posts on the Free plan) plus a small actor start event ($0.00005). Feeds that are not found, invalid inputs and duplicate posts within a feed are not charged.

| Scenario | Posts (events) | Cost on Free plan |
|---|---|---|
| One hashtag, 100 posts | 100 | about $0.23 |
| Default input: 2 hashtags, 1 sound, 1 place, 100 posts each | 400 | about $0.92 |
| 5 sounds, 200 posts each | 1,000 | about $2.30 |
| 10 places, 1,000 posts each | 10,000 | about $23.00 |

### Input

![TikTok Hashtag, Sound & Place Scraper input example: Hashtags, Sounds (music), Places (locations), Max posts per feed](https://api.apify.com/v2/key-value-stores/Ll7RrWtDkZYOrBvfE/records/tiktok-com-hashtag-sound-location-feed-input-b9e68455.png)

| Field | What it takes |
|---|---|
| `hashtags` | Hashtag feeds, one per line: a name (`cooking`), `#name` or a tag URL (`https://www.tiktok.com/tag/cooking`). Case and spaces do not matter, TikTok resolves them ("two words" → #twowords). |
| `sounds` | Sound feeds: a sound URL (`https://www.tiktok.com/music/Takke-6870193640413612033`) or its numeric id. Sound names cannot be searched. |
| `places` | Place feeds: a place URL (`https://www.tiktok.com/place/Tokyo-22535865201203976`) or its numeric id. Place names such as "Paris" cannot be resolved. |
| `maxItemsPerFeed` | Posts per feed, 1–2000, default 100. Hashtag feeds end earlier (about 120–240 posts). |
| `maxItems` | Optional cap on posts for the whole run, across all feeds. |
| `proxyConfiguration` | Proxy settings. Default: Apify datacenter proxy. |

At least one hashtag, sound or place is needed. A sound or place URL pasted into the wrong field is scraped as its own feed type with a warning. Video URLs, profile URLs, short links (`vm.tiktok.com`) and non-TikTok links are skipped with a warning.

```json
{
  "hashtags": ["cooking", "#quokka"],
  "sounds": ["https://www.tiktok.com/music/Opera-Puccini-7067962696800405506"],
  "places": ["https://www.tiktok.com/place/Tokyo-22535865201203976"],
  "maxItemsPerFeed": 100,
  "maxItems": 500
}
```

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

![TikTok Hashtag, Sound & Place Scraper output example: Cover, Feed type, Feed, Rank, Caption](https://api.apify.com/v2/key-value-stores/Ll7RrWtDkZYOrBvfE/records/tiktok-com-hashtag-sound-location-feed-output-e8b76008.png)

| Group | Fields |
|---|---|
| Feed context | `feedType` (`hashtag`, `sound` or `place`), `feedId`, `feedTitle`, `feedVideoCount`, `feedViewCount` (hashtags only), `query`, `position` |
| Post | `id`, `url`, `description`, `publishedAt`, `language`, `country` (sound feeds only), `hashtags`, `mentions`, `isPhotoPost`, `isAd` |
| Video | `durationSec`, `videoWidth`, `videoHeight`, `imageUrl` (cover), `videoUrl` |
| Counts | `playCount`, `likeCount`, `commentCount`, `shareCount`, `collectCount` (saves), `repostCount` |
| Author | `authorUsername`, `authorNickname`, `authorId`, `authorUrl`, `authorBio`, `authorAvatarUrl`, `authorVerified`, `authorFollowers`, `authorFollowing`, `authorLikes`, `authorVideoCount` |
| Sound | `musicId`, `musicTitle`, `musicAuthor`, `musicOriginal`, `musicUrl` |
| Place | `poiId`, `poiName`, `poiAddress`, `poiCategory` |
| Run | `scrapedAt` |

A real row from the `cooking` hashtag feed (media URLs shortened):

```json
{
  "feedType": "hashtag",
  "feedId": "18973",
  "feedTitle": "cooking",
  "feedVideoCount": 19478818,
  "feedViewCount": 563725519616,
  "query": "cooking",
  "position": 23,
  "id": "7655736626265459990",
  "url": "https://www.tiktok.com/@cookingwithcarter/video/7655736626265459990",
  "description": "The most refreshing Greek Salad 🥗 #fyp #fun #salad #summer ",
  "publishedAt": "2026-06-26T16:08:16.000Z",
  "language": "en",
  "country": null,
  "hashtags": ["fyp", "fun", "salad", "summer"],
  "mentions": [],
  "isPhotoPost": false,
  "isAd": false,
  "durationSec": 140,
  "videoWidth": 576,
  "videoHeight": 1024,
  "imageUrl": "https://p16-common-sign.tiktokcdn-us.com/…",
  "videoUrl": "https://v16-webapp-prime.us.tiktok.com/video/…",
  "playCount": 4400000,
  "likeCount": 549800,
  "commentCount": 8547,
  "shareCount": 75000,
  "collectCount": 28899,
  "repostCount": 0,
  "authorUsername": "cookingwithcarter",
  "authorNickname": "Cookingwithcarter",
  "authorId": "7418968417489929248",
  "authorUrl": "https://www.tiktok.com/@cookingwithcarter",
  "authorAvatarUrl": "https://p16-common-sign.tiktokcdn-us.com/…",
  "authorVerified": false,
  "authorFollowers": 1400000,
  "authorFollowing": 110,
  "authorLikes": 20600000,
  "authorVideoCount": 152,
  "musicId": "7655736660528745238",
  "musicTitle": "original sound",
  "musicAuthor": "Cookingwithcarter",
  "musicOriginal": true,
  "musicUrl": "https://v16m.tiktokcdn-us.com/…",
  "poiId": "42203860746236980",
  "poiName": "Great Britain",
  "poiAddress": "Great Britain, Lancashire, England, United Kingdom",
  "poiCategory": "Outdoors and Attractions",
  "scrapedAt": "2026-11-12T22:22:42.779Z"
}
```

### Use cases

- **Campaign hashtag monitoring:** run your brand hashtags daily and compare views, likes, shares and saves per post, the authors' follower counts, and the hashtag's total videos and views over time.
- **Sound spread for music labels:** list the videos that use a track, with exact counts and the country each post was created in.
- **Tourism and local business:** collect posts tagged at a city, venue or landmark with the place name, address, category and publish date.
- **Trend research and AI agents:** one call returns hashtag, sound and place rows together, told apart by `feedType` and `query` and ranked by `position`.

### Limitations

- **Hashtag depth:** TikTok shows logged-out visitors only about 120–240 posts per hashtag, so a higher `maxItemsPerFeed` has no effect there. The log says when a hashtag feed ended below your limit. Place feeds gave 300+ posts in tests; small sounds can end early.
- **No sort or date filter:** the order is TikTok's own relevance mix, not newest first, and one feed can span many years.
- **Names are not searched:** sounds and places need a URL or numeric id.
- **Sound rows** have no author follower data: `authorFollowers`, `authorFollowing`, `authorLikes`, `authorVideoCount` and `authorAvatarUrl` are null there. `country` is filled only on sound rows.
- **Rounded views:** on hashtag and place feeds TikTok rounds `playCount` for logged-out viewers (e.g. 4400000); sound feeds give exact counts.
- **Fields that can be null:** every field except `feedType`, `feedId`, `query`, `position`, `id`, `url` and `scrapedAt`. Typical cases: `feedTitle` and `feedVideoCount` when TikTok withholds feed details, `feedViewCount` on sound and place rows, `description` and `authorBio` when empty, the `poi…` fields on posts with no tagged place, `musicUrl` on some posts.
- `language` can be `un` (undetermined). `imageUrl`, `videoUrl` and `authorAvatarUrl` are signed by TikTok and expire; video playback needs TikTok cookies. Media is not downloaded.
- The same post found in two feeds gives two rows, each with its own feed context.

### Tips and troubleshooting

- **0 rows?** Check the log: a hashtag, sound or place that does not exist is reported as "not found" and is free. A place or sound given by name is skipped; copy the URL from its TikTok page.
- **Fewer hashtag posts than asked?** That is TikTok's logged-out cap (about 120–240 posts). Add related hashtags to get more posts.
- **Use `maxItems`** to cap the cost of a run. Feeds run in order hashtags → sounds → places, so later feeds may get no rows once the cap is reached.
- **Keep the datacenter proxy.** Without a proxy a blocked feed cannot be retried from a new IP. A residential proxy works for hashtags and sounds, but TikTok then hides place details (`feedTitle` and `feedVideoCount` stay empty on place rows).
- **Only new posts:** schedule the run and compare post `id`s with the previous dataset; there is no date filter at the source.

### API, MCP and integrations

Run the actor from your code with the same JSON input as in Console. Your API token is in [Console → Settings → API & Integrations](https://console.apify.com/settings/integrations).

**Python** (`pip install apify-client`):

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("genial_candlestand/tiktok-hashtag-sound-place-scraper").call(run_input={
    "hashtags": ["cooking", "quokka"],
    "sounds": ["https://www.tiktok.com/music/Opera-Puccini-7067962696800405506"],
    "places": ["https://www.tiktok.com/place/Tokyo-22535865201203976"],
    "maxItemsPerFeed": 100,
})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)
```

**Node.js** (`npm install apify-client`):

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

const client = new ApifyClient({ token: 'YOUR_APIFY_TOKEN' });
const run = await client.actor('genial_candlestand/tiktok-hashtag-sound-place-scraper').call({
    "hashtags": ["cooking", "quokka"],
    "sounds": ["https://www.tiktok.com/music/Opera-Puccini-7067962696800405506"],
    "places": ["https://www.tiktok.com/place/Tokyo-22535865201203976"],
    "maxItemsPerFeed": 100,
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);
```

**HTTP** — one request runs the actor and returns the results (runs up to 5 minutes; longer ones: [run asynchronously](https://docs.apify.com/api/v2/act-runs-post)):

```bash
curl -X POST "https://api.apify.com/v2/acts/genial_candlestand~tiktok-hashtag-sound-place-scraper/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"hashtags":["cooking","quokka"],"sounds":["https://www.tiktok.com/music/Opera-Puccini-7067962696800405506"],"places":["https://www.tiktok.com/place/Tokyo-22535865201203976"],"maxItemsPerFeed":100}'
```

**AI agents (MCP).** Add the actor as a tool of the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp). Claude Code:

```bash
claude mcp add --transport http apify "https://mcp.apify.com?tools=genial_candlestand/tiktok-hashtag-sound-place-scraper"
```

Claude Desktop, Cursor or VS Code: `{"mcpServers": {"apify": {"url": "https://mcp.apify.com?tools=genial_candlestand/tiktok-hashtag-sound-place-scraper"}}}`. Then ask, for example:

- "Get 200 TikTok posts for #cooking with views, likes and author follower counts"
- "List videos using the TikTok sound 7067962696800405506 and count them by country"
- "Get 300 TikTok posts tagged at https://www.tiktok.com/place/Tokyo-22535865201203976"

**Integrations.** Run it on a schedule with [Apify Schedules](https://docs.apify.com/platform/schedules) and send the results to Google Sheets, Slack, Zapier, Make, n8n or your webhook — see [Apify integrations](https://docs.apify.com/platform/integrations).

### FAQ

**Do I need a TikTok account or cookies?**<br>
No. The actor reads public feeds without login.

**Can I search a sound or place by name?**<br>
No. Open the sound or place on TikTok and copy its URL (or the numeric id at its end).

**Why do hashtag feeds stop at about 200 posts?**<br>
TikTok ends hashtag feeds for logged-out visitors after about 120–240 posts. Sound and place feeds go deeper (`maxItemsPerFeed` up to 2000).

**How is it different from other TikTok feed scrapers?**<br>
It takes hashtags, sounds and places in one input, with no per-feed or per-location fee. Rows are flat (author, sound and place as plain columns) and carry the feed context — `feedVideoCount`, `feedViewCount`, `query` and `position` — plus `country` on sound rows. The price is $2.30 per 1,000 posts, against $3.00 for the leading dedicated hashtag scraper and $5.00 for the leading dedicated sound scraper.

**Is it legal to scrape TikTok?**<br>
The actor collects only data that TikTok shows publicly to any visitor and no personal data beyond that. You are responsible for how you use it, including data-protection rules such as GDPR for author data, and TikTok's terms. Consult a lawyer if unsure.

### Also useful

- [TikTok Video Details Scraper](https://apify.com/genial_candlestand/tiktok-video-details-scraper) — get full details and transcripts for the TikTok posts you found in a feed
- [Instagram Profile Scraper](https://apify.com/genial_candlestand/instagram-profile-details-scraper) — check the same creators on Instagram: exact followers, bio and links
- [YouTube Search Scraper](https://apify.com/genial_candlestand/youtube-search-scraper) — track the same topic or song on YouTube: videos, Shorts and views
- [Google Trends Scraper](https://apify.com/genial_candlestand/google-trends-scraper) — compare a hashtag's TikTok buzz with search interest over time and by region
- [Pinterest Search Scraper](https://apify.com/genial_candlestand/pinterest-search-scraper) — find pins for the same keyword: images, outbound links and reactions

# Actor input Schema

## `hashtags` (type: `array`):

Hashtag feeds to scrape, one per line: a name (cooking), #name, or a tag URL (https://www.tiktok.com/tag/cooking). TikTok ignores case and spaces. Logged-out TikTok ends a hashtag feed after about 120-240 posts, so a higher per-feed limit has no effect. Sound or place URLs pasted here are scraped as sounds or places. Give at least one hashtag, sound or place.

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

Sound feeds (videos that use a sound), one per line: a sound URL (https://www.tiktok.com/music/Takke-6870193640413612033) or its numeric id. Sound names cannot be searched; copy the URL from the sound page. Sound rows have exact counts but no author follower counts.

## `places` (type: `array`):

Place feeds (videos tagged with a location), one per line: a place URL (https://www.tiktok.com/place/Tokyo-22535865201203976) or its numeric id. Place names such as "Paris" cannot be resolved; copy the URL from the place page.

## `maxItemsPerFeed` (type: `integer`):

Stop each hashtag, sound or place feed after this many posts. Hashtag feeds end earlier (about 120-240 posts) because TikTok caps them for logged-out visitors.

## `maxItems` (type: `integer`):

Optional cap on posts for the whole run, across all feeds. Feeds are processed in input order (hashtags, then sounds, then places), so later feeds may get no posts. Leave empty for no total cap.

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

Apify datacenter proxy (the default) works best. Without a proxy a blocked feed cannot be retried from a new IP. Residential proxy works for hashtags and sounds, but TikTok then hides place details (place name and video count stay empty).

## Actor input object example

```json
{
  "hashtags": [
    "cooking",
    "quokka"
  ],
  "sounds": [
    "https://www.tiktok.com/music/Opera-Puccini-7067962696800405506"
  ],
  "places": [
    "https://www.tiktok.com/place/Tokyo-22535865201203976"
  ],
  "maxItemsPerFeed": 100,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

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

Dataset with one row per post and feed

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

Posts in the overview table view

# 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 = {
    "hashtags": [
        "cooking",
        "quokka"
    ],
    "sounds": [
        "https://www.tiktok.com/music/Opera-Puccini-7067962696800405506"
    ],
    "places": [
        "https://www.tiktok.com/place/Tokyo-22535865201203976"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("genial_candlestand/tiktok-hashtag-sound-place-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 = {
    "hashtags": [
        "cooking",
        "quokka",
    ],
    "sounds": ["https://www.tiktok.com/music/Opera-Puccini-7067962696800405506"],
    "places": ["https://www.tiktok.com/place/Tokyo-22535865201203976"],
}

# Run the Actor and wait for it to finish
run = client.actor("genial_candlestand/tiktok-hashtag-sound-place-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 '{
  "hashtags": [
    "cooking",
    "quokka"
  ],
  "sounds": [
    "https://www.tiktok.com/music/Opera-Puccini-7067962696800405506"
  ],
  "places": [
    "https://www.tiktok.com/place/Tokyo-22535865201203976"
  ]
}' |
apify call genial_candlestand/tiktok-hashtag-sound-place-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,genial_candlestand/tiktok-hashtag-sound-place-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/wV5fvbEgbxupAxvha/builds/eroZUFRF9dW0E4vtv/openapi.json
