Post Transcript
A video's or clip's captions as text, with timings.
GET
apiKeyheader
AuthorizationBearer <token>An API key from the dashboard: Authorization: Bearer sapi_….
url?stringA video's or a clip's link.
id?stringA video's UUID or a clip's id, instead of url.
language?stringThe captions' language (en, es, tr); default: the broadcast's own, else
English, else the first Kick has.
offset?integerFor a video: where the ten minutes read begin, in seconds from its start (default 0). A clip is read whole.
Format
int32Range
0 <= valuemaxAge?integerHow old a cached answer may be, in seconds; 0 always fetches. Default and most: the endpoint's cache lifetime.
Format
int64Range
0 <= valueThe answer.
application/json- response
One item, as every single-item endpoint answers: { "data": … }.
data*A video's or a clip's captions as text: Kick's own, in the languages it lists.
import { SocialAPI } from "@socialapihq/sdk";const client = new SocialAPI({ apiKey: process.env.SOCIALAPI_API_KEY });const { data } = await client.kick.postTranscript({ url: "https://kick.com/xqc/clips/clip_01M8D3TY706JDNJFQ3KX49XEKQ" });Example Response
{ "data": { "postId": "clip_01M8D3TY706JDNJFQ3KX49XEKQ", "language": "en", "languages": [ "en", "fr", "de" ], "startSeconds": 0, "endSeconds": 12, "text": "Yeah, I have a few no not you anyone else okay good Andrea make sure everyone has what they need get changed, get set meet back here a go time got your outfits upstairs home mean the outfits outfits\nwhat man you on the outfit you fucking bitch you no role play man fucking dump with this game I'm returning to the store many jobs like this one", "cues": [ { "startSeconds": 0, "endSeconds": 6.89600000000064, "text": "Yeah, I have a few no not you anyone else okay good Andrea make sure everyone has what they need get changed, get set meet back here a go time got your outfits upstairs home mean the outfits outfits" }, { "startSeconds": 6.89600000000064, "endSeconds": 12.700000000000728, "text": "what man you on the outfit you fucking bitch you no role play man fucking dump with this game I'm returning to the store many jobs like this one" } ] }}