Douyin Generate Short URL
2.07 credits/call
ae_douyin_generate_short_url
Generate a short link for a Douyin URL. Input: `url` is required and must be a string containing the Douyin link to shorten. Returns: A JSON response containing status information and short-link result data in `data`. The detailed structure of `data` is not specified and it may be null, so the result is not guaranteed to be a plain URL string.
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 |
|---|---|---|---|---|
url | string | Yes | 抖音链接/Douyin link | — |
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_generate_short_url' \
--header "X-Api-Key: $AGENTEARTH_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"params": {
"url": "xxx"
}
}'No response example available yet.

