Sand AISand AI MAGI-2MAGI-2 kini tersedia di SandBase: video 1080p dengan audio nativeCoba sekarang

Douyin User Search (Creator)

Dokumentasi API
https://api.sandbase.ai/v1/api/douyin/creator/user-search

Searches for Douyin accounts and returns user profile records matching the query. Looks up profiles using a Douyin ID or user nickname.

Harga
$0.001USD / panggilan
Metode
POST
Respons
JSON
Parameter
1 wajib · 0 opsional

Playground

Input
Username (supports Douyin ID and nickname)
OutputContoh
Responsoutputs · 982 B · 29 baris
[
  {
    "data": {
      "status_code": 0,
      "status_msg": "",
      "user_infos": [
        {
          "avatar": "https://p11.douyinpic.com/aweme/100x100/aweme-avatar/mosaic-legacy_2eca80003ddc80341fa58.jpeg?from=3782654143",
          "nick_name": "example",
          "short_id": "example45626",
          "user_id": "104454092865"
        },
        {
          "avatar": "https://p3.douyinpic.com/aweme/100x100/aweme-avatar/tos-cn-i-0813c001_osFANpnV8ABKvp74A9eYACnARfzIQNAbgld0ID.jpeg?from=3782654143",
          "nick_name": "Example.滔",
          "short_id": "196913582",
          "user_id": "78764563613"
        },
        {
          "avatar": "https://p3.douyinpic.com/aweme/100x100/aweme-avatar/tos-cn-i-0813c000-ce_o8EAFA9AIEAfyQCeAqAwGcUVoCFctNXDjoTgho.jpeg?from=3782654143",
          "nick_name": "Example",
          "short_id": "Exampley",
          "user_id": "729671226365944"
        },
        "… 17 more items in the full response"
      ]
    }
  }
]

Contoh

Pilih contoh untuk memuat input dan hasilnya ke playground.

README API

Douyin User Search (Creator) API

Search Douyin accounts by nickname or Douyin ID (抖音号) and get each match's nickname, Douyin ID (short_id), numeric user_id and avatar. Useful when you only know an account's name.

Use cases

  • Resolve a brand or creator name into the Douyin account ID before calling profile or video APIs.
  • Check whether a Douyin ID is taken.

Request

curl -X POST "https://api.sandbase.ai/v1/api/douyin/creator/user-search" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"user_name": "中国人工智能学会"}'

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

Parameters

NameTypeRequiredDescription
user_namestringYesUsername (supports Douyin ID and nickname)

Example response

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

{
  "status_code": 0,
  "status_msg": "",
  "user_infos": [
    {
      "avatar": "https://p11.douyinpic.com/aweme/100x100/aweme-avatar/tos-cn-avt-0015_ae902e4896a…",
      "nick_name": "中国人工智能学会",
      "short_id": "CAAI_Douyin",
      "user_id": "97074768765"
    }
  ]
}

Response fields

FieldMeaning
user_infos[]Matching accounts.
nick_nameDisplay name.
short_idDouyin ID shown on the profile (抖音号).
user_idNumeric user ID.
avatarAvatar URL.

Notes

  • Results come from the Douyin creator platform search, so the closest names come first; check nick_name before using user_id.
  • For profile and posts, most Douyin APIs take sec_user_id; get it from a profile link or the video detail APIs.

Pricing

$0.001 per successful call. Failed calls, including lookups whose target does not exist, are not charged. It is included in the daily free quota of each organization.

Jelajahi lebih lanjut

API Terkait

Semua APIs
APIHargaRespons
Douyin$0.001 per panggilanJSON
Douyin$0.001 per panggilanJSON
Douyin$0.001 per panggilanJSON
Douyin$0.001 per panggilanJSON
Douyin$0.001 per panggilanJSON
Douyin$0.001 per panggilanJSON

Panduan:Best Douyin API in 2026: Pricing Compared

Pertanyaan

FAQ

Bagaimana cara menggunakan API Douyin User Search (Creator)?

Kirim permintaan POST ke https://api.sandbase.ai/v1/api/douyin/creator/user-search dengan kunci API SandBase Anda di header Authorization (Bearer) dan parameter sebagai body JSON. Anda juga dapat mencobanya di Playground di halaman ini tanpa menulis kode.

Berapa biaya API Douyin User Search (Creator)?

$0.001 per panggilan, ditagihkan dari saldo SandBase Anda. Anda hanya dikenai biaya untuk panggilan yang Anda lakukan; tidak ada langganan.

Parameter apa yang diterima API Douyin User Search (Creator)?

Wajib: user_name (string). Tabel Parameters dan Playground di halaman ini mencantumkan setiap field.

Apa yang dikembalikan API Douyin User Search (Creator)?

Respons JSON yang dikembalikan dalam permintaan HTTP yang sama (sinkron). README di halaman ini menyertakan contoh respons.

Apakah saya memerlukan akun developer atau kunci API Douyin?

Tidak. Douyin User Search (Creator) berjalan melalui SandBase, jadi satu kunci API SandBase mencakup endpoint ini dan setiap API serta model lain di katalog. Anda tidak perlu mendaftar akses API Douyin secara terpisah.