导出用户粉丝列表 (v3 游标高性能版)
基于游标机制的高性能推特粉丝列表抓取与导出接口。无需登录与 Cookie 授权,即可持续断点续传拉取海量关注者账号资料。广泛适用于 B2B 获客线索挖掘、KOL 粉丝画像分析及竞品受众调研。单价 $0.05 / 1,000 个用户。
返回 API 接口列表
/Followers & Following Endpoints
POST
/v3/twitter/users/followersAPI 鉴权
AuthorizationBearer token · header必填TwexAPI 平台的全局身份凭据 (Bearer Token)。所有接口调用均需在 Header 中携带:Authorization: Bearer <YOUR_TWEXAPI_KEY>。可在 TwexAPI 用户控制台获取。
请求体
必填application/jsonusernamestring必填推特用户名(无需包含 @)
countinteger | any要获取的记录数量上限
default: 20
展开属性折叠属性
Any of:
integer
integerany
anycursorstring | any用于拉取下一页的分页游标(Cursor),首次请求时不传或传空字符串
展开属性折叠属性
Any of:
string
stringany
any响应结果
200基于游标分页的粉丝列表导出数据。
codeinteger必填HTTP 响应状态码(200 表示成功)
msgstring必填响应提示信息(例如 'success')
dataVerifiedFollowersData | any接口返回的核心业务数据载荷
展开属性折叠属性
Any of:
VerifiedFollowersData
usersUserInfo[]必填本页导出的粉丝用户对象列表
展开属性折叠属性
Array of
UserInfouserIdstring必填用户唯一数字 ID
isBlueVerifiedboolean必填推特蓝 V 认证详细状态
createdAtstring必填推特账号注册日期(格式如 'Wed May 23 2012')
createdAtDatetimestring | anyISO 8601 标准格式的账号注册时间
展开属性折叠属性
Any of:
string
stringany
anydefaultProfileboolean必填标记该用户是否仍在使用推特默认个人资料设置
defaultProfileImageboolean必填标记该用户是否仍在使用推特默认头像(蛋头头像)
descriptionstring必填个人主页 Bio 自我介绍文本
locationstring必填用户在个人主页填写的所在地/国家地区
fastFollowersCountinteger必填活跃优质粉丝总数
favouritesCountinteger必填用户累计点赞过的推文总数
followersCountinteger必填该账号的粉丝总数
followingCountinteger必填该账号正在关注的博主总数
hasCustomTimelinesboolean必填标记该账号是否配置了个性化自定义时间线
isTranslatorboolean必填标记该用户是否为推特官方认证译者
listedCountinteger必填被推特用户收录进公开列表的累计次数
mediaCountinteger必填用户发布的图片与视频推文总数
namestring必填用户昵称/显示名称
normalFollowersCountinteger必填普通粉丝总数
pinnedTweetIdsStrany[] | any该用户个人主页置顶的推文 ID 列表
展开属性折叠属性
Any of:
any[]
Array of
anyanyany
anypossiblySensitiveboolean必填标记该内容是否可能包含敏感或限制级信息
profileImageUrlHttpsstring必填用户头像图片访问 URL 地址
usernamestring必填Username
statusesCountinteger必填该账号累计发表的推文总数量
translatorTypestring | any推特译者认证类型标识
展开属性折叠属性
Any of:
string
stringany
anyverifiedboolean必填是否通过推特官方实名/身份认证
verified_typestring | any推特官方认证徽章类型(blue 个人蓝 V、business 企业金 V、government 政府灰 V 等)
展开属性折叠属性
Any of:
string
stringany
anywithheldInCountriesany[] | any因各国当地法律合规原因在特定国家/地区被屏蔽隐藏的国家代码列表
展开属性折叠属性
Any of:
any[]
Array of
anyanyany
anyprotectedboolean必填是否为推特私密锁推账号(保护模式,仅已批准粉丝可见)
urlstring | any用户在个人主页填写的对外链接 URL
展开属性折叠属性
Any of:
string
stringany
anydescriptionUrlsany[] | any个人简介 Bio 中嵌入的超链接列表
展开属性折叠属性
Any of:
any[]
Array of
anyanyany
anyurlsany[] | any用户个人资料中关联的所有外部链接列表
展开属性折叠属性
Any of:
any[]
Array of
anyanyany
anypinnedTweetIdsany[] | any该用户个人主页置顶的推文 ID 列表
展开属性折叠属性
Any of:
any[]
Array of
anyanyany
anyhas_next_pageboolean必填是否存在下一页数据(true 表示还有更多数据)
next_cursorstring | any用于拉取下一页数据的游标(Cursor)。当 has_next_page 为 true 时将此值作为下一页的 cursor 参数传入
展开属性折叠属性
Any of:
string
stringany
anyany
any422请求参数校验错误
detailValidationError[]展开属性折叠属性
Array of
ValidationErrorlocstring | integer[]必填展开属性折叠属性
Array of
string | integerAny of:
string
stringinteger
integermsgstring必填响应提示信息(例如 'success')
typestring必填inputanyctxobject⚡交互式测试POST
⚡交互式测试 / Try APIPOSTLive Console
🌐目标服务器:
https://api.twexapi.io● 生产环境就绪
🔍
公开数据读取(仅需 TwexAPI 平台密钥,无需 Twitter Cookie)
本接口为公开推特数据检索/查询,无需任何推特账号或 Cookie!仅需在下方「API 鉴权」中输入您的 TwexAPI 平台密钥 (Bearer Token) 即可直接发起测试。
🔑API 鉴权
📝请求体application/json
📡
暂无响应数据
请在「请求配置」中确认参数后,点击底部的「发送请求」按钮。
请求示例
curl -X POST "https://api.twexapi.io/v3/twitter/users/followers" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"username": "elonmusk",
"count": 20,
"cursor": ""
}'const response = await fetch("https://api.twexapi.io/v3/twitter/users/followers", {
method: "POST",
headers: {
"Authorization": "Bearer YOUR_TOKEN",
"Content-Type": "application/json"
},
body: JSON.stringify({
"username": "elonmusk",
"count": 20,
"cursor": ""
})
});import requests
response = requests.post(
"https://api.twexapi.io/v3/twitter/users/followers",
headers={
"Authorization": "Bearer YOUR_TOKEN",
"Content-Type": "application/json"
},
json={
"username": "elonmusk",
"count": 20,
"cursor": ""
},
)响应示例
{
"code": 200,
"msg": "success",
"data": {
"users": [
{
"userId": "string",
"isBlueVerified": true,
"createdAt": "string",
"createdAtDatetime": "string",
"defaultProfile": true,
"defaultProfileImage": true,
"description": "string",
"location": "string",
"fastFollowersCount": 0,
"favouritesCount": 0,
"followersCount": 0,
"followingCount": 0,
"hasCustomTimelines": true,
"isTranslator": true,
"listedCount": 0,
"mediaCount": 0,
"name": "string",
"normalFollowersCount": 0,
"pinnedTweetIdsStr": [
null
],
"possiblySensitive": true,
"profileImageUrlHttps": "string",
"username": "string",
"statusesCount": 0,
"translatorType": "string",
"verified": true,
"verified_type": "blue",
"withheldInCountries": [
null
],
"protected": true,
"url": "string",
"descriptionUrls": [
null
],
"urls": [
null
],
"pinnedTweetIds": [
null
]
}
],
"has_next_page": true,
"next_cursor": ""
}
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}