X/Twitter Tweets API

Latest posts from an account on X with per-post metrics.

Credits 1 per tweet Input a public handle (?handle=) Caching Cached 3 hours (page 1: 1 hour) Pagination cursor / limit

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/tweets?handle=XDevelopers" \
  -H "Authorization: Bearer sk_live_..."

Response

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

{
  "data": [
    {
      "id": "1861122334455667788",
      "url": "https://x.com/XDevelopers/status/1861122334455667788",
      "text": "Shipping notes: cursor pagination is now live on all list endpoints.",
      "posted_at": "2026-07-06T08:15:00Z",
      "metrics": {
        "views": 90211,
        "likes": 1211,
        "reposts": 204,
        "replies": 88
      }
    },
    {
      "id": "18611223344556677881",
      "url": "https://x.com/XDevelopers/status/1861122334455667788",
      "text": "Shipping notes: cursor pagination is now live on all list endpoints.",
      "posted_at": "2026-07-06T08:15:00Z",
      "metrics": {
        "views": 90211,
        "likes": 1211,
        "reposts": 204,
        "replies": 88
      }
    }
  ],
  "meta": {
    "count": 2,
    "limit": 20,
    "cursor": "eyJwYWdlIjoyfQ",
    "has_more": true,
    "item": "tweet"
  },
  "request_id": "req_01JZX4M8Q2TE9W"
}

What it returns

Latest posts from an account on X with per-post metrics. Takes a public handle via ?handle= and returns the { data, request_id } envelope with cursor pagination metadata in meta. Each call costs 1 credit per tweet 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 Tweets endpoint free

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

Get your free API key