DansUGCUGC clipsAdvertising

License clips & get download links

dansugc.ugc.clips.purchase

Purchase B-Roll Videos

Price
$11/resultZum Listenpreis
Success rate
—Noch keine ErfolgsratendatenNoch keine Erfolgsratendaten
Latency p50
——
Last verified
04.11.2026Verified working
POSThttps://toolswitch.dev/v1/tools/dansugc.ugc.clips.purchaseBeta
  • Uses platform quota
  • Synchronous response
  • Reads public data

Parameter

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.

ParameterTypErforderlichBeschreibungBeispiel
Anfragetext (JSON)
video_idsArrayErforderlich1–50 clip UUIDs["1166a85d-b967-4fb0-8ed8-6d2f2d22f23b"]
customer_emailZeichenketteOptionalyour end customer, for your own billing reconciliation
expected_total_centsGanzzahlOptionalthe 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
  • Anfragetext (JSON)
  • video_idsArrayErforderlich

    1–50 clip UUIDs

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

  • customer_emailZeichenketteOptional

    your end customer, for your own billing reconciliation

  • expected_total_centsGanzzahlOptional

    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

    Beispiel: 1100

Codebeispiele

Ersetze $TOOLSWITCH_KEY durch den in der Konsole erstellten Schlüssel.

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}'

Diese Gateway-API ist in der Beta; URL und Authentifizierung können sich ändern. Die Beispielparameter sind Musterdaten. Aufrufe werden mit $11/result einschließlich Servicegebühr abgerechnet.