跳转到主要内容
GET
/
v1
/
tiktok
/
trending
/
hashtags
cURL
curl --request GET \
  --url 'https://api.keyapi.ai/v1/tiktok/trending/hashtags?page=1&limit=20&period=7&region=all_regions&industry_id=nothing&new_to_top_100=false' \
  --header 'Authorization: Bearer <YOUR_API_KEY>'
{
  "code": 0,
  "message": "success",
  "data": {
    "list": [
      {
        "hashtag_id": "7244",
        "hashtag_name": "clean",
        "country_info": {
          "id": "US",
          "value": "United States",
          "label": "US"
        },
        "industry_info": {
          "id": 11000000000,
          "value": "Vehicle & Transportation",
          "label": "label_11000000000"
        },
        "is_promoted": false,
        "trend": [
          {
            "time": 1769472000,
            "value": 0.96
          },
          {
            "time": 1769558400,
            "value": 0.91
          },
          {
            "time": 1769644800,
            "value": 0.87
          },
          {
            "time": 1769731200,
            "value": 0.83
          },
          {
            "time": 1769817600,
            "value": 0.84
          },
          {
            "time": 1769904000,
            "value": 0.96
          },
          {
            "time": 1769990400,
            "value": 1
          }
        ],
        "creators": [
          {
            "nick_name": "becky mae",
            "avatar_url": "https://p16-sign-sg.tiktokcdn.com/tos-alisg-avt-0068/71fc1185244765128518537b9d9c210d~tplv-tiktokx-cropcenter:100:100.png?dr=14579&refresh_token=0dec4860&x-expires=1770282000&x-signature=r%2BCrhZzsKS43L89YylY1uge6L2M%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=317596d8&idc=my"
          },
          {
            "nick_name": "Galicia Gordon",
            "avatar_url": "https://p16-sign-va.tiktokcdn.com/tos-maliva-avt-0068/a83d99ecd4e1859d1f3a122eaafa7141~tplv-tiktokx-cropcenter:100:100.png?dr=14579&refresh_token=7237e421&x-expires=1770282000&x-signature=VYRz0YUvi03Jl3xRNAyOK2BdVmg%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=317596d8&idc=my"
          },
          {
            "nick_name": "micaelarosa_",
            "avatar_url": "https://p16-sign-sg.tiktokcdn.com/tos-alisg-avt-0068/e1336ed62aab40b9ae1acbf487b6ccf9~tplv-tiktokx-cropcenter:100:100.png?dr=14579&refresh_token=6ea3e036&x-expires=1770282000&x-signature=LXT1FUefFvU1xYkoOPnuBBV46A8%3D&t=4d5b0474&ps=13740610&shp=a5d48078&shcp=317596d8&idc=my"
          }
        ],
        "publish_cnt": 48892,
        "video_views": 151854088,
        "rank": 1,
        "rank_diff_type": 4
      }
    ],
    "pagination": {
      "page": 1,
      "size": 1,
      "total": 100,
      "has_more": true
    }
  },
  "requestId": "c2aaf374-bc6f-4cd6-9e82-9b0c38269f43"
}
🪙2 credits每次请求

Copy for AI

🤖 让 AI 帮你写调用代码

点击按钮复制一段结构化提示词,可直接交给 ChatGPT、Claude 或其他 AI 助手生成接口调用代码。

授权

Authorization
string
header
必填

接口鉴权凭证。请在请求 Header 中传入 Authorization: Bearer <YOUR_API_KEY>。 可在 Dashboard 获取你的 API Key。

查询参数

page
string
默认值:1

分页页码,默认值为 1。

示例:

"1"

limit
string
默认值:20

每页返回数量,取值范围 1 到 20;超过最大值时会按 20 处理。

示例:

"20"

period
string
默认值:7

查询时间范围,可选值:7=近 7 天,30=近 30 天,120=近 120 天。

示例:

"7"

region
string
默认值:all_regions

国家/地区代码;默认值 all_regions 表示全部地区,例如 US。

示例:

"all_regions"

industry_id
string
默认值:nothing

一级行业筛选 ID,用于限制查询的行业范围;默认值 nothing 表示不筛选行业,可从“行业分类映射”获取。

示例:

"nothing"

new_to_top_100
string
默认值:false

是否仅筛选首次进入 Top 100 的热门话题;false=不筛选,true=仅筛选首次进入 Top 100 的话题。

示例:

"false"

响应

请求成功

The response is of type object.