API
GET /playlists/:id/transcripts
Fetch transcripts for every video in a YouTube playlist. Pro plan required.
Resolves a playlist's videos and returns transcripts for each, in playlist order.
GET https://api.repackage.app/playlists/:id/transcriptsRequires the Pro plan. Free orgs receive 403 feature_not_in_plan.
Path parameters
| Name | Description |
|---|---|
id | YouTube playlist ID (the list= query value) or full playlist URL (URL-encoded). |
Query parameters
| Name | Type | Default | Description |
|---|---|---|---|
limit | number | 50 | Max videos to fetch from the playlist. Capped at 100 for Pro. |
Example
curl "https://api.repackage.app/playlists/PLrAXtmErZgOeiKm4sgNOknGvNjby9efdf/transcripts?limit=10" \
-H "Authorization: Bearer rpk_your_key_here"Response
200 OK
{
"playlist": {
"id": "PLrAXtmErZgOeiKm4sgNOknGvNjby9efdf",
"title": "Beginner Calculus",
"channelName": "MIT OpenCourseWare",
"videoCount": 38
},
"results": [
{
"videoId": "WUvTyaaNkzM",
"ok": true,
"metadata": { "...": "..." },
"transcript": { "en": [] },
"cached": false
}
],
"summary": {
"total": 10,
"succeeded": 10,
"failed": 0,
"cached": 3,
"fetched": 7
}
}Quota
One quota count per successful, non-cached transcript. The playlist's total videoCount does not count — only the videos actually fetched.
Errors
404 playlist_not_found— Playlist ID is invalid or playlist is private.402 plan_limit_exceeded— Quota would be exceeded by this batch.403 feature_not_in_plan— Free plan.