All platforms

X (Twitter) API

10 endpoints for public X (Twitter) data, from 1 credit a call. Same response format and field names as every other platform.

curl "https://scrapeio.com/v1/twitter/profile?handle=nike" \
  -H "x-api-key: YOUR_KEY"
GET/v1/twitter/profile1 credit

X profile: bio, avatar, followers, following, post count.

ParameterTypeDescription
handlerequiredstringX username, with or without @.
curl "https://scrapeio.com/v1/twitter/profile?handle=nike" \
  -H "x-api-key: YOUR_KEY"
GET/v1/twitter/user-tweets1 credit

A profile's posts, newest first, with views, likes, reposts, replies and bookmarks.

ParameterTypeDescription
handlerequiredstringX username, with or without @.
cursorstringCursor from the previous page's data.cursor.
curl "https://scrapeio.com/v1/twitter/user-tweets?handle=nike" \
  -H "x-api-key: YOUR_KEY"
GET/v1/twitter/tweet1 credit

One post by URL or id.

ParameterTypeDescription
urlrequiredstringX post URL.
curl "https://scrapeio.com/v1/twitter/tweet?url=..." \
  -H "x-api-key: YOUR_KEY"
GET/v1/twitter/tweet/replies1 credit

Latest replies to a post.

ParameterTypeDescription
urlrequiredstringX post URL.
cursorstringCursor from the previous page's data.cursor.
curl "https://scrapeio.com/v1/twitter/tweet/replies?url=..." \
  -H "x-api-key: YOUR_KEY"
GET/v1/twitter/community1 credit

An X community: name, description, topic, member count and rules.

ParameterTypeDescription
urlrequiredstringCommunity URL.
curl "https://scrapeio.com/v1/twitter/community?url=..." \
  -H "x-api-key: YOUR_KEY"
GET/v1/twitter/community/tweets1 credit

Latest posts in an X community, with views and likes.

ParameterTypeDescription
urlrequiredstringCommunity URL.
cursorstringCursor from the previous page's data.cursor.
curl "https://scrapeio.com/v1/twitter/community/tweets?url=..." \
  -H "x-api-key: YOUR_KEY"
GET/v1/twitter/search/posts1 credit

X's Top results for a keyword, with views and likes.

ParameterTypeDescription
queryrequiredstringSearch text.
cursorstringCursor from the previous page's data.cursor.
curl "https://scrapeio.com/v1/twitter/search/posts?query=coffee" \
  -H "x-api-key: YOUR_KEY"
GET/v1/twitter/tweet/transcript5 credits

Transcript

ParameterTypeDescription
urlrequiredstringTweet URL
cache_max_age1d, 3d, 7d, 14d, 30dIf we have a response in the cache that is this many days old or newer, return the cached response (0 credits, with "cached": true and a "ca
curl "https://scrapeio.com/v1/twitter/tweet/transcript?url=..." \
  -H "x-api-key: YOUR_KEY"

Other platforms