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

Douyin Web User Information

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

Returns basic profile information for a Douyin web user account. The endpoint accepts a ttwid cookie string in the request body to retrieve account details.

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

Phòng thử nghiệm

Đầu vào
User ttwid cookie. Obtain it by calling `/api/v1/douyin/web/generate_ttwid`.
Đầu raVí dụ
Phản hồioutputs · 172 B · 11 dòng
[
  {
    "data": {
      "log_pb": {
        "impr_id": "20260820174347586C0772EF05BA7CF852"
      },
      "status_code": 18,
      "status_msg": "系统繁忙,请稍后再试"
    }
  }
]

Ví dụ

Chọn một ví dụ để nạp đầu vào và kết quả của nó vào playground.

README API

Douyin Web User Information API

Retrieve basic profile information for a Douyin account using web credentials. Supply the user ttwid cookie in the body parameter.

Use cases

  • Look up basic profile details for a Douyin web user.
  • Inspect account information associated with a web session.
  • Integrate Douyin user profile verification into web applications.

Request

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

Parameters

NameTypeRequiredDescription
bodystringNoUser ttwid cookie.

Notes

  • Pass the ttwid cookie in body, which can be obtained by calling /api/v1/douyin/web/generate_ttwid.

Pricing

Flat price per call. Failed calls, including lookups whose target does not exist, are not charged.

Khám phá thêm

APIs liên quan

Tất cả APIs
APIGiáPhản hồi
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
Douyin$0.03 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 Web User Information?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/douyin/web/query-user 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 Web User Information có giá bao nhiêu?

$0.001 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 Web User Information chấp nhận những tham số nào?

Không có tham số bắt buộc. Tùy chọn: body (string). Bảng Parameters và Playground trên trang này liệt kê mọi trường.

API Douyin Web User Information trả về gì?

Phản hồi JSON được trả về trong cùng một yêu cầu HTTP (đồng bộ).

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 Web User Information 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.