Skip to Content

Get LIVE Transcription

The state of a session and its final sentences, in order. Read the transcript in pages: pass the pagination.next_after_seq of an answer as after_seq of the next call to receive only what was said since. While the session is listening, call again to follow the LIVE; this is also how to catch up after an interruption of the event stream.

A session and its sentences stay readable for 24 hours after it ends.

GET
/tiktok/live/transcribe/{session_id}

Get a LIVE transcription session and its final sentences, in order, a page at a time.

Overview

Use this endpoint to:

  • follow a LIVE by polling: call it again with the pagination.next_after_seq of the previous answer as after_seq, and receive only what was said since;
  • catch up after an interruption of the event stream or of your own service;
  • check a session: is it still listening, why did it end, how much was transcribed;
  • read the whole transcript of a session, up to 24 hours after it ends.

Reading a session costs nothing.

Request Parameters

ParameterInRequiredDescription
session_idpathYesThe id of the session, as returned when it was started.
after_seqqueryNoReturn the final sentences whose seq is greater than this. Default 0: from the first sentence.
limitqueryNoMaximum number of sentences returned, between 1 and 500. Default 200.

Example Usage

curl "https://api.vidnavigator.com/v1/tiktok/live/transcribe/3f0c1c1e-7a52-4d0e-9a3b-0d2f8c1b7e55?after_seq=56" \
  -H "X-API-Key: YOUR_API_KEY"

Success Response (200)

{
  "status": "success",
  "data": {
    "session": {
      "id": "3f0c1c1e-7a52-4d0e-9a3b-0d2f8c1b7e55",
      "status": "listening",
      "end_reason": null,
      "error": null,
      "room": {
        "id": "7705498471838665494",
        "title": "Late night Q&A",
        "url": "https://www.tiktok.com/@creator/live",
        "author": { "unique_id": "creator", "nickname": "Creator" }
      },
      "language": null,
      "include_partials": true,
      "include_speakers": true,
      "max_duration_minutes": 120,
      "created_at": "2026-12-03T11:18:19.412Z",
      "started_at": "2026-12-03T11:18:20.031Z",
      "ended_at": null,
      "duration_seconds": 109.2,
      "segments_count": 58,
      "stop_requested": false
    },
    "segments": [
      {
        "seq": 57,
        "start": 103.29,
        "end": 104.88,
        "text": "I'm from Gambia.",
        "language": "en",
        "speaker": "B",
        "timestamp": "2026-12-03T11:20:03.290Z"
      },
      {
        "seq": 58,
        "start": 105.4,
        "end": 108.02,
        "text": "Welcome, thank you for joining us tonight.",
        "language": "en",
        "speaker": "A",
        "timestamp": "2026-12-03T11:20:05.400Z"
      }
    ],
    "partial": { "text": "So the next question is", "start": 108.6 },
    "pagination": {
      "after_seq": 56,
      "next_after_seq": 58,
      "has_more": false
    }
  }
}

Understanding the Response

session

The session, in the shape described on TikTok LIVE Transcription: its status (starting, listening, ended, failed), why it ended (end_reason) or failed (error), the room, and the seconds and sentences transcribed so far.

segments

The final sentences after after_seq, in order, at most limit. A final sentence never changes.

FieldDescription
seqNumber of the sentence in its session, from 1, without gaps
startSeconds from the start of the session to the start of the sentence
endSeconds from the start of the session to the end of the sentence
textThe sentence
languageThe language detected for this sentence, as a two-letter code, or null
speakerOnly with include_speakers: a label (A, B...) that tells the voices of the session apart. It does not identify a person, and labels can be assigned anew after an interruption of the stream.
timestampWhen the sentence started, to within a few seconds (UTC, ISO 8601)

partial

The sentence being said (text, and its start in seconds), for a session started with include_partials. It can still change, and is null between two sentences and on a session started without include_partials.

pagination

FieldDescription
after_seqThe after_seq of this call
next_after_seqThe seq of the last sentence returned: pass it as after_seq of the next call. Equal to after_seq when nothing new was said.
has_moretrue when sentences after next_after_seq already exist: call again at once

Following a LIVE by Polling

  1. Call with after_seq=0, handle segments, keep pagination.next_after_seq.
  2. While has_more is true, call again at once with after_seq set to that value.
  3. Otherwise wait a second or two, and call again.
  4. Stop when session.status is ended or failed and has_more is false: every sentence was read.

To follow many rooms, the event stream is the better fit: one connection carries every session.

Error Cases

StatuserrorWhen
400invalid_parameterafter_seq is not an integer of 0 or more, or limit is outside 1-500
403access_deniedLIVE transcription is not enabled for your organization
404session_not_foundNo session with this id in your organization, or it ended more than 24 hours ago

API reference

Authorization

ApiKeyAuth
headerX-API-Key<token>

API key authentication. Include your VidNavigator API key in the X-API-Key header.

Path Parameters

session_id*string

The id of the session, as returned when it was started.

Formatuuid

Query Parameters

after_seq?integer

Return the final sentences whose seq is greater than this.

Range0 <= value
Default0
limit?integer
Range1 <= value <= 500
Default200

Response Body

The session and a page of its final sentences.

application/json
  1. response
status?"success"
Value in"success"
data?
Example Request
curl -X GET 'https://api.vidnavigator.com/v1/tiktok/live/transcribe/497f6eca-6276-4993-bfeb-53cbbbba6f08'
Example Response
{  "status": "success",  "data": {    "session": {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "status": "starting",      "end_reason": "live_ended",      "error": {        "code": "transcription_unavailable",        "message": "string"      },      "room": {        "id": "7705498471838665494",        "title": "string",        "url": "https://www.tiktok.com/@tiktok/live",        "author": {          "unique_id": "string",          "nickname": "string"        }      },      "language": "string",      "include_partials": true,      "include_speakers": true,      "max_duration_minutes": 0,      "created_at": "2019-08-24T14:15:22Z",      "started_at": "2019-08-24T14:15:22Z",      "ended_at": "2019-08-24T14:15:22Z",      "duration_seconds": 0,      "segments_count": 0,      "stop_requested": true    },    "segments": [      {        "seq": 57,        "start": 103.29,        "end": 104.88,        "text": "I'm from Gambia.",        "language": "en",        "speaker": "A",        "timestamp": "2019-08-24T14:15:22Z"      }    ],    "partial": {      "text": "string",      "start": 0    },    "pagination": {      "after_seq": 0,      "next_after_seq": 0,      "has_more": true    }  }}

On this page