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

# X (Twitter) data API

21 X (Twitter) endpoints: posts, comments, accounts, search and trending, from $0.0003 a call. Failures are free. No X (Twitter) account needed.

## The 21 endpoints

### Posts (9)

| Endpoint | What you get | Per call |
| --- | --- | --- |
| [X post search](/apis/x/posts/search/) | Search posts by keyword, top or latest, with views, likes, reposts, replies and bookmarks | $0.002 |
| [X post](/apis/x/posts/get/) | One post: text, media, author, views, likes, reposts, quotes, replies and bookmarks | $0.002 |
| [X account posts](/apis/x/users/posts/list/) | An account's posts, newest first, with engagement, page by page | $0.002 |
| [X community posts](/apis/x/communities/posts/list/) | A community's posts, top or latest, with views, likes, replies, reposts and quotes, page by page | $0.002 |
| [X list posts](/apis/x/lists/posts/list/) | Posts from everyone on an X List, newest first, about 100 a page, page by page | $0.002 |
| [X post quotes](/apis/x/posts/quotes/list/) | Posts that quote a post: text, author, time, views, likes, replies and reposts, about 20 a page, newest first | $0.0003 per item ($0.0003–0.006 a call) |
| [X user mentions](/apis/x/users/mentions/list/) | Posts that mention an account: text, author, time and engagement, about 20 a page, newest first | $0.0003 per item ($0.0003–0.006 a call) |
| [X thread](/apis/x/posts/thread/list/) | The whole conversation around a post: what it replies to and the replies below it; X decides the page size (often 20–40, at most 50) | $0.0003 per item ($0.0003–0.015 a call) |
| [X article](/apis/x/posts/article/get/) | The X Article (long-form post) a post shares: title, full text, cover, author, views, likes, replies and quotes | $0.002 |

### Comments (1)

| Endpoint | What you get | Per call |
| --- | --- | --- |
| [X post replies](/apis/x/posts/replies/list/) | Replies under a post: text, time, author, likes and reply count | $0.002 |

### Accounts (9)

| Endpoint | What you get | Per call |
| --- | --- | --- |
| [X profile](/apis/x/users/get/) | An account: name, username, bio, avatar, website, verification, followers, following and post count | $0.002 |
| [X user followers](/apis/x/users/followers/list/) | Accounts following a user: username, name, bio, avatar, verification, followers and following, about 70 a page, newest first | $0.002 |
| [X user following](/apis/x/users/following/list/) | Accounts a user follows: username, name, bio, avatar, followers and posts, about 70 a page | $0.002 |
| [X post retweeters](/apis/x/posts/retweeters/list/) | Accounts that retweeted a post: username, name, followers and posts, page by page | $0.002 |
| [X community](/apis/x/communities/get/) | An X Community: name, description, banner, topic, member count and rules | $0.002 |
| [X community members](/apis/x/communities/members/list/) | Members of a community (the first batch, about 20): username, name, avatar and verification | $0.002 |
| [X list members](/apis/x/lists/members/list/) | Accounts on an X List: username, name, bio, followers and posts, about 20 a page | $0.002 |
| [X list followers](/apis/x/lists/followers/list/) | Accounts following an X List: username, name, followers and posts, about 20 a page | $0.002 |
| [X account search](/apis/x/users/search/) | Find X accounts by keyword: username, name, bio, avatar, verification, followers and posts, about 20 a page | $0.0004 per item ($0.0004–0.008 a call) |

### Transcripts (1)

| Endpoint | What you get | Per call |
| --- | --- | --- |
| [X video transcript](/apis/x/posts/transcript/get/) | What is said in the video of an X post, as one text; AI transcription, videos up to two minutes | $0.002 |

### Trending (1)

| Endpoint | What you get | Per call |
| --- | --- | --- |
| [X trends](/apis/x/trends/list/) | What is trending on X in a country right now, with its category | $0.002 |

## A typical use and its bill

One page of comments under a X (Twitter) post (the platform decides how many, usually 10–40): $0.002 a page, billed per page.

## Use it in your AI

With the [MCP server](/mcp/) installed, you can say:

- "What are people complaining about under this X (Twitter) post? Top 20 by likes."
- "How did this X (Twitter) account's last 10 posts do?"
- "What is trending on X (Twitter) right now?"

## Questions

### How much does the X (Twitter) API cost?

From $0.0003 a call; each endpoint has its own price, listed above. Failures, timeouts and missing objects are free. New accounts get trial credit, no card needed.

### Do I need a X (Twitter) account?

No. Only public data is read; no platform account, cookie or authorisation is needed.

### Where do I find the IDs?

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

### How fresh is the data?

Each call reads the platform at that moment; `meta.fetched_at` says when.

### How do I let Claude or Cursor read X (Twitter)?

Install the [FeedMCP MCP server](/mcp/) in your AI and just ask; it picks the endpoint and calls it.

### Can this get my account banned?

No. Calls do not go through your account.

---

HTML version: https://feedmcp.com/apis/x/
