Sand AISand AI MAGI-2ตอนนี้ MAGI-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 / คำขอ
Method
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.

สำรวจเพิ่มเติม

APIs ที่เกี่ยวข้อง

APIs ทั้งหมด
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

คำถาม

คำถามที่พบบ่อย

ฉันจะใช้ Twitter User affiliates API ได้อย่างไร?

ส่งคำขอ POST ไปที่ https://api.sandbase.ai/v1/api/twitter/web/user-affiliates โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด

Twitter User affiliates API ราคาเท่าไร?

$0.001 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน

Twitter User affiliates API รับพารามิเตอร์อะไรบ้าง?

ที่ต้องระบุ: screen_name (string). ตัวเลือก: cursor (string). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์

Twitter User affiliates API ส่งคืนอะไร?

การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ

ฉันจำเป็นต้องมีบัญชีนักพัฒนาหรือ API key ของ X (Twitter) ไหม?

ไม่จำเป็น Twitter User affiliates ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง X (Twitter) API แยกต่างหาก