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

TikTok Web StrData Encryption

Docs API
https://api.sandbase.ai/v1/api/tiktok/web/encrypt-str-data

Encrypts raw fingerprint string data for TikTok web requests. Takes a stringified JSON fingerprint payload via the data parameter and returns the encrypted string.

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

Bac à sable

Entrée
Raw fingerprint data string (please convert JSON format to string before requesting)
SortieExemple
Réponseoutputs · 675 B · 8 lignes
[
  {
    "data": {
      "encrypted": "3DIb2fJ0A5op3ZKAJHWZybun5AvVdqproG8FvkK1xUo4QO7WVI+S30WlI1Bud0elbq6gNyscMHCFY0TkCob1pyIzTMRt0HWyCQQP+jc2dnA04H7h+r4uieISVg137KM5Ng9w8/yzYl2INBv7zMRWmDKXT1Zw2hT2kR9eeAqz3dKmjYfXaxP3OAlUALrcOMC0qgAooQDQT7rtwfgNHM5jR4Yua4lbPld3LpCY3PH2t8K0mT2sPRKnprRpZyR5eMZhp5rk+7dYaiYTb9zIw987OFkS91sTF2vMkyrybdxD/D0LzE8lCrTIcnpfGCbWVrfXgm7XHFrIAcDpX/5SzOnuZGG86m6Ec/iSAsvudJ6YLncjY3lladwaryytlXkvPpA03xKENFNRRHgFVvH7KpzvWy0ccWOP/ayio6rEDwcYvclg3gs932UpDu+RyEBFAN0tJzR8OjIotjwqdl+OUg+8dVSO0GyTd1sTDTWEGzeRUPV0zj01xBGqsMPj0Gi4uC/WSrfM4XB3ZVbQN8EPvRoajGD2V4qNHllDS4D3CmM1cUFspxC08pfdG+NXChI7+i1lhoflrS0AB2dzTE+TlZumi9J2…",
      "length": 872
    }
  }
]

Exemples

Sélectionnez un exemple pour charger ses entrées et son résultat dans le playground.

README de l'API

TikTok Web StrData Encryption API

This API encrypts a raw fingerprint string for TikTok web requests. It needs one input, data, which is a JSON fingerprint payload converted to a string. It returns the encrypted string and its length.

Use cases

  • Encrypt a browser fingerprint payload before you send it in a TikTok web request.
  • Build the encrypted StrData value for a device registration call.
  • Check the encrypted output of a fingerprint you made with the fingerprint generator.
  • Script repeatable TikTok web request flows that need an encrypted string parameter.

Request

curl -X POST "https://api.sandbase.ai/v1/api/tiktok/web/encrypt-str-data" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"data": "7218694761253735723"}'

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

Parameters

NameTypeRequiredDescription
datastringYesRaw fingerprint data string (please convert JSON format to string before requesting)

Example response

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

{
  "encrypted": "3k6yTlt/uIlvc2Z8k7tNo1LbfxcqSpploVv0153cLn4MP1c7816ZeE9VkzuszWHfLjZn/xtBgiNrF8jx…",
  "length": 96
}

Response fields

FieldMeaning
encryptedThe encrypted version of the string you sent in data. It looks like a Base64-style text value that ends in ==.
lengthThe character count of the encrypted string. In the sample response it is 96.

Notes

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.001 par appelJSON
TikTok$0.05 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 Web StrData Encryption ?

Envoyez une requête POST à https://api.sandbase.ai/v1/api/tiktok/web/encrypt-str-data 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 Web StrData Encryption ?

$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 Web StrData Encryption accepte-t-elle ?

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

Que renvoie l’API TikTok Web StrData Encryption ?

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 Web StrData Encryption 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.