Sources › Social media › TikTok › Video Transcript
TikTok Video Transcript API
Transkrip/subtitle video TikTok lengkap dengan timestamp per segmen (start, duration, text) + teks gabungan. Default bahasa asli video; pilih bahasa lain lewat `lang` dari daftar availableLanguages (auto-caption TikTok + terjemahan mesin, ditandai isTranslated). Terima video ID atau URL tiktok.com/@user/video/<id>. Video tanpa ucapan/caption = 404.
Request
https://api.zapi.ink/v1/social-media:tiktok-scraper/transcriptSend your key in the x-api-key header. The response is JSON in the { project, data, timestamp } envelope, and an identical request is served from cache for 1 hour.
Parameters
| Name | Type | In | Required | Description |
|---|---|---|---|---|
| id | string | query | No | Video ID (numeric) or full TikTok video URL Example: 7554652158981983544 |
| url | string | query | No | Full TikTok video URL — alias for id |
| lang | string | query | No | Transcript language code (e.g. en, id). Default: the video's original language. Must be one of `availableLanguages` Example: en |
Code examples
curl -X GET "https://api.zapi.ink/v1/social-media:tiktok-scraper/transcript?id=7554652158981983544&url=&lang=en" \ -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"
const res = await fetch("https://api.zapi.ink/v1/social-media:tiktok-scraper/transcript?id=7554652158981983544&url=&lang=en", { method: "GET", headers: { "x-api-key": "zpi_xxxxxxxxxxxxxxxxxxxxxxxx" }, }); const data = await res.json(); console.log(data);
import requests res = requests.get( "https://api.zapi.ink/v1/social-media:tiktok-scraper/transcript", params={"id":"7554652158981983544","url":"","lang":"en"}, headers={"x-api-key":"zpi_xxxxxxxxxxxxxxxxxxxxxxxx"}, ) print(res.json())
Frequently asked questions
How do I call the TikTok Video Transcript API?
Send a GET request to https://api.zapi.ink/v1/social-media:tiktok-scraper/transcript with your Zapi key in the x-api-key header. Parameters — optional: id, url, lang. The response is JSON in the { project, data, timestamp } envelope.
What does the TikTok Video Transcript API return?
Transkrip/subtitle video TikTok lengkap dengan timestamp per segmen (start, duration, text) + teks gabungan.
Is the TikTok Video Transcript API free?
Yes. It is on the Zapi free tier: 600 Zap a month with one API key and no credit card. Each call costs 10 Zap. Paid plans raise the limits.
Can an AI assistant call the TikTok Video Transcript API?
Yes. Add the Zapi MCP server (https://mcp.zapi.ink/mcp) to Claude, Cursor or another MCP client and ask in plain words; it calls run_scraper with scraper "tiktok-scraper" and endpoint "transcript".
What other TikTok API endpoints are there?
It has 21 endpoints. Besides Video Transcript: Get User Profile, Get User Posts, Get Detail Post, Get Post Comments, Get Hashtag Info, Get Hashtag Posts, and 14 more.