← 返回目录
📁 API Reference › Discovery

Get popular hashtags

Use this endpoint to get a list of the top 200 popular hashtags on TikTok.

Request

Endpoint https://business-api.tiktok.com/open_api/v1.3/discovery/trending_list/

Method GET

Header

|Field{30%}|Data Type{15%}|Description{55%}|
|---|---|---|
|Access-Token {Required}|string|Authorized access token. For details, see [Authentication](1738373164380162.html).|

Parameters

|Field{30%}|Data Type{15%}|Description{55%}|
|--- |--- |--- |
|advertiser_id {Required}|string|Advertiser ID.<br><br>Pass one of the advertiser IDs returned via `advertiser_ids` from [/oauth2/access_token/](1738373164380162.html).|
|discovery_type {Required}|string|The type of discovery item.<br><br>Currently, we only support `HASHTAG`.|
|country_code|string|Location code.<br><br>Default value: `US`. <br><br>See [Location code](1737585867307010.html) for the supported values.|
|category_name|string|The name of the hashtag industry category.<br><br>To learn about the enum values, see <a href="#item-link-Hashtag industry category names">Hashtag industry category names</a>. You can pass either a level-1 category name or a level-2 category name.<br><br>Default value: `ALL`.<br><br>Example: `FOOD_AND_BEVERAGE`.<br><br>If you pass `category_name` and `industry_id` at the same time, `industry_id` will be ignored.|
|date_range|string|The timeframe in which the items have been popular.<br><br>Enum values:<ul><li>`1DAY`: last 1 day.</li><li>`7DAY`: last 7 days.</li><li>`30DAY`: last 30 days.</li><li>`120DAY`: last 120 days.</li></ul><br>Default value: `7DAY`. |

Hashtag industry category names

The following table lists the level-1 and level-2 hashtag industry category names that you can pass to category_name.

