WellbyteWellbyte

GET /v1/douyin/web/handler_shorten_url

生成短链接

stable · 2 credits per success

生成短链接

Sign up for 500 credits and run with your own API key. Sign up free

Request

curl -s 'https://api.wellbyte.net/v1/douyin/web/handler_shorten_url?target_url=https%3A%2F%2Fwww.douyin.com%2Fvideo%2F7575136499386720761' \
  -H "Authorization: Bearer dg_live_…"

Response

Sample captured 2026-08-27

data{
code:0
data{
now:1787676860
code:0
data:"https://v.douyin.com/t9tvobmbeFY/"
message:"success"
}
meta{
endpoint:"douyin.web.handler_shorten_url"
cache_hit:false
elapsed_ms:0
request_id:"req_sample"
credits_charged:0
}
message:"ok"
}

No calls yet. Get one green run first, then switch to your own data.

    Request parameters

    NameTypeInRequiredDescriptionExample
    target_urlstringqueryyes待转换的短链接https://www.douyin.com/video/7575136499386720761

    Response fields

    Field dictionary coming soon — the executable panel shows the live shape.

    Errors

    codeHTTPMeaningBilled
    40001400Invalid parametersno
    40102401Invalid or revoked API Keyno
    40201402Insufficient creditsno
    40402404Resource not foundno
    42201422Quality gate failedno
    42901429Rate limit exceededno
    50401504Upstream timeoutno
    50201502Upstream errorno

    Billing

    Success costs 2 credits. Any failure — including a 200 from upstream that fails the quality gate — costs 0.

    Search

    Search endpoints and docs