X (Twitter) Scraper
lantfly/x-scraper
Posts from public X profiles and post URLs; keyword search signed in with a login pool account.
Run this actor in the dashboard
775 runs quality score 70.15/100 social-media updated 2026-11-16
Price
Pay per event, on top of the compute the run uses.
| Event | What it is | USD each |
|---|---|---|
result_itemResult item |
0.003 |
Input
| Field | Type | Default | What it is |
|---|---|---|---|
maxItemsPosts per profile/search |
integer | 20 | |
postUrlsPost URLs |
array | [] | Post URLs (`/<user>/status/<id>`). |
profilesProfiles |
array | [] | Handles or profile URLs. |
strategiesStrategies |
array | Optional: which ways to try, in order (names or kinds; `*` = the rest in the default order). Default: syndication, oembed, browser, browser-login, apify. | |
searchTermsSearch terms |
array | [] | X has no logged-out search: answered by the browser-login strategy (a login pool account, listening runs only; Latest tab), or the vendor (Apify `apidojo~tweet-scraper`). |
maxRequestRetriesMax request retries |
integer | 3 | Retries per target on a new exit IP after a block, rate limit or network error. |
proxyConfigurationProxy |
object | {"groups":["RESIDENTIAL"],"country":"VN","useLantflyProxy":true} |
Sample input
{
"maxItems": 10,
"profiles": [
"X"
]
}
README
X (Twitter) Scraper
Items follow apidojo~tweet-scraper: id, url, text, createdAt, likeCount, retweetCount, replyCount, quoteCount, viewCount, bookmarkCount, lang, author{userName, name, profilePicture, followers, isVerified, url}, entities.hashtags, input.
Logged out, X shows very little: syndication (the public embed timeline of a profile), oembed (text and author of a post URL, no counts), browser (logged-out Chromium reading the page's GraphQL answers; often a login wall). Search needs a signed-in session: browser-login (Chromium signed in with a login pool account, reading the SearchTimeline answers of x.com/search?f=live), or the vendor (apify, LANTFLY_APIFY_TOKEN); with neither a search term is blocked LOGIN_REQUIRED with the reason. Needs RESIDENTIAL VN proxies.
Issues
0 open issues0 closed issues
What people reported and what the author answered is not published: sign in to read the reports or open one.
Reviews
No published review yet.