Sand AISand AI MAGI-2MAGI-2가 이제 SandBase에서 제공됩니다: 네이티브 오디오가 포함된 1080p 동영상지금 사용해 보기

Twitter User affiliates

API 문서
https://api.sandbase.ai/v1/api/twitter/web/user-affiliates

Get user affiliates on Twitter. Returns the platform data as structured JSON.

가격
$0.001USD / 호출
메서드
POST
응답
JSON
매개변수
필수 1개 · 선택 사항 1개

Playground

입력
Screen Name
Cursor
출력준비됨

출력이 여기에 표시됩니다

입력을 완료한 다음 Run을 클릭하세요.

API README

Twitter User affiliates API

Returns the accounts affiliated with a Twitter account, such as the staff, missions and sub-accounts of an organization. It needs the screen_name of the parent account, for example NASA.

Use cases

  • List the official sub-accounts and people tied to an organization account like NASA.
  • Compare follower counts across the affiliated accounts of a brand or agency.
  • Build a directory of an organization's missions, teams and staff accounts with their bios.
  • Collect user_id values of affiliated accounts to feed into other profile lookups.

Request

curl -X POST "https://api.sandbase.ai/v1/api/twitter/web/user-affiliates" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"screen_name": "NASA"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
screen_namestringYesScreen Name
cursorstringNoCursor

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "affilates": [
    {
      "description": "Official Twitter account of NASA’s Chandra X-ray Observatory. Operated for NASA …",
      "followers_count": 418886,
      "friends_count": 198,
      "media_count": 4664,
      "name": "Chandra Observatory",
      "profile_image": null,
      "screen_name": "chandraxray",
      "statuses_count": 78136,
      "user_id": "12415722"
    }
  ],
  "next_cursor": "DAAHCgABHWL0WQD__-wLAAIAAAAIMzAyNTU4MzMIAAMAAAACAAA"
}

Response fields

FieldMeaning
affilatesList of affiliated accounts. The key is spelled affilates in the response.
affilates[].screen_name / affilates[].nameThe handle and display name of the affiliated account.
affilates[].user_idNumeric ID of the account, returned as a string.
affilates[].descriptionBio text of the affiliated account. Long bios are cut off with an ellipsis.
affilates[].followers_count / affilates[].friends_countNumber of followers and number of accounts it follows.
affilates[].statuses_count / affilates[].media_countNumber of posts and number of media posts on the account.
affilates[].profile_imageProfile image value. It is null in this response.
next_cursorCursor string for the next page of affiliates.

Notes

  • Pass next_cursor from the response as cursor in the next request to get the next page.
  • The screen_name is the handle without the @ sign, for example NASA.
  • Use Twitter (X) User Profile to get full details for an affiliated account.

Pricing

$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

더 살펴보기

관련 API

모든 API
API가격응답
X (Twitter)$0.001 / 호출JSON
Twitter$0.001 / 호출JSON
Twitter$0.001 / 호출JSON
Twitter$0.001 / 호출JSON
Twitter$0.001 / 호출JSON
Twitter$0.001 / 호출JSON

가이드:X API alternative: pay per call, not per postBest Twitter API in 2026: X API Pricing Compared

질문

FAQ

Twitter User affiliates API를 어떻게 사용하나요?

Authorization 헤더(Bearer)에 SandBase API 키를 넣고, 매개변수를 JSON 본문으로 담아 https://api.sandbase.ai/v1/api/twitter/web/user-affiliates에 POST 요청을 보내세요. 이 페이지의 Playground에서도 코드를 작성하지 않고 직접 테스트할 수 있습니다.

Twitter User affiliates API 비용은 얼마인가요?

호출당 $0.001, SandBase 잔액에서 청구됩니다. 사용한 호출에 대해서만 요금이 부과되며, 구독은 없습니다.

Twitter User affiliates API는 어떤 매개변수를 받나요?

필수: screen_name (string). 선택: cursor (string). 이 페이지의 Parameters 표와 Playground에 모든 필드가 나와 있습니다.

Twitter User affiliates API는 무엇을 반환하나요?

같은 HTTP 요청에서 반환되는 JSON 응답입니다(동기식). 이 페이지의 README에 샘플 응답이 포함되어 있습니다.

X (Twitter) 개발자 계정이나 API 키가 필요한가요?

아니요. Twitter User affiliates은 SandBase를 통해 실행되므로, SandBase API 키 하나로 이 엔드포인트와 카탈로그의 다른 모든 API 및 모델을 사용할 수 있습니다. X (Twitter) API 액세스를 별도로 신청할 필요는 없습니다.