Level-1 category name Description Level-2 category name Description
ALL Content covering all kinds of topics.
APPAREL_AND_ACCESSORIES Content showcasing the latest trends, fashion tips, style guides, and recommendations for apparel and accessories. OTHER_FASHION Content featuring fashion-related topics that don't fit into specific categories.
OUTFITS Content featuring different outfits, styling tips, and fashion inspiration.
BABY_KIDS_AND_MATERNITY Content providing parenting advice, tips for child development, and recommendations for baby and kids' products. BABY_CARE Content focusing on baby care, parenting advice, and baby product recommendations.
BEAUTY_AND_PERSONAL_CARE Content featuring beauty tutorials, skincare routines, makeup tips, product reviews, and discussions on personal care routines. BEAUTY Content related to beauty, including beauty hacks, beauty trends, and beauty transformations.
BEAUTY_SERVICES Content showcasing beauty services such as spa treatments, salon makeovers, and beauty consultations.
HAIR_CARE Content related to hair care routines, hairstyles, and hair product recommendations.
OTHER_BEAUTY Content featuring beauty-related topics that don't fit into specific categories.
BUSINESS_SERVICES Content relating to various careers and professions, including insights into the daily work of certain professions, requirements to enter a particular field, job hunting and career development tips, and advice for advancing in the workplace. CAREER_AND_PROFESSIONAL_GROWTH Content related to the routine of certain professions, career development, professional growth, job search tips, and advice for advancing in the workplace.
EDUCATION Content encompassing a wide range of educational topics, including academic resources, college-related discussions, history and literature insights, learning and development strategies, and science-related content. ACADEMIC_RESOURCES Content focusing on educational resources, study guides, online courses, and academic tips for various subjects.
COLLEGE Content related to college life, including study hacks, college admissions, and tips for navigating college experiences.
HISTORY_AND_LITERATURE Content exploring historical events, literature reviews, book recommendations, and discussions on literary works.
LEARNING_AND_DEVELOPMENT Content focusing on learning and personal development, including educational videos, self-improvement tips, and lifelong learning resources.
SCIENCE Content focusing on scientific concepts, experiments, scientific discoveries, and explanations of natural phenomena.
FINANCIAL_SERVICES Content focusing on personal finance, investment advice, financial planning, and discussions on financial services. BUSINESS_AND_FINANCE Content related to financial management, investment advice, and market trends.
FOOD_AND_BEVERAGE Content showcasing recipes, cooking tutorials, culinary tips, food culture, restaurant reviews, and discussions on food and beverages. COOKING Content showcasing cooking tutorials, recipe demonstrations, and cooking hacks.
DRINKS Content showcasing different types of beverages, cocktail recipes, brewing techniques, and information about drinks.
EATING_EXPERIENCES Content highlighting unique eating experiences, food challenges, and culinary adventures.
FOOD Content related to food, including cooking techniques, food facts, and food culture.
FOOD_RECOMMENDATIONS Content providing recommendations and reviews of food products, restaurants, food delivery services, and culinary events.
GAMES Content focusing on card games, board games, video games, game reviews, gameplay footage, and discussions on gaming industry trends. CARD_AND_BOARD_GAMES Content related to card games, board games, game tutorials, strategies, and discussions on gaming culture.
VIDEO_GAMES Content related to video games, including game reviews, gameplay footage, and gaming tips.
HEALTH Content promoting health and wellness, fitness tips, disease prevention, mental well-being, and discussions on maintaining a healthy lifestyle. HEALTH_AND_WELLNESS Content promoting health and wellness, fitness tips, healthy lifestyle choices, mental well-being, and self-care practices.
HOME_IMPROVEMENT Content providing home improvement ideas, DIY projects, interior design tips, and discussions on improving living spaces. HOME_AND_GARDEN Content focusing on home improvement, interior design ideas, and gardening tips.
HOUSEHOLD_PRODUCTS Content featuring reviews and recommendations for household products. TOYS_COLLECTIBLES_AND_MEMORABILIA Content showcasing toys, collectibles, memorabilia reviews, unboxing videos, and discussions on toy culture.
LIFE_SERVICES Content encompassing a wide range of life services, including crafting and creations, diary and vlog content, discussions on the environment, family-related topics, photography tips and techniques, as well as productivity and efficiency strategies for managing daily life tasks. CRAFTING_AND_CREATIONS Content focusing on crafting, DIY projects, art techniques, creative ideas, and handmade creations.
DIARY_AND_VLOG Content showcasing personal diaries, vlogs, and daily life updates.
ENVIRONMENT Content focusing on environmental issues, eco-friendly practices, and sustainability.
FAMILY Content related to family life, and family activities.
PHOTOGRAPHY Content related to photography, including photography tips, camera reviews, and photo editing techniques.
PRODUCTIVITY_AND_EFFICIENCY Content providing productivity hacks, time management strategies, organization tips, and tools for efficiency improvement.
NEWS_AND_ENTERTAINMENT Content covering a wide range of news and entertainment topics, such as popular culture, arts, performances, movies, TV shows, music, and sports. ANIMATION_AND_COMICS Content featuring animations, animated shorts, comic book discussions, graphic novel reviews, and animated storytelling.
ART Content showcasing artwork, art tutorials, and artistic expressions.
COMEDY Content focusing on comedy skits, jokes, and humorous content.
COMMUNITY_UPDATES_AND_ISSUES Content focusing on community updates, local news, social issues, and discussions on community matters.
CULTURE Content exploring different cultures, traditions, and customs from around the world, including festivals, rituals, and cultural practices.
DANCE Content featuring dance performances, choreography, and dance tutorials.
ENTERTAINMENT_AND_SPORTS_NEWS Content providing updates on entertainment industry news, celebrity gossip, and sports news and highlights.
MISCELLANEOUS_PERFORMANCES Content showcasing various forms of performances, talent shows, live events, and unique artistic expressions.
MOVIES_AND_TV Content related to movies and television, including reviews, behind-the-scenes footage, trailers, and discussions on film and TV shows.
MUSIC Content related to music, including music performances, covers, and music news.
PERFORMING_ARTS Content featuring performances in theater, and other forms of performing arts.
PERSONAL_PHOTOGRAPHY Content showcasing personal photography projects, photo journals, and visual storytelling from a personal perspective.
ROMANCE Content related to romance, dating tips, relationship advice, and love stories.
SENSORY_EXPERIENCES Content providing sensory experiences, ASMR videos, relaxation techniques, and immersive audio-visual content.
SHOWS_FESTIVALS_AND_EXHIBITIONS Content featuring shows, festivals, and exhibitions, including coverage and highlights.
SPECIAL_EFFECTS Content showcasing special effects in movies, visual effects breakdowns, CGI tutorials, and discussions on film technology.
SPORTS Content related to various sports, including sports highlights, match analysis, sports news, and discussions on sporting events.
SUPERNATURAL_AND_HORROR Content focusing on supernatural phenomena, paranormal activities, horror stories, ghost hunting, and discussions on the supernatural genre.
PETS Content covering a wide range of pet-related topics, including information, tips, and advice on caring for different types of pets and livestock farming. PET_CARE_AND_ACCESSORIES Content providing tips and advice on pet care, grooming techniques, training methods, and recommendations for pet accessories.
LIVESTOCK_AND_FARMING Content focusing on livestock farming practices, animal husbandry, agricultural techniques, and discussions on farming-related topics.
WILDLIFE_AND_EXOTIC_PETS Content featuring wildlife documentaries, exotic pet care guides, wildlife conservation efforts, and discussions on diverse animal species.
SPORTS_AND_OUTDOOR Content related to sports and outdoor activities, including sports highlights, fitness tips, and discussions on sporting events. CONVENTIONAL_AND_MAINSTREAM_SPORTS Content showcasing popular and mainstream sports, including football, basketball, baseball, tennis, golf, rugby, and so on.
EXERCISE_AND_FITNESS Content providing exercise routines, workout tips, fitness challenges, and discussions on maintaining a healthy lifestyle.
EXTREME_AND_ADVENTURE_SPORTS Content showcasing extreme sports activities, adventure travel, adrenaline-pumping experiences, and discussions on extreme sports culture.
LEISURE_AND_RECREATION_FACILITIES Content featuring leisure and recreation facilities, such as amusement parks, water parks, resorts, and discussions on recreational activities.
OUTDOOR_RECREATION Content related to outdoor recreational activities such as hiking, camping, hunting, fishing, or water sports, including tips, gear reviews, and adventure stories.
TECHNOLOGY Content featuring gadget reviews, technical tutorials, innovations in technology, and discussions on the technical industry. GADGETS_AND_INNOVATION Content showcasing the latest gadgets, tech reviews, innovative inventions, and discussions on technological advancements.
SOFTWARE_AND_APPS Content featuring reviews, demonstrations, and tutorials on software and mobile apps, including productivity tools, creative software, and gaming apps.
TRAVEL Content providing travel guides, destination recommendations, travel tips, itineraries, and discussions on travel experiences. GENERAL_TRAVEL Content focusing on travel, including destination guides, travel tips, and recommendations for accommodation, transportation, and attractions.
VEHICLE_AND_TRANSPORTATION Content related to vehicles and transportation, including car reviews, maintenance tips, road trips, and discussions on transportation options. AUTOMOTIVE Content related to the automotive industry, including car reviews, test drives, automotive news, and discussions on automotive technology.
OTHER_TRANSPORTATION Content related to transportation modes other than conventional automobiles, such as motorcycles, bicycles, public transportation, and discussions on alternative transportation options.

