Sand AISand AI MAGI-2MAGI-2 hiện đã có trên SandBase: video 1080p với âm thanh gốcDùng thử ngay

Douyin User Profile

Tài liệu API
https://api.sandbase.ai/v1/api/douyin/user-detail

Get a Douyin (TikTok China) user profile by secUid. Use it to review a known creator or account before monitoring related content or conducting account research.

Giá
$0.014286USD / lượt gọi
Phương thức
POST
Phản hồi
JSON
Tham số
1 bắt buộc · 0 tùy chọn

Phòng thử nghiệm

Đầu vào
The unique user ID (sec_uid) on Douyin.
Đầu raSẵn sàng

Đầu ra của bạn sẽ xuất hiện ở đây

Hoàn tất đầu vào, rồi nhấp Run.

README API

Douyin User Profile API

This API returns the public profile of a Douyin (TikTok China) user. It needs one input, the user's secUid. The response includes the account's avatar images, cover images, video count and shop window entry.

Use cases

  • Check a known creator's profile and video count before you add the account to a monitoring list.
  • Pull avatar and profile cover image URLs to show a creator card in an internal dashboard.
  • Check whether an account has a product window and how many items it lists before you start commerce research.
  • Confirm that a stored secUid still returns a valid user.

Request

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

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

Parameters

NameTypeRequiredDescription
secUidstringYesThe unique user ID (sec_uid) on Douyin.

Example response

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

{
  "extra": {
    "fatal_item_ids": null,
    "logid": "2026110315322248F17F939EC10D294C67",
    "now": 1793691142000,
    "search_request_id": null
  },
  "log_pb": {
    "impr_id": "2026110315322248F17F939EC10D294C67"
  },
  "status_code": 0,
  "status_msg": null,
  "user": {
    "account_cert_info": "{}",
    "apple_account": 0,
    "avatar_168x168": {
      "height": 720,
      "uri": "aweme-avatar/tos-cn-avt-0015_1fcfb510bbde4beed96d16e8aca2a0bd",
      "url_list": [
        "https://p11.douyinpic.com/aweme-avatar/tos-cn-avt-0015_1fcfb510bbde4beed96d16e8a…"
      ],
      "width": 720
    },
    "avatar_300x300": {
      "height": 720,
      "uri": "aweme-avatar/tos-cn-avt-0015_1fcfb510bbde4beed96d16e8aca2a0bd",
      "url_list": [
        "https://p11.douyinpic.com/aweme-avatar/tos-cn-avt-0015_1fcfb510bbde4beed96d16e8a…"
      ],
      "width": 720
    },
    "avatar_is_digged": false,
    "avatar_larger": {
      "height": 720,
      "uri": "aweme-avatar/tos-cn-avt-0015_1fcfb510bbde4beed96d16e8aca2a0bd",
      "url_list": [
        "https://p11.douyinpic.com/aweme/1080x1080/aweme-avatar/tos-cn-avt-0015_1fcfb510b…"
      ],
      "width": 720
    },
    "avatar_medium": {
      "height": 720,
      "uri": "aweme-avatar/tos-cn-avt-0015_1fcfb510bbde4beed96d16e8aca2a0bd",
      "url_list": [
        "https://p11.douyinpic.com/aweme-avatar/tos-cn-avt-0015_1fcfb510bbde4beed96d16e8a…"
      ],
      "width": 720
    },
    "avatar_thumb": {
      "height": 720,
      "uri": "aweme-avatar/tos-cn-avt-0015_1fcfb510bbde4beed96d16e8aca2a0bd",
      "url_list": [
        "https://p11.douyinpic.com/aweme-avatar/tos-cn-avt-0015_1fcfb510bbde4beed96d16e8a…"
      ],
      "width": 720
    },
    "aweme_count": 2655,
    "aweme_count_correction_threshold": -1,
    "birthday": "",
    "birthday_hide_level": 0
  }
}

Response fields

FieldMeaning
status_codeResult code of the request. The sample response returns 0.
user.aweme_countNumber of videos on the account. The sample shows 2655.
user.avatar_larger.url_list[] / user.avatar_medium.url_list[] / user.avatar_thumb.url_list[]Avatar image URLs in different sizes. Each list holds several URLs for the same image.
user.cover_url[].url_list[]Profile cover image URLs. These links carry x-expires and x-signature parameters in the query string.
user.cover_and_head_image_info.profile_cover_list[].cover_url.url_list[]Profile cover image URLs with dark and light cover colors in dark_cover_color and light_cover_color.
user.card_entries[].title / user.card_entries[].sub_titleLabel of a card on the profile. The sample shows a shop window card (商品橱窗) with the subtitle 57件好物.
user.card_entries[].goto_urlApp deep link for the card. It contains the numeric uid and the sec_uid of the account.
user.commerce_user_info.has_ads_entryShows whether the account has an ads entry. The sample returns true.
user.follow_status / user.favorite_permissionFlags for the relationship to the viewer and for the favorites setting. The sample returns 0 and 1.

Notes

  • Send the account's secUid as the only required parameter. It is a string that starts with MS4w.
  • Image links in the response are signed and include an x-expires value, so store the image itself if you need it later.
  • To list the account's videos, call Douyin User Videos. For another profile format, call 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.

Khám phá thêm

APIs liên quan

Tất cả APIs
APIGiáPhản hồi
Douyin$0.014286 mỗi lần gọiJSON
Douyin$0.001 mỗi lần gọiJSON
Douyin$0.001 mỗi lần gọiJSON
Douyin$0.001 mỗi lần gọiJSON
Douyin$0.001 mỗi lần gọiJSON
Douyin$0.001 mỗi lần gọiJSON

Hướng dẫn:Best Douyin API in 2026: Pricing Compared

Câu hỏi

FAQ

Làm thế nào để dùng API Douyin User Profile?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/douyin/user-detail với khóa API SandBase của bạn trong tiêu đề Authorization (Bearer) và các tham số trong phần thân JSON. Bạn cũng có thể thử trực tiếp trong Playground trên trang này mà không cần viết code.

API Douyin User Profile có giá bao nhiêu?

$0.014286 mỗi lần gọi, được tính từ số dư SandBase của bạn. Bạn chỉ bị tính phí cho các lần gọi bạn thực hiện; không có gói đăng ký.

API Douyin User Profile chấp nhận những tham số nào?

Bắt buộc: secUid (string). Bảng Parameters và Playground trên trang này liệt kê mọi trường.

API Douyin User Profile trả về gì?

Phản hồi JSON được trả về trong cùng một yêu cầu HTTP (đồng bộ). README trên trang này có ví dụ phản hồi.

Tôi có cần tài khoản nhà phát triển hoặc API key của Douyin không?

Không. Douyin User Profile chạy thông qua SandBase, nên chỉ cần một API key SandBase là đủ cho endpoint này và mọi API cùng model khác trong danh mục. Bạn không cần đăng ký riêng để có quyền truy cập API của Douyin.