跳转到主要内容
GET
/
v1
/
tiktok
/
video
/
captions
cURL
curl --request GET \
  --url 'https://api.keyapi.ai/v1/tiktok/video/captions?video_id=7563511121240395022' \
  --header 'Authorization: Bearer <YOUR_API_KEY>'
{
  "message": "success",
  "code": 0,
  "data": [
    {
      "data": "WEBVTT\n\n\n00:00:00.060 --> 00:00:03.500\nIt's Thursday, which means it's time to take care of the bathrooms.\n\n00:00:03.501 --> 00:00:05.781\nWipe those mirrors down, clean your toilet,\n\n00:00:05.782 --> 00:00:08.341\nbath sink, vacuum and mop the floor.\n\n00:00:08.342 --> 00:00:09.781\nStock up on toilet paper. Oh,\n\n00:00:09.782 --> 00:00:12.781\nI need to do that. Replace towels and rugs,\n\n00:00:12.782 --> 00:00:15.021\nempty the trash, clean mirrors,\n\n00:00:15.022 --> 00:00:19.781\nand check for spills. Those are your tasks for the day. Again,\n\n00:00:19.782 --> 00:00:22.241\nI love this planner.\n\n00:00:22.300 --> 00:00:25.940\nIf you struggle with all of your word cleaning tasks on the weekend,\n\n00:00:25.941 --> 00:00:28.781\nyou gotta get the ADHD cleaning planner.\n\n00:00:28.782 --> 00:00:30.681\nThis has been a lifesaver.\n\n00:00:30.780 --> 00:00:35.137\nDo a few tasks every day and you'll have a clean house.\n",
      "lang": "eng-US"
    }
  ],
  "requestId": "eda3b37e-9b0d-4829-8612-43b381ee511a"
}
🪙1 credit每次请求

Copy for AI

🤖 让 AI 帮你写调用代码

点击按钮复制一段结构化提示词,可直接交给 ChatGPT、Claude 或其他 AI 助手生成接口调用代码。

授权

Authorization
string
header
必填

接口鉴权凭证。请在请求 Header 中传入 Authorization: Bearer <YOUR_API_KEY>。 可在 Dashboard 获取你的 API Key。

查询参数

video_id
string
默认值:7563511121240395022
必填

视频唯一 ID。

示例:

"7563511121240395022"

响应

请求成功

The response is of type object.