Example

(code curl http)
curl --location --request GET 'https://business-api.tiktok.com/open_api/v1.3/discovery/trending_list/?advertiser_id={{advertiser_id}}&discovery_type=HASHTAG&category_name=ALL&country_code=US&date_range=7DAY' \
--header 'Access-Token: {{Access-Token}}' \
(/code)

Response

|Field{30%}|Type{15%}|Description{55%}|
|---|---|---|
|code |number|Response code. For the complete list of response codes and descriptions, see [Appendix-Return Code](https://ads.tiktok.com/marketing_api/docs?id=1737172488964097). |
|message|string|Response message. For details, see [Appendix - Return Codes](https://ads.tiktok.com/marketing_api/docs?id=1737172488964097).|
|request_id |string|The log ID of a request, which uniquely identifies the request.  |
|data |object|Returned data.|
#|filter_info|object|Filtering information that is specified in your request.<br><br>If you don't include the following parameters in the request, we will return the default values for them, which are `date_range = 7DAY`, `country_code = US`, `industry_id = ALL`, and `category_name = ALL`.|
##|date_range|string|The timeframe in which the items have been popular.<br><br>Enum values:<ul><li>`1DAY`: last 1 day.</li><li>`7DAY`: last 7 days.</li><li>`30DAY`: last 30 days.</li><li>`120DAY`: last 120 days.</li></ul>|
##|country_code|string|Location code.<br><br>See [Location code](1737585867307010.html) for the enum values.<br><br>Example: `DE`.|
##|category_name|string|The name of the hashtag industry category.<br><br>To learn about the enum values, see <a href="#item-link-Hashtag industry category names">Hashtag industry category names</a>.<br><br>Example: `FOOD_AND_BEVERAGE`.|
#|list|object[]|The list of popular hashtags.|
##|hashtag_id|string|Hashtag ID.<br><br>Example: `4268426520694`.|
##|hashtag_name|string|Hashtag name.<br><br>Example: `yummy`.|
##|rank_position|string|Current rank position of the hashtag among hashtags within the same category (`category_name`) or industry (`industry_id`) in the selected region (`country_code`).<br><br>Example: `100`.|
##|rank_change|string|The change in rank position compared to the rank in the last time period.<br><br><ul><li>A positive `rank_change` indicates an increase in rank. For example, if the rank position shifts from 5 to 1, `rank_change` will be `4`.</li><li>A negative `rank_change` indicates a decrease in rank. For example, if the rank position shifts from 1 to 5, `rank_change` will be `-4`.</li><li>A `rank_change` of `0` indicates no changes in rank.</li><li>A `rank_change` marked as `NEW` indicates that the hashtag was not present in the top 200 ranking list in the last time period.</li></ul> |
##|views|integer|The number of views for related videos that feature this hashtag in the selected region and timeframe.<br><br><p><span style="color:darkred"><b>Note</b></span>: If you fail to specify `country_code` or `date_range` in your request, we will return data based on the default values for these two parameters, which are `date_range = 7DAY` or `country_code = US`.<br><br>Example: 134333716.|
##|views_global_lifetime|integer|The number of views for related videos that feature this hashtag, globally and across their whole lifetime.<br><br>Example: 91639649280.|
##|posts|integer|The number of posts for related videos that feature this hashtag in the selected region and timeframe.<br><br><p><span style="color:darkred"><b>Note</b></span>: If you fail to specify `country_code` or `date_range` in your request, we will return data based on the default values for these two parameters, which are `date_range = 7DAY` or `country_code = US`.<br><br>Example: 21856.|
##|posts_global_lifetime|integer|The number of posts for related videos that feature this hashtag, globally and across their whole lifetime.<br><br>Example: 7846729.|
##|top_country_list|string[]|The location codes of the top five locations in the world where this hashtag is most popular.<br><br>To learn about the location that a location code represents, see [Location code](1737585867307010.html).<br><br>Example: `["US", "GB", "PH", "CA", "DE"]`.|
##|trending_history|object[]|The historical ranking data for the hashtag, spanning up to the past 30 days..|
###|date|string|Date, in the format of `YYYY-MM-DD`.<br><br>Example: `2024-01-01`.|
###|rank_position_daily|string|The rank position of the hashtag among hashtags across all categories or industries in the selected region (`country_code`) on the date.<br><br>Example: `73`.<br><br><p><span style="color:darkred"><b>Note</b></span>: If the hashtag does not perform well compared to the last time period, the hashtag will not be considered a trending hashtag and the value of this field will be null.|
###|views_daily|integer|The number of views for related videos that feature this hashtag in the selected region (`country_code`) on the date.<br><br>Example: 21215985.<br><br><p><span style="color:darkred"><b>Note</b></span>: If the daily views are less than 1,000, the value of this field will be null.|

Example

(code Success-Response http)
HTTPS/1.1 200 OK
{
    "code": 0,
    "message": "OK",
    "request_id": "{{request_id}}",
    "data": {
        "list": [
            {
                "posts": 44585,
                "rank_change": "0",
                "hashtag_id": "{{hashtag_id}}",
                "hashtag_name": "{{hashtag_name}}",
                "views_global_lifetime": 136840398711,
                "posts_global_lifetime": 26055679,
                "rank_position": "1",
                "views": 836896026,
                "top_country_list": [
                    "US",
                    "TH",
                    "ID",
                    "VN",
                    "PH"
                ],
                 "trending_history": [
                {
                "date": "2024-03-09",
                "rank_position_daily": "121",
                "views_daily": 39181186
                },
                ...
                {
                "date": "2024-04-06",
                "rank_position_daily": "85",
                "views_daily": 49419265
                },
                {
                "date": "2024-04-07",
                "rank_position_daily": "128",
                "views_daily": 45524768
                }
             ]
            },
            {
                "posts": 148372,
                "rank_change": "0",
                "hashtag_id": "{{hashtag_id}}",
                "hashtag_name": "fashion",
                "views_global_lifetime": 303784465772,
                "posts_global_lifetime": 39054276,
                "rank_position": "2",
                "views": 508388428,
                "top_country_list": [
                    "US",
                    "VN",
                    "ID",
                    "MX",
                    "GB"
                ],
                "trending_history": [
                {
                "date": "2024-03-09",
                "rank_position_daily": "121",
                "views_daily": 39181186
                },
                ...
                {
                "date": "2024-04-06",
                "rank_position_daily": "85",
                "views_daily": 49419265
                },
                {
                "date": "2024-04-07",
                "rank_position_daily": "128",
                "views_daily": 45524768
                }
             ]
            },
            {
            ...
            }
        ],
        "filter_info": {
            "country_code": "US",
            "date_range": "7DAY",
            "category_name": "ALL"
        }
    }
}
(/code)

内容来源:TikTok API for Business 官方文档 · 本地归档

在接这个接口时卡住了?
Stuck wiring this API into production? We build ad-delivery tooling on these platforms — campaign automation, reporting pipelines, error-handling and migration between API versions.
联系我们 · Talk to us 每日平台更新简报 →