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

TikTok Web Hashed ID

Tài liệu API
https://api.sandbase.ai/v1/api/tiktok/web/generate-hashed-id

Calculates a hashed identifier for TikTok Web based on a provided email address. This endpoint takes an email input and returns the corresponding hashed ID value.

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
Email address
Đầ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

TikTok Web Hashed ID API

Returns a hashed identifier for an email address, as used by TikTok Web. It needs one input, the email string. The response holds a single hashed_id value.

Use cases

  • Turn a plain email address into a hashed_id before you use it in a TikTok Web workflow.
  • Compare hashed_id values for a list of emails without keeping the raw addresses in your own records.
  • Build a lookup table that maps each email in your user list to its hashed_id.

Request

curl -X POST "https://api.sandbase.ai/v1/api/tiktok/web/generate-hashed-id" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"email": "[email protected]"}'

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

Parameters

NameTypeRequiredDescription
emailstringYesEmail address

Example response

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

{
  "hashed_id": "7dd39e8713c40837f6ca56a44ba13da737eb608737b40e0b3c4975528c607309"
}

Response fields

FieldMeaning
hashed_idThe hashed identifier calculated from the email you sent.
hashed_idThe value is a lowercase hexadecimal string, 64 characters long.
hashed_idThis is the only field in the response, so you can read it straight from the top level of the JSON object.

Notes

  • Send the address in the email parameter as a plain string. The call has no other parameters, so there is no pagination.
  • For other TikTok Web identifiers, see TikTok Web ID and TikTok Web TTWID Identifier.

Pricing

$0.001 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
TikTok$0.001 mỗi lần gọiJSON
TikTok$0.001 mỗi lần gọiJSON
TikTok$0.001 mỗi lần gọiJSON
TikTok$0.001 mỗi lần gọiJSON
TikTok$0.001 mỗi lần gọiJSON
TikTok$0.05 mỗi lần gọiJSON

Hướng dẫn:TikTok API pricing: official access vs per-call dataBest TikTok API in 2026: Pricing Compared

Câu hỏi

FAQ

Làm thế nào để dùng API TikTok Web Hashed ID?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/tiktok/web/generate-hashed-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 TikTok Web Hashed ID 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 TikTok Web Hashed ID chấp nhận những tham số nào?

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

API TikTok Web Hashed ID 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 TikTok không?

Không. TikTok Web Hashed ID 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 TikTok.