curl --request GET \
--url 'https://api.keyapi.ai/v1/tiktok/trending/hashtag/detail?period=7®ion=all_regions&hashtag_name=ufc324' \
--header 'Authorization: Bearer <YOUR_API_KEY>'{
"code": 0,
"message": "success",
"data": {
"info": {
"hashtag_id": "7357697982441422880",
"hashtag_name": "ufc324",
"video_url": "https://www.tiktok.com/tag/ufc324",
"country_info": {
"id": "ALL",
"value": "ALL",
"label": "ALL"
},
"industry_info": {
"id": 28000000000,
"value": "Sports & Outdoor",
"label": "label_28000000000"
},
"is_promoted": false,
"trend": [
{
"time": 1769472000,
"value": 1
},
{
"time": 1769558400,
"value": 0.7
},
{
"time": 1769644800,
"value": 0.48
},
{
"time": 1769731200,
"value": 0.31
},
{
"time": 1769817600,
"value": 0.26
},
{
"time": 1769904000,
"value": 0.25
},
{
"time": 1769990400,
"value": 0.3
}
],
"publish_cnt": 12142,
"video_views": 506402059,
"publish_cnt_all": 34146,
"video_views_all": 1289245188,
"longevity": {
"popular_days": 0,
"current_popularity": 0
},
"audience_ages": [
{
"age_level": 3,
"score": 65
},
{
"age_level": 4,
"score": 23
},
{
"age_level": 5,
"score": 12
}
],
"audience_interests": [
{
"interest_info": {
"id": "10058",
"label": "diversify_10058",
"value": "Extreme Sports"
},
"score": 263
},
{
"interest_info": {
"id": "10060",
"label": "diversify_10060",
"value": "Sports News"
},
"score": 254
},
{
"interest_info": {
"id": "10064",
"label": "diversify_10064",
"value": "Fishing, Hunting & Camping"
},
"score": 144
},
{
"interest_info": {
"id": "10059",
"label": "diversify_10059",
"value": "Traditional Sports"
},
"score": 121
},
{
"interest_info": {
"id": "10061",
"label": "diversify_10061",
"value": "Fitness"
},
"score": 121
}
],
"audience_countries": [
{
"country_info": {
"id": "1821275",
"label": "MO",
"value": "Macao"
},
"score": 780
},
{
"country_info": {
"id": "630336",
"label": "BY",
"value": "Belarus"
},
"score": 617
},
{
"country_info": {
"id": "2963597",
"label": "IE",
"value": "Ireland"
},
"score": 471
},
{
"country_info": {
"id": "1522867",
"label": "KZ",
"value": "Kazakhstan"
},
"score": 408
},
{
"country_info": {
"id": "2186224",
"label": "NZ",
"value": "New Zealand"
},
"score": 395
},
{
"country_info": {
"id": "660013",
"label": "FI",
"value": "Finland"
},
"score": 356
},
{
"country_info": {
"id": "597427",
"label": "LT",
"value": "Lithuania"
},
"score": 353
},
{
"country_info": {
"id": "2077456",
"label": "AU",
"value": "Australia"
},
"score": 346
},
{
"country_info": {
"id": "458258",
"label": "LV",
"value": "Latvia"
},
"score": 340
},
{
"country_info": {
"id": "3202326",
"label": "HR",
"value": "Croatia"
},
"score": 314
},
{
"country_info": {
"id": "2782113",
"label": "AT",
"value": "Austria"
},
"score": 308
}
],
"related_hashtags": [
{
"hashtag_id": "1664180092709893",
"hashtag_name": "paddypimblett",
"video_url": "https://www.tiktok.com/tag/paddypimblett"
},
{
"hashtag_id": "1624672392451077",
"hashtag_name": "justingaethje",
"video_url": "https://www.tiktok.com/tag/justingaethje"
},
{
"hashtag_id": "1651468147224581",
"hashtag_name": "seanomalley",
"video_url": "https://www.tiktok.com/tag/seanomalley"
},
{
"hashtag_id": "1661965843527686",
"hashtag_name": "paddythebaddy",
"video_url": "https://www.tiktok.com/tag/paddythebaddy"
},
{
"hashtag_id": "1644658357349381",
"hashtag_name": "gaethje",
"video_url": "https://www.tiktok.com/tag/gaethje"
}
]
}
},
"requestId": "1cacc4ca-a154-44d4-82de-e994bda411b9"
}Retrieve detailed data for a trending TikTok hashtag, including video count, view trends, and top associated content.
curl --request GET \
--url 'https://api.keyapi.ai/v1/tiktok/trending/hashtag/detail?period=7®ion=all_regions&hashtag_name=ufc324' \
--header 'Authorization: Bearer <YOUR_API_KEY>'{
"code": 0,
"message": "success",
"data": {
"info": {
"hashtag_id": "7357697982441422880",
"hashtag_name": "ufc324",
"video_url": "https://www.tiktok.com/tag/ufc324",
"country_info": {
"id": "ALL",
"value": "ALL",
"label": "ALL"
},
"industry_info": {
"id": 28000000000,
"value": "Sports & Outdoor",
"label": "label_28000000000"
},
"is_promoted": false,
"trend": [
{
"time": 1769472000,
"value": 1
},
{
"time": 1769558400,
"value": 0.7
},
{
"time": 1769644800,
"value": 0.48
},
{
"time": 1769731200,
"value": 0.31
},
{
"time": 1769817600,
"value": 0.26
},
{
"time": 1769904000,
"value": 0.25
},
{
"time": 1769990400,
"value": 0.3
}
],
"publish_cnt": 12142,
"video_views": 506402059,
"publish_cnt_all": 34146,
"video_views_all": 1289245188,
"longevity": {
"popular_days": 0,
"current_popularity": 0
},
"audience_ages": [
{
"age_level": 3,
"score": 65
},
{
"age_level": 4,
"score": 23
},
{
"age_level": 5,
"score": 12
}
],
"audience_interests": [
{
"interest_info": {
"id": "10058",
"label": "diversify_10058",
"value": "Extreme Sports"
},
"score": 263
},
{
"interest_info": {
"id": "10060",
"label": "diversify_10060",
"value": "Sports News"
},
"score": 254
},
{
"interest_info": {
"id": "10064",
"label": "diversify_10064",
"value": "Fishing, Hunting & Camping"
},
"score": 144
},
{
"interest_info": {
"id": "10059",
"label": "diversify_10059",
"value": "Traditional Sports"
},
"score": 121
},
{
"interest_info": {
"id": "10061",
"label": "diversify_10061",
"value": "Fitness"
},
"score": 121
}
],
"audience_countries": [
{
"country_info": {
"id": "1821275",
"label": "MO",
"value": "Macao"
},
"score": 780
},
{
"country_info": {
"id": "630336",
"label": "BY",
"value": "Belarus"
},
"score": 617
},
{
"country_info": {
"id": "2963597",
"label": "IE",
"value": "Ireland"
},
"score": 471
},
{
"country_info": {
"id": "1522867",
"label": "KZ",
"value": "Kazakhstan"
},
"score": 408
},
{
"country_info": {
"id": "2186224",
"label": "NZ",
"value": "New Zealand"
},
"score": 395
},
{
"country_info": {
"id": "660013",
"label": "FI",
"value": "Finland"
},
"score": 356
},
{
"country_info": {
"id": "597427",
"label": "LT",
"value": "Lithuania"
},
"score": 353
},
{
"country_info": {
"id": "2077456",
"label": "AU",
"value": "Australia"
},
"score": 346
},
{
"country_info": {
"id": "458258",
"label": "LV",
"value": "Latvia"
},
"score": 340
},
{
"country_info": {
"id": "3202326",
"label": "HR",
"value": "Croatia"
},
"score": 314
},
{
"country_info": {
"id": "2782113",
"label": "AT",
"value": "Austria"
},
"score": 308
}
],
"related_hashtags": [
{
"hashtag_id": "1664180092709893",
"hashtag_name": "paddypimblett",
"video_url": "https://www.tiktok.com/tag/paddypimblett"
},
{
"hashtag_id": "1624672392451077",
"hashtag_name": "justingaethje",
"video_url": "https://www.tiktok.com/tag/justingaethje"
},
{
"hashtag_id": "1651468147224581",
"hashtag_name": "seanomalley",
"video_url": "https://www.tiktok.com/tag/seanomalley"
},
{
"hashtag_id": "1661965843527686",
"hashtag_name": "paddythebaddy",
"video_url": "https://www.tiktok.com/tag/paddythebaddy"
},
{
"hashtag_id": "1644658357349381",
"hashtag_name": "gaethje",
"video_url": "https://www.tiktok.com/tag/gaethje"
}
]
}
},
"requestId": "1cacc4ca-a154-44d4-82de-e994bda411b9"
}π€ Why Code When AI Can Do It For You?
Stop writing code like itβs 1970! Let AI do the heavy lifting - click the sparkles to copy a perfectly formatted prompt for ChatGPT, Claude, or your favorite AI assistant.
The time range for querying data, with valid options: 7 (last 7 days), 30 (last 30 days), 120 (last 120 days), 365 (last 12 months), 1095 (last 3 years)
"7"
Country/region code, the default value "all_regions" represents all regions. Example: US
"all_regions"
Names taken from the list of popular topic Hashtags
"ufc324"
Success
The response is of type object.