Sand AISand AI MAGI-2MAGI-2 est maintenant sur SandBase : vidéo 1080p avec audio natifEssayer maintenant

TikTok User Sec User ID Extractor

Docs 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.

Prix
$0.001USD / appel
Méthode
POST
Réponse
JSON
Paramètres
1 obligatoires · 0 facultatifs

Bac à sable

Entrée
User homepage link
SortiePrêt

Votre sortie apparaîtra ici

Complétez les entrées, puis cliquez sur Exécuter.

README de l'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.

Explorer plus

APIs associées

Toutes les APIs
APIPrixRéponse
TikTok$0.001 par appelJSON
TikTok$0.001 par appelJSON
TikTok$0.001 par appelJSON
TikTok$0.001 par appelJSON
TikTok$0.05 par appelJSON
TikTok$0.002 par appelJSON

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

Questions

FAQ

Comment utiliser l’API TikTok User Sec User ID Extractor ?

Envoyez une requête POST à https://api.sandbase.ai/v1/api/tiktok/web/all-sec-user-id avec votre clé API SandBase dans l’en-tête Authorization (Bearer) et les paramètres dans un corps JSON. Vous pouvez aussi l’essayer dans le Playground sur cette page sans écrire de code.

Combien coûte l’API TikTok User Sec User ID Extractor ?

$0.001 par appel, facturé depuis votre solde SandBase. Vous ne payez que les appels que vous effectuez ; aucun abonnement.

Quels paramètres l’API TikTok User Sec User ID Extractor accepte-t-elle ?

Obligatoire : body (array). Le tableau des paramètres et le Playground sur cette page listent tous les champs.

Que renvoie l’API TikTok User Sec User ID Extractor ?

Une réponse JSON renvoyée dans la même requête HTTP (synchrone). Le README sur cette page inclut un exemple de réponse.

Ai-je besoin d’un compte développeur ou d’une clé API TikTok ?

Non. TikTok User Sec User ID Extractor fonctionne via SandBase, donc une seule clé API SandBase couvre ce point de terminaison ainsi que toutes les autres API et tous les modèles du catalogue. Vous n’avez pas besoin de demander un accès API TikTok séparément.