Community

Search Communities

Changed on

Searches for Twitter/X communities by query. Returns id, name, banner_url and member_count for each result, plus next_cursor for pagination. banner_url uses the default banner when no custom banner exists. Empty results are returned as an empty communities array.

post/search-communities

Request

Request body

next_cursorstring

Optional pagination cursor from the previous response.

querystring required

Search query. Required.

Example request

{
  "next_cursor": "WzIuNjAyMDYsMTkzOTQ5NzMxMjY2MzA4MTMzNV0=",
  "query": "IBT"
}

Response

OK

next_cursorstring

Cursor for the next page. Empty when no further page is available.

Example response

{
  "communities": [
    {
      "id": "1966045657589813686",
      "member_count": 74,
      "name": "IBT"
    }
  ]
}

Changes