Sand AISand AI MAGI-2ตอนนี้ MAGI-2 อยู่บน SandBase แล้ว: วิดีโอ 1080p พร้อมเสียงในตัวลองใช้เลย

TikTok Video Transcript (native captions)

เอกสาร API
https://api.sandbase.ai/v1/api/tiktok/video-transcript

Fetch the caption track TikTok itself published for a video, as TikTok wrote it. It is the cheapest way to get the words, and it is only as good as TikTok's own transcription: it mishears names and uncommon words, and many videos - especially non-English ones - have no caption track at all, which comes back as not found. When you need the words to be right, or there is no track to read, tiktok.video_transcript_full transcribes the audio with speech-to-text instead.

ราคา
เริ่มต้นที่ $0.0011USD / คำขอ
Method
POST
การตอบกลับ
JSON
พารามิเตอร์
1 จำเป็น · 1 ไม่บังคับ

Playground

อินพุต
TikTok video URL on tiktok.com: a video or photo post (https://www.tiktok.com/@<user>/video/<id> or /photo/<id>) or a vm.tiktok.com, vt.tiktok.com or tiktok.com/t/ share link. A profile link (https://www.tiktok.com/@<user>), a /@<user>/<id> link without /video/ (TikTok sends it to the For You feed, not a video), a video file link (tiktokcdn.com) or a link to any other site is refused as invalid input, with no charge.
Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `language`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a video that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.
เอาต์พุตพร้อมใช้งาน

เอาต์พุตของคุณจะแสดงที่นี่

กรอกอินพุตให้ครบ แล้วคลิก Run

API README

TikTok Video Transcript (native captions) API

Returns the caption track TikTok published for one video, as a WebVTT text with timestamps. It needs a TikTok video or photo post URL. If the video has no caption track, the call succeeds and returns found: false.

Use cases

  • Pull the spoken words from a news clip to quote or search them.
  • Index captions from many videos to find which ones mention a brand, product or topic.
  • Read the caption language to sort videos by spoken language before further analysis.
  • Feed the caption text into a summary or sentiment pipeline without downloading the video.

Request

curl -X POST "https://api.sandbase.ai/v1/api/tiktok/video-transcript" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url": "https://www.tiktok.com/@washingtonpost/video/7609177768793787679"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
urlstringYesTikTok video URL on tiktok.com: a video or photo post (https://www.tiktok.com/@<user>/video/<id> or /photo/<id>) or a vm.tiktok.com, vt.tiktok.com or tiktok.com/t/ share link. A profile link (https://www.tiktok.com/@<use
requireFieldsarrayNoOptional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example language, and it is served only by a source that returns every one o

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "data": {
    "id": "7609177768793787679",
    "language": "en",
    "transcript": "WEBVTT\n\n\n00:00:00.020 --> 00:00:01.540\nYour tariffs are illegal. They're not.\n\n0…",
    "url": "https://www.tiktok.com/@washingtonpost/video/7609177768793787679"
  },
  "found": true
}

Response fields

FieldMeaning
foundtrue when TikTok has a caption track for the video. false means no track was found.
data.idThe numeric TikTok video ID, taken from the URL.
data.languageLanguage code of the caption track, for example en.
data.transcriptThe caption track in WebVTT format. Each cue has a start and end time (HH:MM:SS.mmm) followed by the caption text.
data.urlThe TikTok video URL the transcript belongs to.

Notes

  • Pass a full video URL such as https://www.tiktok.com/@<user>/video/<id>, a /photo/<id> URL, or a vm.tiktok.com, vt.tiktok.com or tiktok.com/t/ share link. Profile links and video file links are refused as invalid input.
  • Set requireFields to ["language"] to make sure the serving source returns data.language. This can change the price of the call.
  • The text is TikTok's own transcription, so names and uncommon words can be wrong. If the track is missing or must be accurate, use the full transcription API tiktok.video_transcript_full.

Pricing

Billed at the actual cost of each call, about $0.0011 for the request above. Failed calls are not charged.

สำรวจเพิ่มเติม

APIs ที่เกี่ยวข้อง

APIs ทั้งหมด
APIราคาการตอบกลับ
TikTokเริ่มต้นที่ $0.0011 ต่อครั้งJSON
TikTokเริ่มต้นที่ $0.0012 ต่อครั้งJSON
TikTokเริ่มต้นที่ $0.0008 ต่อครั้งJSON
TikTokเริ่มต้นที่ $0.0008 ต่อครั้งJSON
TikTok$0.001 ต่อการเรียกJSON
TikTok$0.001 ต่อการเรียกJSON

คู่มือ:TikTok API pricing: official access vs per-call dataBest TikTok API in 2026: Pricing Compared

คำถาม

คำถามที่พบบ่อย

ฉันจะใช้ TikTok Video Transcript (native captions) API ได้อย่างไร?

ส่งคำขอ POST ไปที่ https://api.sandbase.ai/v1/api/tiktok/video-transcript โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด

TikTok Video Transcript (native captions) API ราคาเท่าไร?

เริ่มต้นที่ $0.0011 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน

TikTok Video Transcript (native captions) API รับพารามิเตอร์อะไรบ้าง?

ที่ต้องระบุ: url (string). ตัวเลือก: requireFields (array). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์

TikTok Video Transcript (native captions) API ส่งคืนอะไร?

การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ

ฉันจำเป็นต้องมีบัญชีนักพัฒนาหรือ API key ของ TikTok ไหม?

ไม่จำเป็น TikTok Video Transcript (native captions) ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง TikTok API แยกต่างหาก