> ## Documentation Index
> Fetch the complete documentation index at: https://docs.konbiniapi.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 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.



## OpenAPI

````yaml /openapi.json get /v1/linkedin/posts/{postId}/transcript
openapi: 3.1.0
info:
  title: KonbiniAPI
  version: 1.0.0
  description: >-
    Social media API that normalizes Instagram, TikTok, X, Reddit, and LinkedIn
    data into a consistent ActivityStreams 2.0 format.


    Every authenticated response includes `X-Credits-Remaining` and
    `X-Credits-Used` headers. Each successful request costs 1 credit. Requests
    that fail with 400, 5xx, or upstream errors are refunded (X-Credits-Used:
    0).
  contact:
    name: KonbiniAPI
    email: hello@konbiniapi.com
    url: https://konbiniapi.com
servers:
  - url: https://api.konbiniapi.com
    description: Production
security:
  - apiKey: []
tags:
  - name: Instagram
    description: Instagram data endpoints
  - name: TikTok
    description: TikTok data endpoints
  - name: X
    description: X data endpoints
  - name: Reddit
    description: Reddit data endpoints
  - name: LinkedIn
    description: LinkedIn data endpoints
paths:
  /v1/linkedin/posts/{postId}/transcript:
    get:
      tags:
        - LinkedIn
      summary: Get post video transcript
      description: >-
        Returns the caption/transcript for a video post, when the post carries
        captions. Returns 404 if the post has no video or no captions.
      operationId: linkedinGetPostTranscript
      parameters:
        - schema:
            type: string
            description: >-
              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
          required: true
          description: >-
            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`)
          name: postId
          in: path
      responses:
        '200':
          description: >-
            Returns the transcript in Document format or raw caption content
            (WebVTT or SRT, matching the source)
          headers:
            X-Credits-Remaining:
              schema:
                type: integer
              description: Credits remaining after this request
            X-Credits-Used:
              schema:
                type: integer
              description: Credits consumed (1 if charged, 0 if refunded on error)
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      '@context':
                        type: array
                        prefixItems:
                          - type: string
                            enum:
                              - https://www.w3.org/ns/activitystreams#
                          - type: string
                            enum:
                              - https://konbiniapi.com/ns/social#
                        description: ActivityStreams JSON-LD context
                        example:
                          - https://www.w3.org/ns/activitystreams#
                          - https://konbiniapi.com/ns/social#
                      type:
                        type: string
                        description: ActivityStreams object type
                        example: Document
                      id:
                        type: string
                        format: uri
                        description: Transcript permalink
                        example: >-
                          https://www.linkedin.com/posts/google_how-to-use-study-notebooks-in-the-gemini-activity-7483258151840993280-KA0r/transcript
                      url:
                        type: string
                        format: uri
                        description: Post permalink
                        example: >-
                          https://www.linkedin.com/posts/google_how-to-use-study-notebooks-in-the-gemini-activity-7483258151840993280-KA0r
                      mediaType:
                        type: string
                        description: >-
                          MIME type as LinkedIn serves it for this caption track
                          — observed as both text/vtt (WebVTT) and
                          application/x-subrip (SRT)
                        example: text/vtt
                      size:
                        type: integer
                        description: File size in bytes
                        example: 977
                      content:
                        type: string
                        description: >-
                          Transcript/caption content, in whatever format
                          mediaType names
                        example: >
                          WEBVTT


                          00:00.000 --> 00:03.000

                          Open the Gemini app and select "New notebook."


                          00:03.000 --> 00:06.500

                          Tell Gemini what you're studying for and upload your
                          class notes or readings.


                          00:06.500 --> 00:10.000

                          Gemini will give you a quick diagnostic quiz to find
                          your exact knowledge gaps.


                          00:10.000 --> 00:14.000

                          Then it creates short, bite-sized lessons to help you
                          learn what you don't know.


                          00:14.000 --> 00:18.500

                          And it builds an interactive learning dashboard
                          tracking your progress


                          00:18.500 --> 00:21.500

                          across more than a hundred specific study goals


                          00:21.500 --> 00:24.500

                          and labeling them as strengths or focus areas,


                          00:24.500 --> 00:27.500

                          so you never have to guess what to study next.


                          00:27.500 --> 00:30.500

                          Plus it connects directly with NotebookLM, meaning you
                          can


                          00:30.500 --> 00:33.500

                          instantly generate interactive flashcards,

                          audio overviews, and more from your files.


                          00:33.500 --> 00:36.500

                          Cool, right? Try it out yourself at gemini.google.
                    required:
                      - '@context'
                      - type
                      - id
                      - url
                      - mediaType
                      - content
                required:
                  - data
            text/vtt:
              schema:
                type: string
                example: >-
                  WEBVTT


                  00:00.000 --> 00:03.000

                  Open the Gemini app and select "New notebook."


                  00:03.000 --> 00:06.500

                  Tell Gemini what you're studying for and upload your class
                  notes or readings.
            application/x-subrip:
              schema:
                type: string
                example: |-
                  1
                  00:00:00,060 --> 00:00:02,571
                  But now, because anybody can code, what happens is the

                  2
                  00:00:02,571 --> 00:00:05,173
                  software people play the role of the architect
        '400':
          description: Bad Request — Invalid parameters
          headers:
            X-Credits-Remaining:
              schema:
                type: integer
              description: Credits remaining after this request
            X-Credits-Used:
              schema:
                type: integer
              description: Credits consumed (1 if charged, 0 if refunded on error)
          content:
            application/json:
              schema:
                type: object
                properties:
                  errors:
                    type: array
                    items:
                      type: object
                      properties:
                        code:
                          type: string
                          enum:
                            - validation_error
                          description: Machine-readable error code
                        message:
                          type: string
                          example: Validation error
                          description: Human-readable error message
                      required:
                        - code
                        - message
                    description: List of errors
                  data:
                    type: 'null'
                    description: Always null for error responses
                required:
                  - errors
                  - data
        '401':
          description: Unauthorized — Missing or invalid API key
          content:
            application/json:
              schema:
                type: object
                properties:
                  errors:
                    type: array
                    items:
                      type: object
                      properties:
                        code:
                          type: string
                          enum:
                            - missing_api_key
                            - invalid_api_key
                          description: Machine-readable error code
                        message:
                          type: string
                          example: Invalid API key
                          description: Human-readable error message
                      required:
                        - code
                        - message
                    description: List of errors
                  data:
                    type: 'null'
                    description: Always null for error responses
                required:
                  - errors
                  - data
        '402':
          description: Payment Required — Credits exhausted
          content:
            application/json:
              schema:
                type: object
                properties:
                  errors:
                    type: array
                    items:
                      type: object
                      properties:
                        code:
                          type: string
                          enum:
                            - credits_exhausted
                          description: Machine-readable error code
                        message:
                          type: string
                          example: >-
                            Credits exhausted. Upgrade your plan at
                            konbiniapi.com
                          description: Human-readable error message
                      required:
                        - code
                        - message
                    description: List of errors
                  data:
                    type: 'null'
                    description: Always null for error responses
                required:
                  - errors
                  - data
        '403':
          description: Forbidden — API key disabled or expired
          content:
            application/json:
              schema:
                type: object
                properties:
                  errors:
                    type: array
                    items:
                      type: object
                      properties:
                        code:
                          type: string
                          enum:
                            - api_key_disabled
                            - api_key_expired
                          description: Machine-readable error code
                        message:
                          type: string
                          example: API key is disabled
                          description: Human-readable error message
                      required:
                        - code
                        - message
                    description: List of errors
                  data:
                    type: 'null'
                    description: Always null for error responses
                required:
                  - errors
                  - data
        '404':
          description: Not Found
          headers:
            X-Credits-Remaining:
              schema:
                type: integer
              description: Credits remaining after this request
            X-Credits-Used:
              schema:
                type: integer
              description: Credits consumed (1 if charged, 0 if refunded on error)
          content:
            application/json:
              schema:
                type: object
                properties:
                  errors:
                    type: array
                    items:
                      type: object
                      properties:
                        code:
                          type: string
                          enum:
                            - not_found
                            - route_not_found
                          description: Machine-readable error code
                        message:
                          type: string
                          example: Not found
                          description: Human-readable error message
                      required:
                        - code
                        - message
                    description: List of errors
                  data:
                    type: 'null'
                    description: Always null for error responses
                required:
                  - errors
                  - data
        '413':
          description: Content Too Large — Request body exceeds 1 MB
          content:
            application/json:
              schema:
                type: object
                properties:
                  errors:
                    type: array
                    items:
                      type: object
                      properties:
                        code:
                          type: string
                          enum:
                            - validation_error
                          description: Machine-readable error code
                        message:
                          type: string
                          example: Request body too large
                          description: Human-readable error message
                      required:
                        - code
                        - message
                    description: List of errors
                  data:
                    type: 'null'
                    description: Always null for error responses
                required:
                  - errors
                  - data
        '500':
          description: Internal Server Error
          headers:
            X-Credits-Remaining:
              schema:
                type: integer
              description: Credits remaining after this request
            X-Credits-Used:
              schema:
                type: integer
              description: Credits consumed (1 if charged, 0 if refunded on error)
          content:
            application/json:
              schema:
                type: object
                properties:
                  errors:
                    type: array
                    items:
                      type: object
                      properties:
                        code:
                          type: string
                          enum:
                            - internal_error
                          description: Machine-readable error code
                        message:
                          type: string
                          example: Internal error
                          description: Human-readable error message
                      required:
                        - code
                        - message
                    description: List of errors
                  data:
                    type: 'null'
                    description: Always null for error responses
                required:
                  - errors
                  - data
        '502':
          description: Bad Gateway — Upstream platform error
          headers:
            X-Credits-Remaining:
              schema:
                type: integer
              description: Credits remaining after this request
            X-Credits-Used:
              schema:
                type: integer
              description: Credits consumed (1 if charged, 0 if refunded on error)
          content:
            application/json:
              schema:
                type: object
                properties:
                  errors:
                    type: array
                    items:
                      type: object
                      properties:
                        code:
                          type: string
                          enum:
                            - platform_error
                          description: Machine-readable error code
                        message:
                          type: string
                          example: Platform error
                          description: Human-readable error message
                      required:
                        - code
                        - message
                    description: List of errors
                  data:
                    type: 'null'
                    description: Always null for error responses
                required:
                  - errors
                  - data
        '503':
          description: Service Unavailable
          headers:
            X-Credits-Remaining:
              schema:
                type: integer
              description: Credits remaining after this request
            X-Credits-Used:
              schema:
                type: integer
              description: Credits consumed (1 if charged, 0 if refunded on error)
          content:
            application/json:
              schema:
                type: object
                properties:
                  errors:
                    type: array
                    items:
                      type: object
                      properties:
                        code:
                          type: string
                          enum:
                            - service_unavailable
                          description: Machine-readable error code
                        message:
                          type: string
                          example: Service unavailable
                          description: Human-readable error message
                      required:
                        - code
                        - message
                    description: List of errors
                  data:
                    type: 'null'
                    description: Always null for error responses
                required:
                  - errors
                  - data
        '504':
          description: Gateway Timeout — Upstream platform timed out
          headers:
            X-Credits-Remaining:
              schema:
                type: integer
              description: Credits remaining after this request
            X-Credits-Used:
              schema:
                type: integer
              description: Credits consumed (1 if charged, 0 if refunded on error)
          content:
            application/json:
              schema:
                type: object
                properties:
                  errors:
                    type: array
                    items:
                      type: object
                      properties:
                        code:
                          type: string
                          enum:
                            - platform_error
                          description: Machine-readable error code
                        message:
                          type: string
                          example: Platform error
                          description: Human-readable error message
                      required:
                        - code
                        - message
                    description: List of errors
                  data:
                    type: 'null'
                    description: Always null for error responses
                required:
                  - errors
                  - data
components:
  securitySchemes:
    apiKey:
      type: http
      scheme: bearer
      description: |-
        Send your API key in the Authorization header as a Bearer token.
        Example: `Authorization: Bearer <your-api-key>`

````