Tweet Scraper V3 Fixed avatar

Tweet Scraper V3 Fixed

Pricing

from $0.23 / 1,000 tweets

Go to Apify Store
Tweet Scraper V3 Fixed

Tweet Scraper V3 Fixed

Scrape tweets by keyword, hashtag, username, or URL without API limits. Extract tweet text, media, retweet/like counts, timestamps, and thread replies. Real Playwright scraping with anti-detection. 17% cheaper at $0.15/1K tweets.

Pricing

from $0.23 / 1,000 tweets

Rating

0.0

(0)

Developer

Virtual Footprint LLC

Virtual Footprint LLC

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

18 days ago

Last modified

Categories

Features

Limited permissions

Share

Tweet Lookup by URL

Fetch real tweet/X post data — author name, handle, text, publish info — for a list of known tweet URLs, using X's own official oEmbed API. No login, no API key, no scraping-detection cat-and-mouse.

Honest scope, stated plainly: this is a URL-lookup tool, not a search/hashtag/timeline scraper. As of this build (August 2026), X's anonymous search and timeline endpoints are locked behind bot detection that older workarounds (guest-token GraphQL calls) no longer reliably clear — verified directly during development: the legacy search endpoint now returns 404, and loading x.com without login returns an empty client-rendered shell. Rather than ship something that silently degrades to empty or unreliable results, this actor does the one thing X's own official API still supports well: real data for a URL you already have.

Pricing: $0.0001 one-time actor-start + $0.001 per tweet successfully resolved. Deleted, private, or not-found tweets are never charged.

Input

FieldTypeRequiredDescription
tweetUrlsarray<string>yesTweet/X post URLs (e.g. https://x.com/jack/status/20). Bare numeric IDs also work.

Output (per URL)

{
"inputUrl": "https://twitter.com/jack/status/20",
"found": true,
"tweetId": "20",
"authorName": "jack",
"authorHandle": "jack",
"authorUrl": "https://x.com/jack",
"text": "just setting up my twttr",
"resolvedUrl": "https://x.com/jack/status/20",
"reason": null
}

Not-found tweets return found: false with a reason — never fabricated data.

When to use this vs. a search-based scraper

If you need to discover tweets by keyword, hashtag, or user timeline, you need a different tool — this one only resolves URLs you already have (e.g. from a lead list, a link someone shared, monitoring a known set of posts). It will not find new tweets for you.

Testing

tests/test_main_orchestration.py (24 tests, fully offline) locks the run-orchestration + honesty + billing-dataset contract:

  • now_iso (tz-aware UTC isoformat, +00:00 suffix);
  • normalize_tweet_url (http… URL passthrough / bare numeric ID → https://twitter.com/i/status/{id} / non-http-non-numeric → None / empty → None);
  • extract_text_from_html (oEmbed html → @media-wrapped <p> text; empty / no-<p> → None, never fabricated);
  • TWEET_ID_RE (status/ + statuses/ numeric ID extraction);
  • lookup_tweet oEmbed HTTP honesty contract — full honest result shape (found/not-found), tweetId extraction, network-error → network_error: reason never fabricated, 404 → tweet_not_found_or_deleted_or_private, non-200 → oembed_http_N, invalid-JSON → invalid_oembed_response, success → authorName/authorUrl/authorHandle/text/resolvedUrl + quoted oEmbed GET URL;
  • run_enrich — tweetUrls primary + urls alias + string coercion + bare-ID normalization + drop-invalid + bounded concurrency + one-push-per-tweet no-dup (the billing contract: apify-default-dataset-item one charge per resolved row) + honest no-input error row;
  • main() — {'input':…} unwrap + mode router (enrich default / fast_lookup / unknown all route to the same honest run_enrich) + no double-push.

Run: python -m pytest tests/ -q.