Details of a public X (Twitter) community: name, description, creator, exact member count, join policy, topic, rules, banner and a small member preview. Costs 1 credit per successful request. An unknown community returns a non-billable 404.
Run this endpoint
Endpoint
Parameters
Start with the required fields, then add optional filters only when your use case needs them.
Runnable path
1 required parameter needed before sending a request.
string
Required
Numeric community id, the number in x.com/i/communities/<id>. A full community URL is accepted and the id is extracted from it.
1234567890
Response Schema
Example response fields are illustrative; inspect the JSON before integrating.
Example response fields
Scan these fields before integrating.
community
{
"community": {
"url": "https://x.com/i/communities/1493446837214187523",
"name": "Build in Public",
"rules": [
{
"name": "Share what you're working on",
"rest_id": "1493447542045958144",
"description": "Don't be scared to share unfinished work"
}
],
"topic": "Entrepreneurship",
"banner": {
"url": "https://pbs.twimg.com/community_banner_img/1915033378811772928/KdaKUaRP?format=png&name=orig",
"width": 805,
"height": 322
},
"creator": {
"url": "https://x.com/marckohlbrugge",
"name": "Marc K\u00f6hlbrugge",
"rest_id": "641633",
"screen_name": "marckohlbrugge"
},
"is_nsfw": false,
"rest_id": "1493446837214187523",
"question": "What are you working on?",
"created_at": "2022-02-15T04:47:27Z",
"description": "Share what you're working on.",
"join_policy": "Open",
"rules_count": 1,
"member_count": 270226,
"created_at_ms": 1644900447551,
"default_banner": {
"url": "https://pbs.twimg.com/media/FECP77VVgAURxGe.jpg",
"width": 1200,
"height": 480
},
"members_facepile": [
{
"url": "https://x.com/wip",
"rest_id": "11212692",
"avatar_url": "https://pbs.twimg.com/profile_images/1142795908221952001/QdBqHhdn_normal.jpg",
"screen_name": "wip"
}
]
}
}
Generate Code with AI
Copy a ready-made prompt with all the endpoint details, parameters, and example responses. Paste it into ChatGPT, Claude, or any AI assistant to instantly generate working code.
Try It Live
Test this endpoint in our interactive playground with real data.