X (Twitter) Historical Tweets Scraper - Any Date Range avatar

X (Twitter) Historical Tweets Scraper - Any Date Range

Pricing

from $2.00 / 1,000 tweet scrapeds

Go to Apify Store
X (Twitter) Historical Tweets Scraper - Any Date Range

X (Twitter) Historical Tweets Scraper - Any Date Range

Scrape every tweet an X (Twitter) account posted between any two dates - full text, engagement metrics, media and links - going back years, with keyword, language and reply filters.

Pricing

from $2.00 / 1,000 tweet scrapeds

Rating

0.0

(0)

Developer

Andrew

Andrew

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

5 days ago

Last modified

Categories

Share

Get every tweet an X (Twitter) account posted between any two dates - last month, a specific quarter, or all of 2019 - with full text, likes, reposts, replies, views, bookmarks, media links, hashtags, mentions and URLs. No login, no cookies, no API keys, and no 3,200-tweet timeline limit: the actor walks the date range window by window so years-old posts stay reachable.

Enter usernames and a start and end date, and export the results to JSON, CSV, Excel or Google Sheets.

What you get

One row per tweet, newest first:

  • username, tweetId, url, text, createdAt, lang, source (the app used to post)
  • likeCount, retweetCount, replyCount, quoteCount, viewCount, bookmarkCount
  • isReply, inReplyToId, inReplyToUsername, conversationId
  • isQuote, quotedTweetUrl, isRetweet, retweetedTweetUrl
  • hashtags, mentions, links (expanded URLs), mediaUrls (best-quality MP4 or image), mediaTypes
  • authorUserId, authorName, authorIsBlueVerified, authorFollowersCount

Use cases

  • Archive an account's history - export everything a brand, politician or creator posted in a given year
  • Campaign and PR analysis - measure engagement on every post published during a launch window
  • Research and journalism - pull what an account said about a topic between two dates with the Keywords filter
  • Competitor benchmarking - compare posting volume and engagement across accounts, quarter by quarter
  • Model training and NLP - build dated, labelled corpora from specific accounts
  • Compliance and monitoring - keep a dated record of official communications

How to use

  1. Enter one or more Usernames (with or without @).
  2. Set Start date and End date in YYYY-MM-DD format. Leave the end date empty for today.
  3. Optionally add Keywords (standard X search syntax: launch OR rocket, "exact phrase", #tag, -word) or a Language.
  4. Choose whether to Include replies (on by default) and Include reposts (off by default).
  5. Set Max tweets per account (default 1,000, 0 for everything in the range) and run.

Results stream into the Dataset tab as each window completes.

Output format

Each dataset record:

{
"username": "NASA",
"tweetId": "1625974393166856219",
"url": "https://x.com/NASA/status/1625974393166856219",
"text": "Have humans ever visited Mars?\n\nNot yet, but our rovers have...",
"createdAt": "2023-02-15T21:44:39.000Z",
"lang": "en",
"source": "Sprinklr",
"retweetCount": 412,
"replyCount": 233,
"likeCount": 2003,
"quoteCount": 41,
"viewCount": 1431121,
"bookmarkCount": 57,
"isReply": false,
"inReplyToId": null,
"inReplyToUsername": null,
"conversationId": "1625974393166856219",
"isQuote": false,
"quotedTweetUrl": null,
"isRetweet": false,
"retweetedTweetUrl": null,
"hashtags": [],
"mentions": ["NASAPersevere"],
"links": ["https://go.nasa.gov/3xyz"],
"mediaUrls": ["https://video.twimg.com/amplify_video/.../1280x720/abc.mp4"],
"mediaTypes": ["video"],
"authorUserId": "11348282",
"authorName": "NASA",
"authorIsBlueVerified": true,
"authorFollowersCount": 88231000
}

Pricing

You pay a small fixed amount per tweet returned. Date windows that contain no tweets are free, and reply/repost filters are applied before fetching so you never pay for tweets you filtered out.

Tips

  • For very active accounts (hundreds of posts a day) lower Search window (days) to 7 so each window stays fully paginated.
  • Combine a wide date range with Keywords to answer questions like "everything @brand said about pricing in 2024".
  • Turn Include replies off for a cleaner feed of original posts only.
  • Run several accounts in one go - the username column lets you split them afterwards.

FAQ

How far back can it go? As far as X's search index reaches - in practice back to the account's first tweets.

Are deleted tweets included? No. Only tweets that are still publicly visible on X can be returned.

Why did I get fewer tweets than expected? Reply and repost filters remove rows, and X's search occasionally omits a small number of posts. Try a smaller window if an account is extremely active.