Sand AISand AI MAGI-2MAGI-2 ya está en SandBase: video en 1080p con audio nativoPruébalo ahora

TikTok Web String Data Decryption

Documentación de la 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.

Precio
$0.001USD / llamada
Método
POST
Respuesta
JSON
Parámetros
1 obligatorios · 0 opcionales

Entorno de pruebas

Entrada
Encrypted strData string, obtained from browser packet capture
SalidaEjemplo
Respuestaoutputs · 768 B · 8 líneas
[
  {
    "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
    }
  }
]

Ejemplos

Seleccione un ejemplo para cargar sus entradas y el resultado en el playground.

README de la 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.

Explorar más

APIs relacionadas

Todas las APIs
APIPrecioRespuesta
TikTok$0.001 por llamadaJSON
TikTok$0.001 por llamadaJSON
TikTok$0.001 por llamadaJSON
TikTok$0.001 por llamadaJSON
TikTok$0.001 por llamadaJSON
TikTok$0.05 por llamadaJSON

Guías:TikTok API pricing: official access vs per-call dataBest TikTok API in 2026: Pricing Compared

Preguntas

FAQ

¿Cómo uso la API de TikTok Web String Data Decryption?

Envía una solicitud POST a https://api.sandbase.ai/v1/api/tiktok/web/decrypt-str-data con tu clave API de SandBase en el encabezado Authorization (Bearer) y los parámetros como un cuerpo JSON. También puedes probarlo en el Playground de esta página sin escribir código.

¿Cuánto cuesta la API de TikTok Web String Data Decryption?

$0.001 por llamada, facturado desde tu saldo de SandBase. Solo se te cobra por las llamadas que haces; no hay suscripción.

¿Qué parámetros acepta la API de TikTok Web String Data Decryption?

Requeridos: encrypted_data (string). La tabla de Parámetros y el Playground de esta página enumeran todos los campos.

¿Qué devuelve la API de TikTok Web String Data Decryption?

Una respuesta JSON devuelta en la misma solicitud HTTP (sincrónica). El README de esta página incluye una respuesta de ejemplo.

¿Necesito una cuenta de desarrollador o una clave API de TikTok?

No. TikTok Web String Data Decryption funciona a través de SandBase, así que una sola clave API de SandBase cubre este endpoint y todas las demás APIs y modelos del catálogo. No necesitas solicitar acceso a la API de TikTok por separado.