X/Twitter Profile API

Follower counts, bio and profile metadata for an account on X.

Credits 5 per lookup Input a public handle (?handle=) Caching Cached 12 hours

Request

One GET request with your API key. Same shape on every platform — swap the path, keep the code.

curl "https://api.scrapersocial.com/v1/twitter/profile?handle=XDevelopers" \
  -H "Authorization: Bearer sk_live_..."

Response

Clean JSON in the standard envelope. Responses arrive in seconds; popular content in milliseconds.

{
  "data": {
    "platform": "twitter",
    "handle": "XDevelopers",
    "name": "Example Creator",
    "bio": "Tutorials and behind-the-scenes. New video every Tuesday.",
    "verified": true,
    "metrics": {
      "followers": 2450318,
      "following": 132,
      "posts": 842
    }
  },
  "request_id": "req_01JZX4M8Q2TE9W"
}

What it returns

Follower counts, bio and profile metadata for an account on X. Takes a public handle via ?handle= and returns the { data, request_id } envelope . Each call costs 5 credits per lookup returned — check the X-Credits-Charged and X-Credits-Remaining response headers. Cached responses cost the same and set x-cache: hit; add fresh=true to bypass the cache.

Try the X/Twitter Profile endpoint free

100 trial credits on signup — no card, key on screen immediately.

Get your free API key