Douyin Shorten URL
2.07 credits/call
ae_douyin_shorten_url
Generate a shareable short link from a Douyin URL. Provide the URL to shorten as the required target_url string, for example a Douyin video page URL. In observed successful responses, data.data contains a short URL beginning with https://v.douyin.com/. The response schema does not guarantee this nested structure; support for other link types is unconfirmed.
2.07 credits/call
Pricing
2.07 credits/call
| Condition | Charge |
|---|---|
| Each call | 2.07 credits/call |
2.07 credits/call Charges are per query. A successful query is billed even if it returns no results.
Parameters
Optional parameters use the platform defaults when omitted.
| Parameter | Type | Required | Description | Default |
|---|---|---|---|---|
target_url | string | Yes | 待转换的短链接/Target URL to be converted | — |
Invocation example
Parameter templateGenerated from the parameter configuration. Replace the sample values before use.
POST
/agent-api/v1/tool/executeX-Api-KeyRequest coderequest.sh
curl --request POST \
--url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_douyin_shorten_url' \
--header "X-Api-Key: $AGENTEARTH_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"params": {
"target_url": "xxx"
}
}'No response example available yet.

