DansUGCUGC clipsAdvertising

License clips & get download links

dansugc.ugc.clips.purchase

Purchase B-Roll Videos

Preço
$11/resultPelo preço de tabela
Taxa de sucesso
—Ainda não há dados da taxa de sucessoAinda não há dados da taxa de sucesso
Latência p50
——
Última verificação
4 de nov. de 2026Verificado e funcionando
POSThttps://toolswitch.dev/v1/tools/dansugc.ugc.clips.purchaseBeta
  • Usa a cota da plataforma
  • Resposta síncrona
  • Lê dados públicos

Parâmetros

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.

ParâmetroTipoObrigatórioDescriçãoExemplo
Corpo (JSON)
video_idsmatrizObrigatório1–50 clip UUIDs["1166a85d-b967-4fb0-8ed8-6d2f2d22f23b"]
customer_emailstringOpcionalyour end customer, for your own billing reconciliation
expected_total_centsinteiroOpcionalthe 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
  • Corpo (JSON)
  • video_idsmatrizObrigatório

    1–50 clip UUIDs

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

  • customer_emailstringOpcional

    your end customer, for your own billing reconciliation

  • expected_total_centsinteiroOpcional

    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

    Exemplo: 1100

Exemplos de código

Substitua $TOOLSWITCH_KEY pela chave criada no console.

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

Esta API de gateway está em Beta; a URL e a autenticação podem mudar. Os parâmetros do exemplo são dados de amostra. As chamadas são cobradas a $11/result, incluindo a taxa de serviço.