x.com
Get Community 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 strict reverse-chronological.
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 requiredcommunity_id required