Communities

Find X Communities by keyword

Changed on

Returns the communities X finds for a keyword, in X's order. Each community costs 1 credit. To search the tweets inside 1 community, use /x/communities/search.

get/api/v1/x/communities/find

Request

  • Base URL: https://xquik.com
  • URL: https://xquik.com/api/v1/x/communities/find
  • Auth: one of:
    • API key in header x-api-key
    • HTTP bearer
    • none

Query parameters

qstring required

Keyword to find communities by, such as ai. Alias query.

cursorstring

Pagination cursor for collection results. Also read as next_cursor, next_token, pagination_token or continuation_token.

pageSizeinteger

Items per page (1-100, default 20). Source, filters or credits can return fewer. Follow next_cursor for more pages. Aliases: limit, count, max_results, maxItems, max_items & per_page.

Response

Communities X finds for the keyword

has_next_pageboolean required

Whether another page of communities follows

next_cursorstring required

Cursor for the next page of communities. Empty at the end.

Example response

{
  "communities": [
    {
      "id": "1472105760389668865",
      "name": "Tech Twitter",
      "member_count": 121468,
      "is_nsfw": false,
      "primary_topic": {
        "name": "Technology"
      },
      "banner_url": "https://pbs.twimg.com/community_banner_img/example.jpg",
      "membersFacepile": [
        {
          "id": "2864203879",
          "profilePicture": "https://pbs.twimg.com/profile_images/example.jpg"
        }
      ]
    }
  ],
  "has_next_page": true,
  "next_cursor": "WzM1LjUxMjQ5N10="
}

Changes

    • ▲

      the response property ///// became optional for the status

    • ○

      added the optional property //// to the response with the status

Of the 51 revisions, 1 has no diff computed.