<p class="crumbs"><a href="/apis/">Data APIs</a> / <a href="/apis/x/">X (Twitter)</a></p>

# X video transcript API

What is said in the video of an X post, as one text; AI transcription, videos up to two minutes.

| Item | Value |
| --- | --- |
| Endpoint | `GET https://api.feedmcp.com/v1/x/posts/transcript/get` |
| ID | `x.posts.transcript.get` |
| Price | **$0.002** / call |
| Returns | One Transcript object |
| Auth | `Authorization: Bearer $FEEDMCP_API_KEY` |

> AI transcription for videos up to two minutes; longer ones return `video_too_long`, free of charge. A post without video or speech returns not found.

## Parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | string | <span class="nw">one of</span> | Post ID (the number after /status/) |
| `url` | string | <span class="nw">one of</span> | Video or post link |

Every endpoint also takes `view=full` to include the platform's raw data as `raw`, at the same price.

## Returned fields

`data.item` is one Transcript object, with the same fields on every platform:

| Field | Type | Description |
| --- | --- | --- |
| `id` | string | The video or post ID, as the platform’s detail endpoint takes it |
| `platform` | string | Platform |
| `url` | string \| null | Video or post link |
| `language` | string \| null | Caption language (when the platform says) |
| `text` | string | The full transcript |
| `segments` | {start, end, text}[] | Timed segments in seconds (YouTube, TikTok, Instagram and Reddit; empty elsewhere) |
| `duration_seconds` | number \| null | Video length in seconds |
| `source` | 'captions' \| 'ai' \| null | captions (the platform’s own), ai (AI transcription) or null (not known) |

## When you are charged

$0.002 per call that returns data. Not found, no data, bad parameters, platform errors and timeouts are free.

Each answer carries `meta.billing`: what this call cost and the balance left.

## Request

### cURL

```bash
curl "https://api.feedmcp.com/v1/x/posts/transcript/get?id=2109760407824961716" \
  -H "Authorization: Bearer $FEEDMCP_API_KEY"
```

### Python

```python
import os, requests

r = requests.get(
    "https://api.feedmcp.com/v1/x/posts/transcript/get",
    params={"id": "2109760407824961716"},
    headers={"Authorization": f"Bearer {os.environ['FEEDMCP_API_KEY']}"},
    timeout=30,
)
print(r.json())
```

### JavaScript

```js
const res = await fetch("https://api.feedmcp.com/v1/x/posts/transcript/get?id=2109760407824961716", {
  headers: { Authorization: `Bearer ${process.env.FEEDMCP_API_KEY}` },
});
console.log(await res.json());
```

### MCP

From an AI with FeedMCP installed, the `call` tool:

```json
{
  "endpoint": "x.posts.transcript.get",
  "params": {
    "id": "2109760407824961716"
  },
  "max_price": "0.002"
}
```

## Response

The data below is made up; the shape is the real one.

```json
{
  "code": "ok",
  "request_id": "req_7Qm2kXb9TzLp",
  "data": {
    "item": {
      "id": "2109760407824961716",
      "platform": "x",
      "url": "https://x.com/i/status/2109760407824961716",
      "language": null,
      "text": "Three things to pack for a winter night.",
      "segments": [],
      "duration_seconds": 33.7,
      "source": "ai"
    }
  },
  "page": null,
  "warnings": [],
  "meta": {
    "endpoint": "x.posts.transcript.get",
    "platform": "x",
    "fetched_at": "2026-11-19T08:00:00.000Z",
    "source": "FeedMCP",
    "catalog_revision": "d09a736bd39e8b3f",
    "billing": {
      "charged": true,
      "amount": "0.002",
      "currency": "USD",
      "balance": "9.98"
    }
  }
}
```

Errors are described in [Errors](/docs/errors/): each says whether you were charged (`charged`) and whether to retry (`retry`).

## Other X (Twitter) endpoints

- [X post search](/apis/x/posts/search/)：$0.002
- [X post](/apis/x/posts/get/)：$0.002
- [X post replies](/apis/x/posts/replies/list/)：$0.002
- [X profile](/apis/x/users/get/)：$0.002
- [X account posts](/apis/x/users/posts/list/)：$0.002
- [X trends](/apis/x/trends/list/)：$0.002
- [X user followers](/apis/x/users/followers/list/)：$0.002
- [X user following](/apis/x/users/following/list/)：$0.002
- [X post retweeters](/apis/x/posts/retweeters/list/)：$0.002
- [X community](/apis/x/communities/get/)：$0.002
- [X community members](/apis/x/communities/members/list/)：$0.002
- [X community posts](/apis/x/communities/posts/list/)：$0.002
- [X list posts](/apis/x/lists/posts/list/)：$0.002
- [X list members](/apis/x/lists/members/list/)：$0.002
- [X list followers](/apis/x/lists/followers/list/)：$0.002
- [X post quotes](/apis/x/posts/quotes/list/)：$0.0003 per item ($0.0003–0.006 a call)
- [X user mentions](/apis/x/users/mentions/list/)：$0.0003 per item ($0.0003–0.006 a call)
- [X thread](/apis/x/posts/thread/list/)：$0.0003 per item ($0.0003–0.015 a call)
- [X article](/apis/x/posts/article/get/)：$0.002
- [X account search](/apis/x/users/search/)：$0.0004 per item ($0.0004–0.008 a call)

## Questions

### How much does the X video transcript endpoint cost?

$0.002 per call that returns data. Not found, no data, bad parameters, platform errors and timeouts are free.

### Do I need a platform account?

No. Only public data is read.

### Where do I find the ID or link?

A post ID is the number after /status/ in a link; an account is the username after @ (without the @).

### How do I use it from an AI?

Install the [MCP server](/mcp/) and ask; your AI calls `x.posts.transcript.get`.

---

HTML version: https://feedmcp.com/apis/x/posts/transcript/get/
