Sand AISand AI MAGI-2MAGI-2 kini tersedia di SandBase: video 1080p dengan audio nativeCoba sekarang

TikTok User Sec User ID Extractor

Dokumentasi API
https://api.sandbase.ai/v1/api/tiktok/web/all-sec-user-id

Returns a list of sec_user_id identifiers corresponding to TikTok user profile URLs. Provide an array of user homepage links in the request body to retrieve their unique security IDs.

Harga
$0.001USD / panggilan
Metode
POST
Respons
JSON
Parameter
1 wajib ยท 0 opsional

Playground

Input
User homepage link
OutputSiap

Output Anda akan muncul di sini

Lengkapi input, lalu klik Run.

README API

TikTok User Sec User ID Extractor API

This API takes an array of TikTok profile URLs and returns an array of sec_user_id strings. Send the URLs in the body field of the request.

Use cases

  • Convert a list of creator profile links into sec_user_id values before you query their profiles.
  • Build a lookup table of sec_user_id values for a batch of TikTok accounts in one call.
  • Prepare identifiers for follower, post or like lookups that need a sec_user_id.

Request

curl -X POST "https://api.sandbase.ai/v1/api/tiktok/web/all-sec-user-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.

[
  "MS4wLjABAAAAv7iSuuXDJGDvJkmH_vz1qkDZYo1apxgzaxdBSeIuPiM"
]

Response fields

FieldMeaning
[]The response is a plain array with no wrapper object. Each entry is a sec_user_id string.
[0]The first entry in the array. In the example, the request has one URL, https://www.tiktok.com/@tiktok, and the array has one entry.

Notes

  • Pass the profile links as a JSON array in body, for example https://www.tiktok.com/@tiktok.
  • The response is a plain JSON array of strings. The example sends one URL and gets one ID back.
  • For a single URL, use TikTok Profile Sec User ID.
  • To get the unique_id handle for many profiles, use TikTok Profile Unique IDs.

Pricing

$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

Jelajahi lebih lanjut

API Terkait

Semua APIs
APIHargaRespons
TikTok$0.001 per panggilanJSON
TikTok$0.001 per panggilanJSON
TikTok$0.001 per panggilanJSON
TikTok$0.001 per panggilanJSON
TikTok$0.05 per panggilanJSON
TikTok$0.002 per panggilanJSON

Panduan:TikTok API pricing: official access vs per-call dataBest TikTok API in 2026: Pricing Compared

Pertanyaan

FAQ

Bagaimana cara menggunakan API TikTok User Sec User ID Extractor?

Kirim permintaan POST ke https://api.sandbase.ai/v1/api/tiktok/web/all-sec-user-id dengan kunci API SandBase Anda di header Authorization (Bearer) dan parameter sebagai body JSON. Anda juga dapat mencobanya di Playground di halaman ini tanpa menulis kode.

Berapa biaya API TikTok User Sec User ID Extractor?

$0.001 per panggilan, ditagihkan dari saldo SandBase Anda. Anda hanya dikenai biaya untuk panggilan yang Anda lakukan; tidak ada langganan.

Parameter apa yang diterima API TikTok User Sec User ID Extractor?

Wajib: body (array). Tabel Parameters dan Playground di halaman ini mencantumkan setiap field.

Apa yang dikembalikan API TikTok User Sec User ID Extractor?

Respons JSON yang dikembalikan dalam permintaan HTTP yang sama (sinkron). README di halaman ini menyertakan contoh respons.

Apakah saya memerlukan akun developer atau kunci API TikTok?

Tidak. TikTok User Sec User ID Extractor berjalan melalui SandBase, jadi satu kunci API SandBase mencakup endpoint ini dan setiap API serta model lain di katalog. Anda tidak perlu mendaftar akses API TikTok secara terpisah.