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

TikTok Profile Unique IDs

เอกสาร API
https://api.sandbase.ai/v1/api/tiktok/web/all-unique-id

Resolves a batch of TikTok user homepage links to retrieve their corresponding unique identifiers. Accepts a list of profile URLs in the request payload.

ราคา
$0.001USD / คำขอ
Method
POST
การตอบกลับ
JSON
พารามิเตอร์
1 จำเป็น · 0 ไม่บังคับ

Playground

อินพุต
User homepage link
เอาต์พุตพร้อมใช้งาน

เอาต์พุตของคุณจะแสดงที่นี่

กรอกอินพุตให้ครบ แล้วคลิก Run

API README

TikTok Profile Unique IDs API

Takes a list of TikTok profile URLs and returns the matching unique IDs (the handles) as a JSON array of strings. The request needs one field, body, which holds the profile links.

Use cases

  • Turn a list of https://www.tiktok.com/@name links into plain handles for a spreadsheet or database.
  • Normalize a batch of creator links before you look up each profile.
  • Check which handle sits behind each profile URL in an influencer list.

Request

curl -X POST "https://api.sandbase.ai/v1/api/tiktok/web/all-unique-id" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"body": ["https://www.tiktok.com/@tiktok"]}'

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

Parameters

NameTypeRequiredDescription
bodyarrayYesUser homepage link

Example response

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

[
  "tiktok"
]

Response fields

FieldMeaning
[]One TikTok unique ID, which is the handle shown after the @ in the profile URL. For https://www.tiktok.com/@tiktok the value is tiktok.
[0]The first item in the array. In the sample request, the single link in body returned tiktok at this position.

Notes

  • The response is a bare JSON array of strings. It has no wrapper object and no named keys.
  • Send the profile links as an array of strings in body, for example ["https://www.tiktok.com/@tiktok"].
  • To get the sec_user_id for each profile link in one call, use TikTok User Sec User ID Extractor.
  • To resolve a single profile link to a user ID, use TikTok User ID from Profile Link.

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ราคาการตอบกลับ
TikTok$0.001 ต่อการเรียกJSON
TikTok$0.001 ต่อการเรียกJSON
TikTok$0.001 ต่อการเรียกJSON
TikTok$0.001 ต่อการเรียกJSON
TikTok$0.05 ต่อการเรียกJSON
TikTok$0.002 ต่อการเรียกJSON

คู่มือ:TikTok API pricing: official access vs per-call dataBest TikTok API in 2026: Pricing Compared

คำถาม

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

ฉันจะใช้ TikTok Profile Unique IDs API ได้อย่างไร?

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

TikTok Profile Unique IDs API ราคาเท่าไร?

$0.001 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน

TikTok Profile Unique IDs API รับพารามิเตอร์อะไรบ้าง?

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

TikTok Profile Unique IDs API ส่งคืนอะไร?

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

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

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