🛠 How to Use: Step‑by‑Step Guide
1. Start the template
Click "Try it!" to load the template.
2. Fill in your parameters
On the input screen, enter the criteria you want to use - just like on Twitter/X's Advanced Search page:
⚠️ Note: Avoid entering keywords and hashtags at the same time - doing both together may disable the date‑range filter and lead to duplicate or unexpected results.
✍🏻 Input Fields Explained
Parameter | Required? | Example |
|---|---|---|
All of these words | Optional | Example: what’s happening · contains both "what's" and "happening" |
This exact phrase | Optional | Example: happy hour · contains the exact phrase “happy hour” |
Any of these words | Optional | Example: cats dogs · contains either “cats” or “dogs” (or both) |
None of these words | Optional | Example: cats dogs · does not contain “cats” and does not contain "dogs" |
These hashtags | Optional | Example: #ThrowbackThursday · contains the hashtag #ThrowbackThursday |
From these accounts | Optional | Example: @X · sent from @X |
To these accounts | Optional | Example: @X · sent in reply to @X |
Mentioning these accounts | Optional | Example: @SFBART @Caltrain · mentions @SFBART or mentions @Caltrain |
Language | Optional | Example: Any language, en, jp, fr, de |
Max result to Extract | Optional | Example: 100. (Enter how many tweets you want to scrape.) |
3. Run the scraper
- Click "Start", then choose a run mode. (Greyed-out modes are not supported for this template.)
- Octoparse will simulate browsing Twitter/X, applying your search query, scrolling through results, and extracting matching tweets.
4. Monitor & handle interruptions
- If a sub‑task shows status "Stopped" (e.g. due to network glitch), re‑run that sub‑task to continue scraping.
- Depending on how many tweets and how far back the date range goes, scraping may take time.
5. Export your data
- Once scraping completes, go to the "Data Preview" or output section to review.
- Export the results - e.g. as CSV or Excel - for further analysis, filtering, or storage.
💡Tips
- Use fewer keywords per run for higher accuracy.
- For large datasets, break keywords or dates into multiple runs.
Data Preview
Query_Str | Query_URL | User_name | User_handle | User_URL | User_avatar_URL | User_bio | User_type |
|---|---|---|---|---|---|---|---|
AI | https://x.com/search?q=AI&src=typed_query | ai | ai_art_2025 | https://x.com/ai_art_2025 | https://x.com/ai_art_2025/photo | AIアートで可愛い女性の写真をアップしていきます。 モデルは20歳以上の女性です。 We will upload photos of cute women using AI art. The models are women over 20 years old. (20+ models) | Blue verified |
AI | https://x.com/search?q=AI&src=typed_query | Ai✨ | xai_42 | https://x.com/xai_42 | https://x.com/xai_42/photo | Ai • Future Tech • Robotics • Space • Science • News | Blue verified |
AI | https://x.com/search?q=AI&src=typed_query | AI | Alkane_Imperium | https://x.com/Alkane_Imperium | https://x.com/Alkane_Imperium/photo | "Ðïšçöŕd ïš Ïñvïtë Öñlÿ" dm - @balisdead https://t.co/rzdfumtgO8 | Blue verified |
AI | https://x.com/search?q=AI&src=typed_query | OpenAI | OpenAI | https://x.com/OpenAI | https://x.com/OpenAI/photo | OpenAI’s mission is to ensure that artificial general intelligence benefits all of humanity. We’re hiring: https://t.co/dJGr6Lg202 | Gold verified |
AI | https://x.com/search?q=AI&src=typed_query | ai | austi2krazy | https://x.com/austi2krazy | https://x.com/austi2krazy/photo | it don’t hurt to pray. | not verified |
AI | https://x.com/search?q=AI&src=typed_query | AI at Meta | AIatMeta | https://x.com/AIatMeta | https://x.com/AIatMeta/photo | Together with the AI community, we are pushing the boundaries of what’s possible through open science to create a more connected world. | Gold verified |
AI | https://x.com/search?q=AI&src=typed_query | Ai | removingvice | https://x.com/removingvice | https://x.com/removingvice/photo | Simulation | not verified |
AI | https://x.com/search?q=AI&src=typed_query | Ai | iDangs_ | https://x.com/iDangs_ | https://x.com/iDangs_/photo | la vie est belle | not verified |
Ready to Start Scraping Twitter/X Data?
No coding required. Works instantly.
🐙 Why Choose Octoparse?
- Truly No-Code: Start collecting data in minutes - no scripts, no setup.
- No Login Required: Scrape public tweets without Twitter/X authentication.
- Automatic Anti-Blocking & Retries: Built-in logic for stable, continuous runs.
- Cloud or Local Runs: Run tasks on your computer or schedule cloud jobs to run 24/7.
- Instant Exports to Excel/CSV: Download clean datasets for analysis or reporting.
- Beginner-Friendly UI: Point, click, run - this template works right out of the box.
Start Scraping Twitter Data in Under 60 Seconds.
Join 100,000+ users extracting Twitter insights with Octoparse.
⚠️ Important Notes Before You Start
- Use responsibly and respect Twitter/X's Terms of Service.
- Twitter/X rate limits may apply.
- Ensure personal data is handled ethically.


