---
title: "Video Clipping API — Turn Links into Vertical Clips | Pogclip"
description: "Send a YouTube, Twitch or Kick link and get scored vertical clips with captions, then export MP4s in 9:16, 4:5, 1:1 or 16:9. Endpoints, curl examples, errors and limits."
url: https://pogclip.com/api
---

# 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 URL | `https://pogclip.com/api/v1`                                                      |
| Format   | JSON (`frames` returns a JPEG)                                                    |
| Sign-in  | `Authorization: Bearer pog_your_key`, or `x-api-key: pog_your_key`                |
| Limit    | 60 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](https://pogclip.com/settings/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

| Endpoint                                                                 | What it does                                                                   |
| ------------------------------------------------------------------------ | ------------------------------------------------------------------------------ |
| [`POST /projects`](https://pogclip.com/docs/clip-video)                  | Start clipping a video longer than 3 minutes, or check its credit price first. |
| [`GET /projects/{projectId}`](https://pogclip.com/docs/get-project)      | Check a clip project's status, progress and clips once processing is done.     |
| [`GET /projects`](https://pogclip.com/docs/list-projects)                | List the 50 most recent clip projects on your account, newest first.           |
| [`GET /projects/{projectId}/clips`](https://pogclip.com/docs/list-clips) | List the clips from a project, ordered from highest score to lowest.           |

### Edit a video

| Endpoint                                                                        | What it does                                                                                    |
| ------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- |
| [`POST /videos`](https://pogclip.com/docs/open-video)                           | Open a public video of up to 10 minutes to edit it by its script.                               |
| [`GET /videos/{clipId}/script`](https://pogclip.com/docs/get-script)            | Read a video's numbered transcript lines, timing, layers and current version.                   |
| [`POST /videos/{clipId}/transcribe`](https://pogclip.com/docs/transcribe-video) | Transcribe an opened video word by word: free for 10 videos a day, then at a price you confirm. |
| [`POST /videos/{clipId}/cut`](https://pogclip.com/docs/cut-video)               | Cut lines, words, filler words or long pauses, or keep selected lines.                          |
| [`POST /videos/{clipId}/captions`](https://pogclip.com/docs/edit-captions)      | Change caption style, size, position or colors, fix misheard words or add a headline.           |
| [`GET /media`](https://pogclip.com/docs/find-media)                             | Search free stock photos, stock footage and background music tracks.                            |
| [`POST /videos/{clipId}/layers`](https://pogclip.com/docs/edit-layers)          | Add or remove stock media, background music or animated HTML graphics.                          |
| [`GET /videos/{clipId}/frames`](https://pogclip.com/docs/show-frames)           | Render up to four preview frames from a video as one JPEG image.                                |
| [`POST /videos/{clipId}/restore`](https://pogclip.com/docs/restore-video)       | Put an earlier version of a video back as a new version.                                        |

### Export and account

| Endpoint                                                         | What it does                                                                       |
| ---------------------------------------------------------------- | ---------------------------------------------------------------------------------- |
| [`POST /exports`](https://pogclip.com/docs/export-clips)         | Render up to 20 clips or edited videos as MP4 files in chosen sizes.               |
| [`GET /exports/{exportId}`](https://pogclip.com/docs/get-export) | Check an export's status and get its MP4 download links.                           |
| [`GET /credits`](https://pogclip.com/docs/get-credits)           | Check 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:

```json
{
  "error": {
    "code": "video_too_short",
    "message": "This video is 3 minutes or shorter. …",
    "durationSeconds": 95
  }
}
```

| Status | Code                                                    |
| ------ | ------------------------------------------------------- |
| 400    | `invalid_request`, `rights_not_confirmed`               |
| 401    | `unauthorized`                                          |
| 402    | `not_enough_credits`                                    |
| 403    | `plan_required`                                         |
| 404    | `not_found`                                             |
| 409    | `video_changed`, `export_in_progress`                   |
| 422    | `link_unavailable`, `video_too_short`, `video_too_long` |
| 429    | `too_many_processing`, `rate_limited`                   |
| 500    | `internal_error`                                        |

What to do about each one is in [Troubleshooting](https://pogclip.com/docs/troubleshooting).
