Skip to content

WOLF Clipping API

Start a run from a video link, then read its clips and download them, from your own code. Make a key under Settings, then API keys. Only a team owner or admin can make one.

Keys

A key is shown once, when you make it. WOLF keeps only a fingerprint of it, so a lost key cannot be shown again: stop it and make a new one. Send it in the Authorization header as Authorization: Bearer YOUR_KEY. A key in the address is refused. A key works only in the team it was made in, acts as the person who made it, and stops when that person leaves the team or is turned off.

  • read: Read runs, clips and download links
  • draft: Make a draft that a person must approve
  • render: Start a run from a video link

Calls

The base address is https://www.wolfclipping.com/api/v1. Every answer is JSON.

POST /runs (render)

Starts a run from a video link. Send { "source_url": "https://...", "i_own_this_video": true }. The ownership statement is required, the same as on the add a video screen. You may also send format (vertical, horizontal or both, vertical when left out) and account (one of your own account names, your own brand when left out). The run uses your plan minutes and your team limits. The answer is { "id": "...", "status": "queued" }.

GET /runs/ID (read)

The run: its status, title and when it was made.

GET /runs/ID/clips (read)

The clips a run made.

GET /clips (read)

Your finished clips, newest first.

GET /clips/ID/download (read)

A link to download one clip. The link works for 15 minutes.

Limits

A key may make 60 calls a minute and start 5 runs a minute. Past that the answer is 429 with a Retry-After header that says how many seconds to wait.

Errors

An error is { "error": { "code": "...", "message": "..." } }. The code never changes, so you can write code against it.

  • missing_key: No key was sent.
  • invalid_key: The key is wrong, stopped, or its owner has left the team.
  • key_in_url: The key was in the address. Send it in the Authorization header.
  • missing_scope: The key does not have the permission this call needs.
  • rate_limited: Too many calls this minute. Wait the Retry-After seconds.
  • invalid_request: Something in the request is missing or not valid.
  • ownership_required: Send i_own_this_video as true to say the video is yours or you have the right to clip it.
  • not_found: That run or clip is not in your team.
  • limit_reached: Your team is already making as many videos as it may at once.
  • out_of_minutes: Your plan has no minutes left this month.
  • not_ready: The clip is not finished yet. Try again shortly.
  • server_error: Something went wrong on our side. Try again in a moment.

Questions

Write to business@wolf.financial.