X Twitter Getusersfollowing

24 credits/call
ae_x_twitter_getusersfollowing

Get one page of accounts followed by a user. Page size can vary; continue using the returned pagination token.

Social
24 credits/call

Pricing

24 credits/call
ConditionCharge
Each call24 credits/call

Parameters

Optional parameters use the platform defaults when omitted.

ParameterTypeRequiredDescriptionDefault
idstringYes用户ID,填写数字字符串。 Numeric user ID.—
pagination_tokenstringNo上一页返回的分页标记。首次查询不填;不能自行编造。 Pagination token returned by the previous page. Omit for the first page; do not invent a token.—

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_getusersfollowing' \
  --header "X-Api-Key: $AGENTEARTH_API_KEY" \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "params": {
    "id": "2244994945"
  }
}'
Response exampleresponse.json
JSONPartial content
{
  "data": [
    {
      "id": "2085838061347217408",
      "name": "Grok Bot",
      "username": "bot"
    }
  ],
  "meta": {
    "next_token": "TL5FSBKA3O11EZZZ",
    "result_count": 100
  }
}

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