Tiktok Hashtag Scraper avatar
Tiktok Hashtag Scraper

Pricing

from $25.00 / 1,000 results

Go to Apify Store
Tiktok Hashtag Scraper

Tiktok Hashtag Scraper

Scrape TikTok videos by hashtag without cookies. Extracts video metadata (views, likes, comments, shares), author info, music metadata, and more. Features anti-bot detection, residential proxy support, and human-like browsing behavior.

Pricing

from $25.00 / 1,000 results

Rating

5.0

(2)

Developer

Crawler Bros

Crawler Bros

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

3 days ago

Last modified

Share

Scrape TikTok videos by hashtag. Extract video metadata, author information, music details, and engagement statistics without requiring login cookies.

Features

  • Scrape videos from any public TikTok hashtag
  • Extract comprehensive video metadata and engagement stats
  • Get author profile information including follower counts
  • Automatic anti-bot protection with residential proxies

Input

ParameterTypeRequiredDefaultDescription
hashtagsarrayYes-List of hashtags to scrape (with or without #)
resultsPerPageintegerNo100Maximum videos per hashtag (up to 800)
minDelayBetweenRequestsintegerNo3Minimum delay between actions (seconds)
maxDelayBetweenRequestsintegerNo7Maximum delay between actions (seconds)
delayBetweenHashtagsintegerNo15Delay before scraping next hashtag (seconds)

Example Input

{
"hashtags": ["webscraping", "python", "coding"],
"resultsPerPage": 100
}

Output

Each video is returned as a JSON object with the following data:

Video Information

FieldTypeDescription
idstringUnique TikTok video ID
textstringVideo caption/description
createTimeintegerCreation timestamp (Unix)
createTimeISOstringCreation timestamp (ISO 8601)
webVideoUrlstringDirect URL to the video
isAdbooleanWhether video is an advertisement

Engagement Stats

FieldTypeDescription
playCountintegerNumber of views
diggCountintegerNumber of likes
commentCountintegerNumber of comments
shareCountintegerNumber of shares
collectCountintegerNumber of saves/bookmarks

Author Information

FieldTypeDescription
authorMeta.namestringUsername
authorMeta.nickNamestringDisplay name
authorMeta.verifiedbooleanVerification status
authorMeta.signaturestringBio/description
authorMeta.fansintegerFollower count
authorMeta.followingintegerFollowing count
authorMeta.heartintegerTotal likes received
authorMeta.avatarstringProfile picture URL

Music Information

FieldTypeDescription
musicMeta.musicNamestringTrack name
musicMeta.musicAuthorstringArtist name
musicMeta.musicOriginalbooleanWhether it's original audio
musicMeta.playUrlstringAudio stream URL

Video Technical Info

FieldTypeDescription
videoMeta.durationintegerDuration in seconds
videoMeta.widthintegerWidth in pixels
videoMeta.heightintegerHeight in pixels
videoMeta.coverUrlstringThumbnail URL
videoMeta.downloadAddrstringVideo download URL

Additional Data

FieldTypeDescription
hashtagsarrayHashtags in the video
mentionsarrayUsers mentioned in caption
challengesarrayTikTok challenges/trends
locationMetaobjectLocation info (if available)
searchedHashtagstringHashtag used to find this video
scrapedAtstringWhen the data was scraped

Example Output

{
"id": "7204347705928191259",
"text": "Scraping website tutorial #programmer #webscraping #fyp",
"createTime": 1677392919,
"createTimeISO": "2023-02-26T06:28:39.000Z",
"webVideoUrl": "https://www.tiktok.com/@username/video/7204347705928191259",
"isAd": false,
"playCount": 12600,
"diggCount": 517,
"commentCount": 27,
"shareCount": 17,
"collectCount": 115,
"authorMeta": {
"id": "6964254822141297665",
"name": "username",
"nickName": "Display Name",
"verified": false,
"signature": "Bio text here",
"avatar": "https://...",
"fans": 1849,
"following": 100,
"heart": 13000
},
"musicMeta": {
"musicName": "LoFi Beat",
"musicAuthor": "Artist Name",
"musicOriginal": false
},
"videoMeta": {
"height": 944,
"width": 576,
"duration": 164,
"coverUrl": "https://..."
},
"hashtags": [
{ "name": "programmer" },
{ "name": "webscraping" },
{ "name": "fyp" }
],
"searchedHashtag": "webscraping",
"scrapedAt": "2024-01-30T12:00:00.000Z"
}

Limitations

  • Results per Hashtag: TikTok limits results to approximately 400-800 videos per hashtag
  • Rate Limiting: Higher delays are recommended for reliable scraping
  • Content Availability: Some content may be region-restricted
  • Dynamic Content: Results may vary based on TikTok's algorithm

Cost Estimation

Using Apify's pay-per-result pricing:

  • $5 per 1,000 results
  • Free tier includes $5 credits/month (~1,000 results)

Support

For issues or feature requests, please contact the actor developer through Apify Console.