
🏯 Tweet Scraper V2 (Pay Per Result) - X / Twitter Scraper
Pricing
$0.40 / 1,000 tweets

🏯 Tweet Scraper V2 (Pay Per Result) - X / Twitter Scraper
⚡️ Lightning-fast search, URL, list, and profile scraping, with customizable filters. At $0.40 per 1000 tweets, and 30-80 tweets per second, it is ideal for researchers, entrepreneurs, and businesses! Get comprehensive insights from Twitter (X) now!
3.7 (43)
Pricing
$0.40 / 1,000 tweets
621
Monthly users
1.8k
Runs succeeded
96%
Response time
3.7 hours
Last modified
an hour ago
Date filter is not working properly
{ "customMapFunction": "(object) => { return {...object} }", "end": "2025-01-16", "includeSearchTerms": false, "onlyImage": false, "onlyQuote": false, "onlyTwitterBlue": false, "onlyVerifiedUsers": false, "onlyVideo": false, "sort": "Latest", "start": "2025-01-15", "twitterHandles": [ "@ImranRiazKhan", "@HamidMirPAK", "@_Mansoor_Ali", "@MoeedNj", "@soldierspeaks", "@SHaiderRMehdi", "@ShazadAkbar", "@HassanNisar", "@javeednusrat", "@najamsethi", "@OryaMaqboolJan", "@Kashifabbasiary", "@mubasherlucman", "@dawn_com", "@ARYSabirShakir", "@ARYNEWSOFFICIAL", "@geonews_english", "@geonews_urdu", "@SaleemKhanSafi", "@TalatHussain12", "@iqrarulhassan", "@ImranKhanPTI", "@OfficialDGISPR", "@siasatpk" ] }
These are my input parameters where i have given multiple twitter handles, to extract their tweets from given date range but in result i have received tweets out from the given range in the input. Please provide me the assistance thanks

Hello,
twitterHandles
and date filters are not working together. If you want to fetch a profile's tweets by date, please refer to the documentation for an example https://apify.com/apidojo/tweet-scraper#fetching-the-tweets-of-a-profile
Also, max 5 items are allowed in a run, please check the terms before using the actor https://apify.com/apidojo/tweet-scraper#important-note
Cheers
ssamiullah61
Hi, Thanks for your response. I need your help. Currently i am working form my phd project for that i need to extract tweet from multiple twitter handles from Pakistan. The man idea is to create model for fake news detection.
- I have around 50 to 70 twitter handles
- I am trying to retrieve at least3 to 5 years of data.
Can you tell me if their is issue with it according to your policy ?

Hello,
As mentioned, you can refer to the documentation to learn how you can fetch historical tweets for an account.
You need to lower the amount of items you are batching to a single run to 5 and fetch min 50 tweets per handle and I think you are good to go.
Cheers
ssamiullah61
Hi, Thanks for your response. Just final question: if a user profile contains 1000 tweets on his profile so i have to collect it in multiple runs and each run needs to collect 50 tweets for each profile right ? but if thats the case if i dont know the total tweets, how to handle this kind of problem with batching.
Plus if i want a customized api can i directly reach you for it ?

Hello,
Unfortunately there is no way to use the actor besides Apify. For your question about the limits, you need to come up with your own logic to resolve this issue. You can give a bigger timeframes first and then slowly. The purpose of this actor is to use deterministic queries.
Cheers
ssamiullah61
Hi, Thanks for your response. What is the max limit to fetch the tweets per handle since you mentioned min is 50 tweets per handle?
Regards

Hello,
There is no max limit, you can fetch all of the tweets of a handle.
Cheers
ssamiullah61
Hi, I need to ask the way it works. According to Doc, I can use
- Max 5 twitter handles (which I suppose is items) that will go under "twitterHandles" parameter through an API.
- Min 50 tweets per handle, which will go to "maxItems" field.
- Use "start" and "end" field for all the twitter handles. Meaning, if I need a data for 1 year or more I can simply write "start":"2024-01-01", "end":"2025-01-01" and I will get the data from mentioned dates for all the tweeter handles
- If there is no max limit, so I can simply mention the start and end dates and get all the data from max 5 tweeter profiles in one call. Kindly, correct me if I am wrong.
My questions are:
- If I want all the data in one shot, what should be in "maxItems" field? Empty?
- If using start date and end date, I can get all the data in mentioned time period for 5 handles in one run? No need for logic?
- Whats the purpose of since and until in search terms? If no max limit, then why it says we need to divide it per ~800 and then create the query per request?
- What parameter to use to exclude retweets in return?
Thanks

