Sand AISand AI MAGI-2ตอนนี้ MAGI-2 อยู่บน SandBase แล้ว: วิดีโอ 1080p พร้อมเสียงในตัวลองใช้เลย

Douyin User Profile (Web)

เอกสาร API
https://api.sandbase.ai/v1/api/douyin/web/user-profile

Returns profile details for a specified Douyin user using their secure user identifier. Retrieve account information such as user cover URLs by providing a sec_user_id.

ราคา
$0.001USD / คำขอ
Method
POST
การตอบกลับ
JSON
พารามิเตอร์
1 จำเป็น · 0 ไม่บังคับ
100 คำขอฟรี / วันคำขอ 100 ครั้งแรกต่อวันฟรี (ใช้ร่วมกันภายในองค์กร) · รีเซ็ตเวลา 00:00 UTC จากนั้นคิดค่าบริการตามจำนวนคำขอ

Playground

อินพุต
User sec_user_id
เอาต์พุตตัวอย่าง
การตอบกลับoutputs · 209 B · 13 บรรทัด
[
  {
    "data": {
      "extra": null,
      "log_pb": {
        "impr_id": "20260820174335613760344EE594E29789"
      },
      "status_code": 2,
      "status_msg": "UserId不合法",
      "user": {}
    }
  }
]

ตัวอย่าง

เลือกตัวอย่างเพื่อโหลดอินพุตและผลลัพธ์ลงใน playground

API README

Douyin User Profile (Web) API

Returns the public profile of one Douyin account, including avatar images, cover images, video count and follower count. It needs one input, the account's sec_user_id.

Use cases

  • Show a Douyin creator's follower count and video count in a dashboard.
  • Download a creator's avatar and profile cover images for a report or media kit.
  • Check whether a creator appears in a Douyin ranking by reading the user.dog_card_info block.
  • Track how user.follower_count changes for an account over time by calling the API on a schedule.

Request

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

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

Parameters

NameTypeRequiredDescription
sec_user_idstringYesUser sec_user_id

Example response

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

{
  "extra": {
    "fatal_item_ids": [],
    "logid": "20261103153241C7B606B0314B371AFCD7",
    "now": 1793691161000
  },
  "log_pb": {
    "impr_id": "20261103153241C7B606B0314B371AFCD7"
  },
  "status_code": 0,
  "status_msg": null,
  "user": {
    "account_cert_info": "{}",
    "apple_account": 0,
    "avatar_168x168": {
      "height": 720,
      "uri": "aweme-avatar/tos-cn-avt-0015_9186d2f6f96963551bd89aaa2c745843",
      "url_list": [
        "https://p3-pc.douyinpic.com/img/aweme-avatar/tos-cn-avt-0015_9186d2f6f96963551bd…"
      ],
      "width": 720
    },
    "avatar_300x300": {
      "height": 720,
      "uri": "aweme-avatar/tos-cn-avt-0015_9186d2f6f96963551bd89aaa2c745843",
      "url_list": [
        "https://p3-pc.douyinpic.com/img/aweme-avatar/tos-cn-avt-0015_9186d2f6f96963551bd…"
      ],
      "width": 720
    },
    "avatar_larger": {
      "height": 720,
      "uri": "aweme-avatar/tos-cn-avt-0015_9186d2f6f96963551bd89aaa2c745843",
      "url_list": [
        "https://p3-pc.douyinpic.com/aweme/1080x1080/aweme-avatar/tos-cn-avt-0015_9186d2f…"
      ],
      "width": 720
    },
    "avatar_medium": {
      "height": 720,
      "uri": "aweme-avatar/tos-cn-avt-0015_9186d2f6f96963551bd89aaa2c745843",
      "url_list": [
        "https://p3-pc.douyinpic.com/aweme/720x720/aweme-avatar/tos-cn-avt-0015_9186d2f6f…"
      ],
      "width": 720
    },
    "avatar_thumb": {
      "height": 720,
      "uri": "aweme-avatar/tos-cn-avt-0015_9186d2f6f96963551bd89aaa2c745843",
      "url_list": [
        "https://p3-pc.douyinpic.com/aweme/100x100/aweme-avatar/tos-cn-avt-0015_9186d2f6f…"
      ],
      "width": 720
    },
    "aweme_count": 91,
    "aweme_count_correction_threshold": -1,
    "birthday_hide_level": 0,
    "can_set_item_cover": false,
    "can_show_group_card": 1
  }
}

Response fields

FieldMeaning
user.follower_countNumber of followers the account has.
user.aweme_countNumber of videos the account has posted.
user.avatar_thumb / user.avatar_168x168 / user.avatar_300x300 / user.avatar_medium / user.avatar_largerAvatar image in different sizes. Each has url_list with image links, plus width, height and uri.
user.cover_url[].url_listLinks to the profile cover images. Each entry in cover_url has its own uri and url_list.
user.cover_and_head_image_info.profile_cover_list[].cover_url.url_listLinks to the profile cover image, repeated inside the cover info block.
user.cover_and_head_image_info.profile_cover_list[].dark_cover_color / user.cover_and_head_image_info.profile_cover_list[].light_cover_colorColor codes for the cover, written as hex strings.
user.dog_card_info.dog_card_text / user.dog_card_info.rank / user.dog_card_info.rank_typeRanking label shown on the profile, with the rank number and rank type. In the example the text is 短剧最热榜, the rank is 11 and the type is hot.
user.follow_statusFollow state value for the account. The example returns 0.
status_codeResult code for the call. 0 appears in the example response.

Notes

  • Pass sec_user_id as a string. It starts with MS4wLjABAAAA in the example.
  • Image links in cover_url carry x-expires and x-signature query values, so download them soon after you call the API.
  • If you only have a profile page link, call Douyin sec_user_id from URL first to get the sec_user_id.
  • To profile many accounts in one call, use Douyin Batch User Profile.

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

คำถาม

คำถามที่พบบ่อย

ฉันจะใช้ Douyin User Profile (Web) API ได้อย่างไร?

ส่งคำขอ POST ไปที่ https://api.sandbase.ai/v1/api/douyin/web/user-profile โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด

Douyin User Profile (Web) API ราคาเท่าไร?

$0.001 ต่อครั้ง ทุกองค์กรจะได้รับคำขอฟรี 100 ครั้งต่อวัน UTC โดยใช้ร่วมกันใน SandBase APIs ที่เข้าเงื่อนไขรวมถึงรายการนี้ หลังจากนั้นแต่ละคำขอจะคิดค่าบริการตามราคานี้จากยอดคงเหลือ SandBase ของคุณ ไม่มีค่าสมาชิกรายเดือน

Douyin User Profile (Web) API รับพารามิเตอร์อะไรบ้าง?

ที่ต้องระบุ: sec_user_id (string). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์

Douyin User Profile (Web) API ส่งคืนอะไร?

การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ

ฉันจำเป็นต้องมีบัญชีนักพัฒนาหรือ API key ของ Douyin ไหม?

ไม่จำเป็น Douyin User Profile (Web) ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง Douyin API แยกต่างหาก