工具详情
X / Twitter 粉丝与关注列表采集工具
导出 X 账号公开可获取的粉丝或关注列表,保留账号简介、粉丝数、用户 ID 和来源关系。查看输入示例、关键输出与采集范围。
同一次导出的 10 条粉丝记录
输入是 @OpenAI,关系选「粉丝」,上限设为 10。下面的账号是当时返回的粉丝,不是 @OpenAI 关注的人。
打开示例不会开始采集。运行前请确认价格,并在 Apify 设置费用上限。
| X 账号 | 粉丝数 | 关注数 |
|---|---|---|
| @SKguchi1111 | 0 | 4 |
| @VaeVae993 | 1 | 35 |
| @jaykor92 | 0 | 3 |
| @Shaw0n9 | 1 | 10 |
| @Laraohup | 0 | 4 |
| @thunder_mythos | 1 | 78 |
| @oanq623223 | 0 | 9 |
| @LogikillP | 0 | 17 |
| @therealdebwn | 0 | 9 |
| @11amTokyo | 0 | 23 |
,不是当前粉丝名单。
要整理下载的表格?阅读粉丝导出指南。要查看 X 公开显示的账号来源信息,可以使用账号来源工具。
下文的参数示例使用另一个账号,不是这 10 行数据的输入。
想了解一个 X 账号的受众,只有粉丝总数还不够。这个工具把可获取的粉丝或关注列表整理成逐行账号资料,方便你筛选简介、比较账号规模,或在后续流程中关联其他数据。
它由 Arjun 开发,在你的 Apify 账户中运行。Made by Arjun 提供说明与示例,不在网页里直接执行采集。
什么情况下适合使用
- 整理某个公开账号的受众资料,按简介、地区或粉丝规模做进一步筛选。
- 查看一个账号关注了谁,整理相关开发者、创作者或机构。
- 导出多个账号的列表后,自己按
user_id比较受众重合情况。工具返回列表,重合分析需要后续处理。
从一个账号、20 条资料开始
复制下面的输入到 Apify JSON 编辑器。示例请求 apify 账号的粉丝列表,最多保存 20 条匹配资料;这不是保证返回的数量。
用于 Apify 的 JSON 输入编辑器。运行前确认当前价格和费用上限。
{
"screenNames": [
"apify"
],
"relationshipType": "followers",
"maxItemsPerUser": 20
}完整输入参数
| 参数与类型 | 必填与默认值 | 含义与限制 |
|---|---|---|
screenNamesstring[] |
Schema 可选无默认值
| 用户名、@用户名、主页链接或数字 ID。与 userIds 至少填写一项;两者合计最多 25 个不同输入标识。 |
userIdsstring[] |
Schema 可选[]
| 正整数形式的 X 用户 ID,也可以单独使用。若只查询 ID,移除表单预填的用户名。 |
relationshipTypestring |
Schema 必填"followers"
| followers 获取粉丝,followings 获取关注列表。需要两种列表时分别运行。 followers followings |
maxItemsPerUserinteger |
Schema 必填100
| 每个目标账号最多保存的匹配资料数。0 表示继续读取来源可提供的列表;启用筛选时仍受检查数量限制。 数值范围:0 … Schema 未设上限 |
verificationstring |
Schema 可选"any"
| 按认证信号筛选;蓝标、企业和政府标记是不同信号,可能重叠。 any any_verified blue_verified business government unverified |
visibilitystring |
Schema 可选"any"
| 按公开或受保护账号筛选;不是绕过受保护内容的访问限制。 any public protected |
minFollowersinteger |
Schema 可选0
| 粉丝数下限;0 关闭这一筛选条件。 数值范围:0 … Schema 未设上限 |
maxFollowersinteger |
Schema 可选无默认值
| 粉丝数上限;省略表示不设上限,不能低于 minFollowers。 数值范围:0 … Schema 未设上限 |
minTweetsinteger |
Schema 可选0
| 累计发帖数下限,0 关闭;不是近期活跃度。 数值范围:0 … Schema 未设上限 |
maxProfilesScannedPerUserinteger |
Schema 可选20000
| 仅启用筛选时生效:每个目标账号最多检查多少条资料。0 表示检查至来源列表结束,不保证保存同样数量。 数值范围:0 … Schema 未设上限 |
includeRawUserboolean |
Schema 可选false
| 将原始 X 用户对象放入 raw_user。对象较大,其内部结构由来源决定。 |
需要缩小范围时,可以使用认证状态、账号可见性、粉丝数量和总发帖数筛选。总发帖数不是近期活跃度;筛选后可保存的数量,也可能少于你设置的上限。
得到的是账号资料,不只是用户名
以下为示意数据,仅展示关键字段,不是上方输入的实际运行结果。空值不等于零。
{
"source_screen_name": "example_source",
"relationship_type": "followers",
"user_id": "1000000000000000001",
"screen_name": "example_builder",
"name": "Example Builder",
"description": "Building data tools and Python projects.",
"location": "London",
"followers_count": 2400,
"friends_count": 180,
"tweets_count": 420,
"profile_url": "https://x.com/example_builder"
}| 关键字段 | 如何使用 |
|---|---|
user_id、screen_name、name |
识别账号。合并不同批次时优先保留用户 ID,不只依赖可能变化的用户名。 |
description、location |
查看账号填写的简介和地区。地区文本是自填信息,不等于核实后的所在地。 |
followers_count、friends_count、tweets_count |
分别查看粉丝数、关注数和累计发帖数,辅助筛选账号。 |
source_screen_name、relationship_type |
保留这条资料来自哪个目标账号,以及它属于粉丝还是关注关系。 |
profile_url |
返回原始主页,人工确认上下文。 |
按结果类型查看完整记录
保留样例记录本身的全部字段,不把其他类型或未出现的可选字段补进来。真实记录、历史样例与文档示意分别标注;它们都不是实时数据。
账号记录:文档示意
{
"status": "success",
"source_user_id": "44196397",
"source_screen_name": "elonmusk",
"source_profile_url": "https://x.com/elonmusk",
"requested_identifier": "elonmusk",
"relationship_type": "followers",
"user_id": "1278722158970068993",
"screen_name": "example",
"profile_url": "https://x.com/example",
"name": "Example User",
"description": "Example bio",
"location": "San Francisco",
"created_at": "2020-07-02T12:00:00Z",
"followers_count": 1250,
"friends_count": 340,
"listed_count": 18,
"favourites_count": 4260,
"tweets_count": 815,
"media_count": 120,
"pinned_tweet_ids": [
"1900000000000000000"
],
"verified": false,
"is_blue_verified": true,
"verified_type": "",
"account_label": null,
"protected": false,
"default_profile": false,
"geo_enabled": false,
"advertiser_account_type": "none",
"business_profile_state": "none",
"withheld_in_countries": [],
"website_url": "https://example.com",
"bio_urls": [
"https://example.com/about"
],
"profile_image_url": "https://pbs.twimg.com/profile_images/example.jpg",
"profile_banner_url": "https://pbs.twimg.com/profile_banners/example",
"default_profile_image": false
}账号不可用:状态示意
{
"status": "not_found",
"requested_identifier": "missing-user",
"relationship_type": "followers",
"error": "X user @missing-user was not found or is unavailable."
}完整输出字段参考
查看全部 45 个字段路径
| 字段 | Schema 类型 | 含义 |
|---|---|---|
status | string | 该记录的业务状态;结合记录类型阅读,不能把失败或无结果状态当作成功数据。success no_results not_found invalid_input error |
message | string | 状态的补充说明。 |
error | string | 无法获取资料时的错误说明。 |
results_saved | integer | 状态记录报告的已保存结果数量。 |
source_user_id | string | 目标账号的用户 ID,按字符串保留。 |
source_screen_name | string | 被查询的目标账号用户名。 |
source_profile_url | string | 目标账号主页链接。 |
requested_identifier | string | 本次请求使用的账号标识。 |
relationship_type | string | 这条资料属于目标账号的粉丝还是关注列表。followers followings |
user_id | string | 返回账号的用户 ID;合并数据时优先使用 ID。 |
screen_name | string | 返回账号的用户名,可能随时间改变。 |
profile_url | string | 返回账号的 X 主页链接。 |
name | string | 账号显示名称。 |
description | string | 来源公开展示的简介或内容说明,不是工具生成的摘要。 |
location | string | 账号自填的地区文本,不是经过核实的所在地。 |
created_at | string | 账号创建时间,规范为 UTC ISO 8601。 |
followers_count | integer | 返回账号的粉丝数。 |
friends_count | integer | 返回账号关注的账号数。 |
listed_count | integer | 返回账号被加入列表的计数。 |
favourites_count | integer | 返回账号的累计点赞计数,不是其帖子收到的点赞。 |
tweets_count | integer | 返回账号的累计发帖计数。 |
media_count | integer | 返回账号的媒体帖子计数。 |
pinned_tweet_ids | string[] | 置顶帖子 ID 列表。 |
verified | boolean | 来源的传统认证信号,与蓝标字段分别保留。 |
is_blue_verified | boolean | 来源提供的蓝标认证信号。 |
verified_type | string | 来源提供的企业、政府等认证类型;空值不能自行补成已认证。 |
affiliation_name | string | 来源提供的关联机构名称;未提供时可能为空。 |
affiliation_url | string | 来源提供的关联机构链接。 |
affiliation_badge_url | string | 来源提供的关联机构标记图片链接。 |
account_label | string | null | 来源提供的戏仿、评论或粉丝账号标签;没有标签时可为 null。 |
protected | boolean | 账号是否受保护。 |
profile_interstitial_type | string | 来源提供的主页提示类型。 |
can_media_tag | boolean | 来源提供的媒体标记许可状态。 |
default_profile | boolean | 来源提供的默认主页设置标记。 |
geo_enabled | boolean | 来源提供的位置功能标记,不代表当前所在地。 |
advertiser_account_type | string | 来源提供的广告账号类型。 |
business_profile_state | string | 来源提供的商务主页状态。 |
withheld_in_countries | string[] | 来源列出的地区限制代码。 |
website_url | string | 账号公开填写的网站链接。 |
bio_urls | string[] | 账号简介中的展开链接。 |
profile_image_url | string | 头像链接。 |
profile_image_shape | string | 来源提供的头像形状标记。 |
profile_banner_url | string | 主页横幅图片链接。 |
default_profile_image | boolean | 是否使用默认头像。 |
raw_user | object | includeRawUser 启用时附带的原始 X 对象;没有固定的内部字段清单,原始时间格式不强制转换。 |
采集范围与数据边界
结果来自来源当前可提供的公开列表。账号页面上的粉丝总数,不等于本次一定能导出的行数。可见性、筛选、平台返回范围和运行费用上限都会影响结果。
maxItemsPerUser: 0 表示继续获取来源可提供的列表,不代表可以绕过访问限制;启用筛选时,待检查资料的上限仍会影响运行。缺失字段应保留为空,不能直接解释为零。
常见问题
可以直接导出 CSV 吗?
运行后,在 Apify Dataset 中选择 CSV 等导出格式。需要接入自动化流程时,也可以读取 JSON 数据。本站不会保管你导出的列表。
一次能拿到粉丝和关注两种列表吗?
当前输入每次选择一种关系。需要两者时,分别使用 followers 和 followings 运行,并保留结果里的来源字段。
在哪里看价格?
查看对应 Apify 产品页的当前价格,并在运行前确认费用上限。本文不承诺固定费用或完整采集数量。
需要按步骤操作?阅读 X 粉丝导出指南,从少量结果走到 CSV。
还在选工具?返回全部 Actors,或 先了解 Apify 的运行方式。
参数与字段核对:2026 年 11 月 9 日。独立开发工具,与 X 无官方关联。