Skip to main content
POST
Search Community Tweets

Authorizations

ApiKey
string
header
required

Body

application/json

community_id or community_link required, query, next_cursor and order optional

community_id
string

Community ID or URL. Takes precedence over community_link.

Example:

"1966045657589813686"

Community URL or ID. Required when community_id is absent.

Example:

"https://x.com/i/communities/1966045657589813686"

next_cursor
string

Pagination cursor from a previous response.

Example:

"123"

order
string

Sort order: popular or latest.

Example:

"popular"

query
string

Search query string.

Example:

"elonmusk"

Response

OK

next_cursor
string

Cursor for fetching the next page of results. Null or absent if no more pages.

tweets
object[]

Array of tweet objects.