x.com
Read an X (Twitter) Community's posts
Input
communityId requiredThe community's numeric id, from its URL: x.com/i/communities/<communityId>. Found via More → Communities → a topic pill (e.g. Technology), or on any post's community badge link.
sort optionalWhich of the community's own tabs to read. "top" is the community's default ranked view; "latest" is reverse-chronological, except the post community mods pinned, which X lists first on both tabs (its posts carry pinned: true).
Default: "top"limit optionalMaximum posts to return. The tab loads a batch at a time; asking for more scrolls until the count is met or the tab stops returning new posts.
Default: 20Output
sort requiredcount requiredposts requiredcomplete requiredTrue when X showed the end of the feed and every post it sent is returned. False when more may exist: the limit was reached or X stopped loading.
community_id required