Skip to main content
POST
Get a video's transcript, with optional timestamps
  • Endpoint: tiktok.transcript
  • Returns: data has id, url, language, isAutoGenerated, durationSeconds, text, segments.
  • Cost: 5 credits. Failed calls cost nothing.
  • Paging: No.

Example

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
video
string
required
language
string

BCP 47 language tag, e.g. en or pt-BR. Any case is accepted.

Pattern: ^[A-Za-z]{2}$
includeTimestamps
boolean
default:false

Response

The data, and the credits this call used.

success
any
required
data
object
required
creditsUsed
integer
required
requestId
string
required