API DocstiktokDataGet trending hashtag list
Get trending hashtag list
What this API is for
- Get the trending hashtag ranking from the Trends section of TikTok Creative Center
- Switch by country/region to discover trending topics across markets
POST
/openapi/api/v1/tiktok/ads/get_trends_hashtag_listPrice:Price unavailable · Actual charges depend on free quota and account discounts
Authentication
All API requests require a Bearer project token in the Authorization header
Authorization header
Authorization: Bearer YOUR_API_TOKENRequest parameters
- time_range: Time range in days, one of 7 / 30 / 90, default 7
- country_code: Country code, default US (see /get_location_list for options)
- page: Page number, default 1
- limit: Items per page, default 20
- industry_id: First-level industry ID (optional), filters hashtags by industry; omit for all industries. Options:
- 10000000000: Education
- 11000000000: Vehicle & Transportation
- 12000000000: Baby, Kids & Maternity
- 13000000000: Financial Services
- 14000000000: Beauty & Personal Care
- 15000000000: Tech & Electronics
- 16000000000: Appliances
- 17000000000: Travel
- 18000000000: Household Products
- 19000000000: Pets
- 20000000000: Apps
- 21000000000: Home Improvement
- 22000000000: Apparel & Accessories
- 23000000000: News & Entertainment
- 24000000000: Business Services
- 25000000000: Games
- 26000000000: Life Services
- 27000000000: Food & Beverage
- 28000000000: Sports & Outdoor
- 29000000000: Health
- cookie: Custom Cookie string, optional parameter, you can use your own Cookie to get more data
| Name | Location / type | Required | Notes | Example |
|---|---|---|---|---|
| time_range | body / integer | No |
| |
| country_code | body / string | No |
| |
| page | body / integer | No |
| |
| limit | body / integer | No |
| |
| industry_id | body / integer | No |
| |
| cookie | body / string | No |
|
Request examples
curl -X POST "https://api.trmesh.com/openapi/api/v1/tiktok/ads/get_trends_hashtag_list" \ -H "Authorization: Bearer sdc_your_project_token"
Response fields
- items: Hashtag list (hashtagID / hashtagName / industryIDs / popularityCurve / publishCnt / rankIndex / topCreators / vv)
- pagination: Pagination info (page / limit / totalCount / hasMore)
| Field | Type | Notes | Example |
|---|---|---|---|
| items | unknown |
| |
| hashtagID | unknown |
| |
| hashtagName | unknown |
| |
| industryIDs | unknown |
| |
| popularityCurve | unknown |
| |
| publishCnt | unknown |
| |
| rankIndex | unknown |
| |
| topCreators | unknown |
| |
| vv | unknown |
| |
| pagination | unknown |
|
Common response envelope
Common fields for response status, request identifiers and data
| Field | Type | Notes | Example |
|---|---|---|---|
| code | integer |
| |
| request_id | string | null |
| |
| message | string |
| |
| message_zh | string |
| |
| support | string |
| |
| time | string |
| |
| time_stamp | integer |
| |
| time_zone | string |
| |
| docs | string | null |
| |
| cache_message | string | null |
| |
| cache_message_zh | string | null |
| |
| cache_url | string | null |
| |
| router | string |
| |
| params | unknown |
| |
| data | unknown | null |
|
Errors and limits
The docs cover not only success responses, but also auth failures, rate limits, and data-service errors
| Code | Meaning | Notes |
|---|---|---|
| 200 | Success | The request completed and returned the standard response envelope. |
| 401 | Unauthorized | The token is missing, invalid, or no longer active. |
| 429 | Rate limited | The request exceeded token, user, or plan-level throughput limits. |
| 502 | Service unavailable | The gateway could not obtain a healthy result. Retry in a moment. |
Next steps
New to the API? Read the guide or explore examples