TikTok Hashtag Scraper avatar

TikTok Hashtag Scraper

Pricing

from $1.40 / 1,000 results

Go to Apify Store
TikTok Hashtag Scraper

TikTok Hashtag Scraper

Fetch TikTok hashtag data by name: hashtag ID, video count, and view count. Optionally collect the hashtag's current top videos with captions, engagement statistics, and music metadata. Export the data, run it via API, or schedule and monitor trending hashtags.

Pricing

from $1.40 / 1,000 results

Rating

0.0

(0)

Developer

ToolzerHub

ToolzerHub

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

6 days ago

Last modified

Share

Look up a TikTok hashtag by name and get its ID, video count and total views. Tick one box and you get its current top videos instead, each carrying the hashtag's stats.

Input

FieldUse it for
tag_nameHashtag name, no #. Required. A leading # is stripped if you paste one.
regionTwo-letter region code. Default US. Affects the videos only, not the hashtag lookup.
addonHashtagVideosReturn the current top videos as rows instead of the hashtag row. One extra request.
{
"tag_name": "booktok",
"region": "US"
}

Two different outputs, depending on one box

This is the thing to understand before you run it.

addonHashtagVideos off (default) -- you get exactly one row: the hashtag itself.

FieldContents
tag_nameThe hashtag you asked for
ch_idTikTok's hashtag (challenge) ID
hashtag_video_countVideos reported for the hashtag
hashtag_view_countTotal views reported
ch_infoThe full hashtag record
{
"tag_name": "booktok",
"ch_id": "10358",
"hashtag_video_count": 3840000,
"hashtag_view_count": 219000000000
}

addonHashtagVideos on -- you get one row per video, and no standalone hashtag row. Each video row carries the hashtag fields above plus the video's own:

FieldContents
aweme_idVideo ID
descriptionCaption
create_timeUnix timestamp
statsPlay, like, comment and share counts
music_infoThe sound used

So if you were expecting the hashtag row and the videos, you will not find it -- the hashtag's numbers ride along on every video row instead. Nothing is lost, but the row count changes shape entirely.

Questions

Why does region do nothing when the add-on is off? Because the hashtag lookup itself is not regional -- a hashtag's ID and lifetime totals are the same everywhere. Region only applies to the top-videos request, which is genuinely different market to market.

I get zero rows with the add-on on. The hashtag exists. The hashtag resolved but TikTok returned no video list for it in that region. Try a different region, or run without the add-on to confirm the hashtag record itself is fine.

How many top videos come back? As many as TikTok serves for that hashtag and region in a single response -- there is no pagination here and no limit setting. For a large, paged sweep of a hashtag's videos, search the tag as a keyword with the Video Search Scraper.

Are hashtag_video_count and hashtag_view_count always present? Not always. TikTok reports them inconsistently across hashtags, and when a count is missing it comes back as null rather than 0 -- so you can tell "not reported" apart from "genuinely zero".

Can I pass more than one hashtag? No, one per run.

ActorPurpose
TikTok Video Search ScraperPaginated keyword search, when one page of top videos is not enough
TikTok Sound & Music ScraperThe same pattern for a sound instead of a hashtag