Search APIs
Loading…
← API Store
Social

X (Twitter)

X (Twitter)

X community

GET /twitter/v1/community
Test this endpoint

Every response includes credits_used: the credits this call cost.

Each call costs 1 credits; failed calls are free. Run it in the console playground to see a live result.

Parameters

NameTypeDescription
idrequiredstringCommunity ID or URL. Example: 1926186499399139650

Every endpoint also takes: raw、fields、fresh、output、records

{
  "banner": "https://pbs.twimg.com/community_banner_img/1930048753223745537/Ua814CNc?format=jpg&name=orig",
  "banner_colors": [
    {
      "percentage": 85.22,
      "rgb": {
        "blue": 17,
        "green": 0,
        "red": 217
      }
    },
    {
      "percentage": 4.23,
      "rgb": {
        "blue": 35,
        "green": 15,
        "red": 32
      }
    },
    "… 3 more"
  ],
  "banner_height": 500,
  "banner_width": 1250,
  "cached": false,
  "created_at": "2025-05-24T08:00:22.931Z",
  "creator": {
    "username": "carsonrmccann"
  },
  "creator_verified": true,
  "credits_used": 1,
  "default_banner": "https://pbs.twimg.com/media/FECS7TfVcAcCrj2.jpg",
  "description": "This community is for creators and builders who are growing to their first 1,000 followers. Give insights, build your brand, and grow a loya…",
  "graphql_id": "Q29tbXVuaXR5OjE5MjYxODY0OTkzOTkxMzk2NTA=",
  "id": "1926186499399139650",
  "is_member": false,
  "join_policy": "Open",
  "members": 5629,
  "members_facepile": [
    "https://pbs.twimg.com/profile_images/1963429128402501632/J9C5efvR_normal.jpg",
    "https://pbs.twimg.com/profile_images/2011557694264479744/xS6eyqBz_normal.jpg",
    "… 3 more"
  ],
  "moderators": null,
  "name": "The First Thousand",
  "nsfw": false,
  "question": null,
  "role": "NonMember",
  "rule_ids": [
    "1926189963793609186",
    "1926190339016048686",
    "… 4 more"
  ],
  "rules": [
    {
      "description": "This isn’t the space to drop ChatGPT engineered empty platitudes",
      "name": "No Empty Platitudes"
    },
    {
      "description": "Show how you’re cracking the algorithm",
      "name": "Post What’s Working"
    },
    "… 4 more"
  ],
  "search_tags": [],
  "topic": null,
  "trending_hashtags": [],
  "url": "https://x.com/i/communities/1926186499399139650"
}
Response fields (41)

Field paths and types observed in the sample response; the live response is authoritative.

$object
$.bannerstring
$.banner_colorsarray
$.banner_colors[]object | string
$.banner_colors[].percentagenumber
$.banner_colors[].rgbobject
$.banner_colors[].rgb.blueinteger
$.banner_colors[].rgb.greeninteger
$.banner_colors[].rgb.redinteger
$.banner_heightinteger
$.banner_widthinteger
$.cachedboolean
$.created_atstring
$.creatorobject
$.creator.usernamestring
$.creator_verifiedboolean
$.credits_usedinteger
$.default_bannerstring
$.descriptionstring
$.graphql_idstring
$.idstring
$.is_memberboolean
$.join_policystring
$.membersinteger
$.members_facepilearray
$.members_facepile[]string
$.moderatorsnull
$.namestring
$.nsfwboolean
$.questionnull
$.rolestring
$.rule_idsarray
$.rule_ids[]string
$.rulesarray
$.rules[]object | string
$.rules[].descriptionstring
$.rules[].namestring
$.search_tagsarray
$.topicnull
$.trending_hashtagsarray
$.urlstring