Encrypt strData
Retrieve encrypt strData with the TikTok API. The request takes a data. Use it in a social research or monitoring workflow. Use the data to compare content across accounts or review audience feedback by video.
- Selected price
- $0.001 / callPublished pricing
- Sellers / APIs
- 1 / 1
- Requests · 30d
- —Loading...
- Success rate · 30d
- —Loading...
Encrypt strData
Prepare your request, then continue with your agent.
Selected price
$0.001 / call
- Provider
- Pricing
On this page
Playground
Run sends a real API request. Charges follow the published API contract.
Response structure
cache_messagestringcache_message_zhstringcache_urlstringcodeintegerdatanulldocsstringmessagestringmessage_zhstringparamsobjectrequest_idstringrouterstringsupportstringtimestringtime_stampintegertime_zonestring
// Inferred from response examples. Fields are optional and other fields may be returned.
export type ApiResponse = {
cache_message?: string;
cache_message_zh?: string;
cache_url?: string;
code?: number;
data?: null;
docs?: string;
message?: string;
message_zh?: string;
params?: Record<string, unknown>;
request_id?: string;
router?: string;
support?: string;
time?: string;
time_stamp?: number;
time_zone?: string;
};Sellers
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
tikhubCurrent Encrypt strData · GET · View API reference | $0.001 / call | — | —successP50— |
- Unit price
- $0.001
Statistics use persisted gateway logs from the last 30 days up to now, including today.
Success rate = successful requests / all requests;
P50 = median latency of successful requests.
Prices reflect the published API contract. Contract revision: 3. Price update time: not supplied.
Total $0.1
API
- Method
- GET
- Endpoint
https://api.openany.si/v1/agent-apis/tikhub/api/v1/tiktok/web/encrypt_strData- Content type
- application/json
- Authentication
Authorization: Bearer $OPENANY_API_KEY
curl \
'https://api.openany.si/v1/agent-apis/tikhub/api/v1/tiktok/web/encrypt_strData?data=%7B%22behavior%22%3A%7B%22beResize%22%3A%5B%5D%2C%22beMotion%22%3A%5B%7B%22ts%22%3A1701069187299%2C%22x%22%3Anull%2C%22y%22%3Anull%2C%22z%22%3Anull%7D%2C%7B%22ts%22%3A1701069202902%2C%22x%22%3Anull%2C%22y%22%3Anull%2C%22z%22%3Anull%7D%5D%2C%22bePaste%22%3A%5B%5D%2C%22beMouse%22%3A%5B%5D%2C%22beKeyboard%22%3A%5B%5D%2C%22beScroll%22%3A%5B%5D%2C%22beTouch%22%3A%5B%5D%2C%22beWheel%22%3A%5B%5D%2C%22windowState%22%3A%5B%7B%22ts%22%3A1701069186257%2C%22v%22%3A1%7D%2C%7B%22ts%22%3A1701069186257%2C%22v%22%3A1%7D%2C%7B%22ts%22%3A1701069186388%2C%22v%22%3A2%7D%2C%7B%22ts%22%3A1701069186388%2C%22v%22%3A2%7D%2C%7B%22ts%22%3A1701069186402%2C%22v%22%3A1%7D%2C%7B%22ts%22%3A1701069186402%2C%22v%22%3A1%7D%2C%7B%22ts%22%3A1701069200309%2C%22v%22%3A2%7D%2C%7B%22ts%22%3A1701069200309%2C%22v%22%3A2%7D%2C%7B%22ts%22%3A1701069201865%2C%22v%22%3A1%7D%2C%7B%22ts%22%3A1701069201865%2C%22v%22%3A1%7D%5D%2C%22isTrusted%22%3A1%7D%2C%22wID%22%3A%7B%22sdkVersion%22%3A%224.4.6%22%2C%22scmVersion%22%3A%221.0.0.96%22%2C%22msgType%22%3A2%2C%22timestamp%22%3A%221701069221819%22%2C%22aid%22%3A368462%2C%22aidList%22%3A%5B1988%2C368462%5D%2C%22privacyMode%22%3A516%7D%2C%22custom%22%3A%7B%7D%2C%22window%22%3A%7B%22location%22%3A%22https%3A%2F%2Fwww.tiktok.com%2F%40funnykittensttk%2Fvideo%2F7293517029737352454%3Fis_from_webapp%3D1%26web_id%3D7260049563725497899%22%7D%2C%22msgMeta%22%3A%7B%22msgType%22%3A2%2C%22msgSrcProp%22%3A2%2C%22msgProtocol%22%3A1%2C%22aid%22%3A368462%2C%22aidList%22%3A%5B1988%2C368462%5D%7D%7D' \
-X GET \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H 'Content-Type: application/json'Input parameters
Fields in this listing; additional options and input encoding can vary by provider.
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
data | URL query parametersquery | string | Yes | 原始指纹数据字符串(JSON格式或字典字符串)/Raw fingerprint data string (JSON format or dict string) |
Required markers inside a nested object or variant apply when that object or variant is used.
Sample response
Response template · not a real response · Configured HTTP 200; actual status is unverified. Response illustration only. Placeholder values and unknown business fields are not recorded API results. Replace request placeholders before use.
{
"cache_message": "This response is cached and accessible via the URL below for 24 hours at no extra cost. The cache is for request tracing only — it doesn't affect the API's data freshness and won't be returned through the API again.",
"cache_message_zh": "本次响应已缓存,可通过下方 URL 直接查看,有效期 24 小时,访问缓存链接无额外费用。缓存仅用于请求溯源,不影响接口数据的时效性,也不会再次通过接口返回。",
"cache_url": "<cache_url>",
"code": 200,
"data": null,
"docs": "<docs>",
"message": "Request successful. This request will incur a charge.",
"message_zh": "请求成功,本次请求将被计费。",
"params": {},
"request_id": "<request_id>",
"router": "",
"support": "Discord: https://discord.gg/aMEAS8Xsvz",
"time": "<time>",
"time_stamp": 0,
"time_zone": "America/Los_Angeles"
}Agent integration
Copy the resource contract without sharing an API key.
View API Markdown
# Encrypt strData
Retrieve encrypt strData with the TikTok API. The request takes a data. Use it in a social research or monitoring workflow. Use the data to compare content across accounts or review audience feedback by video.
## Available implementations
tikhub · Encrypt strData: https://openany.si/markets/apis/capabilities/tiktok-encrypt-strdata?offering=921853f0-082c-4fcd-b06d-0c27db8b6e1a · $0.001 / call
## Selected API contract
Documentation: https://openany.si/markets/apis/capabilities/tiktok-encrypt-strdata
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/tikhub/api/v1/tiktok/web/encrypt_strData
Price: $0.001 / call
Provider: tikhub
Contract revision: 3
Price source: OpenAny public API contract and documented provider unit rates. Price update time: not supplied.
Use OPENANY_API_KEY from the environment. API Key calls use your shared balance.
## Prepared request
```bash
curl \
'https://api.openany.si/v1/agent-apis/tikhub/api/v1/tiktok/web/encrypt_strData?data=%7B%22behavior%22%3A%7B%22beResize%22%3A%5B%5D%2C%22beMotion%22%3A%5B%7B%22ts%22%3A1701069187299%2C%22x%22%3Anull%2C%22y%22%3Anull%2C%22z%22%3Anull%7D%2C%7B%22ts%22%3A1701069202902%2C%22x%22%3Anull%2C%22y%22%3Anull%2C%22z%22%3Anull%7D%5D%2C%22bePaste%22%3A%5B%5D%2C%22beMouse%22%3A%5B%5D%2C%22beKeyboard%22%3A%5B%5D%2C%22beScroll%22%3A%5B%5D%2C%22beTouch%22%3A%5B%5D%2C%22beWheel%22%3A%5B%5D%2C%22windowState%22%3A%5B%7B%22ts%22%3A1701069186257%2C%22v%22%3A1%7D%2C%7B%22ts%22%3A1701069186257%2C%22v%22%3A1%7D%2C%7B%22ts%22%3A1701069186388%2C%22v%22%3A2%7D%2C%7B%22ts%22%3A1701069186388%2C%22v%22%3A2%7D%2C%7B%22ts%22%3A1701069186402%2C%22v%22%3A1%7D%2C%7B%22ts%22%3A1701069186402%2C%22v%22%3A1%7D%2C%7B%22ts%22%3A1701069200309%2C%22v%22%3A2%7D%2C%7B%22ts%22%3A1701069200309%2C%22v%22%3A2%7D%2C%7B%22ts%22%3A1701069201865%2C%22v%22%3A1%7D%2C%7B%22ts%22%3A1701069201865%2C%22v%22%3A1%7D%5D%2C%22isTrusted%22%3A1%7D%2C%22wID%22%3A%7B%22sdkVersion%22%3A%224.4.6%22%2C%22scmVersion%22%3A%221.0.0.96%22%2C%22msgType%22%3A2%2C%22timestamp%22%3A%221701069221819%22%2C%22aid%22%3A368462%2C%22aidList%22%3A%5B1988%2C368462%5D%2C%22privacyMode%22%3A516%7D%2C%22custom%22%3A%7B%7D%2C%22window%22%3A%7B%22location%22%3A%22https%3A%2F%2Fwww.tiktok.com%2F%40funnykittensttk%2Fvideo%2F7293517029737352454%3Fis_from_webapp%3D1%26web_id%3D7260049563725497899%22%7D%2C%22msgMeta%22%3A%7B%22msgType%22%3A2%2C%22msgSrcProp%22%3A2%2C%22msgProtocol%22%3A1%2C%22aid%22%3A368462%2C%22aidList%22%3A%5B1988%2C368462%5D%7D%7D' \
-X GET \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H 'Content-Type: application/json'
```
## API contract
```json
{
"resource_type": "api",
"name": "Encrypt strData",
"endpoint": "https://api.openany.si/v1/agent-apis/tikhub/api/v1/tiktok/web/encrypt_strData",
"method": "GET",
"content_type": "none",
"execution_mode": "sync",
"authentication": {
"type": "bearer",
"environment_variable": "OPENANY_API_KEY"
},
"inputs": [
{
"description": "原始指纹数据字符串(JSON格式或字典字符串)/Raw fingerprint data string (JSON format or dict string)",
"location": "query",
"name": "data",
"nullable": false,
"required": true,
"type": "string"
}
],
"billing": {
"currency": "USD",
"mode": "fixed",
"priceMicroUsd": "1000",
"rounding": null,
"unit": "call",
"unitQuantity": null
},
"examples": [
{
"http_status": 200,
"name": "Schema template (HTTP assumed)",
"request": {
"body": null,
"headers": {},
"path": {},
"query": {
"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]}}"
}
},
"response_body": {
"cache_message": "This response is cached and accessible via the URL below for 24 hours at no extra cost. The cache is for request tracing only — it doesn't affect the API's data freshness and won't be returned through the API again.",
"cache_message_zh": "本次响应已缓存,可通过下方 URL 直接查看,有效期 24 小时,访问缓存链接无额外费用。缓存仅用于请求溯源,不影响接口数据的时效性,也不会再次通过接口返回。",
"cache_url": "<cache_url>",
"code": 200,
"data": null,
"docs": "<docs>",
"message": "Request successful. This request will incur a charge.",
"message_zh": "请求成功,本次请求将被计费。",
"params": {},
"request_id": "<request_id>",
"router": "",
"support": "Discord: https://discord.gg/aMEAS8Xsvz",
"time": "<time>",
"time_stamp": 0,
"time_zone": "America/Los_Angeles"
}
}
]
}
```Error handling
| Status | Next step |
|---|---|
400 | Check the offering and request fields. |
401 / 403 | Verify your credentials and access permissions. |
402 | Inspect the selected access mode and returned payment requirements. |
429 | Respect the returned rate limit and retry guidance. |
5xx | Inspect the error and usage record before retrying a paid operation. |
Examples
Schema template (HTTP assumed)
Response illustration only. Placeholder values and unknown business fields are not recorded API results. Replace request placeholders before use.
Prepare your environment
Use a terminal with cURL installed.
Use an OpenAny API key with shared-balance access. Confirm availability and price before running; a call may charge your balance.
Set the key in your terminal using the hidden prompt below. Keep its value out of source files and logs.
Terminal · macOS / Linuxprintf 'OpenAny API key: ' read -r -s OPENANY_API_KEY export OPENANY_API_KEY printf '\n'Run the request
Paste the complete command below into your terminal.
Values to replace before running 1
Review these request fields before running. Keep the published provider and request method unchanged.
data- 原始指纹数据字符串(JSON格式或字典字符串)/Raw fingerprint data string (JSON format or dict string)
Terminal · cURLcurl \ 'https://api.openany.si/v1/agent-apis/tikhub/api/v1/tiktok/web/encrypt_strData?data=%7B%22behavior%22%3A%7B%22beResize%22%3A%5B%5D%2C%22beMotion%22%3A%5B%7B%22ts%22%3A1701069187299%2C%22x%22%3Anull%2C%22y%22%3Anull%2C%22z%22%3Anull%7D%2C%7B%22ts%22%3A1701069202902%2C%22x%22%3Anull%2C%22y%22%3Anull%2C%22z%22%3Anull%7D%5D%2C%22bePaste%22%3A%5B%5D%2C%22beMouse%22%3A%5B%5D%2C%22beKeyboard%22%3A%5B%5D%2C%22beScroll%22%3A%5B%5D%2C%22beTouch%22%3A%5B%5D%2C%22beWheel%22%3A%5B%5D%2C%22windowState%22%3A%5B%7B%22ts%22%3A1701069186257%2C%22v%22%3A1%7D%2C%7B%22ts%22%3A1701069186257%2C%22v%22%3A1%7D%2C%7B%22ts%22%3A1701069186388%2C%22v%22%3A2%7D%2C%7B%22ts%22%3A1701069186388%2C%22v%22%3A2%7D%2C%7B%22ts%22%3A1701069186402%2C%22v%22%3A1%7D%2C%7B%22ts%22%3A1701069186402%2C%22v%22%3A1%7D%2C%7B%22ts%22%3A1701069200309%2C%22v%22%3A2%7D%2C%7B%22ts%22%3A1701069200309%2C%22v%22%3A2%7D%2C%7B%22ts%22%3A1701069201865%2C%22v%22%3A1%7D%2C%7B%22ts%22%3A1701069201865%2C%22v%22%3A1%7D%5D%2C%22isTrusted%22%3A1%7D%2C%22wID%22%3A%7B%22sdkVersion%22%3A%224.4.6%22%2C%22scmVersion%22%3A%221.0.0.96%22%2C%22msgType%22%3A2%2C%22timestamp%22%3A%221701069221819%22%2C%22aid%22%3A368462%2C%22aidList%22%3A%5B1988%2C368462%5D%2C%22privacyMode%22%3A516%7D%2C%22custom%22%3A%7B%7D%2C%22window%22%3A%7B%22location%22%3A%22https%3A%2F%2Fwww.tiktok.com%2F%40funnykittensttk%2Fvideo%2F7293517029737352454%3Fis_from_webapp%3D1%26web_id%3D7260049563725497899%22%7D%2C%22msgMeta%22%3A%7B%22msgType%22%3A2%2C%22msgSrcProp%22%3A2%2C%22msgProtocol%22%3A1%2C%22aid%22%3A368462%2C%22aidList%22%3A%5B1988%2C368462%5D%7D%7D' \ -X GET \ -H "Authorization: Bearer $OPENANY_API_KEY" \ -H 'Content-Type: application/json'Check the response
Response template · not a real response · Configured HTTP 200; actual status is unverified.
Response template · not a real response{ "cache_message": "This response is cached and accessible via the URL below for 24 hours at no extra cost. The cache is for request tracing only — it doesn't affect the API's data freshness and won't be returned through the API again.", "cache_message_zh": "本次响应已缓存,可通过下方 URL 直接查看,有效期 24 小时,访问缓存链接无额外费用。缓存仅用于请求溯源,不影响接口数据的时效性,也不会再次通过接口返回。", "cache_url": "<cache_url>", "code": 200, "data": null, "docs": "<docs>", "message": "Request successful. This request will incur a charge.", "message_zh": "请求成功,本次请求将被计费。", "params": {}, "request_id": "<request_id>", "router": "", "support": "Discord: https://discord.gg/aMEAS8Xsvz", "time": "<time>", "time_stamp": 0, "time_zone": "America/Los_Angeles" }