Hello,
1- There is no query that can get you the data in one shot, please refer to the documentation to learn how you can fetch the tweets of a profile https://apify.com/apidojo/tweet-scraper#fetching-the-tweets-of-a-profile
2- date filters don't work together with twitterHandles
, please refer to the doc.
3- As mentioned, date filters are not working with twitterHandles
. If you want to fetch a handle's tweets by date, you need to use twitter queries.
4- There are no parameter for that, you need to do this yourself after you fetch the tweets.
Cheers
ssamiullah61
Hi, Thanks for the sweep response.
So I need to use "searchTerms" field and add "since" and "until" for max 5 twitter handles ("from") for 1 year of tweets (breaking it down in 800 per list)? So kinda like below:
Input
{ "searchTerms": [ "from:NASA since:2023-01-01 until:2023-03-01", "from:NASA since:2023-03-01 until:2023-05-01", "from:NASA since:2023-05-01 until:2023-07-01", "from:NASA since:2023-07-01 until:2023-09-01", "from:NASA since:2023-09-01 until:2023-12-01", "from:umair since:2023-01-01 until:2023-03-01", "from:umair since:2023-03-01 until:2023-05-01", "from:umair since:2023-05-01 until:2023-07-01", "from:umair since:2023-07-01 until:2023-09-01", "from:umair since:2023-09-01 until:2023-12-01" ], "onlyImage": "false", "onlyQuote": "false", "onlyTwitterBlue": "false", "onlyVerifiedUsers": "false", "onlyVideo": "false", "tweetLanguage": "en", "sort": "Latest", "customMapFunction": "(object) => { return {...object} }", }
Adding 3 more profiles in search term as above same as above
Thanks.

Hello,
You need to create separate runs for each of them if you are planning to batch 5 queries like this. Each run should have max 5 queries.
Please refer to the documentation.
Cheers
ssamiullah61
Hello,
What is the limit to getting replies of tweets? How many conversation IDs per request and can we limit it to like 20 replies per tweet/conversation_id? I can not find much information about getting replies of a tweet in documentation, can please guide?
Thanks

Hello,
Each of your query should return min 50 tweets as stated in the docs https://apify.com/apidojo/tweet-scraper#important-note. You can also find more information in our docs and in the external docs:
- https://apify.com/apidojo/tweet-scraper#fetching-replies-of-a-tweet-with-specific-hashtag
- https://github.com/igorbrigadir/twitter-advanced-search
- https://developer.x.com/en/docs/x-api/v1/rules-and-filtering/search-operators
Cheers
ssamiullah61
Hello,
I can not find the answer to below question in the docs, kindly you can answer that will great:
If I put more than 1000 conversation ids, is it fine? payload: { "conversationIds": [ "1843046080147345756", "1842977415846658246", "1842939285957378072", "1842915813105229868", "1842895330171379943", # 999 conversation ids more ], "includeSearchTerms": false, "onlyImage": false, "onlyQuote": false, "onlyTwitterBlue": false, "onlyVerifiedUsers": false, "onlyVideo": false, "sort": "Latest" }
Is there any cap/limit to getting conversation_id/replies to conversations/tweets?
Thanks

Hello,
Unfortunately it is not fine, the limit is 5. Please refer to the terms, as it says max 5 queries/items to a single run https://apify.com/apidojo/tweet-scraper#important-note
Cheers
ssamiullah61
Thanks for clarifying.
Pricing
Pricing model
Pay per resultThis Actor is paid per result. You are not charged for the Apify platform usage, but only a fixed price for each dataset of 1,000 items in the Actor outputs.
Price per 1,000 items
$0.40