cursorinteger
Pagination cursor (0 for first page)
デフォルト: 0
https://api.sandbase.ai/v1/api/douyin/search/user-search-v2Searches for Douyin users matching specified search keywords and returns user metrics such as follower and like counts. Supports cursor-based pagination.
[
{
"data": {
"code": 0,
"data": {
"cursor": 30,
"has_more": true,
"user_list": [
{
"avatar_url": "https://p3.douyinpic.com/aweme/100x100/aweme-avatar/mosaic-legacy_28535000304824fdbe34e.jpeg?from=2956013662",
"fans_cnt": 6334390,
"fans_incr_rate": 0,
"fans_trends": null,
"group_id": 0,
"group_name": "",
"like_cnt": 36442035,
"monitor_id": 0,
"monitor_period": 0,
"monitor_status": 0,
"new_fans_cnt": 0,
"new_item_monitor": 0,
"new_item_target_cnt": 0,
"new_item_target_type": 0,
"new_like_cnt": 0,
"nexus_id": 0,
"nick_name": "开挂猫咪秀",
"notice_hour": 0,
"notice_type": 0,
"publish_cnt": 296,
"second_tag_name": "",
"target_cnt": 0,
"target_type": 0,
"user_id": "MS4wLjABAAAAw4SgXQxm4HwMKDPzy6bGfdio7nRnCNAvPCRoNtWQeT0"
},
{
"avatar_url": "https://p3.douyinpic.com/aweme/100x100/aweme-avatar/tos-cn-i-0813_okUuEEfteDAdLCA7AlFnB7UAABNAtEsaIEfc1E.jpeg?from=2956013662",
"fans_cnt": 65450,
"fans_incr_rate": 0,
"fans_trends": null,
"group_id": 0,
"group_name": "",
"like_cnt": 116060,
"monitor_id": 0,
"monitor_period": 0,
"monitor_status": 0,
"new_fans_cnt": 0,
"new_item_monitor": 0,
"new_item_target_cnt": 0,
"new_item_target_type": 0,
"new_like_cnt": 0,
"nexus_id": 0,
"nick_name": "猫咪",
"notice_hour": 0,
"notice_type": 0,
"publish_cnt": 516,
"second_tag_name": "",
"target_cnt": 0,
"target_type": 0,
"user_id": "MS4wLjABAAAARzpZW9Gt_8USzt1D53CjsNyo9UI_Eg7P4YsU1r4VunP6kju8CUIMfBWogonRfc6Q"
},
{
"avatar_url": "https://p3.douyinpic.com/aweme/100x100/aweme-avatar/tos-cn-avt-0015_a53d8c295078e44ca8ab0c2e77891023.jpeg?from=2956013662",
"fans_cnt": 223813,
"fans_incr_rate": 0,
"fans_trends": null,
"group_id": 0,
"group_name": "",
"like_cnt": 5184431,
"monitor_id": 0,
"monitor_period": 0,
"monitor_status": 0,
"new_fans_cnt": 0,
"new_item_monitor": 0,
"new_item_target_cnt": 0,
"new_item_target_type": 0,
"new_like_cnt": 0,
"nexus_id": 0,
"nick_name": "猫咪",
"notice_hour": 0,
"notice_type": 0,
"publish_cnt": 726,
"second_tag_name": "",
"target_cnt": 0,
"target_type": 0,
"user_id": "MS4wLjABAAAAMjyKFiH9El8vKYC7jmq6mGwdU0qKPO0WSZcxcoLzmYi9NCZD_ymFhUJYmOp1Eca8"
},
"… 27 more items in the full response"
]
},
"extra": {
"now": 1787060786000
},
"message": ""
}
}
]例を選択すると、その入力と結果がプレイグラウンドに読み込まれます。
Returns a page of Douyin users whose names match a search keyword. Each result includes the user's user_id, nick_name, avatar, follower count, like count and number of published videos. The API takes a keyword and an optional cursor.
fans_cnt to build a shortlist of influencers.user_id values to look up full profiles or videos for each account.publish_cnt and like_cnt across accounts that share the same name.curl -X POST "https://api.sandbase.ai/v1/api/douyin/search/user-search-v2" \
-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) |
keyword | string | No | Search keyword, e.g., "AI" |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"code": 0,
"data": {
"cursor": 30,
"has_more": true,
"user_list": [
{
"avatar_url": "https://p3.douyinpic.com/aweme/100x100/aweme-avatar/tos-cn-avt-0015_a53d8c295078…",
"fans_cnt": 220255,
"fans_incr_rate": 0,
"fans_trends": null,
"group_id": 0,
"group_name": "",
"like_cnt": 5689499,
"monitor_id": 0,
"monitor_period": 0,
"monitor_status": 0,
"new_fans_cnt": 0,
"new_item_monitor": 0
}
]
},
"extra": {
"now": 1793691142000
},
"message": ""
}
| Field | Meaning |
|---|---|
data.user_list[].user_id | Unique ID of the Douyin user. It is a long string that starts with MS4w. |
data.user_list[].nick_name | Display name of the account. |
data.user_list[].avatar_url | URL of the 100x100 avatar image. |
data.user_list[].fans_cnt | Follower count of the account. |
data.user_list[].like_cnt | Total likes the account has received. |
data.user_list[].publish_cnt | Number of videos the account has published. |
data.cursor | Cursor value to send in the next request to get the following page. |
data.has_more | true when more results are available after this page. |
data.user_list[].fans_incr_rate / new_fans_cnt / new_like_cnt | Follower and like growth fields. They are 0 in this response, so do not rely on them. |
cursor as 0 for the first page. For the next page, pass the data.cursor value from the previous response (30 in the sample) and stop when has_more is false.keyword is the search text. Many accounts can share one nick_name, so use user_id to tell them apart.monitor_id, group_id and target_cnt were 0 and fans_trends was null in the sample response.$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/douyin/search/user-search-v2" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"cursor": 0,
"keyword": "猫咪"
}'SandBaseのAPIキーをサーバー環境に設定してください。リクエストはBearer認証を使用します。
export SANDBASE_API_KEY="YOUR_API_KEY"キーはサーバー側で管理してください。ブラウザコードに公開しないでください。
cursorintegerPagination cursor (0 for first page)
デフォルト: 0
keywordstringSearch keyword, e.g., "AI"
デフォルト: "猫咪"
このAPIの保存済みサンプルレスポンスです。表示時にライブリクエストは行われません。
[
{
"data": {
"code": 0,
"data": {
"cursor": 30,
"has_more": true,
"user_list": [
{
"avatar_url": "https://p3.douyinpic.com/aweme/100x100/aweme-avatar/mosaic-legacy_28535000304824fdbe34e.jpeg?from=2956013662",
"fans_cnt": 6334390,
"fans_incr_rate": 0,
"fans_trends": null,
"group_id": 0,
"group_name": "",
"like_cnt": 36442035,
"monitor_id": 0,
"monitor_period": 0,
"monitor_status": 0,
"new_fans_cnt": 0,
"new_item_monitor": 0,
"new_item_target_cnt": 0,
"new_item_target_type": 0,
"new_like_cnt": 0,
"nexus_id": 0,
"nick_name": "开挂猫咪秀",
"notice_hour": 0,
"notice_type": 0,
"publish_cnt": 296,
"second_tag_name": "",
"target_cnt": 0,
"target_type": 0,
"user_id": "MS4wLjABAAAAw4SgXQxm4HwMKDPzy6bGfdio7nRnCNAvPCRoNtWQeT0"
},
{
"avatar_url": "https://p3.douyinpic.com/aweme/100x100/aweme-avatar/tos-cn-i-0813_okUuEEfteDAdLCA7AlFnB7UAABNAtEsaIEfc1E.jpeg?from=2956013662",
"fans_cnt": 65450,
"fans_incr_rate": 0,
"fans_trends": null,
"group_id": 0,
"group_name": "",
"like_cnt": 116060,
"monitor_id": 0,
"monitor_period": 0,
"monitor_status": 0,
"new_fans_cnt": 0,
"new_item_monitor": 0,
"new_item_target_cnt": 0,
"new_item_target_type": 0,
"new_like_cnt": 0,
"nexus_id": 0,
"nick_name": "猫咪",
"notice_hour": 0,
"notice_type": 0,
"publish_cnt": 516,
"second_tag_name": "",
"target_cnt": 0,
"target_type": 0,
"user_id": "MS4wLjABAAAARzpZW9Gt_8USzt1D53CjsNyo9UI_Eg7P4YsU1r4VunP6kju8CUIMfBWogonRfc6Q"
},
{
"avatar_url": "https://p3.douyinpic.com/aweme/100x100/aweme-avatar/tos-cn-avt-0015_a53d8c295078e44ca8ab0c2e77891023.jpeg?from=2956013662",
"fans_cnt": 223813,
"fans_incr_rate": 0,
"fans_trends": null,
"group_id": 0,
"group_name": "",
"like_cnt": 5184431,
"monitor_id": 0,
"monitor_period": 0,
"monitor_status": 0,
"new_fans_cnt": 0,
"new_item_monitor": 0,
"new_item_target_cnt": 0,
"new_item_target_type": 0,
"new_like_cnt": 0,
"nexus_id": 0,
"nick_name": "猫咪",
"notice_hour": 0,
"notice_type": 0,
"publish_cnt": 726,
"second_tag_name": "",
"target_cnt": 0,
"target_type": 0,
"user_id": "MS4wLjABAAAAMjyKFiH9El8vKYC7jmq6mGwdU0qKPO0WSZcxcoLzmYi9NCZD_ymFhUJYmOp1Eca8"
},
"… 27 more items in the full response"
]
},
"extra": {
"now": 1787060786000
},
"message": ""
}
}
]さらに探索
| API | 価格 | レスポンス |
|---|---|---|
Douyin User Search (V2)この API Douyin | $0.001 / 回 | 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 key を指定し、パラメータを JSON ボディで送信して https://api.sandbase.ai/v1/api/douyin/search/user-search-v2 に POST リクエストを送ります。このページの Playground で、コードを書かずに試すこともできます。
1回あたり $0.001。各組織には UTC 日ごとに 100 回の無料呼び出しが付与され、この API を含む対象の SandBase API 全体で共有されます。それ以降は、各呼び出しが SandBase 残高からこの料金で課金されます。サブスクリプションはありません。
必須パラメータはありません。 任意: cursor (integer) と keyword (string)。 このページの Parameters テーブルと Playground に、すべてのフィールドが一覧表示されています。
同じ HTTP リクエスト内で返される JSON レスポンスです(同期)。 このページの README にサンプルレスポンスがあります。
いいえ。Douyin User Search (V2) は SandBase 経由で動作するため、SandBase の API key 1つでこのエンドポイントと、カタログ内の他のすべての API とモデルを利用できます。Douyin の API アクセスを別途申請する必要はありません。