cursorinteger
Pagination cursor (0 for first page)
기본값: 0
https://api.sandbase.ai/v1/api/douyin/search/user-searchReturns a list of Douyin users matching search keywords. Supports filtering by fan count and user type with cursor-based pagination.
[
{
"data": {
"challenge_list": null,
"cursor": 10,
"extra": {
"fatal_item_ids": [],
"logid": "20260820174731A0930EB96408FF058A93",
"now": 1787219252186,
"scenes": null,
"search_request_id": "",
"start_ms": 1787219251703
},
"global_doodle_config": {
"filter_settings": [
{
"default_index": 0,
"items": [
{
"log_value": "fans_all",
"title": "不限",
"value": ""
},
{
"log_value": "fans_0_1k",
"title": "1000以下",
"value": "0_1k"
},
{
"log_value": "fans_1k_1w",
"title": "1000-1w",
"value": "1k_1w"
},
"… 3 more items in the full response"
],
"log_name": "by_user_fans",
"name": "douyin_user_fans",
"title": "粉丝数量"
},
{
"default_index": 0,
"items": [
{
"log_value": "type_all",
"title": "不限",
"value": ""
},
{
"log_value": "type_common",
"title": "普通用户",
"value": "common_user"
},
{
"log_value": "type_enterprise",
"title": "企业认证",
"value": "enterprise_user"
},
"… 1 more items in the full response"
],
"log_name": "by_user_type",
"name": "douyin_user_type",
"title": "用户类型"
}
],
"filter_show_dot": 1640995200,
"keyword": "猫咪"
},
"has_more": 1,
"input_keyword": "猫咪",
"log_pb": {
"impr_id": "20260820174731A0930EB96408FF058A93",
"stab_extra": {
"traffic_identification": "normal"
}
},
"music_list": null,
"myself_user_id": "0",
"qc": "",
"rid": "20260820174731A0930EB96408FF058A93",
"status_code": 0,
"type": 1,
"user_list": [
{
"baikes": null,
"challenges": null,
"dynamic_patch": {
"height": 80,
"origin_type": 4,
"raw_data": "{\"is_private_letter\":null,\"is_red_phone_number\":null,\"phone_number_encrypted\":null,\"user_info\":{\"uid\":\"1794056268286942\",\"nickname\":\"猫咪\",\"gender\":2,\"avatar_larger\":{\"uri\":\"1080x1080/aweme-avatar/tos-cn-avt-0015_a53d8c295078e44ca8ab0c2e77891023\",\"url_list\":[\"https://p3.douyinpic.com/aweme/1080x1080/aweme-avatar/tos-cn-avt-0015_a53d8c295078e44ca8ab0c2e77891023.webp?from=2956013662\",\"https://p3.douyinpic.com/aweme/1080x1080/aweme-avatar/tos-cn-avt-0015_a53d8c295078e44ca8ab0c2e77891023.jpeg?from=2956013662\"],\"width\":720,\"height\":720},\"avatar_thumb\":{\"uri\":\"100x100/aweme-avatar/tos-cn-avt-0015_a53d…",
"schema": "aweme://lynxview/?channel=morphling_high&bundle=channel_user%2Findex%2Ftemplate.js&group=morphling_high&dynamic=0&surl=https%3A%2F%2Flf-dy-gr-sourcecdn.bytegecko.com%2Fobj%2Fbyte-gurd-source-gr%2Fsearch%2Ffe%2Fdouyin%2Fmorphling_high%2Fchannel_user%2Findex%2Ftemplate.js&ab_params=channel_user_use_user_cell,channel_user_unified,follower_count_str_exp&fe_enable_preserve_data=1"
},
"effects": null,
"fandoms": null,
"items": null,
"mix_list": null,
"musics": null,
"position": null,
"product_info": null,
"product_list": null,
"shop_product_info": null,
"uniqid_position": null,
"userSubLightApp": null,
"user_service_info": null
},
{
"baikes": null,
"challenges": null,
"dynamic_patch": {
"height": 80,
"origin_type": 4,
"raw_data": "{\"phone_number_encrypted\":null,\"user_info\":{\"uid\":\"2089530227432043\",\"nickname\":\"小猫咪🐱💰\",\"gender\":0,\"avatar_larger\":{\"uri\":\"1080x1080/aweme-avatar/tos-cn-avt-0015_dcc4de8a53f233a990bd64238905ccb8\",\"url_list\":[\"https://p3.douyinpic.com/aweme/1080x1080/aweme-avatar/tos-cn-avt-0015_dcc4de8a53f233a990bd64238905ccb8.webp?from=2956013662\",\"https://p3.douyinpic.com/aweme/1080x1080/aweme-avatar/tos-cn-avt-0015_dcc4de8a53f233a990bd64238905ccb8.jpeg?from=2956013662\"],\"width\":720,\"height\":720},\"avatar_thumb\":{\"uri\":\"100x100/aweme-avatar/tos-cn-avt-0015_dcc4de8a53f233a990bd64238905ccb8\",\"url_list\":[\"http…",
"schema": "aweme://lynxview/?channel=morphling_high&bundle=channel_user%2Findex%2Ftemplate.js&group=morphling_high&dynamic=0&surl=https%3A%2F%2Flf-dy-gr-sourcecdn.bytegecko.com%2Fobj%2Fbyte-gurd-source-gr%2Fsearch%2Ffe%2Fdouyin%2Fmorphling_high%2Fchannel_user%2Findex%2Ftemplate.js&ab_params=channel_user_use_user_cell,channel_user_unified,follower_count_str_exp&fe_enable_preserve_data=1"
},
"effects": null,
"fandoms": null,
"items": null,
"mix_list": null,
"musics": null,
"position": null,
"product_info": null,
"product_list": null,
"shop_product_info": null,
"uniqid_position": null,
"userSubLightApp": null,
"user_service_info": null
},
{
"baikes": null,
"challenges": null,
"dynamic_patch": {
"height": 80,
"origin_type": 4,
"raw_data": "{\"is_private_letter\":null,\"is_red_phone_number\":null,\"phone_number_encrypted\":null,\"user_info\":{\"uid\":\"95501388889\",\"nickname\":\"开挂猫咪秀\",\"gender\":2,\"avatar_larger\":{\"uri\":\"1080x1080/aweme-avatar/mosaic-legacy_28535000304824fdbe34e\",\"url_list\":[\"https://p3.douyinpic.com/aweme/1080x1080/aweme-avatar/mosaic-legacy_28535000304824fdbe34e.webp?from=2956013662\",\"https://p3.douyinpic.com/aweme/1080x1080/aweme-avatar/mosaic-legacy_28535000304824fdbe34e.jpeg?from=2956013662\"],\"width\":720,\"height\":720},\"avatar_thumb\":{\"uri\":\"100x100/aweme-avatar/mosaic-legacy_28535000304824fdbe34e\",\"url_list\":[\"https://p3.…",
"schema": "aweme://lynxview/?channel=morphling_high&bundle=channel_user%2Findex%2Ftemplate.js&group=morphling_high&dynamic=0&surl=https%3A%2F%2Flf-dy-gr-sourcecdn.bytegecko.com%2Fobj%2Fbyte-gurd-source-gr%2Fsearch%2Ffe%2Fdouyin%2Fmorphling_high%2Fchannel_user%2Findex%2Ftemplate.js&ab_params=channel_user_use_user_cell,channel_user_unified,follower_count_str_exp&fe_enable_preserve_data=1"
},
"effects": null,
"fandoms": null,
"items": null,
"mix_list": null,
"musics": null,
"position": null,
"product_info": null,
"product_list": null,
"shop_product_info": null,
"uniqid_position": null,
"userSubLightApp": null,
"user_service_info": null
},
"… 7 more items in the full response"
]
}
}
]예시를 선택하면 입력값과 결과가 플레이그라운드에 로드됩니다.
Returns a page of Douyin accounts that match a search keyword. It needs a keyword, and you can add douyin_user_fans and douyin_user_type filters. The response also lists the available filter values.
1k_1w.enterprise_user and common_user filters.curl -X POST "https://api.sandbase.ai/v1/api/douyin/search/user-search" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
cursor | integer | No | Pagination cursor (0 for first page) |
douyin_user_fans | string | No | Fan count filter |
douyin_user_type | string | No | User type filter |
keyword | string | No | Search keyword, e.g., "AI" |
search_id | string | No | Search session ID for pagination |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"challenge_list": null,
"cursor": 10,
"extra": {
"fatal_item_ids": [],
"logid": "20261103153222488FACFCB253505A7FC1",
"now": 1793691142460,
"scenes": null,
"search_request_id": "",
"start_ms": 1793691142071
},
"global_doodle_config": {
"filter_settings": [
{
"default_index": 0,
"items": [
{
"log_value": "fans_all",
"title": "不限",
"value": ""
}
],
"log_name": "by_user_fans",
"name": "douyin_user_fans",
"title": "粉丝数量"
}
],
"filter_show_dot": 1640995200,
"keyword": "猫咪"
},
"has_more": 1,
"input_keyword": "猫咪",
"log_pb": {
"impr_id": "20261103153222488FACFCB253505A7FC1",
"stab_extra": {
"traffic_identification": "normal"
}
},
"music_list": null,
"myself_user_id": "0",
"qc": "",
"rid": "20261103153222488FACFCB253505A7FC1",
"status_code": 0
}
| Field | Meaning |
|---|---|
user_list[] | One search result per entry. Each entry holds a dynamic_patch object. |
user_list[].dynamic_patch.raw_data | A JSON string with the account details for the result. It includes user_info with the account uid, nickname and gender. Parse the string to read these values. |
user_list[].dynamic_patch.schema | An aweme:// deep link string for the result card template in the Douyin app. |
user_list[].dynamic_patch.origin_type / user_list[].dynamic_patch.height | Display values for the result card. Both are numbers. |
has_more | Shows 1 when more results exist after this page. |
cursor | The cursor value to send for the next page. |
input_keyword | The keyword the search used. |
global_doodle_config.filter_settings[].name | The request parameter a filter maps to, such as douyin_user_fans or douyin_user_type. |
global_doodle_config.filter_settings[].items[].value | The value to send for that filter. An empty string means no filter. The title field holds the Chinese label. |
status_code | Status of the search. 0 appears in the sample response. |
cursor as 0 for the first page. For the next page, send the cursor value from the response.keyword and filters on every page. Use search_id to keep the search session across pages.global_doodle_config.filter_settings[].items[].value, for example 0_1k, 1k_1w, common_user and enterprise_user.uid inside dynamic_patch.raw_data is a numeric ID string. For a newer version of this search, see Douyin User Search (V2).$0.01 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/douyin/search/user-search" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"cursor": 0,
"keyword": "猫咪",
"search_id": "",
"douyin_user_fans": "",
"douyin_user_type": ""
}'서버 환경에 SandBase API 키를 설정하세요. 요청에는 Bearer 인증이 사용됩니다.
export SANDBASE_API_KEY="YOUR_API_KEY"키는 서버에 보관하세요. 브라우저 코드에 노출하지 마세요.
cursorintegerPagination cursor (0 for first page)
기본값: 0
douyin_user_fansstringFan count filter
기본값: ""
douyin_user_typestringUser type filter
기본값: ""
keywordstringSearch keyword, e.g., "AI"
기본값: "猫咪"
search_idstringSearch session ID for pagination
기본값: ""
이 API의 저장된 예시 응답입니다. 확인할 때 라이브 요청은 실행되지 않습니다.
[
{
"data": {
"challenge_list": null,
"cursor": 10,
"extra": {
"fatal_item_ids": [],
"logid": "20260820174731A0930EB96408FF058A93",
"now": 1787219252186,
"scenes": null,
"search_request_id": "",
"start_ms": 1787219251703
},
"global_doodle_config": {
"filter_settings": [
{
"default_index": 0,
"items": [
{
"log_value": "fans_all",
"title": "不限",
"value": ""
},
{
"log_value": "fans_0_1k",
"title": "1000以下",
"value": "0_1k"
},
{
"log_value": "fans_1k_1w",
"title": "1000-1w",
"value": "1k_1w"
},
"… 3 more items in the full response"
],
"log_name": "by_user_fans",
"name": "douyin_user_fans",
"title": "粉丝数量"
},
{
"default_index": 0,
"items": [
{
"log_value": "type_all",
"title": "不限",
"value": ""
},
{
"log_value": "type_common",
"title": "普通用户",
"value": "common_user"
},
{
"log_value": "type_enterprise",
"title": "企业认证",
"value": "enterprise_user"
},
"… 1 more items in the full response"
],
"log_name": "by_user_type",
"name": "douyin_user_type",
"title": "用户类型"
}
],
"filter_show_dot": 1640995200,
"keyword": "猫咪"
},
"has_more": 1,
"input_keyword": "猫咪",
"log_pb": {
"impr_id": "20260820174731A0930EB96408FF058A93",
"stab_extra": {
"traffic_identification": "normal"
}
},
"music_list": null,
"myself_user_id": "0",
"qc": "",
"rid": "20260820174731A0930EB96408FF058A93",
"status_code": 0,
"type": 1,
"user_list": [
{
"baikes": null,
"challenges": null,
"dynamic_patch": {
"height": 80,
"origin_type": 4,
"raw_data": "{\"is_private_letter\":null,\"is_red_phone_number\":null,\"phone_number_encrypted\":null,\"user_info\":{\"uid\":\"1794056268286942\",\"nickname\":\"猫咪\",\"gender\":2,\"avatar_larger\":{\"uri\":\"1080x1080/aweme-avatar/tos-cn-avt-0015_a53d8c295078e44ca8ab0c2e77891023\",\"url_list\":[\"https://p3.douyinpic.com/aweme/1080x1080/aweme-avatar/tos-cn-avt-0015_a53d8c295078e44ca8ab0c2e77891023.webp?from=2956013662\",\"https://p3.douyinpic.com/aweme/1080x1080/aweme-avatar/tos-cn-avt-0015_a53d8c295078e44ca8ab0c2e77891023.jpeg?from=2956013662\"],\"width\":720,\"height\":720},\"avatar_thumb\":{\"uri\":\"100x100/aweme-avatar/tos-cn-avt-0015_a53d…",
"schema": "aweme://lynxview/?channel=morphling_high&bundle=channel_user%2Findex%2Ftemplate.js&group=morphling_high&dynamic=0&surl=https%3A%2F%2Flf-dy-gr-sourcecdn.bytegecko.com%2Fobj%2Fbyte-gurd-source-gr%2Fsearch%2Ffe%2Fdouyin%2Fmorphling_high%2Fchannel_user%2Findex%2Ftemplate.js&ab_params=channel_user_use_user_cell,channel_user_unified,follower_count_str_exp&fe_enable_preserve_data=1"
},
"effects": null,
"fandoms": null,
"items": null,
"mix_list": null,
"musics": null,
"position": null,
"product_info": null,
"product_list": null,
"shop_product_info": null,
"uniqid_position": null,
"userSubLightApp": null,
"user_service_info": null
},
{
"baikes": null,
"challenges": null,
"dynamic_patch": {
"height": 80,
"origin_type": 4,
"raw_data": "{\"phone_number_encrypted\":null,\"user_info\":{\"uid\":\"2089530227432043\",\"nickname\":\"小猫咪🐱💰\",\"gender\":0,\"avatar_larger\":{\"uri\":\"1080x1080/aweme-avatar/tos-cn-avt-0015_dcc4de8a53f233a990bd64238905ccb8\",\"url_list\":[\"https://p3.douyinpic.com/aweme/1080x1080/aweme-avatar/tos-cn-avt-0015_dcc4de8a53f233a990bd64238905ccb8.webp?from=2956013662\",\"https://p3.douyinpic.com/aweme/1080x1080/aweme-avatar/tos-cn-avt-0015_dcc4de8a53f233a990bd64238905ccb8.jpeg?from=2956013662\"],\"width\":720,\"height\":720},\"avatar_thumb\":{\"uri\":\"100x100/aweme-avatar/tos-cn-avt-0015_dcc4de8a53f233a990bd64238905ccb8\",\"url_list\":[\"http…",
"schema": "aweme://lynxview/?channel=morphling_high&bundle=channel_user%2Findex%2Ftemplate.js&group=morphling_high&dynamic=0&surl=https%3A%2F%2Flf-dy-gr-sourcecdn.bytegecko.com%2Fobj%2Fbyte-gurd-source-gr%2Fsearch%2Ffe%2Fdouyin%2Fmorphling_high%2Fchannel_user%2Findex%2Ftemplate.js&ab_params=channel_user_use_user_cell,channel_user_unified,follower_count_str_exp&fe_enable_preserve_data=1"
},
"effects": null,
"fandoms": null,
"items": null,
"mix_list": null,
"musics": null,
"position": null,
"product_info": null,
"product_list": null,
"shop_product_info": null,
"uniqid_position": null,
"userSubLightApp": null,
"user_service_info": null
},
{
"baikes": null,
"challenges": null,
"dynamic_patch": {
"height": 80,
"origin_type": 4,
"raw_data": "{\"is_private_letter\":null,\"is_red_phone_number\":null,\"phone_number_encrypted\":null,\"user_info\":{\"uid\":\"95501388889\",\"nickname\":\"开挂猫咪秀\",\"gender\":2,\"avatar_larger\":{\"uri\":\"1080x1080/aweme-avatar/mosaic-legacy_28535000304824fdbe34e\",\"url_list\":[\"https://p3.douyinpic.com/aweme/1080x1080/aweme-avatar/mosaic-legacy_28535000304824fdbe34e.webp?from=2956013662\",\"https://p3.douyinpic.com/aweme/1080x1080/aweme-avatar/mosaic-legacy_28535000304824fdbe34e.jpeg?from=2956013662\"],\"width\":720,\"height\":720},\"avatar_thumb\":{\"uri\":\"100x100/aweme-avatar/mosaic-legacy_28535000304824fdbe34e\",\"url_list\":[\"https://p3.…",
"schema": "aweme://lynxview/?channel=morphling_high&bundle=channel_user%2Findex%2Ftemplate.js&group=morphling_high&dynamic=0&surl=https%3A%2F%2Flf-dy-gr-sourcecdn.bytegecko.com%2Fobj%2Fbyte-gurd-source-gr%2Fsearch%2Ffe%2Fdouyin%2Fmorphling_high%2Fchannel_user%2Findex%2Ftemplate.js&ab_params=channel_user_use_user_cell,channel_user_unified,follower_count_str_exp&fe_enable_preserve_data=1"
},
"effects": null,
"fandoms": null,
"items": null,
"mix_list": null,
"musics": null,
"position": null,
"product_info": null,
"product_list": null,
"shop_product_info": null,
"uniqid_position": null,
"userSubLightApp": null,
"user_service_info": null
},
"… 7 more items in the full response"
]
}
}
]더 살펴보기
| API | 가격 | 응답 |
|---|---|---|
Douyin | $0.01 / 호출 | JSON |
Douyin | $0.01 / 호출 | JSON |
Douyin | $0.01 / 호출 | JSON |
Douyin | $0.01 / 호출 | JSON |
Douyin | $0.01 / 호출 | JSON |
Douyin | $0.01 / 호출 | JSON |
질문
Authorization 헤더(Bearer)에 SandBase API 키를 넣고, 매개변수를 JSON 본문으로 담아 https://api.sandbase.ai/v1/api/douyin/search/user-search에 POST 요청을 보내세요. 이 페이지의 Playground에서도 코드를 작성하지 않고 직접 테스트할 수 있습니다.
호출당 $0.01, SandBase 잔액에서 청구됩니다. 사용한 호출에 대해서만 요금이 부과되며, 구독은 없습니다.
필수 매개변수는 없습니다. 선택: cursor (integer), douyin_user_fans (string), douyin_user_type (string), keyword (string) 및 search_id (string). 이 페이지의 Parameters 표와 Playground에 모든 필드가 나와 있습니다.
같은 HTTP 요청에서 반환되는 JSON 응답입니다(동기식). 이 페이지의 README에 샘플 응답이 포함되어 있습니다.
아니요. Douyin User Search (Search)은 SandBase를 통해 실행되므로, SandBase API 키 하나로 이 엔드포인트와 카탈로그의 다른 모든 API 및 모델을 사용할 수 있습니다. Douyin API 액세스를 별도로 신청할 필요는 없습니다.