TwitterAPIs Docs
API ReferenceCommunities

Overview

Communities: Read an X Community: its metadata and rules, its member and moderator rosters, its own post timeline including the pinned post, and the inverse relation, every community a given account belongs to. These are pooled reads served by our account pool, so the four fields that describe the CALLER's own relationship to a community (role, can_join, is_pinned, viewer_relationship_type) always come back null.

Read an X Community: its metadata and rules, its member and moderator rosters, its own post timeline including the pinned post, and the inverse relation, every community a given account belongs to. These are pooled reads served by our account pool, so the four fields that describe the CALLER's own relationship to a community (role, can_join, is_pinned, viewer_relationship_type) always come back null.

This category has 7 endpoints. Each is a pay-per-call REST endpoint with bearer auth, JSON in and out.

MethodPathCostDescription
GET/community/info$0.0008Metadata, rules and banners for one X Community.
GET/community/members$0.0008Page through a community's member roster, each row carrying that member's role.
GET/community/moderators$0.0008Page through a community's moderators and admins.
GET/community/tweets$0.0008Page through a community's post timeline, with the pinned post returned separately.
GET/community/memberships$0.0008List every community a given account belongs to.
GET/community/about$0.0008A community's moderators and a members preview, as full profiles.
GET/community/search$0.0008Search X Communities by keyword.