DansUGCUGC clipsAdvertising

License clips & get download links

dansugc.ugc.clips.purchase

Purchase B-Roll Videos

价格
$11/result按目录价
成功率
—暂无成功率数据暂无成功率数据
延迟 p50
——
最后验证
2026年11月4日实测可用
POSThttps://toolswitch.dev/v1/tools/dansugc.ugc.clips.purchaseBeta
  • 可用平台额度调用
  • 同步返回
  • 读取公开数据

参数

Two-step confirm: call once without expected_total_cents to get the exact total (409, nothing charged), then again with it to buy. Clips the account already owns come back under already_purchased and are not charged again. download_url links are signed for 1 hour; dansugc.ugc.purchases.list re-issues them. Each clip comes with a 12-month commercial license.

参数类型必填说明示例
请求体(JSON)
video_ids数组必填1–50 clip UUIDs["1166a85d-b967-4fb0-8ed8-6d2f2d22f23b"]
customer_email字符串可选your end customer, for your own billing reconciliation
expected_total_cents整数可选the confirmed total in hundredths of a credit. A call without it (or with a stale value) charges nothing and answers 409 with requiresConfirmation and expectedTotalCents (e.g. 1100 for one video); repeat the call with that value to buy1100
  • 请求体(JSON)
  • video_ids数组必填

    1–50 clip UUIDs

    示例:["1166a85d-b967-4fb0-8ed8-6d2f2d22f23b"]

  • customer_email字符串可选

    your end customer, for your own billing reconciliation

  • expected_total_cents整数可选

    the confirmed total in hundredths of a credit. A call without it (or with a stale value) charges nothing and answers 409 with requiresConfirmation and expectedTotalCents (e.g. 1100 for one video); repeat the call with that value to buy

    示例:1100

代码示例

将 $TOOLSWITCH_KEY 替换为你在控制台创建的密钥。

Beta
curl -X POST 'https://toolswitch.dev/v1/tools/dansugc.ugc.clips.purchase' \
  -H "X-Toolswitch-Key: $TOOLSWITCH_KEY" \
  -H "Content-Type: application/json" \
  --data-raw '{"video_ids":["1166a85d-b967-4fb0-8ed8-6d2f2d22f23b"],"expected_total_cents":0}'

网关接口为 Beta,地址与鉴权方式可能变更。 示例参数仅为样例数据。 调用按 $11/result 计费,已含服务费。