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

Douyin sec_user_ids from URLs (Batch)

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

Extracts Douyin sec_user_id values in bulk from a list of user homepage URLs. Accepts an array of profile links to return the corresponding platform identifiers.

Giá
$0.001USD / 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
User homepage link list
Đầu raVí dụ
Phản hồioutputs · 116 B · 7 dòng
[
  {
    "data": [
      "MS4wLjABAAAA-KtdOVa4ZpUaXPbiGVeef1JQLYjWv0qdWHdIvV_0RNnQ5twCYnFrdgUZZDzvty0v"
    ]
  }
]

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 sec_user_ids from URLs (Batch) API

Retrieve Douyin user security IDs in bulk by passing an array of profile homepage links in the body parameter. This endpoint returns the platform identifiers for downstream profile lookups.

Use cases

  • Convert multiple Douyin profile URLs into sec_user_id identifiers in a single request.
  • Prepare user identifiers for subsequent profile and video metadata queries.
  • Resolve batch lists of creator homepage links into platform security IDs.

Request

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

Parameters

NameTypeRequiredDescription
bodyarrayYesUser homepage link list

Notes

  • Supply Douyin user homepage links as an array in the body parameter.

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.03 mỗi lần gọiJSON
Douyin$0.15 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 sec_user_ids from URLs (Batch)?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/douyin/web/all-sec-user-id 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 sec_user_ids from URLs (Batch) 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 sec_user_ids from URLs (Batch) chấp nhận những tham số nào?

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

API Douyin sec_user_ids from URLs (Batch) 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 sec_user_ids from URLs (Batch) 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.