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

Twitter Community members (no pagination)

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

Get community members (no pagination) 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
Community ID
Cursor (no pagination, has no effect)
Đầ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 Community members (no pagination) API

This API returns a list of members of a Twitter Community. It needs a community_id and returns each member's name, handle, user ID, profile image and Blue verification flag.

Use cases

  • Build a list of accounts that belong to a niche Community, such as a crypto group.
  • Check which members of a Community have Blue verification.
  • Collect member user_id values to look up full profiles in other APIs.
  • Track who appears in a Community by comparing member lists over time.

Request

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

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

Parameters

NameTypeRequiredDescription
community_idstringYesCommunity ID
cursorstringNoCursor (no pagination, has no effect)

Example response

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

{
  "members": [
    {
      "blue_verified": true,
      "name": "DustyBC Crypto",
      "profile_image": "https://pbs.twimg.com/profile_images/1644089081360445442/XLMlSx4u_normal.jpg",
      "screen_name": "DustyBC",
      "user_id": "913778551555608576"
    }
  ],
  "next_cursor": "CycRAAAAAAwABAwKmwzBVQo+vRNHWkZXlyACCm07AAABfvmCq3QADJorCj69f/////////8KbTt/////…",
  "status": "ok"
}

Response fields

FieldMeaning
members[]List of Community members returned in this response.
members[].user_idNumeric ID of the member's account, as a string.
members[].screen_nameThe member's handle, without the @ sign.
members[].nameThe member's display name.
members[].blue_verifiedtrue if the account has Blue verification, false if not.
members[].profile_imageURL of the member's profile image. The URL points to a small _normal size version.
next_cursorCursor string returned with the list.
statusRequest status. ok means the call worked.

Notes

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 Community members (no pagination)?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/twitter/web/community-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 Community members (no pagination) 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 Community members (no pagination) chấp nhận những tham số nào?

Bắt buộc: community_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 Community members (no pagination) 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 Community members (no pagination) 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).