← Back to Fiber AI
Fetch TikTok video transcript
Fetches the transcript of a TikTok video.
Fiber AI·$0.04 per call
Example code
// Using @orth/sdk - The simplest way to call APIs
// Install: npm install @orth/sdk
import Orthogonal from "@orth/sdk";
const orthogonal = new Orthogonal({
apiKey: process.env.ORTHOGONAL_API_KEY,
});
const output = await orthogonal.run({
api: "fiber",
path: "/v1/tiktok/video-transcript",
body: {
"videoUrl": "example"
}
});
console.log(output);Body parameters
videoUrlrequired
string
Full TikTok video URL.
Response
output.language
null
output.segments
array
chargeInfo.method
string
chargeInfo.creditsCharged
number