X (Twitter) Tweet Scraper by URL avatar

X (Twitter) Tweet Scraper by URL

Pricing

from $0.78 / 1,000 tweet scrapeds

Go to Apify Store
X (Twitter) Tweet Scraper by URL

X (Twitter) Tweet Scraper by URL

Get full data for any public X (Twitter) post from its URL or ID: text, author, likes, reposts, replies, quotes, bookmarks, views, media and language. No login, no cookies, no API key.

Pricing

from $0.78 / 1,000 tweet scrapeds

Rating

0.0

(0)

Developer

MYM

MYM

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

2 days ago

Last modified

Categories

Share

X (Twitter) Tweet Scraper by URL — get full post data from any link (No API Key, No Login)

Apify Actor No API Key required No Login needed No cookies needed Export formats MCP AI agents Pay per result

Paste X (Twitter) post URLs or IDs and get the full public data for each one — no API key, no login, no cookies, no developer account. This tweet scraper returns 33 fields per post: full text, likes, reposts, replies, quotes, bookmarks, views, media with direct MP4 URLs, hashtags, mentions, expanded links, the posting client, pinned and edit state, link-preview cards, the quoted or reposted original as a nested object, and the complete author profile. Perfect for measuring specific posts, archiving them before deletion, or enriching a spreadsheet of tweet links. Export to JSON, CSV, Excel, or XML.

Get your first tweet free in under 2 minutes — paste a link, click Start, read the data. No configuration, no credit card to try.


Table of contents


