Skip to main content

Community Endpoints

Community Endpoints

Access X Communities data: community details, timeline tweets, and member lists. Communities are topic-based groups on X.

⚠
Community endpoints are currently under development. X has restricted access to Communities data through its internal API. These endpoints will be published as soon as they are ready. The following endpoints are planned:
GET/v2/communities/:communityIdGet community details by its numeric ID.
ParameterTypeRequiredDefaultDescription
communityIdstringrequired—The numeric community ID
GET/v2/communities/:communityId/tweetsGet tweets from a community timeline.
ParameterTypeRequiredDefaultDescription
communityIdstringrequired—The numeric community ID
countintegeroptional20Number of tweets to return
sortstringoptionallatestSort: latest, popular, engagement
cursorstringoptional—Pagination cursor
GET/v2/communities/:communityId/membersGet members of a community.
ParameterTypeRequiredDefaultDescription
communityIdstringrequired—The numeric community ID
countintegeroptional20Number of members to return
sortstringoptionaldefaultSort: default, followers, name
cursorstringoptional—Pagination cursor
✦
Community IDs can be found in the URL when viewing a community on X, e.g., x.com/i/communities/1708766018985501165.

More in REST API

Full documentation with search: xcrop.io/docs