Sand AISand AI MAGI-2MAGI-2 が SandBase に登場しました: ネイティブ音声付き 1080p 動画今すぐ試す

Douyin User Profile by Unique ID

APIドキュメント
https://api.sandbase.ai/v1/api/douyin/web/user-profile-v2

Returns profile details and compilation information for a specified Douyin user account based on their unique identifier.

料金
$0.001USD / 回
メソッド
POST
レスポンス
JSON
パラメータ
必須 1 件 · 任意 0 件
毎日 100 回まで無料1日あたり最初の 100 回は無料です(組織内で共有)· 00:00 UTC にリセットされます。それ以降は従量課金です。

プレイグラウンド

入力
User unique_id
出力例
レスポンスoutputs · 2.2 KB · 58 行
[
  {
    "data": {
      "extra": {
        "logid": "20260820174334E056EAFE5D0451849571",
        "now": 1787219014189
      },
      "is_oversea": 0,
      "status_code": 0,
      "user_info": {
        "account_cert_info": "{}",
        "avatar_medium": {
          "uri": "aweme-avatar/tos-cn-avt-0015_58421a13a73dd36d11611cbc679069e2",
          "url_list": [
            "https://p3.douyinpic.com/aweme/100x100/aweme-avatar/tos-cn-avt-0015_58421a13a73dd36d11611cbc679069e2.jpeg?from=2956013662",
            "https://p26.douyinpic.com/aweme/100x100/aweme-avatar/tos-cn-avt-0015_58421a13a73dd36d11611cbc679069e2.jpeg?from=2956013662",
            "https://p11.douyinpic.com/aweme/100x100/aweme-avatar/tos-cn-avt-0015_58421a13a73dd36d11611cbc679069e2.jpeg?from=2956013662"
          ]
        },
        "avatar_thumb": {
          "uri": "aweme-avatar/tos-cn-avt-0015_58421a13a73dd36d11611cbc679069e2",
          "url_list": [
            "https://p3.douyinpic.com/aweme/100x100/aweme-avatar/tos-cn-avt-0015_58421a13a73dd36d11611cbc679069e2.jpeg?from=2956013662",
            "https://p26.douyinpic.com/aweme/100x100/aweme-avatar/tos-cn-avt-0015_58421a13a73dd36d11611cbc679069e2.jpeg?from=2956013662",
            "https://p11.douyinpic.com/aweme/100x100/aweme-avatar/tos-cn-avt-0015_58421a13a73dd36d11611cbc679069e2.jpeg?from=2956013662"
          ]
        },
        "aweme_count": 0,
        "card_entries": [],
        "custom_verify": "",
        "enterprise_verify_reason": "",
        "favoriting_count": 1,
        "follow_status": 0,
        "followers_detail": null,
        "following_count": 40,
        "geofencing": null,
        "mix_info": null,
        "mplatform_followers_count": 20,
        "nickname": "wanggggchen",
        "original_musician": {
          "digg_count": 0,
          "music_count": 0,
          "music_used_count": 0
        },
        "platform_sync_info": null,
        "policy_version": null,
        "sec_uid": "MS4wLjABAAAA9VpPOwQ4lckVN3BVC3KzqITqf_2ohUtDxeFQQFgbLy2BwOsROlX_ba2EVd_NUAIy",
        "short_id": "0",
        "show_favorite_list": true,
        "signature": "芜湖!",
        "total_favorited": "0",
        "type_label": null,
        "unique_id": "example",
        "verification_type": 0
      }
    }
  }
]

例

例を選択すると、その入力と結果がプレイグラウンドに読み込まれます。

API README

Douyin User Profile by Unique ID API

Returns the public profile of a Douyin account, including nickname, sec_uid, follower-style counts and avatar URLs. It needs one input, the account unique_id (the Douyin ID handle).

Use cases

  • Look up the sec_uid for a Douyin handle so you can call other user endpoints.
  • Check an account's nickname, signature and post count from its unique_id.
  • Download avatar images for a creator directory.
  • Compare total_favorited and following_count across several accounts.

Request

curl -X POST "https://api.sandbase.ai/v1/api/douyin/web/user-profile-v2" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"unique_id": "TheChief"}'

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

Parameters

