X Twitter Get Affiliates By Username

2.07 credits/call
ae_x_twitter_get_affiliates_by_username

X关联账号(按用户名)。列出指定机构用户名的公开关联账号列表;仅必填screen_name用户名,无需数字ID或先调用其他工具查询ID。首次省略cursor,继续查询时使用本接口上次返回的next_cursor。每次直接返回一页,数量可变,不自动翻页,也不保证一次查全。关联账号列表位于data.affilates(字段按返回拼写),并在提供时返回next_cursor;个别字段可能缺失,不保证统计字段齐全。适用于具有公开关联账号的机构,个人账号可能无结果;并非关注列表或粉丝列表。

Social
2.07 credits/call

Pricing

2.07 credits/call
ConditionCharge
Each call2.07 credits/call

The fixed fee is 2.07 credits per call.

Successful calls are charged, including calls that return no affiliated accounts. Failed calls are not charged. Each call retrieves one page without automatic pagination; each request for another page using the returned cursor is charged separately. The fee does not vary with the number of affiliated accounts returned or follower counts.

Parameters

Optional parameters use the platform defaults when omitted.

ParameterTypeRequiredDescriptionDefault
cursorstringNo游标/Cursor—
screen_namestringYes用户名/Screen Name—

Invocation example

Copy the request and explore its response example.

POST/agent-api/v1/tool/executeX-Api-Key
Request coderequest.sh
curl --request POST \
  --url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_x_twitter_get_affiliates_by_username' \
  --header "X-Api-Key: $AGENTEARTH_API_KEY" \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "params": {
    "cursor": "DAAHCgABHXVHWOa__-wLAAIAAAAIMzAyNTU4MzMIAAMAAAACAAA",
    "screen_name": "NASA"
  }
}'
Response exampleresponse.json
JSONPartial content
{
  "code": 200,
  "data": {
    "affilates": [
      {
        "description": "NASA's Wallops Flight Facility is NASA's only owned and operated launch range.  Located on the Eastern Shore of Virginia.\n\nVerification: https://t.co/8x9gorB3LK",
        "followers_count": 330914,
        "friends_count": 154,
        "media_count": 1849,
        "name": "NASA Wallops",
        "profile_image": null
      }
    ],
    "next_cursor": "DAAHCgABHXVHWOa__9gLAAIAAAAJMjM4Mjg1MjA3CAADAAAAAgAA"
  },
  "docs": "https://api.tikhub.io/#/Twitter-Web-API/fetch_user_affiliates_api_v1_twitter_web_fetch_user_affiliates_get",
  "message": "Request successful. This request will incur a charge.",
  "message_zh": "请求成功,本次请求将被计费。",
  "params": {
    "cursor": "DAAHCgABHXVHWOa__-wLAAIAAAAIMzAyNTU4MzMIAAMAAAACAAA",
    "screen_name": "NASA"
  }
}

This example shows part of the response. Copied content is valid JSON.