ch_idstring必填
Hashtag id
https://api.sandbase.ai/v1/api/tiktok/app-v3/hashtag-detailReturns detailed information for a specified TikTok hashtag. Queries require a hashtag identifier and accept an optional country region code.
[
{
"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 中。
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.
cat to compare it with other tags.use_count of a hashtag over time to see how fast its use grows.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.
| Name | Type | Required | Description |
|---|---|---|---|
ch_id | string | Yes | Hashtag id |
region | string | No | Region, supports US, GB, FR, JP, VN, SG, default US |
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"
}
| Field | Meaning |
|---|---|
ch_info.cha_name | Name of the hashtag, without the # sign. The sample value is cat. |
ch_info.cid | ID of the hashtag as a string. It matches the ch_id you sent. |
ch_info.view_count | Total number of views counted for the hashtag. |
ch_info.use_count / ch_info.user_count | Counts tied to the hashtag's usage. In the sample both have the same value. |
ch_info.desc | Hashtag description text. It can be an empty string. |
ch_info.hashtag_profile | URL of the hashtag's profile image. |
ch_info.is_commerce | Boolean flag that shows whether the hashtag is marked as commercial. |
ch_info.share_info.share_url | Public TikTok web link to the hashtag page. |
ch_info.share_info.share_desc / ch_info.share_info.share_title | Text TikTok uses when someone shares the hashtag. |
ch_info.schema | App deep link that opens the hashtag detail page in the TikTok app. |
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.ch_info.author, return null for this hashtag.$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
开始构建
具备统一身份验证和使用情况跟踪的平台 API 端点。
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",
"region": "US"
}'将您的 SandBase API 密钥设置到服务器环境中。请求使用 Bearer 身份验证。
export SANDBASE_API_KEY="YOUR_API_KEY"请将密钥保存在服务器端。不要在浏览器代码中暴露它。
ch_idstring必填Hashtag id
regionstringRegion, supports US, GB, FR, JP, VN, SG, default US
默认值:"US"
这是该 API 保存的示例响应;查看时不会发起实时请求。
[
{
"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"
}
}
]探索更多
| 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
问题
向 https://api.sandbase.ai/v1/api/tiktok/app-v3/hashtag-detail 发送 POST 请求,在 Authorization 请求头中使用您的 SandBase API key(Bearer),并将参数作为 JSON 请求体传入。您也可以直接在本页的 Playground 中试用,无需编写代码。
每次调用 $0.001,从您的 SandBase 余额中扣费。您只需为实际调用付费;无需订阅。
必填:ch_id (string)。 可选:region (string)。 Parameters 表和本页的 Playground 列出了每个字段。
在同一个 HTTP 请求中返回的 JSON 响应(同步)。 本页的 README 包含一个示例响应。
不需要。TikTok Hashtag Detail 通过 SandBase 运行,因此一个 SandBase API key 即可覆盖此端点以及目录中的其他所有 API 和模型。您无需单独申请 TikTok API 访问权限。