← API Store
Social
X (Twitter)
X (Twitter)
X community
GET /twitter/v1/communityEvery 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
| Name | Type | Description |
|---|---|---|
idrequired | string | Community 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 |
$.banner | string |
$.banner_colors | array |
$.banner_colors[] | object | string |
$.banner_colors[].percentage | number |
$.banner_colors[].rgb | object |
$.banner_colors[].rgb.blue | integer |
$.banner_colors[].rgb.green | integer |
$.banner_colors[].rgb.red | integer |
$.banner_height | integer |
$.banner_width | integer |
$.cached | boolean |
$.created_at | string |
$.creator | object |
$.creator.username | string |
$.creator_verified | boolean |
$.credits_used | integer |
$.default_banner | string |
$.description | string |
$.graphql_id | string |
$.id | string |
$.is_member | boolean |
$.join_policy | string |
$.members | integer |
$.members_facepile | array |
$.members_facepile[] | string |
$.moderators | null |
$.name | string |
$.nsfw | boolean |
$.question | null |
$.role | string |
$.rule_ids | array |
$.rule_ids[] | string |
$.rules | array |
$.rules[] | object | string |
$.rules[].description | string |
$.rules[].name | string |
$.search_tags | array |
$.topic | null |
$.trending_hashtags | array |
$.url | string |