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.
Account
Endpoint
curl "https://api.toolzerhub.com/v1/x/profile/posts?handle=nasa" \
-H "x-api-key: $TOOLZERHUB_API_KEY"{
"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
- 20
- $0.42
- $0.23
Inputs
What you send
GET /v1/x/profile/posts with your key in the x-api-key header.
| Parameter | Example | Notes |
|---|---|---|
| handlerequired | nasa | Handle with or without @, or a profile URL. |
| include_replies | false | true adds the account's replies. |
| cursor | TWFSB2… | 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
- 01x-api-key••••••••••Get a key
- 02GET/v1/x/profile/postsSend a request
- 03{ data, status }200Get JSON
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.
FAQ
Questions
- Do I need an X developer account?
- What does 1,000 tweets cost?
- Can I get only original tweets?
Related
Often used with it
Same key, same credits. Every X (Twitter) endpoint is on the X (Twitter) API page.
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)