DansUGCUGC clipsAdvertising

License clips & get download links

dansugc.ugc.clips.purchase

Purchase B-Roll Videos

価格
$11/resultカタログ価格で提供
成功率
—成功率データはまだありません成功率データはまだありません
レイテンシ p50
——
最終確認
2026/11/04動作確認済み
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}'

このゲートウェイ API は Beta です。URL や認証方式は変更される場合があります。 パラメータはサンプルデータです。 呼び出し料金は $11/result です。サービス料を含みます。