API DocstiktokDataEncrypt strData
Encrypt strData
What this API is for
- Encrypt strData fingerprint data for msToken request
GET
/openapi/api/v1/tiktok/web/encrypt_strDataPrice:Price unavailable · Actual charges depend on free quota and account discounts
Authentication
All API requests require a Bearer project token in the Authorization header
Authorization header
Authorization: Bearer YOUR_API_TOKENRequest parameters
- data: Raw fingerprint data string (please convert JSON format to string before requesting)
| Name | Location / type | Required | Notes | Example |
|---|---|---|---|---|
| data | query / string | Yes |
| {"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":"1701069221819","aid":368462,"aidList":[1988,368462],"privacyMode":516},"custom":{},"window":{"location":"https://www.tiktok.com/@funnykittensttk/video/7293517029737352454?is_from_webapp=1&web_id=7260049563725497899"},"msgMeta":{"msgType":2,"msgSrcProp":2,"msgProtocol":1,"aid":368462,"aidList":[1988,368462]}} |
Request examples
curl -X GET "https://api.trmesh.com/openapi/api/v1/tiktok/web/encrypt_strData" \ -H "Authorization: Bearer sdc_your_project_token" \ -H "Accept: application/json"
Response fields
- Encrypted strData
Common response envelope
Common fields for response status, request identifiers and data
| Field | Type | Notes | Example |
|---|---|---|---|
| code | integer |
| |
| request_id | string | null |
| |
| message | string |
| |
| message_zh | string |
| |
| support | string |
| |
| time | string |
| |
| time_stamp | integer |
| |
| time_zone | string |
| |
| docs | string | null |
| |
| cache_message | string | null |
| |
| cache_message_zh | string | null |
| |
| cache_url | string | null |
| |
| router | string |
| |
| params | unknown |
| |
| data | unknown | null |
|
Errors and limits
The docs cover not only success responses, but also auth failures, rate limits, and data-service errors
| Code | Meaning | Notes |
|---|---|---|
| 200 | Success | The request completed and returned the standard response envelope. |
| 401 | Unauthorized | The token is missing, invalid, or no longer active. |
| 429 | Rate limited | The request exceeded token, user, or plan-level throughput limits. |
| 502 | Service unavailable | The gateway could not obtain a healthy result. Retry in a moment. |
Next steps
New to the API? Read the guide or explore examples