Douyin User Search
Searches Douyin (TikTok China) users by keyword with page-based pagination and optional account-type filtering. Use it to discover creators, brands, or verified accounts for research.
/v1/douyin/search_user_v2
$0.02
- Price
- $0.02 per successful call, Failed calls are free
- Endpoint ID
douyin.search_user_v2
Parameters
-
keywordstring RequiredThe search keyword.
Example
咖啡 -
pageinteger OptionalPage number (starting from 1).
Example
1 -
user_typestring OptionalFilter by user type.
Available Values:
common_user: Common Userenterprise_user: Enterprise Userpersonal_user: Verified Individual User
Example
common_user
Code samples
curl -G "https://api.mofa-ai.com/v1/douyin/search_user_v2" \
-H "Authorization: Bearer $MOFA_API_KEY" \
--data-urlencode 'keyword=咖啡' \
--data-urlencode 'page=1' \
--data-urlencode 'user_type=common_user'
import os
import requests
resp = requests.get(
"https://api.mofa-ai.com/v1/douyin/search_user_v2",
headers={"Authorization": f"Bearer {os.environ['MOFA_API_KEY']}"},
params={
"keyword": "咖啡",
"page": "1",
"user_type": "common_user",
},
timeout=60,
)
body = resp.json()
if body["success"]:
print(body["cost_usd"], body["data"])
else:
print(body["error"], body["message"])
const url = new URL("https://api.mofa-ai.com/v1/douyin/search_user_v2");
url.search = new URLSearchParams({
keyword: "咖啡",
page: "1",
user_type: "common_user",
});
const resp = await fetch(url, {
headers: { Authorization: `Bearer ${process.env.MOFA_API_KEY}` },
});
const body = await resp.json();
if (body.success) console.log(body.cost_usd, body.data);
else console.error(body.error, body.message);
Example response
Request parameters {"page": "1", "keyword": "咖啡", "user_type": "common_user"}
{
"success": true,
"code": 0,
"message": "success",
"request_id": "req_5f1c2a9be04d7c3a81f6e2d0",
"endpoint": "douyin.search_user_v2",
"cost_usd": 0.02,
"data": {
"code": 0,
"data": {
"log": {
"impr_id": "20261108075755C5218C17C10631FABD3A",
"search_id": "20261108075755C5218C17C10631FABD3A",
"search_keyword": "咖啡"
},
"path": "/aweme/v2/search/discover/",
"extra": {
"now": 1794095876000,
"logid": "20261108075755C5218C17C10631FABD3A",
"scenes": null,
"device_score": 0,
"fatal_item_ids": [],
"search_request_id": ""
},
"log_pb": {
"impr_id": "20261108075755C5218C17C10631FABD3A"
},
"struct": {
"fp": "",
"id": "00",
"children": [
{
"fp": "",
"id": "0",
"data_id": "0",
"render_id": "0"
},
{
"fp": "",
"id": "1",
"data_id": "1",
"render_id": "0"
},
"… +18"
],
"layout_type": 1
},
"success": true,
"time_cost": {
"stream_inner": 455
},
"render_info": [
{
"ui_info": null,
"render_id": "0",
"render_type": 1,
"render_extra": {
"type": 999,
"height": 80,
"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%2Fsear…",
"card_type_name": "channel_user"
}
}
],
"status_code": 0,
"business_data": [
{
"log": {
"dcm": "search.natural.discover.104509506123.20261108075755C5218C17C10631FABD3A"
},
"data": {
"ops": null,
"tab": null,
"type": 999,
"height": 80,
"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%2Fsear…",
"card_id": "douyin.doctype_aweme_user",
"doc_type": 150,
"log_data": {
"dcm": "search.natural.discover.104509506123.20261108075755C5218C17C10631FABD3A"
},
"raw_data": "{\"is_red_phone_number\":null,\"phone_number_encrypted\":null,\"user_info\":{\"uid\":\"104509506123\",\"nickname\":\"咖啡\",\"gender\":2,\"avatar_larger\":{\"uri\":\"1080x1080/aweme-avatar/tos-cn-avt-0015_096235bd21a9ced431…",
"show_tab": null,
"card_type": 4,
"send_back": "",
"aweme_list": null,
"debug_data": {
"filter_debug_info_list": null
},
"origin_type": 4,
"sub_card_list": null,
"card_type_name": "channel_user",
"card_style_type": 4,
"debug_diff_info": {},
"ecom_goods_list": null,
"music_info_list": null,
"provider_doc_id": 104509506123,
"qishui_music_list": null,
"provider_doc_id_str": "104509506123",
"shoot_position_list": null,
"card_protocal_struct": {
"render_type": 1,
"render_extra": {
"type": 999,
"height": 80,
"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%2Fsear…",
"card_type_name": "channel_user"
}
}
},
"type": 999,
"card_id": "douyin.doctype_aweme_user",
"data_id": "0"
},
{
"log": {
"dcm": "search.natural.discover.67114430504.20261108075755C5218C17C10631FABD3A"
},
"data": {
"ops": null,
"tab": null,
"type": 999,
"height": 80,
"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%2Fsear…",
"card_id": "douyin.doctype_aweme_user",
"doc_type": 150,
"log_data": {
"dcm": "search.natural.discover.67114430504.20261108075755C5218C17C10631FABD3A"
},
"raw_data": "{\"user_info\":{\"uid\":\"67114430504\",\"nickname\":\"Sharon迪辣\",\"gender\":1,\"avatar_larger\":{\"uri\":\"1080x1080/aweme-avatar/tos-cn-avt-0015_663b769ff19b623d9e5d99ec3d4cf4b8\",\"url_list\":[\"https://p3.douyinpic.co…",
"show_tab": null,
"card_type": 4,
"send_back": "",
"aweme_list": null,
"debug_data": {
"filter_debug_info_list": null
},
"origin_type": 4,
"sub_card_list": null,
"card_type_name": "channel_user",
"card_style_type": 4,
"debug_diff_info": {},
"ecom_goods_list": null,
"music_info_list": null,
"provider_doc_id": 67114430504,
"qishui_music_list": null,
"provider_doc_id_str": "67114430504",
"shoot_position_list": null,
"card_protocal_struct": {
"render_type": 1,
"render_extra": {
"type": 999,
"height": 80,
"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%2Fsear…",
"card_type_name": "channel_user"
}
}
},
"type": 999,
"card_id": "douyin.doctype_aweme_user",
"data_id": "1"
},
"… +18"
],
"global_config": {
"hidden_filter": false
},
"business_config": {
"extra": {
"req_start_ts": 1794095876051,
"hidden_filter": false,
"is_filter_search": 1
},
"ad_info": null,
"keyword": "咖啡",
"feedback": {
"url": "aweme://webview/?url=https%3A%2F%2Faweme.snssdk.com%2Ffalcon%2Ffe_app_react%2Fquestionnaire%2Findex.html%3Fcontainer_bgcolor%3D00000000%26do_not_remove_card_after_feedback%3D0%26enable_new_feedback_ui…",
"text_first": "找不到想找的帐号?",
"text_second": "告诉我们"
},
"has_more": 1,
"next_page": {
"cursor": 20,
"keyword": "咖啡",
"search_id": "20261108075755C5218C17C10631FABD3A",
"poi_search_info": "",
…
Truncated for display; the full response is longer.
Try it
Sign in to call this endpoint from this page. Successful calls are billed to your balance, failed calls are free, and new accounts get $0.50 of trial credit.
More Douyin endpoints
-
Video Search
$0.02Searches Douyin (TikTok China) videos by keyword with sort, publish-time, duration, and page filters; later pages require the previous search ID. Use it to s…
/v1/douyin/search_video_v4
-
Hot Search
$0.04Searches Douyin (TikTok China) content with optional keyword, category, video-type, ranking, pagination, engagement, and creator-follower filters. Use it to…
/v1/douyin/hot_search_v1
-
User Published Videos
$0.02Retrieves videos published by a Douyin (TikTok China) user, with cursor pagination and newest or most-popular sorting. Use it to browse or monitor a creator'…
/v1/douyin/get_user_video_list_v1
-
Video Details
$0.02Retrieves details for a Douyin (TikTok China) video by video ID. Use it to look up a known video before content review, archiving, or related analysis.
/v1/douyin/get_video_detail_v2
-
Video Comments
$0.02Retrieves top-level comments for a Douyin (TikTok China) video by aweme ID with page-based pagination. Use it to review audience feedback or analyze discussi…
/v1/douyin/get_video_comment_v1
-
Comment Replies
$0.02Retrieves replies to a top-level Douyin (TikTok China) video comment with page-based pagination. Use it to inspect threaded discussions and review feedback u…
/v1/douyin/get_video_sub_comment_v1
-
User Profile
$0.02Retrieves a Douyin (TikTok China) user profile by secUid. Use it to review a known creator or account before monitoring related content or conducting account…
/v1/douyin/get_user_detail_v3
-
Share Link Resolution
$0.02Resolve a supported Douyin (TikTok China) short share link that targets a video and return its public redirect URL. Use it to expand video links before subse…
/v1/douyin/share_url_transfer_v1