TikTok Web StrData Encryption
https://api.sandbase.ai/v1/api/tiktok/web/encrypt-str-dataEncrypts raw fingerprint string data for TikTok web requests. Takes a stringified JSON fingerprint payload via the data parameter and returns the encrypted string.
- Price
- $0.0015USD / callFirst 100 calls per day free (shared per organization)
- Method
- POST
- Response
- JSON
- Parameters
- 1 required · 0 optional
Try the model
Playground
[
{
"data": {
"encrypted": "3DIb2fJ0A5op3ZKAJHWZybun5AvVdqproG8FvkK1xUo4QO7WVI+S30WlI1Bud0elbq6gNyscMHCFY0TkCob1pyIzTMRt0HWyCQQP+jc2dnA04H7h+r4uieISVg137KM5Ng9w8/yzYl2INBv7zMRWmDKXT1Zw2hT2kR9eeAqz3dKmjYfXaxP3OAlUALrcOMC0qgAooQDQT7rtwfgNHM5jR4Yua4lbPld3LpCY3PH2t8K0mT2sPRKnprRpZyR5eMZhp5rk+7dYaiYTb9zIw987OFkS91sTF2vMkyrybdxD/D0LzE8lCrTIcnpfGCbWVrfXgm7XHFrIAcDpX/5SzOnuZGG86m6Ec/iSAsvudJ6YLncjY3lladwaryytlXkvPpA03xKENFNRRHgFVvH7KpzvWy0ccWOP/ayio6rEDwcYvclg3gs932UpDu+RyEBFAN0tJzR8OjIotjwqdl+OUg+8dVSO0GyTd1sTDTWEGzeRUPV0zj01xBGqsMPj0Gi4uC/WSrfM4XB3ZVbQN8EPvRoajGD2V4qNHllDS4D3CmM1cUFspxC08pfdG+NXChI7+i1lhoflrS0AB2dzTE+TlZumi9J2O9RNrbM6SDIUpQoFpP/0G4MTTZouNqitAzTktGT+B3MKfhGMe4IJcZxB0USksdv2XElbjdqDPKqiEhCRui0owhFVMWUXIaQA9HAvNtr0lowoidzVmplDQFYAxU8sZtvSbzCOthBHUPFOMO01YM/kkADwNnCXCiRSh7wYmuL1rH3Aoq71MpmOXTRAsE92lkfmfHGL/eZS829MjCydRm50YXJnd28+mHhXVcMiiAQSGA/7wgDLKH2lYDHgSRo3PEviTgn+nM6yMT0RjpY=",
"length": 872
}
}
]Examples
Select an example to load its inputs and result into the playground.
Model card
Specifications
Pricing
- Base price
- $0.0015 / run
- Daily free calls
- First 100 calls per day free (shared per organization)
Request & response
- Method
- POST
- Request body
- application/json
- Response
- application/json
- Execution
- sync
Parameters
- data
- string · required
Access
- Provider
- TikTok
- API
- Platform API
- Base URL
- https://api.sandbase.ai
- Endpoint
- /v1/api/tiktok/web/encrypt-str-data
- Authentication
- Bearer API key
API README
TikTok Web StrData Encryption API
Encrypt raw fingerprint data for TikTok web interactions. Pass the stringified JSON payload in the data parameter to receive the encrypted result.
Use cases
- Encrypting client fingerprint payloads for TikTok web automation.
- Preparing formatted request parameters for web endpoint calls.
- Generating encrypted device or browser string data.
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"}'
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
data | string | Yes | Raw fingerprint data string (please convert JSON format to string before requesting) |
Notes
- Convert JSON format to a string before passing it into
data.
Related APIs
- TikTok Video IDs from URLs (Batch): Resolves and extracts TikTok video IDs from a list of video URLs.
- TikTok User Sec User ID Extractor: Returns a list of sec_user_id identifiers corresponding to TikTok user profile URLs.
- TikTok Profile Unique IDs: Resolves a batch of TikTok user homepage links to retrieve their corresponding unique identifiers.
Start building
Send your first request
Platform API endpoint with unified authentication and usage tracking.
# The quoted heredoc keeps Unicode and shell metacharacters unchanged.
result=$(curl --fail-with-body --silent \
-X POST "https://api.sandbase.ai/v1/api/tiktok/web/encrypt-str-data" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
--data-binary @- <<'SANDBASE_JSON'
{
"data": "{\"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]}}"
}
SANDBASE_JSON
)
printf '%s\n' "$result"Explore more
Related APIs
| API | Price | Response | Released |
|---|---|---|---|
TikTok Web StrData EncryptionThis API TikTok | $0.0015 per call | JSON | Jul 31, 2026 |
TikTok | $0.0015 per call | JSON | Jul 31, 2026 |
TikTok | $0.0015 per call | JSON | Jul 31, 2026 |
TikTok | $0.0015 per call | JSON | Jul 31, 2026 |
TikTok | $0.0015 per call | JSON | Jul 31, 2026 |
TikTok | $0.07 per call | JSON | Jul 31, 2026 |
Questions
FAQ
How do I use the TikTok Web StrData Encryption API?
Send a POST request to https://api.sandbase.ai/v1/api/tiktok/web/encrypt-str-data with your SandBase API key in the Authorization header (Bearer) and the parameters as a JSON body. You can also try it in the Playground on this page without writing code.
How much does the TikTok Web StrData Encryption API cost?
$0.0015 per call. Every organization gets 100 free calls per UTC day, shared across eligible SandBase APIs including this one; after that each call is billed at this price from your SandBase balance. There is no subscription.
What parameters does the TikTok Web StrData Encryption API accept?
Required: data (string). The Parameters table and the Playground on this page list every field.
What does the TikTok Web StrData Encryption API return?
A JSON response returned in the same HTTP request (synchronous).
Do I need a TikTok developer account or API key?
No. TikTok Web StrData Encryption runs through SandBase, so one SandBase API key covers this endpoint and every other API and model in the catalog. You do not need to apply for TikTok API access separately.
