← Back to Fiber AI
Fetch TikTok video details
Fetches details for a specific 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-details",
body: {
"videoUrl": "example"
}
});
console.log(output);Body parameters
videoUrlrequired
string
Full TikTok video URL.
Response
output.id
string
output.caption
string
output.videoUrl
string
output.likeCount
number
output.viewCount
number
output.shareCount
number
output.publishedAt
string
output.commentCount
number
output.thumbnailUrl
string
output.durationSeconds
number
chargeInfo.method
string
chargeInfo.creditsCharged
number