Platforms · TikTok

TikTok Hashtags Popular Scraper API

Returns the hashtags TikTok itself ranks as trending in a market over the last 7, 30 or 90 days, from the hashtag board TikTok publishes for advertisers. Each row is one hashtag: content.text is the tag (no #), id is TikTok's hashtag id and url its TikTok page. What the board says about it is on ext.trend: rank on the board it was read from, posts and views for the window (not the tag's lifetime totals, which is why engagement.views is null), industry / industry_id / industry_label naming that board (null for the overall board), popularity_curve as one relative value per day (0 to 100, peak = 100), and top_creators with handle, name, followers and country. Pass industry=all to read the overall board and all 15 industry boards in one call, typically 44 to 46 unique hashtags, which is where the niche signal is (in Germany the industry boards carried #adventskalender, #kürbis and #berufsschule while the overall board was three general tags).

GET /api/v1/data/tiktok/hashtags-popular · 6 credits per call · The same call repeated within 30 minutes may get the same answer, so data can be up to 30 minutes old.

Inputs

  • countryCode: Market to read the board for, as an ISO country code. One of the 27 markets TikTok publishes the board for. Defaults to US.
  • period: Window in days: 7, 30 or 90. Defaults to 7. Each window is a different board, not a longer list.
  • since: Only rows published on or after this date: YYYY-MM-DD (midnight UTC) or an ISO 8601 timestamp. Rows older than it are left off each page. A row with no date is kept. `published_after`, `start_date`, `from_date`, `publish_time` (`yesterday`, `this-week`, `this-month`, `last-3-months`, `last-6-months`) and `max_age_days` are accepted and applied as `since`.
  • until: Only rows published on or before this date: YYYY-MM-DD (that whole UTC day is included) or an ISO 8601 timestamp. A row with no date is kept. `published_before`, `end_date` and `to_date` are accepted and applied as `until`.

What comes back

  • result_status (string): success, or not_available when the item does not exist, was removed or is not public.
  • count (integer): How many posts this answer holds.
  • posts[].id (string): The item's ID on the platform.
  • posts[].url (string): Link to it on the platform.
  • posts[].text (string): Its text.
  • posts[].language (string): Its language code.
  • posts[].deleted (boolean): Whether it was deleted.
  • posts[].content_type (string): What it is: post.
  • posts[].platform (string): The platform's name.
  • posts[].source_data (object): Everything the platform sent for this row, as it came.
  • posts[].source_data.computed.content_category (string): Keyword-classified content category (e.g. tech, food, gaming). Null when undetectable.
  • posts[].source_data.computed.engagement_rate (number): Computed engagement rate (0..1).
  • posts[].source_data.computed.estimated_reach (number): Estimated reach based on views or follower count. Null when uncomputable.
  • posts[].source_data.computed.language (string): ISO 639-1 language code detected from the post text. Null when undetectable.
  • posts[].source_data.computed.save_rate (number): Saves divided by views, rounded to six places. Present only when the post has both a save count and a view count above zero.
  • posts[].source_data.post.content.text (string): Post caption, description, or text content
  • posts[].source_data.post.ext.trend.boards (any): Every board the row ranks on, with its rank there.
  • posts[].source_data.post.ext.trend.country_code (any): The market the board covers, as a country code.
  • posts[].source_data.post.ext.trend.industry (any): The industry code the board covers.
  • posts[].source_data.post.ext.trend.industry_id (any): The industry's id.
  • posts[].source_data.post.ext.trend.industry_label (any): The industry's name.
  • posts[].source_data.post.ext.trend.period_days (any): Length of the ranking window in days.
  • posts[].source_data.post.ext.trend.popularity_curve (any): Daily popularity values for the window.
  • posts[].source_data.post.ext.trend.posts (any): How many posts used the item in the window.
  • posts[].source_data.post.ext.trend.rank (any): The row's rank on the board.
  • posts[].source_data.post.ext.trend.top_creators (any): Creators who used the item most in the window.
  • posts[].source_data.post.ext.trend.views (any): Views the item earned in the window.
  • posts[].source_data.post.flags.deleted (boolean): Whether the post is tombstoned (always present)
  • posts[].source_data.post.id (string)
  • posts[].source_data.post.url (string)

Good to know

  • The price depends on what the call returns: from 6 credits to 96 credits.
  • The same call repeated within 30 minutes may get the same answer, so data can be up to 30 minutes old.

Example call

GET /api/v1/data/tiktok/hashtags-popular?countryCode=DE&period=7

Questions

How much does the TikTok Hashtags Popular API cost?

Each call costs 6 to 96 credits, depending on what it returns. A call that finds nothing, or fails, costs nothing.

What do I send?

4 more inputs are optional: countryCode, period, since and until. Inputs go in the query string of a GET, or as JSON in a POST, along with your API key.

How fresh is the data?

The same call repeated within 30 minutes may get the same answer, so data can be up to 30 minutes old.

Do I need a TikTok account or developer app?

No. You call SocialHz with your SocialHz API key, and the same key works for every platform.

Can I try it before paying?

Yes. Signing up gives you 10 free credits, with no card needed.

Related TikTok endpoints

  • Hashtag: Get TikTok hashtag details. 1 credit a call

More TikTok scraper APIs