Data APIs / X (Twitter)
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 | Search posts by keyword, top or latest, with views, likes, reposts, replies and bookmarks | $0.002 |
| X post | One post: text, media, author, views, likes, reposts, quotes, replies and bookmarks | $0.002 |
| X account posts | An account's posts, newest first, with engagement, page by page | $0.002 |
| X community posts | A community's posts, top or latest, with views, likes, replies, reposts and quotes, page by page | $0.002 |
| X list posts | Posts from everyone on an X List, newest first, about 100 a page, page by page | $0.002 |
| X post quotes | 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 | 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 | 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 | 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 | Replies under a post: text, time, author, likes and reply count | $0.002 |
Accounts (9)
| Endpoint | What you get | Per call |
|---|---|---|
| X profile | An account: name, username, bio, avatar, website, verification, followers, following and post count | $0.002 |
| X user followers | Accounts following a user: username, name, bio, avatar, verification, followers and following, about 70 a page, newest first | $0.002 |
| X user following | Accounts a user follows: username, name, bio, avatar, followers and posts, about 70 a page | $0.002 |
| X post retweeters | Accounts that retweeted a post: username, name, followers and posts, page by page | $0.002 |
| X community | An X Community: name, description, banner, topic, member count and rules | $0.002 |
| X community members | Members of a community (the first batch, about 20): username, name, avatar and verification | $0.002 |
| X list members | Accounts on an X List: username, name, bio, followers and posts, about 20 a page | $0.002 |
| X list followers | Accounts following an X List: username, name, followers and posts, about 20 a page | $0.002 |
| X account 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 | 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 | 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 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 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.