Sign TikTok URL

POSThttps://api.eulerstream.com/tiktok/signing/encrypt/sign_url

Sign a TikTok URL. A Pro plan signs the TikTok LIVE chat, feed, like, gift send, gift list and share routes; the TikTok Signature Access add-on signs any TikTok LIVE webcast or TikTok web URL except /passport.

Query Parameters

clientstring= "ttlive-other"

The TikTokLive client making the request

Request Body

Required

Config for the signature generation

url*string
userAgentstring
methodenum
sessionIdstring
ttTargetIdcstring
ttwidstring
payloadstring
typeenum
includeBrowserParamsboolean
includeVerifyFpenum

Responses

code*number (double)
messagestring
responseobject
Response200

Decrypt TikTok str data

POSThttps://api.eulerstream.com/tiktok/signing/decrypt/str-data

Decode a TikTok str-data payload into the behaviour telemetry object it encodes.

Request Body

Required

The payload to decode

data*string

The str-data token to decode.

Responses

code*number (double)
messagestring
dataobject

The decoded payload. Free-form: the script's field set changes without notice.

Response200

Decrypt TikTok ec data

POSThttps://api.eulerstream.com/tiktok/signing/decrypt/ec-data

Decode a TikTok ecData payload, the environment report webmssdk posts to /web/report, into the fields it carries.

Request Body

Required

The payload to decode

data*string

The ecData.data JSON string from a /web/report body, or the whole report as JSON text.

Responses

code*number (double)
messagestring
dataobject

The decoded report as objects keyed by field id, its trailer under _trailer. Free-form, and lossy: field order cannot be recovered from it.

treeunknown[]

The same report as the [id, type, value] tuple tree it arrived as, in wire order, with string and integer leaves in plaintext. Lossless.

Response200

Decrypt TikTok e data

POSThttps://api.eulerstream.com/tiktok/signing/decrypt/e-data

Decrypt a TikTok captcha edata payload into the JSON object it carries.

Request Body

Required

The payload to decrypt

data*string

The edata field of a TikTok captcha payload, in standard padded base64.

Responses

code*number (double)
messagestring
dataobject

The decrypted payload. Free-form: the captcha's field set changes without notice.

Response200

Decrypt TikTok shop bs rt data

POSThttps://api.eulerstream.com/tiktok/signing/decrypt/shop-bs-rt-data

Decrypt a TikTok Shop bs-rt payload into its named fingerprint fields using the original request metadata.

Request Body

Required

The payload and original request metadata

data*string

The base64 data field from a TikTok Shop bs-rt request.

random*integer (int32)

The original request's unsigned 32-bit random value.

timestamp*integer (int32)

The original request timestamp in milliseconds.

pagePath*string

The exact page path used by the original request's key derivation.

sdkVersion*string

The SDK version used by the original request's key derivation.

Responses

code*number (double)
messagestring
dataobject

The decrypted fingerprint with named protobuf fields. 64-bit integers are decimal strings to preserve their exact values.

Response200

Decrypt TikTok x gnarly

POSThttps://api.eulerstream.com/tiktok/signing/decrypt/x-gnarly

Decode a TikTok x-gnarly signature payload into its fields. Only the fields a captured token confirms are given names; the rest are returned under their index as unknown_<index> rather than guessed at.

Query Parameters

versionenum

The script version that produced the token. Selects the alphabet and field map. Defaults to 5.3.2.

Request Body

Required

The payload to decode

data*string

The x-gnarly token to decode.

Responses

code*number (double)
messagestring
dataobject

Decoded fields under their mapped names. Fields the version does not map appear as unknown_<index>.

Response200

Decrypt TikTok x dynosaur

POSThttps://api.eulerstream.com/tiktok/signing/decrypt/x-dynosaur

Decode a TikTok x-dynosaur signature payload into its records. Unlike the other signing payloads its leading byte is a bit-field rather than a constant marker, so the sign type and mode are returned alongside the records.

Query Parameters

versionenum

The script version that produced the token. Selects the alphabet and field map. Defaults to 5.3.0.

Request Body

Required

The payload to decode

data*string

The x-dynosaur token to decode.

Responses

code*number (double)
messagestring
headerobject

The token's leading bit-field: sign type, flag and mode.

dataobject

Decoded records under their mapped names. Records the version does not map appear as field_<tag>.

unknown_tagsnumber (double)[]

Record tags carried by the token but missing from this version's field map.

truncatedboolean

A trailing fragment could not be read as a whole record. The records above are still valid.

Response200