X (Twitter) Tweet Scraper API
Get one public post from its numeric ID: text, author handle and name, post time, language, likes and replies, and whether it is a reply.
Sendtweet_id
Returnstextauthorauthor_namecreatedlikesreplies
Get any public post on X (Twitter) from its ID: the text, who posted it, when, and its likes and replies, as clean JSON. No X account, no API approval.
What each one takes and what it returns. Open one for a real response, every input and every field.
Get one public post from its numeric ID: text, author handle and name, post time, language, likes and replies, and whether it is a reply.
Sendtweet_id
Returnstextauthorauthor_namecreatedlikesreplies
One request shape for every X (Twitter) endpoint: the endpoint ID and its input. No SDK needed.
curl --request POST \ --url https://data.upscrape.com/execute \ --header "Authorization: Bearer $UPSCRAPE_API_KEY" \ --header "Content-Type: application/json" \ --header "Prefer: wait=30" \ --data '{ "capability": "x.tweet.syndication", "input": { "tweet_id": "20" }}'
import jsonimport osimport requestspayload = json.loads(r'''{ "capability": "x.tweet.syndication", "input": { "tweet_id": "20" }}''')response = requests.post( "https://data.upscrape.com/execute", headers={ "Authorization": f"Bearer {os.environ['UPSCRAPE_API_KEY']}", "Content-Type": "application/json", "Prefer": "wait=30", }, json=payload,)response.raise_for_status()print(json.dumps(response.json(), indent=2))
const response = await fetch("https://data.upscrape.com/execute", { method: "POST", headers: { "Authorization": `Bearer ${process.env.UPSCRAPE_API_KEY}`, "Content-Type": "application/json", "Prefer": "wait=30", }, body: JSON.stringify({ "capability": "x.tweet.syndication", "input": { "tweet_id": "20" }}),});if (!response.ok) { throw new Error(`Upscrape request failed: ${response.status}`);}console.log(JSON.stringify(await response.json(), null, 2));
{ "text": "just setting up my twttr", "likes": 308818, "author": "jack", "author_name": "jack", "created": "2006-03-21T20:50:14.000Z", "id": "20", "is_quote": false, "is_reply": false, "is_retweet": false, "lang": "en", "replies": 18073, "url": "https://x.com/jack/status/20"}
https://data.upscrape.com/mcp
Use Upscrape to get the X post with ID 20. Who posted it, when, what does it say, and how many likes and replies does it have?
The short answers. The docs have the long ones.
X's own API needs a developer account, and reading posts is part of its paid plans. Upscrape reads public posts without one: send a post ID, get its text, author, time, likes and replies.
Not yet. This endpoint gets one public post from its ID; to work through many posts, send each ID in its own call.
No. Nothing runs on your account, and you share no password or cookie.
It is the number at the end of the post's link. In x.com/jack/status/20 the ID is 20.
Tweet. Each is its own endpoint with a published input schema, and the response is JSON.
Every X (Twitter) endpoint costs 1 credit per successful call. You buy credits once, with no subscription, and paid credits never expire. New accounts get free credits to try it.
Yes. Connect any MCP client to the Upscrape MCP server with OAuth or an API key. The agent finds the X (Twitter) endpoint, checks its price and runs it with the same credits as the REST API.
Upscrape reads public pages only and needs no login. How you use the data is yours to decide under the laws that apply to you; we sign a data processing agreement for your legal review.
Up to 100 free credits to start, no card needed.