Douyin Short Link Generator
https://api.sandbase.ai/v1/api/douyin/app-v3/generate-short-urlConverts a standard Douyin web link into a shortened Douyin URL. Returns the shortened link string and operation status for the provided URL.
- 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": {
"code": 0,
"data": [
{
"short_url": "https://example",
"status": "success",
"target": "https://example"
}
],
"message": "success",
"now": 1787219156
}
}
]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
- url
- string · required
Access
- Provider
- Douyin
- API
- Platform API
- Base URL
- https://api.sandbase.ai
- Endpoint
- /v1/api/douyin/app-v3/generate-short-url
- Authentication
- Bearer API key
API README
Douyin Short Link Generator API
Convert full Douyin links into compact short URLs by supplying the target link via url.
Use cases
- Shorten full Douyin video URLs for compact sharing.
- Convert standard Douyin web links into mobile-friendly URLs.
- Process Douyin links to embed shorter paths in external platforms.
Request
curl -X POST "https://api.sandbase.ai/v1/api/douyin/app-v3/generate-short-url" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"url": "https://www.douyin.com/video/7691553968815623478"}'
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
url | string | Yes | Douyin link |
Example response
Real response for the request above, trimmed to the main fields. User names and long IDs are masked.
{
"data": [
{
"short_url": "https://v.douyin.com/jAO8y1A55-Y/",
"status": "success"
}
]
}
Notes
- Requires a valid Douyin link passed in
url.
Related APIs
- Douyin Brand Hot Search List: Returns the current Douyin brand hot search list and category data.
- Douyin Brand Hot Search List Detail: Returns detailed brand hot search list data from Douyin for a specific category.
- Douyin Video Share QR Code: Returns a Douyin share QR code for a designated target.
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/app-v3/generate-short-url" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
--data-binary @- <<'SANDBASE_JSON'
{
"url": "example"
}
SANDBASE_JSON
)
printf '%s\n' "$result"Explore more
Related APIs
| API | Price | Response | Released |
|---|---|---|---|
Douyin Short Link GeneratorThis 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 Short Link Generator API?
Send a POST request to https://api.sandbase.ai/v1/api/douyin/app-v3/generate-short-url 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 Short Link Generator 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 Short Link Generator API accept?
Required: url (string). The Parameters table and the Playground on this page list every field.
What does the Douyin Short Link Generator API return?
A JSON response returned in the same HTTP request (synchronous). The README on this page includes a sample response.
Do I need a Douyin developer account or API key?
No. Douyin Short Link Generator 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.
