↑ ↓ to move ↵ to open

X (Twitter) API reference

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.

At a glance

Platform ID
x
Endpoints
1
Price
From 0.25 credits per call; failed calls are free
Pin in MCP
https://data.upscrape.com/mcp?platforms=x
Pin tools
OpenAPI
openapi.json
Download

The X (Twitter) API has 1 endpoint, called the same way: POST /execute with the endpoint ID as capability and its fields as input, or pin X (Twitter) in the MCP server and call each one as a tool. The data comes back as JSON in results[0].data, with what the call cost in billing.credits_charged.

Every endpoint costs 0.25 credits per call, and a failed call costs nothing.

Endpoints

Open an endpoint for its input, the fields it returns and the request in cURL, Python and Node.js.

EndpointWhat it returnsPrice
x.tweet.syndication 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, quote or repost. 0.25 credits

What to know

  • Public posts only Posts from protected accounts, and deleted posts, are not available. A post that cannot be read publicly answers not found.
  • Likes and replies as X shows them Counts are X's own numbers at the moment of the call.
  • Text first The response carries the post's text and details. Images and videos attached to a post are not part of it yet.
  • Replies, quotes and reposts marked Each post says whether it is a reply, a quote or a repost, so you can tell them from original posts.

Something missing or unclear? Ask the team that builds the X (Twitter) endpoints.