NameTypeRequiredDescription
unique_idstringYesUser unique_id

Example response

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

{
  "extra": {
    "logid": "20261103153238A5DEF746CA9D67CB166D",
    "now": 1793691159083
  },
  "is_oversea": 0,
  "status_code": 0,
  "user_info": {
    "account_cert_info": "{}",
    "avatar_medium": {
      "uri": "aweme-avatar/tos-cn-avt-0015_b864d4d80c09ad5b48591f6e8ebe4732",
      "url_list": [
        "https://p3.douyinpic.com/aweme/100x100/aweme-avatar/tos-cn-avt-0015_b864d4d80c09…"
      ]
    },
    "avatar_thumb": {
      "uri": "aweme-avatar/tos-cn-avt-0015_b864d4d80c09ad5b48591f6e8ebe4732",
      "url_list": [
        "https://p3.douyinpic.com/aweme/100x100/aweme-avatar/tos-cn-avt-0015_b864d4d80c09…"
      ]
    },
    "aweme_count": 6,
    "card_entries": [],
    "custom_verify": "",
    "enterprise_verify_reason": "",
    "favoriting_count": 57000,
    "follow_status": 0,
    "followers_detail": null,
    "following_count": 400,
    "geofencing": null
  }
}

Response fields

FieldMeaning
user_info.nicknameDisplay name of the account.
user_info.unique_idThe Douyin ID handle you searched for.
user_info.sec_uidEncrypted user ID that starts with MS4w. Other Douyin user APIs use it to identify the account.
user_info.signatureProfile bio text. In this response the value is Base64 text with a B64: prefix, so decode it to read the bio.
user_info.aweme_countNumber of videos posted by the account.
user_info.total_favoritedTotal likes the account has received. It comes back as a string.
user_info.following_count / user_info.favoriting_countNumber of accounts this user follows and number of videos this user has liked.
user_info.mplatform_followers_countFollower count reported under this key name.
user_info.avatar_medium.url_list[] / user_info.avatar_thumb.url_list[]Image URLs for the medium and thumbnail avatar. Each list has several mirror URLs for the same image.
status_code0 when the request succeeded.

Notes

  • Pass the account handle as unique_id, for example TheChief.
  • Use user_info.sec_uid from this response as input to Douyin User Video Posts.
  • If you only have a profile URL, use Douyin sec_user_id from URL to get the sec_user_id.
  • user_info.mix_info is null in this response, so the account has no compilation data here.

Pricing

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

さらに探索

関連 APIs

すべての APIs
API価格レスポンス
Douyin$0.001 / 回JSON
Douyin$0.001 / 回JSON
Douyin$0.001 / 回JSON
Douyin$0.001 / 回JSON
Douyin$0.001 / 回JSON
Douyin$0.03 / 回JSON

ガイド:Best Douyin API in 2026: Pricing Compared

質問

FAQ

Douyin User Profile by Unique ID API はどのように使いますか?

Authorization ヘッダー(Bearer)に SandBase API key を指定し、パラメータを JSON ボディで送信して https://api.sandbase.ai/v1/api/douyin/web/user-profile-v2 に POST リクエストを送ります。このページの Playground で、コードを書かずに試すこともできます。

Douyin User Profile by Unique ID API の料金はいくらですか?

1回あたり $0.001。各組織には UTC 日ごとに 100 回の無料呼び出しが付与され、この API を含む対象の SandBase API 全体で共有されます。それ以降は、各呼び出しが SandBase 残高からこの料金で課金されます。サブスクリプションはありません。

Douyin User Profile by Unique ID API はどのパラメータを受け付けますか?

必須: unique_id (string)。 このページの Parameters テーブルと Playground に、すべてのフィールドが一覧表示されています。

Douyin User Profile by Unique ID API は何を返しますか?

同じ HTTP リクエスト内で返される JSON レスポンスです(同期)。 このページの README にサンプルレスポンスがあります。

Douyin の開発者アカウントまたは API key は必要ですか?

いいえ。Douyin User Profile by Unique ID は SandBase 経由で動作するため、SandBase の API key 1つでこのエンドポイントと、カタログ内の他のすべての API とモデルを利用できます。Douyin の API アクセスを別途申請する必要はありません。