Douyin Index User ID Encryption
https://api.sandbase.ai/v1/api/douyin/index/encrypt-user-idConverts a standard numeric Douyin uid into the encrypted user_id required by Douyin Index endpoints for debugging or custom queries.
- 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
Your output will appear here
Complete the inputs, then click Run.
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
- uid
- string · required
Access
- Provider
- Douyin
- API
- Platform API
- Base URL
- https://api.sandbase.ai
- Endpoint
- /v1/api/douyin/index/encrypt-user-id
- Authentication
- Bearer API key
API README
Douyin Index User ID Encryption API
Convert a numeric Douyin user identifier into an internal encrypted format by passing uid. This provides direct access to the encrypted identifier required by Douyin Index queries.
Use cases
- Look up encrypted user identifiers for debugging Douyin Index integration issues.
- Convert numeric user IDs for manual queries against Douyin Index endpoints.
- Resolve internal user ID formats without calling full daren analytics endpoints.
Request
curl -X POST "https://api.sandbase.ai/v1/api/douyin/index/encrypt-user-id" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uid": "92769419069"}'
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
uid | string | Yes | Douyin uid, numeric string |
Notes
- The required
uidparameter expects a numeric string representation of the Douyin account ID.
Related APIs
- Douyin Index Area List: Returns the complete list of supported geographic areas available for Douyin Index queries.
- Douyin Index Valid Dates: Returns the latest valid dates available for each data type in Douyin Index.
- Douyin Brand Popularity Cycles: Returns periodic brand popularity and cycle analysis data across platforms for a specified brand name and date range.
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/douyin/index/encrypt-user-id" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
--data-binary @- <<'SANDBASE_JSON'
{
"uid": "92769419069"
}
SANDBASE_JSON
)
printf '%s\n' "$result"Explore more
Related APIs
| API | Price | Response | Released |
|---|---|---|---|
Douyin Index User ID EncryptionThis API Douyin | $0.0015 per call | JSON | Jul 31, 2026 |
Douyin | $0.0015 per call | JSON | Jul 31, 2026 |
Douyin | $0.0015 per call | JSON | Jul 31, 2026 |
Douyin | $0.0015 per call | JSON | Jul 31, 2026 |
Douyin | $0.0015 per call | JSON | Jul 31, 2026 |
Douyin | $0.0015 per call | JSON | Jul 31, 2026 |
Questions
FAQ
How do I use the Douyin Index User ID Encryption API?
Send a POST request to https://api.sandbase.ai/v1/api/douyin/index/encrypt-user-id 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 Douyin Index User ID 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 Douyin Index User ID Encryption API accept?
Required: uid (string). The Parameters table and the Playground on this page list every field.
What does the Douyin Index User ID Encryption API return?
A JSON response returned in the same HTTP request (synchronous).
Do I need a Douyin developer account or API key?
No. Douyin Index User ID 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 Douyin API access separately.
