GetXAPI
Users

User Affiliates

Get affiliated accounts of a verified Twitter/X organization via API. $0.001 per call, ~20 users per call. GetXAPI affiliates endpoint with pagination.

GET/twitter/user/affiliates

This endpoint costs $0.001 per API call and returns ~20 users per page.

Query Parameters

ParameterTypeRequiredDescription
userNamestringYesUsername of the organization
cursorstringNoPagination cursor from previous response

Notes

  • Returns affiliated accounts of a verified organization (companies, brands, nonprofits).
  • Only organizations with the "Affiliates" tab on their profile have affiliates. Regular user accounts return 0 results.
  • Supports cursor pagination (~20 users per page).

Response (200)

{
  "userName": "eigencloud",
  "user_count": 20,
  "has_more": true,
  "next_cursor": "DAAC...",
  "affiliates": [
    {
      "type": "user",
      "id": "44838",
      "userName": "sreeramkannan",
      "name": "Sreeram Kannan",
      "url": "https://x.com/sreeramkannan",
      "isVerified": false,
      "isBlueVerified": true,
      "profilePicture": "https://pbs.twimg.com/profile_images/..._400x400.jpg",
      "coverPicture": "https://pbs.twimg.com/profile_banners/...",
      "description": "Founder @eigenlayer",
      "location": "Seattle",
      "followers": 44838,
      "following": 1200,
      "tweets": 5000,
      "createdAt": "Mon Mar 04 12:37:18 +0000 2024"
    }
  ]
}

Error Responses

400 - Missing userName

{
  "error": "Missing required query param: userName"
}

Examples

curl -X GET "https://api.getxapi.com/twitter/user/affiliates?userName=eigencloud" \
  -H "Authorization: Bearer API_KEY"

# With pagination
curl -X GET "https://api.getxapi.com/twitter/user/affiliates?userName=eigencloud&cursor=DAAC..." \
  -H "Authorization: Bearer API_KEY"
const response = await fetch(
  "https://api.getxapi.com/twitter/user/affiliates?userName=eigencloud",
  {
    headers: {
      Authorization: "Bearer API_KEY",
    },
  }
);
const data = await response.json();
console.log(data.affiliates);
import requests

response = requests.get(
    "https://api.getxapi.com/twitter/user/affiliates",
    headers={"Authorization": "Bearer API_KEY"},
    params={"userName": "eigencloud"},
)
print(response.json()["affiliates"])

On this page