Transcript of an X video
x_tweet_transcriptThe transcript of the video in an X post, from the captions X serves with it.
The captions of the video in a post (or in the post it quotes), as X serves them with the video: timed segments and the whole text, with every caption track listed. Most videos have X’s own auto-generated captions (auto_generated: true); uploaded captions win when there are both. A post with no video, or a video without captions, answers target_not_found and is never charged. lang picks a track by language.
Cost: 2 credits per call, refunded automatically if the call fails. Read-only, public data only. Results include cost_credits and credits_remaining.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"id": "<id>"
},
"name": "x_tweet_transcript"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | A post id or a post URL (x.com or twitter.com). | |
| lang | No | Preferred caption language (BCP 47), e.g. en. |