フォロワー数の指定取得
フォロワー数の指定取得.
APIリファレンスに戻る
/Followers & Following Endpoints
GET
/twitter/followers/{screen_name}/{count}API 認証
AuthorizationBearer token · header必須TwexAPIのグローバル認証トークン (Bearer Token)。ヘッダーに含める必要があります:Authorization: Bearer <YOUR_TWEXAPI_KEY>。
パスパラメータ
screen_namestring必須Twitterユーザー名(Handle、@なし)
countinteger必須The number of followers to get.
レスポンス
200A list of user info, or a task_id for large requests
codeintegerHTTP ステータスコード(200 は成功)
default: 200
msgstringレスポンスメッセージ(例: 'success')
default: "success"
dataUserInfo | any[] | FriendshipTaskData必須返却されるコアデータオブジェクトまたは配列
プロパティを表示プロパティを非表示
Any of:
UserInfo | any[]
Array of
UserInfo | anyAny of:
UserInfo
userIdstring必須User ID
isBlueVerifiedboolean必須Blue verification status
createdAtstring必須Account creation date
createdAtDatetimestring | anyAccount creation datetime in ISO format
プロパティを表示プロパティを非表示
Any of:
string
stringany
anydefaultProfileboolean必須Default profile flag
defaultProfileImageboolean必須Default profile image flag
descriptionstring必須プロフィール自己紹介文(Bio)
locationstring必須Location
fastFollowersCountinteger必須Fast followers count
favouritesCountinteger必須Likes count
followersCountinteger必須Followers count
followingCountinteger必須Following count
hasCustomTimelinesboolean必須Has custom timelines flag
isTranslatorboolean必須Is translator flag
listedCountinteger必須Listed count
mediaCountinteger必須Media count
namestring必須ユーザー表示名
normalFollowersCountinteger必須Normal followers count
pinnedTweetIdsStrany[] | anyPinned tweet IDs
プロパティを表示プロパティを非表示
Any of:
any[]
Array of
anyanyany
anypossiblySensitiveboolean必須Possibly sensitive flag
profileImageUrlHttpsstring必須Profile image URL
usernamestring必須Username
statusesCountinteger必須Tweets count
translatorTypestring | anyTranslator type
プロパティを表示プロパティを非表示
Any of:
string
stringany
anyverifiedboolean必須Legacy verification status
verified_typestring | anyVerification badge type: blue, business, government, etc.
プロパティを表示プロパティを非表示
Any of:
string
stringany
anywithheldInCountriesany[] | anyWithheld in countries
プロパティを表示プロパティを非表示
Any of:
any[]
Array of
anyanyany
anyprotectedboolean必須Protected account flag
urlstring | anyUser profile URL
プロパティを表示プロパティを非表示
Any of:
string
stringany
anydescriptionUrlsany[] | anyDescription URLs
プロパティを表示プロパティを非表示
Any of:
any[]
Array of
anyanyany
anyurlsany[] | anyUser URLs
プロパティを表示プロパティを非表示
Any of:
any[]
Array of
anyanyany
anypinnedTweetIdsany[] | anyPinned tweet IDs
プロパティを表示プロパティを非表示
Any of:
any[]
Array of
anyanyany
anyany
anyFriendshipTaskData
task_idstring必須Task ID for polling status/next endpoints
reusedboolean必須True if an in-flight task was reused
422パラメータバリデーションエラー
detailValidationError[]プロパティを表示プロパティを非表示
Array of
ValidationErrorlocstring | integer[]必須プロパティを表示プロパティを非表示
Array of
string | integerAny of:
string
stringinteger
integermsgstring必須レスポンスメッセージ(例: 'success')
typestring必須inputanyctxobject⚡インタラクティブテストGET
⚡インタラクティブテスト / Try APIGETLive Console
🌐対象サーバー:
https://api.twexapi.io● 本番環境レディ
🔍
公開データ取得(TwexAPIキーのみ、Twitter Cookie不要)
本エンドポイントは公開Twitterデータの検索・取得用です。TwitterアカウントやCookieは一切不要です!下記の「API認証」に TwexAPIプラットフォームキー (Bearer Token) を入力するだけで即座にテストできます。
🔑API 認証
⚙️リクエストパラメータ (2)
📡
暂无响应数据
请在「请求配置」中确认参数后,点击底部的「发送请求」按钮。
リクエスト例
curl -X GET "https://api.twexapi.io/twitter/followers/elonmusk/200" \
-H "Authorization: Bearer YOUR_TOKEN"const response = await fetch("https://api.twexapi.io/twitter/followers/elonmusk/200", {
method: "GET",
headers: {
"Authorization": "Bearer YOUR_TOKEN"
}
});import requests
response = requests.get(
"https://api.twexapi.io/twitter/followers/elonmusk/200",
headers={
"Authorization": "Bearer YOUR_TOKEN"
},
)レスポンス例
{
"code": 200,
"msg": "success",
"data": [
{
"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
]
}
]
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}