Sand AISand AI MAGI-2MAGI-2 现已上线 SandBase:支持原生音频的 1080p 视频立即试用

Douyin User Search

API 文档
https://api.sandbase.ai/v1/api/douyin/search-user

Search 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.

价格
$0.014286美元 / 次调用
方法
POST
响应
JSON
参数
1 个必填 · 2 个可选

Playground

输入
The search keyword.
Page number (starting from 1).
Filter by user type.
输出就绪

您的输出将显示在这里

完成输入,然后点击运行。

API README

Douyin User Search API

Returns a page of Douyin user search results for a keyword. The only required input is keyword. You can add page to move through results and userType to filter by account type.

Use cases

  • Find creator and brand accounts that match a niche keyword such as 美食 (food).
  • Page through results to build a list of candidate accounts for market research.
  • Filter by userType to compare enterprise accounts with personal accounts for a topic.
  • Log the search_id of a query so you can trace which search produced a given result set.

Request

curl -X POST "https://api.sandbase.ai/v1/api/douyin/search-user" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"keyword": "美食"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
keywordstringYesThe search keyword.
pageintegerNoPage number (starting from 1).
userTypestringNoFilter by user type.

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "business_config": {
    "ad_info": null,
    "card_count": 19,
    "extra": {
      "hidden_filter": false,
      "is_filter_search": 0,
      "req_start_ts": 1793691135691
    },
    "extra_fresh_struct": null,
    "feedback": {
      "text_first": "找不到想找的帐号?",
      "text_second": "告诉我们",
      "url": "aweme://webview/?url=https%3A%2F%2Faweme.snssdk.com%2Ffalcon%2Ffe_app_react%2Fqu…"
    },
    "filter_bar": null,
    "has_more": 1,
    "is_filter_search": 0,
    "keyword": "美食",
    "next_page": {
      "cursor": 20,
      "keyword": "美食",
      "poi_search_info": "",
      "search_id": "2026110315321535AE25B844FEC0561826",
      "search_request_id": "2026110315321535AE25B844FEC0561826"
    },
    "poi_search_info": "",
    "pre_loadmore_config": null
  },
  "business_data": [
    {
      "card_id": "douyin.doctype_aweme_user",
      "data": {
        "aweme_list": null,
        "card_id": "douyin.doctype_aweme_user",
        "card_protocal_struct": {
          "render_extra": {
            "card_type_name": "channel_user",
            "height": 80,
            "schema": "aweme://lynxview/?channel=morphling_high&bundle=channel_user%2Findex%2Ftemplate.…",
            "type": 999
          },
          "render_type": 1
        },
        "card_style_type": 4,
        "card_type": 4,
        "card_type_name": "channel_user",
        "debug_data": {
          "filter_debug_info_list": null
        },
        "debug_diff_info": {}
      },
      "data_id": "0",
      "log": {
        "dcm": "search.natural.discover.3971034404880483.2026110315321535AE25B844FEC0561826"
      },
      "type": 999
    }
  ],
  "extra": {
    "device_score": 0,
    "fatal_item_ids": [],
    "logid": "2026110315321535AE25B844FEC0561826",
    "now": 1793691136000,
    "scenes": null,
    "search_request_id": ""
  },
  "global_config": {
    "hidden_filter": false
  },
  "log": {
    "impr_id": "2026110315321535AE25B844FEC0561826",
    "search_id": "2026110315321535AE25B844FEC0561826",
    "search_keyword": "美食"
  },
  "log_pb": {
    "impr_id": "2026110315321535AE25B844FEC0561826"
  },
  "mock_recall_path": "/aweme/v2/search/discover/",
  "path": "/aweme/v2/search/discover/",
  "render_info": [
    {
      "render_extra": {
        "card_type_name": "channel_user",
        "height": 80,
        "schema": "aweme://lynxview/?channel=morphling_high&bundle=channel_user%2Findex%2Ftemplate.…",
        "type": 999
      },
      "render_id": "0",
      "render_type": 1,
      "ui_info": null
    }
  ],
  "status_code": 0,
  "struct": {
    "children": [
      {
        "data_id": "0",
        "fp": "",
        "id": "0",
        "render_id": "0"
      }
    ],
    "fp": "",
    "id": "00",
    "layout_type": 1
  },
  "success": true
}

Response fields

FieldMeaning
business_data[]One search result card per entry. Each card in this response has card_type_name set to channel_user, which marks it as a user result.
business_data[].data_idPosition of the card in the result list, as a string starting at 0.
business_data[].log.dcmTracking string for the card. It ends with the search ID, and the number before that appears to identify the matched account.
business_config.has_moreShows whether more results exist. The value 1 means there is another page.
business_config.next_page.cursorOffset for the next page of results. It is 20 in this response.
business_config.card_countNumber of cards the search reports for this page.
business_config.keyword / log.search_keywordThe keyword the search ran with.
business_config.next_page.search_id / log.search_id / log.impr_idIdentifier for this search request. All three carry the same value in this response.
status_code / successstatus_code of 0 and success of true mean the call worked.

Notes

  • The business_data[] cards in this response show only card metadata, such as card_id and data_id. They do not show account names or follower counts, so check the card contents before you rely on them.
  • Send page starting from 1 to get later pages. Check business_config.has_more to see whether another page exists.
  • userType accepts common_user, enterprise_user or personal_user.
  • To look up one account in detail, use Douyin User Profile (App V3).

Pricing

$0.014286 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

探索更多

相关 APIs

全部 APIs
API价格响应
Douyin$0.014286 每次调用JSON
Douyin$0.001 每次调用JSON
Douyin$0.001 每次调用JSON
Douyin$0.001 每次调用JSON
Douyin$0.001 每次调用JSON
Douyin$0.001 每次调用JSON

指南:Best Douyin API in 2026: Pricing Compared

问题

常见问题

如何使用 Douyin User Search API?

向 https://api.sandbase.ai/v1/api/douyin/search-user 发送 POST 请求,在 Authorization 请求头中使用您的 SandBase API key(Bearer),并将参数作为 JSON 请求体传入。您也可以直接在本页的 Playground 中试用,无需编写代码。

Douyin User Search API 的价格是多少?

每次调用 $0.014286,从您的 SandBase 余额中扣费。您只需为实际调用付费;无需订阅。

Douyin User Search API 接受哪些参数?

必填:keyword (string)。 可选:page (integer) 和 userType(common_user, enterprise_user, personal_user 之一)。 Parameters 表和本页的 Playground 列出了每个字段。

Douyin User Search API 返回什么?

在同一个 HTTP 请求中返回的 JSON 响应(同步)。 本页的 README 包含一个示例响应。

我需要 Douyin 开发者账户或 API key 吗?

不需要。Douyin User Search 通过 SandBase 运行,因此一个 SandBase API key 即可覆盖此端点以及目录中的其他所有 API 和模型。您无需单独申请 Douyin API 访问权限。