Tools / X (Twitter) / API
Name a public X account and get its recent posts as JSON: text, likes, replies, reposts, views, date and link, retweets included. RouterGrowth is an independent API, not X's own, so there is no developer app, bearer token from X or access tier to apply for.
Ask your agent
Pull the last 20 posts from @stripe and list the product launches among them.
Connect RouterGrowth once, then ask in plain words. New workspaces start with $1 of credit. Get a key or read the setup guide.
A real run
One call to social.posts (social posts & content), run through RouterGrowth on October 19, 2026. These are the first rows it returned; fields that name a person are masked.
| text | likes | views | posted |
|---|---|---|---|
| Now available for @atlas companies, coming soon for eligible C corporations. | 96 | 11573 | 2026-10-15 |
| You can now use Underdog, an AI assistant running privately on your device, to make purchases with @link at any online business. | 87 | 15271 | 2026-10-14 |
The ten latest posts on @stripe, a mix of product news and retweets, with views between about 1,500 and 219,000.
Step by step
Use a RouterGrowth key over REST or the MCP connector in Claude, ChatGPT, Cursor or Codex.
social.posts takes platform x and the handle with or without @.
posts is a list with text, engagement (likes, replies, reposts, views), created_at, url and author_url.
Add the account's profile with social.profile, or search the topic across X with social.search.
Price
List prices on X, read from the catalog when this page was built. The exact figure is quoted before every run, and a monthly plan lowers it.
In practice
You describe the job; the agent picks the calls, shows the price and runs them.
Pull the last 20 posts from @stripe and list the product launches among them.
Compare the last ten posts of three fintech brands on X: topics, views and how often they retweet.
Connect
One MCP server for Claude, ChatGPT, Claude Code, Codex and Cursor, or the same call over the CLI and REST with the input above.
claude mcp add --transport http routergrowth https://api.routergrowth.com/mcp
npm install -g routergrowth && routergrowth setup
routergrowth run -c social.posts -i '{"platform": "x", "handle": "@stripe", "limit": 10}'curl -X POST https://api.routergrowth.com/v1/run \
-H "Authorization: Bearer $ROUTERGROWTH_API_KEY" \
-d '{"capability": "social.posts", "input": {"platform": "x", "handle": "@stripe", "limit": 10}}'Worth knowing
RouterGrowth is not affiliated with X and does not resell X's developer API. It returns public data through its own providers.
Rows starting with RT are reposts of other accounts. Filter them out if you only want original posts.
The call reads posts. It cannot publish, like or follow.
FAQ
No. It is an independent API for public X data. X's own terms and tiers do not cover it.
No. Only your RouterGrowth key.
Set the limit; the quote scales with it and the charge follows the posts returned.
Not this call. Use social.comments with the post URL.
More on X (Twitter)
Reading this as an agent? This page as markdown: /tools/x-twitter/api.md
Connect your agent once. The first calls run on the $1 that comes with signup.