Sand AISand AI MAGI-2MAGI-2 hiện đã có trên SandBase: video 1080p với âm thanh gốcDùng thử ngay

TikTok Trending Hashtags

Tài liệu API
https://api.sandbase.ai/v1/api/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. TikTok publishes only the top 3 hashtags per board to anonymous callers, so limit 1-3 is served cheaply; a limit above 3 routes to a dearer authenticated source that returns the full ranking. 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.

Giá
Từ $0.0012USD / lượt gọi
Phương thức
POST
Phản hồi
JSON
Tham số
0 bắt buộc · 5 tùy chọn

Phòng thử nghiệm

Đầu vào
1100
Maximum number of ranked hashtags to return, from 1 through 100 (default 3). TikTok publishes only the top 3 hashtags per board to anonymous callers, so 1 through 3 is served by the cheapest source; a higher limit routes to a dearer source that reads the full ranking. Phạm vi: 1 đến 100.
Lookback window in days that the ranking and the popularity curve cover (default 7).
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.
Restrict the ranking to one industry. Omit for the all-industries board.
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.
Đầu raSẵn sàng

Đầu ra của bạn sẽ xuất hiện ở đây

Hoàn tất đầu vào, rồi nhấp Run.

README API

TikTok Trending Hashtags API

Returns TikTok's ranked trending hashtags for one country, with each hashtag's daily popularity curve, post count, video views, and top creators. It needs no required input. You can set region, industry, period, and limit.

Use cases

  • Spot which hashtags are rising in the US or another market before planning a TikTok campaign.
  • Compare the hashtag board for one industry, such as games or beauty_personal_care, against the all-industries board.
  • Find creators who lead a trending hashtag and add them to an outreach list.
  • Track a hashtag's popularity curve over 7, 30, or 90 days to judge whether it is peaking or fading.

Request

curl -X POST "https://api.sandbase.ai/v1/api/tiktok/trending-hashtags" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"limit": 3, "period": 7, "region": "US"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
industrystringNoRestrict the ranking to one industry. Omit for the all-industries board.
limitintegerNoMaximum number of ranked hashtags to return, from 1 through 100 (default 3). TikTok publishes only the top 3 hashtags per board to anonymous callers, so 1 through 3 is served by the cheapest source; a higher limit routes
periodintegerNoLookback window in days that the ranking and the popularity curve cover (default 7).
regionstringNoTwo-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.
requireFieldsarrayNoOptional; 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 on

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "data": {
    "items": [
      {
        "hashtag": "tiktokscaryhorrorcontest",
        "hashtagId": "7691443554018656263",
        "industryIds": [],
        "popularity": [
          {
            "atUtc": 1791504000,
            "value": 0
          }
        ],
        "posts": 73462,
        "rank": 1,
        "topCreators": [
          {
            "countryCode": "US",
            "followers": 118558,
            "handle": "sadwds213s",
            "image": "https://p16-common-sign.tiktokcdn.com/tos-maliva-avt-0068/8ef1054a783a3d7a1123e5…",
            "nickname": "sadwd",
            "rank": 1,
            "userId": "7395829863795999787"
          }
        ],
        "views": 312182870
      }
    ]
  },
  "found": true
}

Response fields

FieldMeaning
data.items[].rankPosition of the hashtag on the board, starting at 1.
data.items[].hashtag / data.items[].hashtagIdThe hashtag text without the # sign, and its numeric ID as a string.
data.items[].posts / data.items[].viewsNumber of posts and total video views for the hashtag.
data.items[].popularity[].atUtcTimestamp of the data point, in Unix seconds (UTC).
data.items[].popularity[].valuePopularity score for that point. The values in the sample run from 0 to 100.
data.items[].industryIdsList of numeric industry IDs for the hashtag. It can be empty, as on the first item.
data.items[].topCreators[].handle / data.items[].topCreators[].nicknameThe creator's TikTok handle and display name.
data.items[].topCreators[].followersFollower count of the creator.
data.items[].topCreators[].userId / data.items[].topCreators[].countryCodeThe creator's numeric user ID as a string, and a two-letter country code.
foundtrue when the ranking returned results.

Notes

  • Use limit of 1 to 3 for the cheapest source. A limit above 3, up to 100, returns the full ranking.
  • period accepts 7, 30, or 90 days. region takes a two-letter code such as US or DE.
  • Omit industry for the all-industries board. Add requireFields with industryIds if you need industry IDs on every hashtag that has them.
  • For more detail on a single hashtag, call TikTok Hashtag Detail or TikTok Hashtag Video List with the hashtagId.

Pricing

Billed at the actual cost of each call, about $0.0012 for the request above. Failed calls are not charged.

Khám phá thêm

APIs liên quan

Tất cả APIs
APIGiáPhản hồi
TikTokTừ $0.0012 mỗi lần gọiJSON
TikTokTừ $0.0012 mỗi lần gọiJSON
TikTokTừ $0.0008 mỗi lần gọiJSON
TikTokTừ $0.0008 mỗi lần gọiJSON
TikTok$0.001 mỗi lần gọiJSON
TikTok$0.001 mỗi lần gọiJSON

Hướng dẫn:TikTok API pricing: official access vs per-call dataBest TikTok API in 2026: Pricing Compared

Câu hỏi

FAQ

Làm thế nào để dùng API TikTok Trending Hashtags?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/tiktok/trending-hashtags với khóa API SandBase của bạn trong tiêu đề Authorization (Bearer) và các tham số trong phần thân JSON. Bạn cũng có thể thử trực tiếp trong Playground trên trang này mà không cần viết code.

API TikTok Trending Hashtags có giá bao nhiêu?

Từ $0.0012 mỗi lần gọi, được tính từ số dư SandBase của bạn. Bạn chỉ bị tính phí cho các lần gọi bạn thực hiện; không có gói đăng ký.

API TikTok Trending Hashtags chấp nhận những tham số nào?

Không có tham số bắt buộc. Tùy chọn: limit (integer), period (một trong số 7, 30, 90), region (một trong số US, FR, DE, IT, ES, GB, AR, AU, BR, CA, CO, EG, ID, IL, JP, KR, MY, MX, PH, SA, SG, ZA, TW, TH, TR, AE, VN), industry (một trong số apparel_accessories, baby_kids_maternity, beauty_personal_care, education, food_beverage, games, health, home_improvement, household_products, news_entertainment, pets, sports_outdoor, tech_electronics, travel, vehicle_transportation) và requireFields (array). Bảng Parameters và Playground trên trang này liệt kê mọi trường.

API TikTok Trending Hashtags trả về gì?

Phản hồi JSON được trả về trong cùng một yêu cầu HTTP (đồng bộ). README trên trang này có ví dụ phản hồi.

Tôi có cần tài khoản nhà phát triển hoặc API key của TikTok không?

Không. TikTok Trending Hashtags chạy thông qua SandBase, nên chỉ cần một API key SandBase là đủ cho endpoint này và mọi API cùng model khác trong danh mục. Bạn không cần đăng ký riêng để có quyền truy cập API của TikTok.