Communities

List the topics X groups communities under

Changed on

Returns the community topics with their subtopics. Pass an ID as topicId, or a name as topic, to /x/communities/popular. Each top-level topic costs 1 credit, its subtopics included.

get/api/v1/x/communities/topics

Request

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

Query parameters

limitinteger

Maximum topics to return. Omit it for every topic. Credits can return fewer. Aliases pageSize, count, max_results, maxItems, max_items & per_page.

Response

Community topics with their subtopics

countinteger required

Top-level topics returned & charged

messagestring

What to do next. Present only when X lists no topic.

Example response

{
  "topics": [
    {
      "id": "301",
      "name": "Technology",
      "subtopics": [
        {
          "id": "302",
          "name": "Artificial Intelligence"
        },
        {
          "id": "303",
          "name": "Software"
        }
      ]
    }
  ],
  "count": 1,
  "message": "X listed no community topics. Try again soon."
}

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.