TikTok API

TikTok Trending hashtags API

Rank TikTok's trending hashtags for one country and industry, with each hashtag's daily popularity curve, post count, video views, and leading creators. Ranks 15 industry categories, or omit industry for the all-industries board. Returns up to the top 100 hashtags of a board in one call. Covers 27 markets: AE, AR, AU, BR, CA, CO, DE, EG, ES, FR, GB, ID, IL, IT, JP, KR, MX, MY, PH, SA, SG, TH, TR, TW, US, VN, ZA.

$1.20/1k req, pay per request, no subscription.

Trending Hashtags | TikTok Creative Center
ads.tiktok.com/business/creativecenter/inspiration/popular/hashtag/pc/en
TikTok:Creative CenterEN

Trending Hashtags

Browse what's trending now in US

HashtagCreatorVideo
USLast 7 days
RankHashtagPosts & ViewsTrendsCreatorAction
1#fallrecipes284.9KPosts
See analytics
See analytics
See analytics
What the API returneditems[0]
{
"rank": 1,
"hashtag": "fallrecipes",
"hashtagId": "1638450231098765",
"posts": 284900,
"views": 3120000000,
"industryIds": [...],
"popularity": [...],
"topCreators": [...]
}
Uptime
99.96%
30d · 9,930 calls
Requests
10,113
30d · weekly, last 12 wks
Response
0.8s
median · 30d

Pricing and providers

TikTok Trending hashtags API pricing: one API, 2 interchangeable providers

The cheapest provider serves first. If it fails, the next one takes over in the same call.

A provider marked Not serving stopped answering reliably and was taken out of the rotation, so your calls go to the others. It is put back on its own once it answers reliably again.

You pay
$12.00
$1.20/1k req, only for what you use. No monthly plan.
Your first 83 requests are free with the $0.10 starting balance.

Call it

Get TikTok trending hashtags in one request

import os, requests

res = requests.post(
    "https://api.getanyapi.com/v1/run/tiktok.trending_hashtags",
    headers={"Authorization": f"Bearer {os.environ['ANYAPI_KEY']}"},
    json={
        "limit": 3,
        "period": 7,
        "region": "US"
    },
)
print(res.json())
Open in
Get a free key
Sample response

This sample shows 20 of 21 fields. See every field

{
  "found": true,
  "data": {
    "items": [
      {
        "rank": 1,
        "hashtag": "fallrecipes",
        "hashtagId": "1638450231098765",
        "posts": 284900,
        "views": 3120000000,
        "industryIds": [
          5,
          12
        ],
        "popularity": [
          {
            "atUtc": 1758585600,
            "value": 62
          },
          {
            "atUtc": 1758672000,
            "value": 71
          },
          {
            "atUtc": 1758758400,
            "value": 80
          },
          {
            "atUtc": 1758844800,
            "value": 94
          },
          {
            "atUtc": 1758931200,
            "value": 100
          },
          {
            "atUtc": 1759017600,
            "value": 88
          },
          {
            "atUtc": 1759104000,
            "value": 76
          }
        ],
        "topCreators": [
          {
            "handle": "theodorekitchen",
            "nickname": "Theodore Banks",
            "userId": "6944012783650918402",
            "image": "https://p16-sign-va.tiktokcdn.com/tos-useast5-avt-0068/theodorekitchen-avatar~tplv-obj.jpeg?x-signature=Zc8dFg1h",
            "followers": 3420000,
            "rank": 1,
            "countryCode": "US"
          }
        ]
      },
      {
        "rank": 2,
        "hashtag": "deskorganization",
        "hashtagId": "1638450231098812",
        "posts": 96200,
        "views": 940000000,
        "industryIds": [
          8
        ],
        "popularity": [
          {
            "atUtc": 1758585600,
            "value": 40
          },
          {
            "atUtc": 1758672000,
            "value": 55
          },
          {
            "atUtc": 1758758400,
            "value": 61
          },
          {
            "atUtc": 1758844800,
            "value": 70
          },
          {
            "atUtc": 1758931200,
            "value": 100
          },
          {
            "atUtc": 1759017600,
            "value": 82
          },
          {
            "atUtc": 1759104000,
            "value": 58
          }
        ],
        "topCreators": []
      },
      {
        "rank": 3,
        "hashtag": "smallbusinesscheck",
        "hashtagId": "1638450231098859",
        "posts": 51300,
        "views": 402000000,
        "industryIds": [],
        "popularity": [
          {
            "atUtc": 1758585600,
            "value": 30
          },
          {
            "atUtc": 1758672000,
            "value": 38
          },
          {
            "atUtc": 1758758400,
            "value": 47
          },
          {
            "atUtc": 1758844800,
            "value": 65
          },
          {
            "atUtc": 1758931200,
            "value": 100
          },
          {
            "atUtc": 1759017600,
            "value": 74
          },
          {
            "atUtc": 1759104000,
            "value": 49
          }
        ],
        "topCreators": []
      }
    ]
  }
}

Full parameter and response reference - every field, type, and example for this endpoint.

Reference

One request, one response shape.

Every field you send and every field you get back, each with a real example.

Last verified 2026-11-22 · uptime and latency measured over 30d

Request body

JSON, posted to this endpoint.

  • industryenum

    Restrict the ranking to one industry. Omit for the all-industries board.

  • limitinteger

    3

    Maximum number of ranked hashtags to return, from 1 through 100 (default 3), counted from the top of the board.

  • periodenum

    7

    Lookback window in days that the ranking and the popularity curve cover (default 7).

  • regionenum

    US

    Two-letter country code of the market whose hashtag ranking to read (default US). Each market is ranked independently, so US and DE return different boards.

  • requireFieldsarray

    Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `industryIds`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a hashtag that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.

