Sand AISand AI MAGI-2MAGI-2 现已上线 SandBase:支持原生音频的 1080p 视频立即试用

TikTok Hashtag Detail

API 文档
https://api.sandbase.ai/v1/api/tiktok/app-v3/hashtag-detail

Returns detailed information for a specified TikTok hashtag. Queries require a hashtag identifier and accept an optional country region code.

价格
$0.001美元 / 次调用
方法
POST
响应
JSON
参数
1 个必填 · 1 个可选

Playground

输入
Hashtag id
Region, supports US, GB, FR, JP, VN, SG, default US
输出示例
响应outputs · 2.9 KB · 85 行
[
  {
    "data": {
      "ch_info": {
        "allow_upload_cover": true,
        "author": {
          "account_labels": null,
          "ad_cover_url": null,
          "advance_feature_item_order": null,
          "advanced_feature_info": null,
          "bold_fields": null,
          "can_message_follow_status_list": null,
          "can_set_geofencing": null,
          "cha_list": null,
          "cover_url": null,
          "events": null,
          "followers_detail": null,
          "geofencing": null,
          "homepage_bottom_toast": null,
          "item_list": null,
          "mutual_relation_avatars": null,
          "need_points": null,
          "platform_sync_info": null,
          "relative_users": null,
          "search_highlight": null,
          "shield_edit_field_info": null,
          "type_label": null,
          "user_profile_guide": null,
          "user_tags": null,
          "white_cover_url": null
        },
        "banner_list": null,
        "cha_attrs": null,
        "cha_name": "cat",
        "cid": "7551",
        "collect_stat": 0,
        "connect_music": [],
        "desc": "",
        "extra_attr": {
          "is_live": false
        },
        "hashtag_profile": "https://p19-common-sign.tiktokcdn-us.com/musically-maliva-obj/2e13829d6e1816708244b2bc8b905c51~tplv-tiktokx-origin.image?dr=9636&refresh_token=18eaa8f3&x-expires=1791324000&x-signature=%2F5xqKinjcwsEGAz%2FUsvpfek9iwI%3D&t=4d5b0474&ps=13740610&shp=3d78c6bd&shcp=9b759fb9&idc=useast5&plt=gomtdiscovery_challenge_banner",
        "is_challenge": 0,
        "is_commerce": false,
        "is_pgcshow": false,
        "is_strong_music": false,
        "schema": "aweme://aweme/challenge/detail?cid=7551",
        "search_highlight": null,
        "share_info": {
          "bool_persist": 0,
          "now_invitation_card_image_urls": null,
          "share_desc": "Check out #cat on TikTok!",
          "share_desc_info": "Check out #cat on TikTok!",
          "share_quote": "",
          "share_signature_desc": "",
          "share_signature_url": "",
          "share_title": "It is a becoming a big trend on TikTok now! Click here: cat",
          "share_title_myself": "",
          "share_title_other": "",
          "share_url": "https://www.tiktok.com/tag/cat?_r=1&name=cat&u_code=ebm40eil2cmbm9&_d=f311a42hd263ah&share_challenge_id=7551&sharer_language=en&source=h5_m"
        },
        "show_items": null,
        "sub_type": 0,
        "type": 2,
        "use_count": 77940253,
        "user_count": 77940253,
        "view_count": 1207295016876
      },
      "dynamic_list": null,
      "extra": {
        "fatal_item_ids": [],
        "logid": "20261006123933C189AA0FD5398B3BC73B",
        "now": 1791290373000
      },
      "log_pb": {
        "impr_id": "20261006123933C189AA0FD5398B3BC73B"
      },
      "rec_list": null,
      "slide_list": null,
      "status_code": 0,
      "status_msg": "",
      "version": "v2"
    }
  }
]

示例

选择一个示例,将其输入和结果加载到 playground 中。

API README

TikTok Hashtag Detail API

Returns details for one TikTok hashtag, including its name, ID, share link, and usage and view counts. It needs the hashtag ID as ch_id and accepts an optional region code.

Use cases

  • Read the total view count of a hashtag such as cat to compare it with other tags.
  • Store the use_count of a hashtag over time to see how fast its use grows.
  • Get the share URL and share text of a hashtag to build a link in a report or app.
  • Check whether a hashtag is flagged as commercial before you plan a campaign around it.

Request

