Sand AISand AI MAGI-2MAGI-2 hiện đã có trên SandBase: video 1080p với âm thanh gốcDùng thử ngay

Twitter List members

Tài liệu API
https://api.sandbase.ai/v1/api/twitter/web/list-members

Get list members on Twitter. Returns the platform data as structured JSON.

Giá
$0.001USD / lượt gọi
Phương thức
POST
Phản hồi
JSON
Tham số
1 bắt buộc · 1 tùy chọn

Phòng thử nghiệm

Đầu vào
List ID
Cursor
Đầu raSẵn sàng

Đầu ra của bạn sẽ xuất hiện ở đây

Hoàn tất đầu vào, rồi nhấp Run.

README API

Twitter List members API

Returns the members of a Twitter list as structured JSON. Each member includes profile details such as name, handle, follower count and account creation date. You need the list_id of the list.

Use cases

  • Export the accounts on a curated list to review who a list owner follows in a topic area.
  • Compare follower counts across list members to rank the most influential accounts in a niche.
  • Check which members of a list carry a verified badge or a business label.
  • Page through a large list to build a full roster of its accounts.

Request

curl -X POST "https://api.sandbase.ai/v1/api/twitter/web/list-members" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"list_id": "84839422"}'

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

Parameters

NameTypeRequiredDescription
list_idstringYesList ID
cursorstringNoCursor

Example response

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

{
  "members": [
    {
      "affiliates": {
        "label": {
          "badge": {
            "url": "https://pbs.twimg.com/profile_images/1955359038532653056/OSHY3ewP_bigger.jpg"
          },
          "description": "X",
          "url": {
            "url": "https://twitter.com/X",
            "urlType": "DeepLink"
          },
          "userLabelDisplayType": "Badge",
          "userLabelType": "BusinessLabel"
        }
      },
      "blue_verified": true,
      "business_account": null,
      "created_at": "Wed Oct 21 22:04:47 +0000 2020",
      "description": "Empowering users to create a better-informed world.\n\nWe're open source and data …",
      "followers_count": 1191871,
      "friends_count": 0,
      "location": "",
      "media_count": 114,
      "name": "Community Notes",
      "profile_image": null,
      "screen_name": "CommunityNotes"
    }
  ],
  "more_users": true,
  "next_cursor": "4611686021428553846|2117523434526212074",
  "status": "ok"
}

Response fields

FieldMeaning
members[]One entry per list member on the current page.
members[].user_idNumeric ID of the account, returned as a string.
members[].screen_name / members[].nameThe account handle and the display name.
members[].descriptionThe profile bio text of the member.
members[].followers_count / members[].friends_countNumber of followers and number of accounts the member follows (friends_count).
members[].statuses_count / members[].media_countNumber of posts and number of media items counted on the account.
members[].created_atWhen the account was created, in the format Wed Oct 21 22:04:47 +0000 2020.
members[].blue_verified / members[].verifiedFlags for the paid verified badge and the legacy verified status.
members[].affiliates.label.descriptionName of the organization shown in the business label badge. Accounts without a label return affiliates as an empty list.
more_users / next_cursormore_users is true when more members remain. next_cursor holds the value to send as cursor for the next page.

Notes

  • The list_id is the number at the end of a list URL, for example 84839422.
  • To get the next page, send the next_cursor value from the response as cursor, and repeat while more_users is true.
  • Some fields can be null or empty, such as profile_image, website and business_account, so handle missing values.
  • To read the posts of the same list, call Twitter List timeline. To see who follows the list, call Twitter List followers.

Pricing

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

Khám phá thêm

APIs liên quan

Tất cả APIs
APIGiáPhản hồi
X (Twitter)$0.001 mỗi lần gọiJSON
Twitter$0.001 mỗi lần gọiJSON
Twitter$0.001 mỗi lần gọiJSON
Twitter$0.001 mỗi lần gọiJSON
Twitter$0.001 mỗi lần gọiJSON
Twitter$0.001 mỗi lần gọiJSON

Hướng dẫn:X API alternative: pay per call, not per postBest Twitter API in 2026: X API Pricing Compared

Câu hỏi

FAQ

Làm thế nào để dùng API Twitter List members?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/twitter/web/list-members với khóa API SandBase của bạn trong tiêu đề Authorization (Bearer) và các tham số trong phần thân JSON. Bạn cũng có thể thử trực tiếp trong Playground trên trang này mà không cần viết code.

API Twitter List members có giá bao nhiêu?

$0.001 mỗi lần gọi, được tính từ số dư SandBase của bạn. Bạn chỉ bị tính phí cho các lần gọi bạn thực hiện; không có gói đăng ký.

API Twitter List members chấp nhận những tham số nào?

Bắt buộc: list_id (string). Tùy chọn: cursor (string). Bảng Parameters và Playground trên trang này liệt kê mọi trường.

API Twitter List members trả về gì?

Phản hồi JSON được trả về trong cùng một yêu cầu HTTP (đồng bộ). README trên trang này có ví dụ phản hồi.

Tôi có cần tài khoản nhà phát triển hoặc API key của X (Twitter) không?

Không. Twitter List members chạy thông qua SandBase, nên chỉ cần một API key SandBase là đủ cho endpoint này và mọi API cùng model khác trong danh mục. Bạn không cần đăng ký riêng để có quyền truy cập API của X (Twitter).