X (Twitter) API

Twitter (X) Tweets Scraper API

Send a handle, get its timeline: text, timestamps, like, reply, repost and view counts, and the pinned post. No X developer account.

  • No card needed
  • Failed calls are free
  • Pack credits never expire
Account
Endpoint
curl "https://api.toolzerhub.com/v1/x/profile/posts?handle=nasa" \
  -H "x-api-key: $TOOLZERHUB_API_KEY"
200 OK
Real response, 27 Nov 2026, trimmed to a few items.
{
  "data": {
    "count": 20,
    "cursor": "TWFSB2123798314843787300",
    "has_more": true,
    "posts": [
      {
        "id": "2126050028032872522",
        "url": "https://x.com/NASA/status/2126050028032872522",
        "text": "RT @astro_anil: From space to Earth: wishing you a happy thanksgiving.  From this vantage point there is so much to be grateful for on our…",
        "created_at": "2026-11-26T20:26:41.000Z",
        "like_count": 2176,
        "reply_count": 87,
        "repost_count": 337,
        "view_count": 184188,
        "is_reply": false,
        "author": {
          "handle": "NASA"
        }
      },
      {
        "id": "2125915027819446402",
        "url": "https://x.com/NASA/status/2125915027819446402",
        "text": "LIVE: Watch the Progress 97 spacecraft arrive and dock to the @space_station after a two-day trip.\n\nThe unpiloted spacecraft will autonom…",
        "created_at": "2026-11-26T11:30:14.000Z",
        "like_count": 1616,
        "reply_count": 148,
        "repost_count": 293,
        "view_count": 639986,
        "is_reply": false,
        "author": {
          "handle": "NASA"
        }
      },
      {
        "id": "2125691860706333095",
        "url": "https://x.com/NASA/status/2125691860706333095",
        "text": "RT @NASASolarSystem: The thick atmosphere.\nThe rivers and lakes.\nThe sweeping dunes.\nThe complex chemistry.\n\nThis is Titan, and NASA’s Drag…",
        "created_at": "2026-11-25T20:43:27.000Z",
        "like_count": 3050,
        "reply_count": 78,
        "repost_count": 496,
        "view_count": 317467,
        "is_reply": false,
        "author": {
          "handle": "NASA"
        }
      }
    ]
  }
}
5
credits per call
20
posts per call
$0.42
per 1,000 posts on the 3K pack
$0.23
per 1,000 posts on the largest plan

10 of 10 live calls on different accounts returned data (27 Nov 2026).

Inputs

What you send

GET /v1/x/profile/posts with your key in the x-api-key header.

ParameterExampleNotes
handlerequirednasaHandle with or without @, or a profile URL.
include_repliesfalsetrue adds the account's replies.
cursorTWFSB2…From the previous response.

Limits

Good to know

  • Reposts appear with RT @ in the text.
  • The pinned post comes back separately in pinned_post.

How it works

From key to JSON

  1. 01x-api-key••••••••••Get a key100 free credits a month, no card
  2. 02GET/v1/x/profile/postsSend a requestAny HTTP client, no SDK needed
  3. 03{ data, status }200Get JSONFailed calls cost nothing

Pricing

1,000 posts cost $0.42

50 calls at 5 credits each is 250 credits: $0.42 on the $5 3K pack, down to $0.23 on the largest plan. The free 100 credits a month cover about 400 posts, and failed calls are not charged.

All plans and packs

FAQ

Questions

Do I need an X developer account?
No. You send our key. X's own API is pay-per-use; our guide compares the cost.
What does 1,000 tweets cost?
50 calls at 5 credits: 250 credits, about $0.48 on the $19 pack.
Can I get only original tweets?
Leave include_replies at false and skip posts whose text starts with RT @.

Try the Twitter (X) Tweets API free

Every new workspace gets 100 credits a month. Buy credits only when you need more.

Get free API key(opens in new tab)