curl -X POST "https://api.sandbase.ai/v1/api/tiktok/app-v3/hashtag-detail" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"ch_id": "7551"}'

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

Parameters

NameTypeRequiredDescription
ch_idstringYesHashtag id
regionstringNoRegion, supports US, GB, FR, JP, VN, SG, default US

Example response

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

{
  "ch_info": {
    "allow_upload_cover": true,
    "author": {
      "account_labels": null,
      "ad_cover_url": null,
      "advance_feature_item_order": null,
      "advanced_feature_info": null,
      "bold_fields": null,
      "can_message_follow_status_list": null,
      "can_set_geofencing": null,
      "cha_list": null,
      "cover_url": null,
      "events": null,
      "followers_detail": null,
      "geofencing": null
    },
    "banner_list": null,
    "cha_attrs": null,
    "cha_name": "cat",
    "cid": "7551",
    "collect_stat": 0,
    "connect_music": [],
    "desc": "",
    "extra_attr": {
      "is_live": false
    },
    "hashtag_profile": "https://p16-common-sign.tiktokcdn-us.com/musically-maliva-obj/2e13829d6e18167082…",
    "is_challenge": 0
  },
  "dynamic_list": null,
  "extra": {
    "fatal_item_ids": [],
    "logid": "2026110307435349CFD9AA1E8F98029FC1",
    "now": 1793691833000
  },
  "log_pb": {
    "impr_id": "2026110307435349CFD9AA1E8F98029FC1"
  },
  "rec_list": null,
  "slide_list": null,
  "status_code": 0,
  "status_msg": "",
  "version": "v2"
}

Response fields

FieldMeaning
ch_info.cha_nameName of the hashtag, without the # sign. The sample value is cat.
ch_info.cidID of the hashtag as a string. It matches the ch_id you sent.
ch_info.view_countTotal number of views counted for the hashtag.
ch_info.use_count / ch_info.user_countCounts tied to the hashtag's usage. In the sample both have the same value.
ch_info.descHashtag description text. It can be an empty string.
ch_info.hashtag_profileURL of the hashtag's profile image.
ch_info.is_commerceBoolean flag that shows whether the hashtag is marked as commercial.
ch_info.share_info.share_urlPublic TikTok web link to the hashtag page.
ch_info.share_info.share_desc / ch_info.share_info.share_titleText TikTok uses when someone shares the hashtag.
ch_info.schemaApp deep link that opens the hashtag detail page in the TikTok app.

Notes

  • ch_id is a numeric ID sent as a string, for example 7551. Find IDs with TikTok Hashtag Search Results.
  • region supports US, GB, FR, JP, VN, SG. The default is US.
  • To list videos that use the hashtag, call TikTok Hashtag Video List next.
  • Many fields, such as those under ch_info.author, return null for this hashtag.

Pricing

$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

探索更多

相关 APIs

全部 APIs
API价格响应
TikTok$0.001 每次调用JSON
TikTok$0.001 每次调用JSON
TikTok$0.01 每次调用JSON
TikTok$0.001 每次调用JSON
TikTok$0.001 每次调用JSON
TikTok$0.001 每次调用JSON

指南:TikTok API pricing: official access vs per-call dataBest TikTok API in 2026: Pricing Compared

问题

常见问题

如何使用 TikTok Hashtag Detail API?

向 https://api.sandbase.ai/v1/api/tiktok/app-v3/hashtag-detail 发送 POST 请求,在 Authorization 请求头中使用您的 SandBase API key(Bearer),并将参数作为 JSON 请求体传入。您也可以直接在本页的 Playground 中试用,无需编写代码。

TikTok Hashtag Detail API 的价格是多少?

每次调用 $0.001,从您的 SandBase 余额中扣费。您只需为实际调用付费;无需订阅。

TikTok Hashtag Detail API 接受哪些参数?

必填:ch_id (string)。 可选:region (string)。 Parameters 表和本页的 Playground 列出了每个字段。

TikTok Hashtag Detail API 返回什么?

在同一个 HTTP 请求中返回的 JSON 响应(同步)。 本页的 README 包含一个示例响应。

我需要 TikTok 开发者账户或 API key 吗?

不需要。TikTok Hashtag Detail 通过 SandBase 运行,因此一个 SandBase API key 即可覆盖此端点以及目录中的其他所有 API 和模型。您无需单独申请 TikTok API 访问权限。