keywordstringจำเป็น
Keyword
https://api.sandbase.ai/v1/api/tiktok/app-v3/hashtag-search-resultReturns TikTok hashtag search results matching a specified search keyword. Includes challenge details such as hashtag name, use count, and user count.
[
{
"data": {
"ad_info": {},
"challenge_list": [
{
"challenge_info": {
"banner_list": null,
"cha_attrs": null,
"cha_name": "openai",
"cid": "72988465",
"collect_stat": 0,
"connect_music": [],
"desc": "",
"extra_attr": {
"is_live": false
},
"hashtag_profile": "",
"is_challenge": 0,
"is_commerce": false,
"is_pgcshow": false,
"schema": "aweme://aweme/challenge/detail?cid=72988465",
"search_cha_name": "openai",
"search_highlight": null,
"share_info": {
"bool_persist": 0,
"now_invitation_card_image_urls": null,
"share_desc": "Check out #openai on TikTok!",
"share_desc_info": "Check out #openai on TikTok!",
"share_quote": "",
"share_signature_desc": "",
"share_signature_url": "",
"share_title": "It is a becoming a big trend on TikTok now! Click here: openai",
"share_title_myself": "",
"share_title_other": "",
"share_url": "https://www.tiktok.com/tag/openai?_r=1&name=openai&u_code=f011eghec4a954&_d=f1k9f011bj64k9&share_challenge_id=72988465&sharer_language=en&source=h5_m"
},
"show_items": null,
"sub_type": 0,
"type": 1,
"use_count": 363501,
"user_count": 363501,
"view_count": 8965529080
},
"items": null,
"position": null
},
{
"challenge_info": {
"banner_list": null,
"cha_attrs": null,
"cha_name": "open_ai",
"cid": "7094388114461818885",
"collect_stat": 0,
"connect_music": [],
"desc": "",
"extra_attr": {
"is_live": false
},
"hashtag_profile": "",
"is_challenge": 0,
"is_commerce": false,
"is_pgcshow": false,
"schema": "aweme://aweme/challenge/detail?cid=7094388114461818885",
"search_cha_name": "open_ai",
"search_highlight": null,
"share_info": {
"bool_persist": 0,
"now_invitation_card_image_urls": null,
"share_desc": "Check out #open_ai on TikTok!",
"share_desc_info": "Check out #open_ai on TikTok!",
"share_quote": "",
"share_signature_desc": "",
"share_signature_url": "",
"share_title": "It is a becoming a big trend on TikTok now! Click here: open_ai",
"share_title_myself": "",
"share_title_other": "",
"share_url": "https://www.tiktok.com/tag/open_ai?_r=1&name=open_ai&u_code=f011eghec4a954&_d=f1k9f011bj64k9&share_challenge_id=7094388114461818885&sharer_language=en&source=h5_m"
},
"show_items": null,
"sub_type": 0,
"type": 1,
"use_count": 208,
"user_count": 208,
"view_count": 1996440
},
"items": null,
"position": null
},
{
"challenge_info": {
"banner_list": null,
"cha_attrs": null,
"cha_name": "openai?",
"cid": "7174697305507889154",
"collect_stat": 0,
"connect_music": [],
"desc": "",
"extra_attr": {
"is_live": false
},
"hashtag_profile": "",
"is_challenge": 0,
"is_commerce": false,
"is_pgcshow": false,
"schema": "aweme://aweme/challenge/detail?cid=7174697305507889154",
"search_cha_name": "openai?",
"search_highlight": null,
"share_info": {
"bool_persist": 0,
"now_invitation_card_image_urls": null,
"share_desc": "Check out #openai? on TikTok!",
"share_desc_info": "Check out #openai? on TikTok!",
"share_quote": "",
"share_signature_desc": "",
"share_signature_url": "",
"share_title": "It is a becoming a big trend on TikTok now! Click here: openai?",
"share_title_myself": "",
"share_title_other": "",
"share_url": "https://www.tiktok.com/tag/openai%3F?_r=1&name=openai?&u_code=f011eghec4a954&_d=f1k9f011bj64k9&share_challenge_id=7174697305507889154&sharer_language=en&source=h5_m"
},
"show_items": null,
"sub_type": 0,
"type": 1,
"use_count": 32,
"user_count": 32,
"view_count": 333603
},
"items": null,
"position": null
},
"… 17 more items in the full response"
],
"cursor": 20,
"extra": {
"api_debug_info": null,
"fatal_item_ids": [],
"logid": "2026100612393376C462B2D8C879D65C94",
"now": 1791290374000,
"search_request_id": "",
"server_stream_time": 498
},
"feedback_type": "challenge",
"global_doodle_config": {
"feedback_survey": [
{
"feedback_type": "challenge",
"long_stress_info": null,
"multiple_choices": [
{
"key": "Dislike",
"value": "Dislike"
},
{
"key": "Unrelated result",
"value": "Unrelated result"
},
{
"key": "Outdated content",
"value": "Outdated content"
},
"… 2 more items in the full response"
],
"send_us_multiple_choices": null
}
],
"feel_good": {
"extra": "has_logged=true&query_flag1=0&query_flag2=0&query_usability=0&user_id=7561566194462180374",
"token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJwbGF0Zm9ybSI6eyJwbGF0SUQiOiI3MTQwMTUzNjA4OTQyNzgwNDE3IiwiZG9tYWluTGlzdCI6WyJzZWFyY2guc3VydmV5LnRpa3Rvay5jb20iXSwidHJpZ2dlcktleUxpc3QiOlsic2VhcmNoIiwidHRfc2VhcmNoIl19LCJpYXQiOjE3OTEyODgxNzQsImV4cCI6MTc5MTI5NTM3NH0.z41UPNeRZmzymY1GKPosp4ESJ6bc07UCX2vfY4nhIBM",
"token_type": "Bearer"
},
"hashtag_vertical_style_type": 1,
"hide_results": false,
"hit_dolphin": false,
"hit_shark": false,
"keyword": "openai",
"new_source": "normal_search",
"search_channel": "musically_challenge",
"tns_search_result": "Pass"
},
"has_more": 1,
"is_match": false,
"keyword_disabled": 0,
"log_pb": {
"impr_id": "2026100612393376C462B2D8C879D65C94"
},
"qc": "",
"status_code": 0,
"version": "v2"
}
}
]เลือกตัวอย่างเพื่อโหลดอินพุตและผลลัพธ์ลงใน playground
Returns a list of TikTok hashtags (challenges) that match a search keyword. It needs one input, keyword, and accepts count and offset for paging.
openai and open_ai, before you start tracking them.cid) to pass to other hashtag APIs.curl -X POST "https://api.sandbase.ai/v1/api/tiktok/app-v3/hashtag-search-result" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"keyword": "openai"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
keyword | string | Yes | Keyword |
count | integer | No | Number |
offset | integer | No | Offset |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"ad_info": {},
"challenge_list": [
{
"challenge_info": {
"banner_list": null,
"cha_attrs": null,
"cha_name": "openai",
"cid": "72988465",
"collect_stat": 0,
"connect_music": [],
"desc": "",
"extra_attr": {
"is_live": false
}
},
"items": null,
"position": null
}
],
"cursor": 20,
"extra": {
"api_debug_info": null,
"fatal_item_ids": [],
"logid": "20261103074353B6A0EB0AB2CEEC6C9841",
"now": 1793691833000,
"search_request_id": "",
"server_stream_time": 430
},
"feedback_type": "challenge",
"global_doodle_config": {
"feedback_survey": [
{
"feedback_type": "challenge",
"long_stress_info": null,
"multiple_choices": [
{
"key": "Dislike",
"value": "Dislike"
}
],
"send_us_multiple_choices": null
}
],
"feel_good": {
"extra": "has_logged=true&query_flag1=0&query_flag2=0&query_usability=0&user_id=7563412318…",
"token": "eyJhbGci…",
"token_type": "Bearer"
},
"hashtag_vertical_style_type": 1,
"hide_results": false,
"hit_dolphin": false,
"hit_shark": false,
"keyword": "openai",
"new_source": "normal_search",
"search_channel": "musically_challenge",
"tns_search_result": "Pass"
},
"has_more": 1,
"is_match": false,
"keyword_disabled": 0,
"log_pb": {
"impr_id": "20261103074353B6A0EB0AB2CEEC6C9841"
},
"qc": "",
"status_code": 0
}
| Field | Meaning |
|---|---|
challenge_list[] | One matching hashtag per item. Results follow the order that TikTok returns. |
challenge_list[].challenge_info.cha_name | Name of the hashtag, without the leading #. |
challenge_list[].challenge_info.cid | ID of the hashtag, returned as a string. |
challenge_list[].challenge_info.desc | Description text of the hashtag. It is often an empty string. |
challenge_list[].challenge_info.extra_attr.is_live | Boolean flag in the hashtag's extra attributes. It is false for all hashtags in this example. |
has_more | Shows whether more results exist. 1 means you can request another page. |
cursor | Cursor value returned with the page. It is 20 here, which matches the default count. |
status_code | Status of the request. 0 is returned for this successful call. |
global_doodle_config.keyword | The keyword that TikTok used for the search. |
keyword. Set count for the page size (default 20) and offset for the starting position (default 0).has_more is 1, call again with offset set to the returned cursor value to get the next page.items and position are null in each result, and use_count and user_count are not present in this response. Use TikTok Hashtag Detail with the cid for more on one hashtag.$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
เริ่มสร้าง
เอ็นด์พอยต์ของ Platform API ที่มีการยืนยันตัวตนและการติดตามการใช้งานแบบรวมศูนย์
curl -X POST "https://api.sandbase.ai/v1/api/tiktok/app-v3/hashtag-search-result" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"count": 1,
"offset": 0,
"keyword": "openai"
}'ตั้งค่า SandBase API key ของคุณในสภาพแวดล้อมฝั่งเซิร์ฟเวอร์ คำขอจะใช้การยืนยันตัวตนแบบ Bearer
export SANDBASE_API_KEY="YOUR_API_KEY"เก็บ key ไว้บนเซิร์ฟเวอร์ อย่าเปิดเผยในโค้ดฝั่งเบราว์เซอร์
keywordstringจำเป็นKeyword
countintegerNumber
ค่าเริ่มต้น: 20
offsetintegerOffset
ค่าเริ่มต้น: 0
บันทึกตัวอย่างการตอบกลับสำหรับ API นี้; จะไม่มีการส่งคำขอจริงเมื่อเปิดดู
[
{
"data": {
"ad_info": {},
"challenge_list": [
{
"challenge_info": {
"banner_list": null,
"cha_attrs": null,
"cha_name": "openai",
"cid": "72988465",
"collect_stat": 0,
"connect_music": [],
"desc": "",
"extra_attr": {
"is_live": false
},
"hashtag_profile": "",
"is_challenge": 0,
"is_commerce": false,
"is_pgcshow": false,
"schema": "aweme://aweme/challenge/detail?cid=72988465",
"search_cha_name": "openai",
"search_highlight": null,
"share_info": {
"bool_persist": 0,
"now_invitation_card_image_urls": null,
"share_desc": "Check out #openai on TikTok!",
"share_desc_info": "Check out #openai on TikTok!",
"share_quote": "",
"share_signature_desc": "",
"share_signature_url": "",
"share_title": "It is a becoming a big trend on TikTok now! Click here: openai",
"share_title_myself": "",
"share_title_other": "",
"share_url": "https://www.tiktok.com/tag/openai?_r=1&name=openai&u_code=f011eghec4a954&_d=f1k9f011bj64k9&share_challenge_id=72988465&sharer_language=en&source=h5_m"
},
"show_items": null,
"sub_type": 0,
"type": 1,
"use_count": 363501,
"user_count": 363501,
"view_count": 8965529080
},
"items": null,
"position": null
},
{
"challenge_info": {
"banner_list": null,
"cha_attrs": null,
"cha_name": "open_ai",
"cid": "7094388114461818885",
"collect_stat": 0,
"connect_music": [],
"desc": "",
"extra_attr": {
"is_live": false
},
"hashtag_profile": "",
"is_challenge": 0,
"is_commerce": false,
"is_pgcshow": false,
"schema": "aweme://aweme/challenge/detail?cid=7094388114461818885",
"search_cha_name": "open_ai",
"search_highlight": null,
"share_info": {
"bool_persist": 0,
"now_invitation_card_image_urls": null,
"share_desc": "Check out #open_ai on TikTok!",
"share_desc_info": "Check out #open_ai on TikTok!",
"share_quote": "",
"share_signature_desc": "",
"share_signature_url": "",
"share_title": "It is a becoming a big trend on TikTok now! Click here: open_ai",
"share_title_myself": "",
"share_title_other": "",
"share_url": "https://www.tiktok.com/tag/open_ai?_r=1&name=open_ai&u_code=f011eghec4a954&_d=f1k9f011bj64k9&share_challenge_id=7094388114461818885&sharer_language=en&source=h5_m"
},
"show_items": null,
"sub_type": 0,
"type": 1,
"use_count": 208,
"user_count": 208,
"view_count": 1996440
},
"items": null,
"position": null
},
{
"challenge_info": {
"banner_list": null,
"cha_attrs": null,
"cha_name": "openai?",
"cid": "7174697305507889154",
"collect_stat": 0,
"connect_music": [],
"desc": "",
"extra_attr": {
"is_live": false
},
"hashtag_profile": "",
"is_challenge": 0,
"is_commerce": false,
"is_pgcshow": false,
"schema": "aweme://aweme/challenge/detail?cid=7174697305507889154",
"search_cha_name": "openai?",
"search_highlight": null,
"share_info": {
"bool_persist": 0,
"now_invitation_card_image_urls": null,
"share_desc": "Check out #openai? on TikTok!",
"share_desc_info": "Check out #openai? on TikTok!",
"share_quote": "",
"share_signature_desc": "",
"share_signature_url": "",
"share_title": "It is a becoming a big trend on TikTok now! Click here: openai?",
"share_title_myself": "",
"share_title_other": "",
"share_url": "https://www.tiktok.com/tag/openai%3F?_r=1&name=openai?&u_code=f011eghec4a954&_d=f1k9f011bj64k9&share_challenge_id=7174697305507889154&sharer_language=en&source=h5_m"
},
"show_items": null,
"sub_type": 0,
"type": 1,
"use_count": 32,
"user_count": 32,
"view_count": 333603
},
"items": null,
"position": null
},
"… 17 more items in the full response"
],
"cursor": 20,
"extra": {
"api_debug_info": null,
"fatal_item_ids": [],
"logid": "2026100612393376C462B2D8C879D65C94",
"now": 1791290374000,
"search_request_id": "",
"server_stream_time": 498
},
"feedback_type": "challenge",
"global_doodle_config": {
"feedback_survey": [
{
"feedback_type": "challenge",
"long_stress_info": null,
"multiple_choices": [
{
"key": "Dislike",
"value": "Dislike"
},
{
"key": "Unrelated result",
"value": "Unrelated result"
},
{
"key": "Outdated content",
"value": "Outdated content"
},
"… 2 more items in the full response"
],
"send_us_multiple_choices": null
}
],
"feel_good": {
"extra": "has_logged=true&query_flag1=0&query_flag2=0&query_usability=0&user_id=7561566194462180374",
"token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJwbGF0Zm9ybSI6eyJwbGF0SUQiOiI3MTQwMTUzNjA4OTQyNzgwNDE3IiwiZG9tYWluTGlzdCI6WyJzZWFyY2guc3VydmV5LnRpa3Rvay5jb20iXSwidHJpZ2dlcktleUxpc3QiOlsic2VhcmNoIiwidHRfc2VhcmNoIl19LCJpYXQiOjE3OTEyODgxNzQsImV4cCI6MTc5MTI5NTM3NH0.z41UPNeRZmzymY1GKPosp4ESJ6bc07UCX2vfY4nhIBM",
"token_type": "Bearer"
},
"hashtag_vertical_style_type": 1,
"hide_results": false,
"hit_dolphin": false,
"hit_shark": false,
"keyword": "openai",
"new_source": "normal_search",
"search_channel": "musically_challenge",
"tns_search_result": "Pass"
},
"has_more": 1,
"is_match": false,
"keyword_disabled": 0,
"log_pb": {
"impr_id": "2026100612393376C462B2D8C879D65C94"
},
"qc": "",
"status_code": 0,
"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
คำถาม
ส่งคำขอ POST ไปที่ https://api.sandbase.ai/v1/api/tiktok/app-v3/hashtag-search-result โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด
$0.001 ต่อครั้ง ทุกองค์กรจะได้รับคำขอฟรี 100 ครั้งต่อวัน UTC โดยใช้ร่วมกันใน SandBase APIs ที่เข้าเงื่อนไขรวมถึงรายการนี้ หลังจากนั้นแต่ละคำขอจะคิดค่าบริการตามราคานี้จากยอดคงเหลือ SandBase ของคุณ ไม่มีค่าสมาชิกรายเดือน
ที่ต้องระบุ: keyword (string). ตัวเลือก: count (integer) และ offset (integer). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์
การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ
ไม่จำเป็น TikTok Hashtag Search Results ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง TikTok API แยกต่างหาก