Get post video transcript
curl --request GET \
--url https://api.konbiniapi.com/v1/linkedin/posts/{postId}/transcript \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.konbiniapi.com/v1/linkedin/posts/{postId}/transcript"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.konbiniapi.com/v1/linkedin/posts/{postId}/transcript', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.konbiniapi.com/v1/linkedin/posts/{postId}/transcript",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.konbiniapi.com/v1/linkedin/posts/{postId}/transcript"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.konbiniapi.com/v1/linkedin/posts/{postId}/transcript")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.konbiniapi.com/v1/linkedin/posts/{postId}/transcript")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": {
"@context": [
"https://www.w3.org/ns/activitystreams#",
"https://konbiniapi.com/ns/social#"
],
"type": "Document",
"id": "https://www.linkedin.com/posts/google_how-to-use-study-notebooks-in-the-gemini-activity-7483258151840993280-KA0r/transcript",
"url": "https://www.linkedin.com/posts/google_how-to-use-study-notebooks-in-the-gemini-activity-7483258151840993280-KA0r",
"mediaType": "text/vtt",
"content": "WEBVTT\n\n00:00.000 --> 00:03.000\nOpen the Gemini app and select \"New notebook.\"\n\n00:03.000 --> 00:06.500\nTell Gemini what you're studying for and upload your class notes or readings.\n\n00:06.500 --> 00:10.000\nGemini will give you a quick diagnostic quiz to find your exact knowledge gaps.\n\n00:10.000 --> 00:14.000\nThen it creates short, bite-sized lessons to help you learn what you don't know.\n\n00:14.000 --> 00:18.500\nAnd it builds an interactive learning dashboard tracking your progress\n\n00:18.500 --> 00:21.500\nacross more than a hundred specific study goals\n\n00:21.500 --> 00:24.500\nand labeling them as strengths or focus areas,\n\n00:24.500 --> 00:27.500\nso you never have to guess what to study next.\n\n00:27.500 --> 00:30.500\nPlus it connects directly with NotebookLM, meaning you can\n\n00:30.500 --> 00:33.500\ninstantly generate interactive flashcards,\naudio overviews, and more from your files.\n\n00:33.500 --> 00:36.500\nCool, right? Try it out yourself at gemini.google.\n",
"size": 977
}
}{
"errors": [
{
"code": "validation_error",
"message": "Validation error"
}
],
"data": null
}{
"errors": [
{
"message": "Invalid API key"
}
],
"data": null
}{
"errors": [
{
"code": "credits_exhausted",
"message": "Credits exhausted. Upgrade your plan at konbiniapi.com"
}
],
"data": null
}{
"errors": [
{
"message": "API key is disabled"
}
],
"data": null
}{
"errors": [
{
"message": "Not found"
}
],
"data": null
}{
"errors": [
{
"code": "validation_error",
"message": "Request body too large"
}
],
"data": null
}{
"errors": [
{
"code": "internal_error",
"message": "Internal error"
}
],
"data": null
}{
"errors": [
{
"code": "platform_error",
"message": "Platform error"
}
],
"data": null
}{
"errors": [
{
"code": "service_unavailable",
"message": "Service unavailable"
}
],
"data": null
}{
"errors": [
{
"code": "platform_error",
"message": "Platform error"
}
],
"data": null
}Posts
Get post video transcript
Returns the caption/transcript for a video post, when the post carries captions. Returns 404 if the post has no video or no captions.
GET
/
v1
/
linkedin
/
posts
/
{postId}
/
transcript
Get post video transcript
curl --request GET \
--url https://api.konbiniapi.com/v1/linkedin/posts/{postId}/transcript \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.konbiniapi.com/v1/linkedin/posts/{postId}/transcript"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.konbiniapi.com/v1/linkedin/posts/{postId}/transcript', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.konbiniapi.com/v1/linkedin/posts/{postId}/transcript",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.konbiniapi.com/v1/linkedin/posts/{postId}/transcript"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.konbiniapi.com/v1/linkedin/posts/{postId}/transcript")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.konbiniapi.com/v1/linkedin/posts/{postId}/transcript")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": {
"@context": [
"https://www.w3.org/ns/activitystreams#",
"https://konbiniapi.com/ns/social#"
],
"type": "Document",
"id": "https://www.linkedin.com/posts/google_how-to-use-study-notebooks-in-the-gemini-activity-7483258151840993280-KA0r/transcript",
"url": "https://www.linkedin.com/posts/google_how-to-use-study-notebooks-in-the-gemini-activity-7483258151840993280-KA0r",
"mediaType": "text/vtt",
"content": "WEBVTT\n\n00:00.000 --> 00:03.000\nOpen the Gemini app and select \"New notebook.\"\n\n00:03.000 --> 00:06.500\nTell Gemini what you're studying for and upload your class notes or readings.\n\n00:06.500 --> 00:10.000\nGemini will give you a quick diagnostic quiz to find your exact knowledge gaps.\n\n00:10.000 --> 00:14.000\nThen it creates short, bite-sized lessons to help you learn what you don't know.\n\n00:14.000 --> 00:18.500\nAnd it builds an interactive learning dashboard tracking your progress\n\n00:18.500 --> 00:21.500\nacross more than a hundred specific study goals\n\n00:21.500 --> 00:24.500\nand labeling them as strengths or focus areas,\n\n00:24.500 --> 00:27.500\nso you never have to guess what to study next.\n\n00:27.500 --> 00:30.500\nPlus it connects directly with NotebookLM, meaning you can\n\n00:30.500 --> 00:33.500\ninstantly generate interactive flashcards,\naudio overviews, and more from your files.\n\n00:33.500 --> 00:36.500\nCool, right? Try it out yourself at gemini.google.\n",
"size": 977
}
}{
"errors": [
{
"code": "validation_error",
"message": "Validation error"
}
],
"data": null
}{
"errors": [
{
"message": "Invalid API key"
}
],
"data": null
}{
"errors": [
{
"code": "credits_exhausted",
"message": "Credits exhausted. Upgrade your plan at konbiniapi.com"
}
],
"data": null
}{
"errors": [
{
"message": "API key is disabled"
}
],
"data": null
}{
"errors": [
{
"message": "Not found"
}
],
"data": null
}{
"errors": [
{
"code": "validation_error",
"message": "Request body too large"
}
],
"data": null
}{
"errors": [
{
"code": "internal_error",
"message": "Internal error"
}
],
"data": null
}{
"errors": [
{
"code": "platform_error",
"message": "Platform error"
}
],
"data": null
}{
"errors": [
{
"code": "service_unavailable",
"message": "Service unavailable"
}
],
"data": null
}{
"errors": [
{
"code": "platform_error",
"message": "Platform error"
}
],
"data": null
}Authorizations
Send your API key in the Authorization header as a Bearer token.
Example: Authorization: Bearer <your-api-key>
Path Parameters
LinkedIn post activity ID: the full slug (from linkedin.com/posts/{id}), a bare urn:li:activity:{id} (from linkedin.com/feed/update/{urn}/), or a bare numeric activity ID (e.g. 7476310414297968640)
Example:
"google_how-to-use-study-notebooks-in-the-gemini-activity-7483258151840993280-KA0r"
Response
Returns the transcript in Document format or raw caption content (WebVTT or SRT, matching the source)
Show child attributes
Show child attributes
⌘I