Skip to main content
First month 50% off for new accounts, in their first 48 hoursStart free

Video clipping API v1

The Pogclip HTTP API provides the same clipping, script editing, layering and MP4 export operations as the MCP server. Authenticate every request with a Pogclip API key.

Base URLhttps://pogclip.com/api/v1
FormatJSON (frames returns a JPEG)
Sign-inAuthorization: Bearer pog_your_key, or x-api-key: pog_your_key
Limit60 requests a minute for each key; X-RateLimit-Remaining says how many are left

Get an API key

Create an API key in Account → API keys. Keys do not expire, and you can revoke any key at any time. One account can hold up to 10 keys, and you should keep keys out of client-side code.

Endpoints

Each endpoint has its own page with parameters, curl examples, responses and errors.

Clip a long video

EndpointWhat it does
POST /projectsStart clipping a video longer than 3 minutes, or check its credit price first.
GET /projects/{projectId}Check a clip project's status, progress and clips once processing is done.
GET /projectsList the 50 most recent clip projects on your account, newest first.
GET /projects/{projectId}/clipsList the clips from a project, ordered from highest score to lowest.

Edit a video

EndpointWhat it does
POST /videosOpen a public video of up to 10 minutes to edit it by its script.
GET /videos/{clipId}/scriptRead a video's numbered transcript lines, timing, layers and current version.
POST /videos/{clipId}/transcribeTranscribe an opened video word by word: free for 10 videos a day, then at a price you confirm.
POST /videos/{clipId}/cutCut lines, words, filler words or long pauses, or keep selected lines.
POST /videos/{clipId}/captionsChange caption style, size, position or colors, fix misheard words or add a headline.
GET /mediaSearch free stock photos, stock footage and background music tracks.
POST /videos/{clipId}/layersAdd or remove stock media, background music or animated HTML graphics.
GET /videos/{clipId}/framesRender up to four preview frames from a video as one JPEG image.
POST /videos/{clipId}/restorePut an earlier version of a video back as a new version.

Export and account

EndpointWhat it does
POST /exportsRender up to 20 clips or edited videos as MP4 files in chosen sizes.
GET /exports/{exportId}Check an export's status and get its MP4 download links.
GET /creditsCheck your current plan, available credits, reserved credits and watermark status.

Waiting for a result

Clipping, transcribing and exporting take time, and Pogclip does not push updates. Poll again until the job finishes, following the next field in each response.

  • Clipping: check GET /projects/{projectId} about once a minute.
  • Fetching or transcribing a video: check GET /videos/{clipId}/script about every 30 seconds.
  • Exports: check GET /exports/{exportId} about every 30 seconds.
  • checking_link (HTTP 202): send the same request again in about 10 seconds.

Errors

Errors come back with an HTTP status and this body:

{
  "error": {
    "code": "video_too_short",
    "message": "This video is 3 minutes or shorter. …",
    "durationSeconds": 95
  }
}
StatusCode
400invalid_request, rights_not_confirmed
401unauthorized
402not_enough_credits
403plan_required
404not_found
409video_changed, export_in_progress
422link_unavailable, video_too_short, video_too_long
429too_many_processing, rate_limited
500internal_error

What to do about each one is in Troubleshooting.