Sand AISand AI MAGI-2MAGI-2 è ora su SandBase: video in 1080p con audio nativoProvalo ora

TikTok Web String Data Decryption

Documentazione API
https://api.sandbase.ai/v1/api/tiktok/web/decrypt-str-data

Decrypts encrypted strData captured from TikTok web network traffic. Pass the captured string to reveal the underlying plaintext response payload.

Prezzo
$0.001USD / chiamata
Metodo
POST
Risposta
JSON
Parametri
1 obbligatori · 0 opzionali

Playground

Input
Encrypted strData string, obtained from browser packet capture
OutputEsempio
Rispostaoutputs · 768 B · 8 righe
[
  {
    "data": {
      "decrypted": "{\"behavior\":{\"beResize\":[],\"beMotion\":[{\"ts\":1701069187299,\"x\":null,\"y\":null,\"z\":null},{\"ts\":1701069202902,\"x\":null,\"y\":null,\"z\":null}],\"bePaste\":[],\"beMouse\":[],\"beKeyboard\":[],\"beScroll\":[],\"beTouch\":[],\"beWheel\":[],\"windowState\":[{\"ts\":1701069186257,\"v\":1},{\"ts\":1701069186257,\"v\":1},{\"ts\":1701069186388,\"v\":2},{\"ts\":1701069186388,\"v\":2},{\"ts\":1701069186402,\"v\":1},{\"ts\":1701069186402,\"v\":1},{\"ts\":1701069200309,\"v\":2},{\"ts\":1701069200309,\"v\":2},{\"ts\":1701069201865,\"v\":1},{\"ts\":1701069201865,\"v\":1}],\"isTrusted\":1},\"wID\":{\"sdkVersion\":\"4.4.6\",\"scmVersion\":\"1.0.0.96\",\"msgType\":2,\"timestamp\":\"1701…",
      "length": 905
    }
  }
]

Esempi

Seleziona un esempio per caricare i suoi input e il risultato nel playground.

README API

TikTok Web String Data Decryption API

This API decrypts an encrypted strData string captured from TikTok web network traffic. It needs one input, encrypted_data, and returns the plaintext as a string along with its length.

Use cases

  • Read the plaintext of a strData value you captured in browser developer tools.
  • Check which client behavior records, such as motion events, a TikTok web client sent in a request.
  • Compare decrypted payloads from different sessions to see how the captured data changes.
  • Test a string you built with the encryption API to confirm it decrypts back to your input.

Request

curl -X POST "https://api.sandbase.ai/v1/api/tiktok/web/decrypt-str-data" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"encrypted_data": "3BvqYbNXLLOcZehvxZVbjpAu7vq82RoWmFSJHLFwzDwJIZevE0AeilQfP55LridxmdGGjknoksqIsLqlMHMif0IFK/Br7JWqxOHnYuMwVCnttFc0Y4MFvdVWM5FECiEulJC0Dc+eeVsNSrFnAc9K7fazqdglyJgGLSfXIJmgyCvvQ4pg0u5HBVVugLSWs242X42fjoWymaUCLZJQo6vi6WLyuV7l5IC3Mg+lelr5xBQD6Q7hBIFEw8zzxJ1n2DyA4xLbOHTQdKvEtsK7XzyWwjpRnojPTbBl69Zosnuru+lOBIl+tFu/+hCQ1m0jYZwTP4rVE75L3Du6+KZ5v/9TyFYjq7y3y9bGLP4d7yQueJbF90G1yrZ6htElrZ2vqZKDrIqBVbmOZr/nph12k2JKrITtN0R/pMsp0sJ4gesQnXxcD/pLOFAINHk7umgbe6LzJ7+TLUdGuO4M7xiEg/jCqhjgJX1izZ4NPoBDp35zRxj6Y6OrcstlTN/cv5sz663+Nco/mEwhGq2VwrL4gAIAPycndIsb48dPdtngmLqNDNN0ZyVRjgqVIDXXrxigXCkR9CH89Dlrrb7QQqWVgRXz9/k5ihEM43BR3sd3mMU/XgFLN1Aoxf6GzzdxP2QPBI75/ZoHoAmu54v8gTmA3ntCGlEF0zgaFGTdpkGdb+oZgyQM4pw1aAyxmFINXkpD3IKKoGev9kD9gTFnhiQMGCMemhZS7ZYdbuGu0Cb+lQKaL/QTt80FMyGmW8kzVy9xW/ja9BcdEJYRoaufuFRkBFG5ay8x4WHLR6hEapXqQial/cREbLL4sQytpjtmnndFqvT7xN5DhgsLY2Z7451MJhD6NJXKNrMafGZSbItzQWY="}'

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

Parameters

NameTypeRequiredDescription
encrypted_datastringYesEncrypted strData string, obtained from browser packet capture

Example response

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

{
  "decrypted": "{\"behavior\":{\"beResize\":[],\"beMotion\":[{\"ts\":1701069187299,\"x\":null,\"y\":null,\"z\"…",
  "length": 905
}

Response fields

FieldMeaning
decryptedThe decrypted plaintext. In this example it is a JSON document stored as a string. It starts with a behavior object that holds lists of recorded client events, such as beMotion entries with a ts timestamp. Parse the string again to read these keys.
lengthA number returned with the plaintext. The sample shows 905. The response does not say whether it counts characters or bytes.

Notes

  • Capture the encrypted_data value from your browser's network panel and pass it unchanged.
  • The decrypted field is a string. Parse it as JSON before you read nested keys.
  • To go the other way, use TikTok Web StrData Encryption.

Pricing

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

Esplora altro

API correlate

Tutte le API
APIPrezzoRisposta
TikTok$0.001 per chiamataJSON
TikTok$0.001 per chiamataJSON
TikTok$0.001 per chiamataJSON
TikTok$0.001 per chiamataJSON
TikTok$0.001 per chiamataJSON
TikTok$0.05 per chiamataJSON

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

Domande

FAQ

Come uso l'API TikTok Web String Data Decryption?

Invia una richiesta POST a https://api.sandbase.ai/v1/api/tiktok/web/decrypt-str-data con la tua chiave API di SandBase nell'header Authorization (Bearer) e i parametri nel body JSON. Puoi anche provarla nel Playground di questa pagina senza scrivere codice.

Quanto costa l'API TikTok Web String Data Decryption?

$0.001 per chiamata, addebitato dal tuo saldo SandBase. Paghi solo le chiamate che effettui; non c'è alcun abbonamento.

Quali parametri accetta l'API TikTok Web String Data Decryption?

Richiesti: encrypted_data (string). La tabella dei parametri e il Playground di questa pagina elencano tutti i campi.

Cosa restituisce l'API TikTok Web String Data Decryption?

Una risposta JSON restituita nella stessa richiesta HTTP (sincrona). Il README di questa pagina include una risposta di esempio.

Mi serve un account sviluppatore o una chiave API TikTok?

No. TikTok Web String Data Decryption funziona tramite SandBase, quindi una sola chiave API SandBase copre questo endpoint e tutte le altre API e modelli del catalogo. Non è necessario richiedere separatamente l'accesso alle API TikTok.