Douyin Discussion Search
https://api.sandbase.ai/v1/api/douyin/search/discuss-searchReturns discussion and question-and-answer search results from Douyin. Supports filtering by keyword, sort order, content type, post time, and video duration.
- Price
- $0.01USD / callFirst 100 calls per day free (shared per organization)
- Method
- POST
- Response
- JSON
- Parameters
- 0 required · 8 optional
Try the model
Playground
[
{
"data": {
"business_config": {
"ad_info": null,
"backtrace": "QljQY1wnumX0q3TKVwL5sA==",
"card_count": 13,
"extra": {
"comment_config": {
"card_template": {
"data_template": "{\"data_id\":\"1\",\"type\":999,\"data\":{\"card_type_name\":\"douyin_topic_comment_card\",\"raw_data\":\"$raw_data\",\"height\":0,\"waterfall_layout_single_schema\":\"aweme://lynxview/?channel=morphling_high&bundle=douyin_discuss%2Faweme_album_comment%2Ftemplate.js&surl=https%3A%2F%2Flf-dy-gr-sourcecdn.bytegecko.com%2Fobj%2Fbyte-gurd-source-gr%2Fsearch%2Ffe%2Fdouyin%2Fmorphling_high%2Fdouyin_discuss%2Faweme_album_comment%2Ftemplate.js&dynamic=1&group=morphling_high&fe_enable_preserve_data=1&abParams=search_quality_topic_comment_desc_line&ab_params=douyin_discuss_card_truncate\",\"origin_type\":0,\"raw_data_struct\":null,\"filtered_in_video_detail\":0,\"not_inject_aweme_list\":false,\"show_feedback\":false,\"schema\":\"aweme://lynxview/?channel=morphling_high&bundle=douyin_discuss%2Faweme_album_comment%2Ftemplate.js&surl=https%3A%2F%2Flf-dy-gr-sourcecdn.bytegecko.com%2Fobj%2Fbyte-gurd-source-gr%2Fsearch%2Ffe%2Fdouyin%2Fmorphling_high%2Fdouyin_discuss%2Faweme_album_comment%2Ftemplate.js&dynamic=1&group=morphling_high&fe_enable_preserve_data=1&abParams=search_quality_topic_comment_desc_line&ab_params=douyin_discuss_card_truncate\"},\"card_id\":\"douyin.doctype_aweme_topic_comment\",\"log\":\"$log\"}",
"raw_data_template": "{\"type\":350,\"is_newly_published\":1,\"doc_type\":345,\"sub_card_list\":null,\"tab\":null,\"show_tab\":null,\"aweme_list\":null,\"ecom_goods_list\":null,\"music_info_list\":null,\"comment_info\":{\"is_general_search\":false,\"comment_data\":\"$comment_data\"},\"ops\":null,\"qishui_music_list\":null,\"log_data\":\"$log_data\"}",
"render_info_template": "{\"render_id\":\"1\",\"render_type\":1,\"render_extra\":{\"card_type_name\":\"douyin_topic_comment_card\",\"type\":999,\"height\":0,\"schema\":\"aweme://lynxview/?channel=morphling_high&bundle=douyin_discuss%2Faweme_album_comment%2Ftemplate.js&surl=https%3A%2F%2Flf-dy-gr-sourcecdn.bytegecko.com%2Fobj%2Fbyte-gurd-source-gr%2Fsearch%2Ffe%2Fdouyin%2Fmorphling_high%2Fdouyin_discuss%2Faweme_album_comment%2Ftemplate.js&dynamic=1&group=morphling_high&fe_enable_preserve_data=1&abParams=search_quality_topic_comment_desc_line&ab_params=douyin_discuss_card_truncate\"},\"ui_info\":null}"
},
"comment_group_id": 6537523068217103000,
"comment_service_id": 148,
"disable_comment_bar": true,
"enable_insert_newest_comment": false
},
"is_filter_search": 0,
"req_start_ts": 1787219271627
},
"extra_fresh_struct": null,
"feedback": null,
"feelgood_msg": {},
"filter_bar": null,
"has_more": 1,
"is_filter_search": 0,
"keyword": "猫咪",
"next_page": {
"cursor": 15,
"keyword": "猫咪",
"poi_search_info": "",
"search_id": "2026082017475150D0E1DFFA03DAF7A214",
"search_request_id": "2026082017475150D0E1DFFA03DAF7A214"
},
"poi_search_info": "",
"pre_loadmore_config": null,
"search_background_config": {
"search_header_background_config": {
"background_color_config_dark": {
"color": "#FF0E0F1A"
},
"background_color_config_light": {
"color": "#FFF8F8F8"
}
},
"search_result_background_config": {
"background_color_config_dark": {
"color": "#FF0E0F1A"
},
"background_color_config_light": {
"color": "#FFF8F8F8"
},
"extra_height": 173,
"hide_corner": 1,
"result_background_blank_offset": 8
}
},
"search_nil_info": null
},
"business_data": [
{
"card_id": "douyin.doctype_aweme_comment",
"data": {
"aweme_list": [
{
"activity_video_type": 0,
"ai_follow_images": null,
"ai_search_struct": {
"show_ai_entrance": true
},
"anchors": null,
"authentication_token": "MS4wLjAAAAAAl11wvF6BjJav5T8pqBFzCky8RVDdIEhgd031kiOcT-mFFy2KOS1CRtJ1P9BkS1kqoaxXg2kcYvrcYVkQ9xefANrIKM1bB41VyFxj9GZ0Ebo0K6ca4XUp34bJAvq1EagpVJ4vmu09811m1OUWUQ2ZYipoWeoKzGcLcWRF1qCSUBhFI52umGnCmQHtwLFB8QiSGlojWmExH9P1XqaApAR12gClbUvEMzrLtUdq63d71nvRE4Zls2Qf72pyqNE07W3i",
"author": {
"accept_private_policy": false,
"account_cert_info": "{}",
"account_region": "",
"ad_cover_url": null,
"allow_story_normal_like": false,
"apple_account": 0,
"authority_status": 0,
"avatar_168x168": {
"height": 720,
"uri": "168x168/aweme-avatar/tos-cn-avt-0015_e134e286acc2426f94df8f4e29e607d3",
"url_list": [
"https://p3.douyinpic.com/img/aweme-avatar/tos-cn-avt-0015_e134e286acc2426f94df8f4e29e607d3~c5_168x168.webp?from=327834062",
"https://p3.douyinpic.com/img/aweme-avatar/tos-cn-avt-0015_e134e286acc2426f94df8f4e29e607d3~c5_168x168.jpeg?from=327834062"
],
"width": 720
},
"avatar_300x300": {
"height": 720,
"uri": "300x300/aweme-avatar/tos-cn-avt-0015_e134e286acc2426f94df8f4e29e607d3",
"url_list": [
"https://p3.douyinpic.com/img/aweme-avatar/tos-cn-avt-0015_e134e286acc2426f94df8f4e29e607d3~c5_300x300.webp?from=327834062",
"https://p3.douyinpic.com/img/aweme-avatar/tos-cn-avt-0015_e134e286acc2426f94df8f4e29e607d3~c5_300x300.jpeg?from=327834062"
],
"width": 720
},
"avatar_larger": {
"height": 720,
"uri": "1080x1080/aweme-avatar/tos-cn-avt-0015_e134e286acc2426f94df8f4e29e607d3",
"url_list": [
"https://p3.douyinpic.com/aweme/1080x1080/aweme-avatar/tos-cn-avt-0015_e134e286acc2426f94df8f4e29e607d3.webp?from=327834062",
"https://p3.douyinpic.com/aweme/1080x1080/aweme-avatar/tos-cn-avt-0015_e134e286acc2426f94df8f4e29e607d3.jpeg?from=327834062"
],
"width": 720
},
"avatar_medium": {
"height": 720,
"uri": "720x720/aweme-avatar/tos-cn-avt-0015_e134e286acc2426f94df8f4e29e607d3",
"url_list": [
"https://p3.douyinpic.com/aweme/720x720/aweme-avatar/tos-cn-avt-0015_e134e286acc2426f94df8f4e29e607d3.webp?from=327834062",
"https://p3.douyinpic.com/aweme/720x720/aweme-avatar/tos-cn-avt-0015_e134e286acc2426f94df8f4e29e607d3.jpeg?from=327834062"
],
"width": 720
},
"avatar_schema_list": null,
"avatar_thumb": {
"height": 720,
"uri": "100x100/aweme-avatar/tos-cn-avt-0015_e134e286acc2426f94df8f4e29e607d3",
"url_list": [
"https://p3.douyinpic.com/aweme/100x100/aweme-avatar/tos-cn-avt-0015_e134e286acc2426f94df8f4e29e607d3.webp?from=327834062",
"https://p3.douyinpic.com/aweme/100x100/aweme-avatar/tos-cn-avt-0015_e134e286acc2426f94df8f4e29e607d3.jpeg?from=327834062"
],
"width": 720
},
"avatar_uri": "aweme-avatar/tos-cn-avt-0015_e134e286acc2426f94df8f4e29e607d3",
"aweme_control": {
"can_comment": true,
"can_forward": true,
"can_share": true,
"can_show_comment": true
},
"aweme_count": 0,
"awemehts_greet_info": "",
"ban_user_functions": [],
"batch_unfollow_contain_tabs": null,
"batch_unfollow_relation_desc": null,
"bind_phone": "",
"birthday": "",
"can_set_geofencing": null,
"card_entries": null,
"card_entries_not_display": null,
"card_sort_priority": null,
"cf_list": null,
"cha_list": null,
"close_friend_type": 0,
"comment_filter_status": 0,
"comment_setting": 0,
"commerce_user_level": 0,
"constellation": 0,
"contacts_status": 2,
"contrail_list": null,
"cover_url": [
{
"height": 720,
"uri": "c8510002be9a3a61aad2",
"url_list": [
"https://p3-sign.douyinpic.com/obj/c8510002be9a3a61aad2?lk3s=138a59ce&x-expires=1788426000&x-signature=JvJ3QRyF5z8K0MAjsm3BIcA4sFg%3D&from=327834062"
],
"width": 720
}
],
"create_time": 0,
"creator_tag_list": null,
"custom_verify": "",
"cv_level": "",
"data_label_list": null,
"disable_image_comment_saved": 0,
"display_info": null,
"download_prompt_ts": 0,
"download_setting": -1,
"duet_setting": 0,
"enable_nearby_visible": true,
"endorsement_info_list": null,
"enterprise_verify_reason": "",
"familiar_confidence": 0,
"familiar_visitor_user": null,
"favoriting_count": 0,
"fb_expire_time": 0,
"follow_status": 0,
"follower_count": 15753,
"follower_list_secondary_information_struct": null,
"follower_request_status": 0,
"follower_status": 0,
"followers_detail": null,
"following_count": 0,
"gender": 0,
"geofencing": [],
"google_account": "",
"has_email": false,
"has_facebook_token": false,
"has_insights": false,
"has_orders": false,
"has_twitter_token": false,
"has_unread_story": false,
"has_youtube_token": false,
"hide_location": false,
"hide_search": true,
"homepage_bottom_toast": null,
"house_talent_info": 0,
"identity_labels": null,
"im_role_ids": null,
"ins_id": "",
"interest_tags": null,
"is_ad_fake": false,
"is_ban": false,
"is_binded_weibo": false,
"is_block": false,
"is_blocked_v2": false,
"is_blocking_v2": false,
"is_cf": 0,
"is_discipline_member": false,
"is_gov_media_vip": false,
"is_mix_user": false,
"is_not_show": false,
"is_phone_binded": false,
"is_star": false,
"is_verified": true,
"item_list": null,
"ky_only_predict": 0,
"language": "zh-Hans",
"link_item_list": null,
"live_agreement": 0,
"live_agreement_time": 0,
"live_commerce": false,
"live_high_value": 0,
"live_status": 0,
"live_verify": 0,
"location": "",
"mate_add_permission": 0,
"mate_count": 0,
"mate_relation": {
"mate_apply_forward": 0,
"mate_apply_reverse": 0,
"mate_status": 0
},
"max_follower_count": 0,
"need_points": null,
"need_recommend": 0,
"neiguang_shield": 0,
"new_story_cover": null,
"nickname": "旺财今天干嘛了",
"not_seen_item_id_list": null,
"not_seen_item_id_list_v2": null,
"offline_info_list": null,
"personal_tag_list": null,
"platform_sync_info": null,
"prevent_download": false,
"private_relation_list": null,
"profile_component_disabled": null,
"profile_mob_params": null,
"profile_signature_components": null,
"react_setting": 0,
"reflow_page_gid": 0,
"reflow_page_uid": 0,
"region": "CN",
"relative_users": null,
"risk_notice_text": "",
"room_id": 0,
"room_id_str": "0",
"school_category": 0,
"school_id": "",
"school_name": "",
"school_poi_id": "",
"school_type": 0,
"search_impr": {
"entity_id": "65584265695534"
},
"sec_uid": "MS4wLjABAAAAgc02sAc4TUvM6Cy76UdIW9VKrDfQW9odEmJgspg1pys",
"secret": 0,
"share_info": {
"share_desc": "",
"share_desc_info": "",
"share_qrcode_url": {
"height": 720,
"uri": "31b1a000274ca11822645",
"url_list": [
"https://p3-sign.douyinpic.com/obj/31b1a000274ca11822645?lk3s=138a59ce&x-expires=1787238000&x-signature=RYR5JQvufGW0X9J7PagraNDY55M%3D&from=327834062"
],
"width": 720
},
"share_title": "",
"share_title_myself": "",
"share_title_other": "",
"share_url": "",
"share_weibo_desc": ""
},
"share_qrcode_uri": "31b1a000274ca11822645",
"shield_comment_notice": 0,
"shield_digg_notice": 0,
"shield_follow_notice": 0,
"short_id": "3719708468",
"show_image_bubble": false,
"show_nearby_active": false,
"signature": "分享的东西是自己用下来觉得不错的给大家做个推荐\n好东西值得被看见!理性种草,按需购买\n感谢大家的信任🫡🫡",
"signature_display_lines": 5,
"signature_extra": null,Examples
Select an example to load its inputs and result into the playground.
Model card
Specifications
Pricing
- Base price
- $0.01 / run
- Daily free calls
- First 100 calls per day free (shared per organization)
Request & response
- Method
- POST
- Request body
- application/json
- Response
- application/json
- Execution
- sync
Parameters
- backtrace
- string · optional
- content_type
- string · optional
- cursor
- integer · optional
- filter_duration
- string · optional
- keyword
- string · optional
- publish_time
- string · optional
- search_id
- string · optional
- sort_type
- string · optional
Access
- Provider
- Douyin
- API
- Platform API
- Base URL
- https://api.sandbase.ai
- Endpoint
- /v1/api/douyin/search/discuss-search
- Authentication
- Bearer API key
API README
Douyin Discussion Search API
Search Douyin discussion and Q&A content using a search query via keyword. Supports pagination and refined filtering via parameters like sort_type and content_type.
Use cases
- Monitor audience questions and discussions around specific topic keywords.
- Track public opinions and popular discussion threads on Douyin.
- Filter community Q&A content by duration and sorting order.
Request
curl -X POST "https://api.sandbase.ai/v1/api/douyin/search/discuss-search" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
cursor | integer | No | Pagination cursor (0 for first page, use the last response cursor for subsequent pages) |
keyword | string | No | Search keyword, e.g., "study abroad" |
backtrace | string | No | Backtrace for pagination, obtained from the last response |
search_id | string | No | Search ID used for pagination |
sort_type | string | No | Sorting method |
content_type | string | No | Content type filter |
publish_time | string | No | Publish time filter |
filter_duration | string | No | Video duration filter |
Example response
Real response for the request above, trimmed to the main fields. User names and long IDs are masked.
{
"business_data": [
{
"card_id": "douyin.doctype_aweme_comment",
"data_id": "0",
"type": 999,
"data": {
"card_id": "douyin.doctype_aweme_comment",
"card_type_name": "doctype_aweme_comment",
"origin_type": 0
}
}
]
}
Notes
- Set
cursorto 0 for the initial page, then pass values from the prior response for subsequent requests. - Paging across result sets relies on
backtraceandsearch_idretrieved from preceding response payloads.
Related APIs
- Douyin Challenge Search: Returns Douyin challenge and hashtag search results matching a query.
- Douyin Hashtag Challenge Search (V2): Returns Douyin hashtag and challenge search results matching a query keyword.
- Douyin Hashtag Suggestions: Returns a list of suggested Douyin hashtags and challenges matching a query keyword, including challenge IDs and view counts.
Start building
Send your first request
Platform API endpoint with unified authentication and usage tracking.
# The quoted heredoc keeps Unicode and shell metacharacters unchanged.
result=$(curl --fail-with-body --silent \
-X POST "https://api.sandbase.ai/v1/api/douyin/search/discuss-search" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
--data-binary @- <<'SANDBASE_JSON'
{}
SANDBASE_JSON
)
printf '%s\n' "$result"Explore more
Related APIs
| API | Price | Response | Released |
|---|---|---|---|
Douyin Discussion SearchThis API Douyin | $0.01 per call | JSON | Jul 31, 2026 |
Douyin | $0.01 per call | JSON | Jul 31, 2026 |
Douyin | $0.01 per call | JSON | Jul 31, 2026 |
Douyin | $0.01 per call | JSON | Jul 31, 2026 |
Douyin | $0.01 per call | JSON | Jul 31, 2026 |
Douyin | $0.01 per call | JSON | Jul 31, 2026 |
Questions
FAQ
How do I use the Douyin Discussion Search API?
Send a POST request to https://api.sandbase.ai/v1/api/douyin/search/discuss-search with your SandBase API key in the Authorization header (Bearer) and the parameters as a JSON body. You can also try it in the Playground on this page without writing code.
How much does the Douyin Discussion Search API cost?
$0.01 per call. Every organization gets 100 free calls per UTC day, shared across eligible SandBase APIs including this one; after that each call is billed at this price from your SandBase balance. There is no subscription.
What parameters does the Douyin Discussion Search API accept?
No parameters are required. Optional: backtrace (string), content_type (string), cursor (integer), filter_duration (string), keyword (string) and publish_time (string) and 2 more. The Parameters table and the Playground on this page list every field.
What does the Douyin Discussion Search API return?
A JSON response returned in the same HTTP request (synchronous). The README on this page includes a sample response.
Do I need a Douyin developer account or API key?
No. Douyin Discussion Search runs through SandBase, so one SandBase API key covers this endpoint and every other API and model in the catalog. You do not need to apply for Douyin API access separately.
