InsightSocial API
YouTube

Video › Subtitles

GET
/v1/youtube/video/subtitles

Returns the caption track files for a video, each with a language code and name, file format, and a direct download URL, including auto-generated tracks.

Use it when you want subtitle files to download; video/transcript gives you the words themselves, already split into timed segments.

20 credits per call.

Re-running the exact same call within 6h is free.

x-api-key<token>

Your key from the dashboard. It starts with isk_.

In: header

Query Parameters

url*string

Full URL of the YouTube video.

format?string

Subtitle file format filter (e.g. srt, vtt, ttml, json3, srv1).

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/youtube/video/subtitles?url=string"
{  "success": true,  "platform": "instagram",  "endpoint": "/v1/instagram/profile/posts",  "data": {    "items": [      "…"    ],    "dropped": 0  },  "pagination": {    "next_cursor": "is2.eyJwIjoyfQ",    "has_more": true,    "page_size": 12  },  "credits_used": 20,  "credits_remaining": 9980,  "request_id": "req_1a2b3c4d5e6f",  "cached": false,  "idempotent_replay": false,  "charge_reason": "miss",  "free_call": false}