You send. A small JSON body. The values shown are examples to replace with your own.

Response

JSON, one example value per field.

each itemdata.items[]

Hashtags in the market's own ranking order, best first. Populated whenever the provider has data for the entity.

  • hashtagstring

    fallrecipes

    Hashtag name without the leading #. Populated whenever the provider has data for the entity.

  • hashtagIdstring

    1638450231098765

    Stable TikTok hashtag identifier. Populated whenever the provider has data for the entity.

  • industryIdsinteger[]can require

    TikTok industry identifiers the hashtag is classified under, matching the ids behind the `industry` input. Empty when TikTok classifies the hashtag under none.

  • postsinteger

    284900

    Number of videos published with the hashtag during the period. Populated whenever the provider has data for the entity.

  • rankinteger

    1

    One-based position in this market's ranking for the requested period. Populated whenever the provider has data for the entity.

  • viewsinteger

    3120000000

    Total video views the hashtag drew during the period. Populated whenever the provider has data for the entity.

each popularitydata.items[].popularity[]

Daily popularity curve across the requested period, oldest first. Values are normalized 0-100 within this hashtag's own window, where 100 is its peak day, so they compare days of one hashtag rather than two hashtags. Populated whenever the provider has data for the entity.

  • atUtcnumber

    1758585600

    UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.

  • valuenumber

    62

    Normalized popularity for that day, 0 through 100.

each topCreatordata.items[].topCreators[]

Creators TikTok surfaces as leading the hashtag, in its own order.

  • countryCodestring

    US

    Two-letter country code TikTok reports for the creator.

  • followersinteger

    3420000

    Creator's follower count.

  • handlestring

    theodorekitchen

    Creator's TikTok username without the leading @.

  • imagestring

    https://p16-sign-va.tiktokcdn.com/tos-useast5-avt-0068/theodorekitchen-avatar~tplv-obj.jpeg?x-signature=Zc8dFg1h

    Creator's avatar image URL.

  • nicknamestring

    Theodore Banks

    Creator's display name.

  • rankinteger

    1

    One-based position among the hashtag's top creators.

  • userIdstring

    6944012783650918402

    Creator's stable TikTok user id.

top level
  • foundboolean

    true

    Whether a hashtag ranking was resolved for the requested market.

  • reason"not_found"

    Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.

You get back. Named, typed fields in the same shape whichever source answers.

FAQ

About the TikTok Trending hashtags API

The AnyAPI TikTok Trending hashtags API returns TikTok trending hashtags data as normalized JSON from one POST call to /v1/run/tiktok.trending_hashtags. Rank TikTok's trending hashtags for one country and industry, with each hashtag's daily popularity curve, post count, video views, and leading creators. Ranks 15 industry categories, or omit industry for the all-industries board. Returns up to the top 100 hashtags of a board in one call. Covers 27 markets: AE, AR, AU, BR, CA, CO, DE, EG, ES, FR, GB, ID, IL, IT, JP, KR, MX, MY, PH, SA, SG, TH, TR, TW, US, VN, ZA. AnyAPI routes each request across 2 sources and falls back automatically when one fails. It costs from $1.20 per 1,000 requests, in US dollars with no subscription and no monthly minimum. Over the last 30 days, 100.0% of TikTok trending hashtags calls through AnyAPI succeeded, with a median response time of 0.8 seconds across 9,930 measured calls.

It costs from $1.20 per 1,000 requests, in US dollars with no subscription and no monthly minimum. You fund one USD wallet and each call draws it down. Some failed wallet-funded requests incur processing charges that we pass through at cost, with no markup; the error response shows the amount charged.

Rank TikTok's trending hashtags for one country and industry, with each hashtag's daily popularity curve, post count, video views, and leading creators. Ranks 15 industry categories, or omit industry for the all-industries board. Returns up to the top 100 hashtags of a board in one call. Covers 27 markets: AE, AR, AU, BR, CA, CO, DE, EG, ES, FR, GB, ID, IL, IT, JP, KR, MX, MY, PH, SA, SG, TH, TR, TW, US, VN, ZA. The response is normalized JSON with the same envelope every AnyAPI endpoint returns, so parsing a second endpoint is a change of URL and nothing else.

Over the last 30 days, 100.0% of TikTok trending hashtags calls through AnyAPI succeeded, with a median response time of 0.8 seconds across 9,930 measured calls. These are AnyAPI's own measurements of traffic through the gateway, recomputed continuously, not a published service-level target.

Yes. A new AnyAPI account starts with $0.10 of free balance and no card required, which covers 83 TikTok Trending hashtags calls at $0.0012 each.

AnyAPI asks the next of its 2 sources in the same request, cheapest first, so one source going down does not fail your call.

Send a POST request to https://api.getanyapi.com/v1/run/tiktok.trending_hashtags with your AnyAPI key in an "Authorization: Bearer" header and the input as a JSON body. The same key and the same wallet work on every AnyAPI endpoint.

No. You add US dollars to one prepaid AnyAPI balance and each request draws it down. There is no monthly plan and no minimum, and the same balance pays for every AnyAPI endpoint.

Yes. Install @getanyapi/sdk from npm for TypeScript or getanyapi from pip for Python. Both call every AnyAPI endpoint with the same key, and any HTTP client works too.

Yes. An agent can connect to the AnyAPI MCP server at https://api.getanyapi.com/mcp, or create its own free-trial key with one unauthenticated POST to https://api.getanyapi.com/agent/signup and call this endpoint over HTTP.