Start with 100 free credits. No card needed. Get an API key

X (Twitter) Scraper API

X profiles, posts, communities and video transcripts as JSON, for developers who want them without an X developer account. Calls that fail cost nothing.

100 free credits. No card needed.

A sample request for each kind of data
GET /v1/twitter/profilehandle=NASA
200 OKSample values1 credit
{
  "ok": true,
  "credits_charged": 1,
  "credits_remaining": 4999,
  "cached": false,
  "cached_at": null,
  "request_id": "req_aa10816824f8fd23e2b1f991",
  "data": {
    "object": "profile",
    "platform": "twitter",
    "id": "11348282",
    "handle": "NASA",
    "name": "NASA",
    "headline": null,
    "url": "https://x.com/NASA",
    "kind": "organization",
    "bio": "Making the seemingly impossible, possible. ✨",
    "avatar_url": "https://pbs.twimg.com/profile_images/1321163587679784960/0ZxKlEKB_400x400.jpg",
    "banner_url": "https://pbs.twimg.com/profile_banners/11348282/1788992290",
    "verified": true,
    "is_private": false,
    "status": "public"
    ...
  },
  "cursor": null,
  "has_more": null
}
X (Twitter) endpoints7
Most requests1 credit
A failed requestFree
X (Twitter) loginNot needed

What you get from X (Twitter)

ProfilesName, bio, links, location, verified status and follower count.
CommunitiesName, description, member count and start date.
PostsText, publish date, length, views, likes and comment count.
TranscriptsThe spoken words as text, with timestamps and language.
SearchPosts by keyword.

What you can build with X (Twitter) data

Check accountsRead an account's bio, links, verification and follower count before you pitch or partner.
Track a topicSearch a brand name or phrase to see which posts a search engine has indexed for it.
Measure engagementCompare the likes, replies and reposts on an account's popular posts.
Follow communitiesRead a community's rules and member count, and its 20 most-liked posts.
Turn videos into textTranscribe the speech in a post's video to search it or feed it to a model.

Your first request.

01

Register

Credits worth 100 requests are added on sign-up, with no card.

02

Send a handle

Give the profile endpoint a handle such as NASA, without the @.

03

Pick out the numbers

Followers land in stats.followers, accounts followed in stats.following and the post count in stats.posts.

curl -G "https://api.socialscrape.dev/v1/twitter/profile" \
  -H "x-api-key: $SOCIALSCRAPE_API_KEY" \
  --data-urlencode "handle=NASA"
Read the docs

The response. Sample values, in the shape every call returns.

200 OKSample values
{
  "ok": true,
  "credits_charged": 1,
  "credits_remaining": 4999,
  "cached": false,
  "cached_at": null,
  "request_id": "req_aa10816824f8fd23e2b1f991",
  "data": {
    "object": "profile",
    "platform": "twitter",
    "id": "11348282",
    "handle": "NASA",
    "name": "NASA",
    "headline": null,
    "url": "https://x.com/NASA",
    "kind": "organization",
    "bio": "Making the seemingly impossible, possible. ✨",
    "avatar_url": "https://pbs.twimg.com/profile_images/1321163587679784960/0ZxKlEKB_400x400.jpg",
    "banner_url": "https://pbs.twimg.com/profile_banners/11348282/1788992290",
    "verified": true,
    "is_private": false,
    "status": "public"
    ...
  },
  "cursor": null,
  "has_more": null
}

Pay only for data you get.

Failed requests and cached repeats are free.

RequestCredits
An account's profile1 credit
An account's popular posts, about 201 credit
A post video's AI transcript, up to 2 minutes1 credit
A post with no video to transcribeFree
Starter

1,000 credits

$13 one time

Get an API key
  • $13.00 per 1,000 credits
  • Credits never expire
  • No subscription
GrowthMost popular

25,000 credits

$55 one time

Get an API key
  • $2.20 per 1,000 credits
  • Credits never expire
  • No subscription
Scale

230,000 credits

$349 one time

Get an API key
  • $1.52 per 1,000 credits
  • Credits never expire
  • No subscription
Packs never expire. Monthly plans too.See pricing

Questions, answered.

About the X (Twitter) API

How much does an X scraper API cost?

Checking 200 accounts, each with its profile and its popular posts, takes 400 credits, about $0.88 on the Growth pack. A profile, a post, a community or a page of search results is 1 credit, and the cheapest rate falls to $1.39 per 1,000. 100 credits are free at sign-up. See pricing.

How is it different from the X API?

X's own API is paid by use, so each post you read is billed, and it needs a developer account and keys before the first call. Here a request costs a flat credit, one SocialScrape key is all you carry, and nothing is billed when X does not answer.

Does it need an X login?

No. Your account on X plays no part in a request, so there is no session of yours to lock, suspend or leak.

How good is the post search?

It is discovery through a web search engine, not X's own search. Coverage is incomplete, recent posts can be missing, results keep the engine's order, and you can page from 1 to 11. Posts that are deleted, protected or unreachable are dropped, and view, retweet and bookmark counts are not filled in.

How many posts does an account return?

About 20 popular posts and reposts. If X's timeline widget is rate limited it falls back to the 5 newest original posts instead. X gives no way to page further, so there is no cursor to follow.

Why is an account's likes count empty?

X stopped showing the likes total, so stats.likes comes back null. A suspended account answers removed and an account that does not exist answers not_found.

Can I get transcripts of videos on X?

Yes, as AI transcription of the post's video. Up to 2 minutes is 1 credit. A longer video needs allow_long_transcription=true and costs 5 credits per started minute of the whole video. A post with no video, or only an animated GIF, answers transcript_unavailable and is free. Get an API key to transcribe your first one.

Get started

Start pulling social data.

100 free credits. No card needed.