What can the X Tweet Scraper do? {#what-can-the-x-tweet-scraper-do}

Give it links, get structured posts back. Use it to:

  • 🔗 Scrape any public post from its URL or numeric ID — both formats accepted, mixed freely.
  • 📊 Get every public metric — likes, reposts, replies, quotes, bookmarks, and view counts.
  • 📝 Read the full text — long posts and Notes expanded, never truncated.
  • 🖼️ Pull media — image URLs plus direct MP4 video links with duration.
  • 🃏 Capture the link preview card — title, description, image, domain, destination URL.
  • 🔁 Expand quotes and reposts — the original arrives as a full nested tweet object.
  • 📱 See the posting clientTwitter for iPhone, Typefully, Sprout Social, and so on.
  • ✏️ Check edit stateisEdited and editsRemaining.
  • 👤 Get the author profile attached to every post — followers, bio, website, verified type.
  • 🗂️ Batch as many links as you like in a single run.
  • 📤 Export to JSON, CSV, Excel, or XML, or pull live through the API.

Who scrapes single tweets? {#who-scrapes-single-tweets}

  • 📢 Paid social & ad teams — measure the real performance of specific creatives.
  • 🤝 Influencer marketers — verify the engagement an influencer claims on a specific post.
  • 🗄️ Archivists & researchers — capture posts and their metrics before they are deleted.
  • 📰 Journalists — cite exact text, timestamps, and numbers with a reproducible record.
  • 📊 Analysts — turn a spreadsheet of tweet links into a metrics table in one run.
  • 🎬 Content teams — extract media URLs from a shortlist of posts.

What data can I scrape from a tweet URL? {#what-data-can-i-scrape-from-a-tweet-url}

Always populated:

FieldTypeDescription
idstringTweet ID.
urlstringDirect link to the post.
textstringFull post text, expanded.
createdAtstringPost timestamp.
likeCountnumberLikes.
retweetCountnumberReposts.
replyCountnumberReplies.
quoteCountnumberQuote posts.
bookmarkCountnumberBookmarks.
viewCountnumberViews / impressions.
langstringLanguage code.
conversationIdstringThread the post belongs to.
sourcestringPosting client.
isReply / isRetweet / isQuote / isPinnedbooleanPost type flags.
possiblySensitivebooleanSensitive-media flag.
isEdited / editsRemainingboolean / numberEdit state.
authorobjectFull author profile (followers, following, bio, website, verified type, join date, avatar, banner).

Populated when present:

FieldTypeDescription
mediaarraytype, image, direct MP4 video, durationMs.
hashtags / mentions / linksarrayFlat string arrays; links are expanded.
cardobjectname, url, title, description, image, domain.
quotedTweet / retweetOfobjectThe original post as a nested tweet object.
inReplyToId / inReplyToUserId / replyToUsernamestringReply target.
placeobjectGeotag details.
articleobjectLong-form article title, preview text, cover image.

How to scrape a tweet by URL {#how-to-scrape-a-tweet-by-url}

  1. Open the X (Twitter) Tweet Scraper on Apify.
  2. Paste post URLs or IDs into Tweet URLs or IDs — e.g. https://x.com/NASA/status/2081860978694594863 or 20.
  3. Click ▶ Start.
  4. Export to JSON, CSV, Excel, or XML, or fetch through the API.

Deleted, suspended, or protected posts are reported as unavailable in the log; the rest of the batch still returns.


Input example {#input-example}

{
"tweetIds": [
"https://x.com/NASA/status/2081860978694594863",
"https://twitter.com/jack/status/20",
"20"
]
}
  • tweetIds — post URLs (x.com or twitter.com) or bare numeric IDs. Mix freely, queue as many as you need.

Output example {#output-example}

{
"id": "20",
"url": "https://x.com/jack/status/20",
"text": "just setting up my twttr",
"createdAt": "Tue Mar 21 20:50:14 +0000 2006",
"likeCount": 307402,
"retweetCount": 111530,
"replyCount": 17840,
"quoteCount": 24610,
"bookmarkCount": 8901,
"viewCount": 44120987,
"lang": "en",
"conversationId": "20",
"source": "Twitter Web Client",
"isReply": false,
"isRetweet": false,
"isQuote": false,
"isPinned": false,
"possiblySensitive": false,
"isEdited": false,
"editsRemaining": null,
"hashtags": [],
"mentions": [],
"links": [],
"media": [],
"card": null,
"place": null,
"article": null,
"quotedTweet": null,
"retweetOf": null,
"author": {
"id": "12",
"username": "jack",
"name": "jack",
"followers": 6512340,
"isVerified": true,
"url": "https://x.com/jack"
}
}

How accurate is the data? {#how-accurate-is-the-data}

Metrics are read live at run time with no caching, so they match what a logged-out visitor sees. In a benchmark, 15 randomly sampled posts were cross-checked against a second independent X endpoint: 15 of 15 matched, mean deviation 0.02% — the only gap was a 40-minute-old post whose counter was still moving.


How much will scraping tweets cost? {#how-much-will-scraping-tweets-cost}

Pay-per-result: you pay per post returned, not for compute time.

  • 💸 Pay per tweet — budget is posts × rate.
  • 📉 Volume discounts across Bronze → Diamond Apify plans.
  • 🆓 Free to try with the monthly free usage on new Apify accounts.
  • 🚫 No proxy fees, no per-request charges, no minimums.

Unavailable posts (deleted, suspended, protected) return no dataset item, so you are not billed for them. See the live rate on the Apify store page.


Tips for scraping tweets by URL {#tips-for-scraping-tweets-by-url}

  • 🎬 Download media[].video immediately — X media URLs are signed and expire.
  • 🃏 Use card.domain to attribute outbound traffic even behind t.co.
  • 🧵 Group by conversationId to rebuild a thread from a list of links.
  • 🗄️ Snapshot on a schedule if you are archiving — metrics keep changing after publication.
  • 🔢 Bare IDs are fine — if your database stores IDs, you do not need to rebuild URLs.
  • 🤖 Feed text + author into an LLM for one-shot post analysis.

Want other X (Twitter) data? {#want-other-x-twitter-data}

Building a multi-platform social dataset? The same pay-per-result, no-login approach covers the other networks too:

Browse everything on the myagizm store profile.


Use tweet data with AI agents (MCP) {#use-tweet-data-with-ai-agents-mcp}

The X (Twitter) Tweet Scraper is available through the Apify MCP server, so AI assistants can call it as a tool and pull post data on demand.

  • 🧩 Claude — add the Apify MCP server and let Claude fetch and analyse post data.
  • 🤖 ChatGPT — use the actor as a tool inside research and reporting workflows.
  • 🖊️ Cursor — pull post data straight into your coding and prototyping sessions.

No glue code required: ask your agent in plain language and it runs the actor, reads the structured output, and answers.

Common AI-agent recipes:

  • 📊 Post autopsy — "why did this post do well? show metrics, media type, and posting client."
  • 🧵 Thread rebuild — "fetch these five links and put them in chronological order."
  • 🗄️ Archive & cite — "capture this post's text, timestamp, and numbers for a citation."
  • 🎯 Creative comparison — "compare view-to-like ratios across these ad posts."

Integrations & API {#integrations--api}

Connect the actor to the tools you already use: Make, Zapier, n8n, Slack, Airbyte, Gumloop, CrewAI, IFTTT, Lindy, GitHub, Google Sheets, and Google Drive — plus webhooks, Apify Schedules, and the MCP server.

Run synchronously and get the dataset (Apify API)

curl -X POST "https://api.apify.com/v2/acts/myagizm~x-tweet-scraper/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \
-H "Content-Type: application/json" \
-d '{ "tweetIds": ["https://x.com/jack/status/20"] }'

Start a run asynchronously

curl -X POST "https://api.apify.com/v2/acts/myagizm~x-tweet-scraper/runs?token=YOUR_APIFY_TOKEN" \
-H "Content-Type: application/json" \
-d '{ "tweetIds": ["https://x.com/NASA/status/2081860978694594863", "20"] }'

Fetch dataset items later

$curl "https://api.apify.com/v2/acts/myagizm~x-tweet-scraper/runs/last/dataset/items?token=YOUR_APIFY_TOKEN&format=csv"

Change format to json, csv, xlsx, or xml to export scraped data in your preferred format. The Apify Console also auto-generates ready-to-paste JavaScript, Python, and CLI snippets plus an OpenAPI spec for this actor.


Support {#support}

Questions, feature requests, or something not looking right? Open an issue on the actor's Issues tab. Please include the input you used so we can reproduce and fix it quickly.


FAQ — scraping tweets by URL {#faq--scraping-tweets-by-url}

The actor reads only publicly visible posts — the same content any logged-out visitor sees. It never logs in and never accesses protected or deleted content. Compliant use is your responsibility; follow GDPR, CCPA, and X's terms.

Do I need an X API key, developer account, or login?

No. No API key, no OAuth, no X API tier, no login, no cookies.

Do URLs and numeric IDs both work?

Yes. x.com links, twitter.com links, and bare numeric IDs can be mixed in one run.

Does it include view counts?

Yes. viewCount is returned alongside likes, reposts, replies, quotes, and bookmarks.

Can I get the replies under a post?

No. Replies written by other users are not exposed to logged-out clients. If the account you care about wrote the reply, it appears in its own timeline via the Tweets Scraper.

What happens with deleted or protected posts?

They are reported as unavailable in the run log, produce no dataset item (so no charge), and the rest of the batch continues.

Do I get video files?

You get direct MP4 URLs in media[].video. Download them promptly — X signs these URLs and they expire.

Yes, with no limit on how many you queue.

Can I export to CSV, Excel, or JSON?

Yes — JSON, CSV, Excel, or XML.

Can I use it with the Apify API?

Yes, via myagizm~x-tweet-scraper using the sync or async endpoints above.

Is there an MCP server for AI agents?

Yes — Claude, ChatGPT, and Cursor can call it as a tool.

Do I need proxies?

No, proxy handling is built in.

Can I schedule runs?

Yes — Apify Schedules, API, or webhooks. Useful for tracking a post's metrics over time.

How fresh are the metrics?

Live at run time; nothing is cached.

Why is editsRemaining sometimes null?

Older posts predate X's edit feature, so no edit control exists for them.

Why is place or article usually null?

Geotagging is rare today and long-form articles are a Premium feature; the fields fill in whenever the post carries them.


tweet scraper by url · scrape tweet from link · twitter post data api · get tweet metrics · tweet view count checker · twitter engagement checker · archive tweet before deletion · twitter media downloader url · tweet mp4 download link · twitter post scraper no api · x post data extractor · tweet json api · twitter permalink scraper · bulk tweet lookup by id · tweet metrics to csv · twitter ad creative performance · verify influencer engagement · tweet text extractor · twitter card preview scraper · x tweet api alternative


Disclaimer {#disclaimer}

This is an independent tool and is not affiliated with, endorsed by, or sponsored by X Corp., Twitter, or any of their subsidiaries. All product names, logos, and brands are property of their respective owners.

The actor collects only publicly available data — the same content any logged-out visitor can see. It never logs in, never bypasses access controls, and never touches private, protected, or deleted content. You are responsible for how you use the data: if it contains personal data, follow GDPR, CCPA, and other applicable regulations, and respect the platform's terms.


Resources {#resources}


中文说明 —— X(推特)单条推文抓取工具

粘贴 X(Twitter)推文链接或 ID,返回该推文的完整公开数据 —— 不需要 API Key、不需要登录、不需要 Cookie、不需要开发者账号。每条推文返回 33 个字段:完整正文、点赞、转发、回复、引用、书签、浏览量、图片与可直接下载的 MP4 视频链接、话题标签、@提及、已还原外链、发布客户端、置顶与编辑状态、链接卡片、被引用或被转发的原推文(完整嵌套对象),以及完整作者资料。适合衡量单条内容表现、在删除前归档、或把一张推文链接表变成指标表。支持导出 JSON、CSV、Excel、XML。

两分钟内免费拿到第一批数据 —— 填入内容,点击 Start 即可。无需配置,试用不需要信用卡。

这个 Actor 能做什么

  • 🔗 按链接或数字 ID 抓取任意公开推文,两种格式可混用。
  • 📊 全部公开指标 —— 点赞、转发、回复、引用、书签、浏览量
  • 📝 完整正文,长推文自动展开。
  • 🖼️ 媒体资源 —— 图片地址 + 可直接下载的 MP4 链接与时长。
  • 🃏 链接卡片 —— 标题、描述、配图、域名、跳转地址。
  • 🔁 引用与转发展开 —— 原推文以完整嵌套对象返回。
  • 📱 发布客户端,如 Twitter for iPhoneTypefully
  • ✏️ 编辑状态 —— isEditededitsRemaining
  • 👤 每条推文附带完整作者资料
  • 🗂️ 批量排队任意数量链接
  • 📤 导出 JSON / CSV / Excel / XML,或通过 API 拉取。

谁在用

  • 📢 投放与广告团队 —— 衡量具体创意的真实表现。
  • 🤝 红人营销 —— 核实红人声称的单条互动数据。
  • 🗄️ 归档与研究 —— 在推文被删除前保存内容与指标。
  • 📰 记者 —— 引用准确的正文、时间与数字,留下可复现记录。
  • 📊 分析师 —— 一次运行把链接清单变成指标表。
  • 🎬 内容团队 —— 从候选推文中批量提取媒体地址。

可以抓取哪些数据

始终有值:idurltextcreatedAtlikeCountretweetCountreplyCountquoteCountbookmarkCountviewCountlangconversationIdsourceisReply / isRetweet / isQuote / isPinnedpossiblySensitiveisEdited / editsRemainingauthor(完整作者资料)。

内容存在时才有值:

字段说明
mediatypeimageMP4 videodurationMs
hashtags / mentions / links扁平字符串数组,外链已还原
cardnameurltitledescriptionimagedomain
quotedTweet / retweetOf原推文完整嵌套对象
inReplyToId / inReplyToUserId / replyToUsername回复对象
place地理标记
article长文标题、摘要、封面图

使用步骤

  1. 打开 X(Twitter)单条推文抓取工具
  2. Tweet URLs or IDs 中粘贴链接或 ID,例如 https://x.com/NASA/status/208186097869459486320
  3. 点击 ▶ Start
  4. 导出为 JSON、CSV、Excel、XML,或通过 API 获取。

已删除、被封禁或受保护的推文会在日志中标记为不可用,不产生数据条目(因此不计费),其余链接继续正常返回。

输入示例

{ "tweetIds": ["https://x.com/NASA/status/2081860978694594863", "20"] }

输出示例

{
"id": "20",
"url": "https://x.com/jack/status/20",
"text": "just setting up my twttr",
"createdAt": "Tue Mar 21 20:50:14 +0000 2006",
"likeCount": 307402, "retweetCount": 111530, "replyCount": 17840,
"viewCount": 44120987, "lang": "en", "source": "Twitter Web Client",
"media": [], "card": null,
"author": { "username": "jack", "name": "jack", "followers": 6512340, "isVerified": true }
}

数据准确性

指标在运行时实时读取、不缓存。基准测试中随机抽取 15 条推文与另一个独立接口交叉核对:15/15 一致,平均偏差 0.02%

使用建议

  • 🎬 拿到 media[].video 请立刻下载 —— X 的媒体地址带签名且会过期。
  • 🃏 card.domain 归因外链流量,即使被 t.co 包了一层。
  • 🧵 conversationId 还原推文串
  • 🗄️ 归档请定时快照 —— 发布后指标还会持续变化。
  • 🔢 数据库里存的是 ID 也没问题,无需拼回完整链接。

价格

采用按结果计费(pay-per-result):只为真正拿到的数据付费,不按运行时间收费。

  • 💸 成本随结果数量线性增长,预算可以提前算清楚。
  • 📉 Apify 的 Bronze / Silver / Gold / Platinum / Diamond 套餐享受阶梯折扣。
  • 🆓 新账号自带每月免费额度,第一次运行不花钱。
  • 🚫 没有代理附加费、没有单次请求费、没有最低消费。

不可用的推文(已删除 / 被封 / 私密)不会产生数据条目,因此不会计费。实时价格请见 Apify 商店页面

其他 X(Twitter)数据

完整工具家族见 myagizm 商店主页:Instagram、TikTok、LinkedIn、Reddit、YouTube、Google Maps 抓取工具都采用同样的免登录、按结果计费方式。

配合 AI 智能体使用(MCP)

本 Actor 已接入 Apify MCP 服务器,Claude、ChatGPT、Cursor 等助手可以把它当作工具直接调用,用自然语言提问即可获得结构化结果,无需写胶水代码。

集成与 API

支持 Make、Zapier、n8n、Slack、Airbyte、Gumloop、CrewAI、IFTTT、Lindy、GitHub、Google Sheets、Google Drive,以及 Webhook、定时任务和 MCP 服务器。

curl -X POST "https://api.apify.com/v2/acts/myagizm~x-tweet-scraper/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \
-H "Content-Type: application/json" \
-d '{ "tweetIds": ["https://x.com/NASA/status/2081860978694594863", "20"] }'

format 参数改成 jsoncsvxlsxxml 即可导出不同格式。

常见问题

抓取推文合法吗? 只读取公开可见的推文,不登录、不获取受保护或已删除内容。合规使用责任在使用者,请遵守 GDPR / CCPA 与平台条款。

需要 API Key 或登录吗? 不需要。

链接和数字 ID 都支持吗? 都支持,可以在同一次运行中混用。

包含浏览量吗? 包含 viewCount

能抓推文下面的回复吗? 不能。其他用户的回复不对未登录客户端开放。

已删除或私密推文怎么处理? 日志中标记为不可用、不产生条目(不计费),其余继续。

能拿到视频文件吗? 返回 MP4 直链,请及时下载,链接会过期。

能批量处理很多链接吗? 可以,数量不限。

支持导出 CSV / Excel / JSON 吗? 支持四种格式。

需要代理吗? 不需要。

可以定时运行吗? 可以,适合长期跟踪某条推文的指标变化。

为什么 editsRemaining 有时是 null? 早期推文发布于编辑功能上线之前,没有编辑控制信息。

免责声明

本工具为独立第三方工具,与 X Corp.、Twitter 及其关联公司无任何隶属、认可或赞助关系。所有商标归各自所有者。

本 Actor 只采集公开可见的数据 —— 即任何未登录访客都能看到的内容。它不登录、不绕过访问控制、不获取私密或已删除内容。数据的使用责任由使用者承担:如涉及个人数据,请遵守 GDPR、CCPA 等相关法规以及平台条款。

相关搜索

推文链接抓取 · 按 url 抓推文 · 推文数据 api · 获取推文指标 · 推文浏览量查询 · 推特互动查询 · 推文删除前归档 · 推特媒体下载 链接 · 推文 mp4 下载 · 免 api 推文抓取 · x 帖子数据提取 · 推文 json api · 批量按 id 查推文 · 推文指标导出 csv · 推特广告创意表现 · 核实红人互动 · 推文正文提取 · 推特卡片抓取 · x 推文 api 替代