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.001JSON
TikTok每次呼叫 $0.001JSON
TikTok每次呼叫 $0.01JSON
TikTok每次呼叫 $0.001JSON
TikTok每次呼叫 $0.001JSON
TikTok每次呼叫 $0.001JSON

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

問題

常見問題

我要如何使用 TikTok Hashtag Detail API?

使用 POST 請求將您的 SandBase API 金鑰放在 Authorization 標頭(Bearer)中,並以 JSON 主體傳入參數,即可呼叫 https://api.sandbase.ai/v1/api/tiktok/app-v3/hashtag-detail。您也可以直接在本頁的 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 金鑰嗎?

不需要。TikTok Hashtag Detail 是透過 SandBase 運作,因此一組 SandBase API 金鑰即可使用此端點以及目錄中的其他所有 API 和模型。您不需要另外申請 TikTok API 存取權。