KonbiniAPI

Get community — X API

Returns public metadata for an X community, including description, member count, topic, creator, and banner image.

GET/v1/x/communities/{communityId}1 credit per request
Example response200OK
{
  "data": {
    "@context": [
      "https://www.w3.org/ns/activitystreams#",
      "https://konbiniapi.com/ns/social#"
    ],
    "type": "Group",
    "id": "https://x.com/i/communities/1669501013441806336",
    "url": "https://x.com/i/communities/1669501013441806336",
    "entityId": "1669501013441806336",
    "name": "Memes",
    "summary": "Post the funniest memes you can find!",
    "published": "2023-06-16T00:23:54.093Z",
    "access": "open",
    "isAdult": false,
    "memberCount": 517200,
    "category": "Entertainment",
    "tag": [
      {
        "type": "Tag",
        "name": "Starship",
        "href": "https://x.com/hashtag/Starship",
        "startIndex": 3,
        "endIndex": 7
      }
    ],
    "rule": [
      {
        "type": "Document",
        "entityId": "1848458992051159411",
        "name": "Post MEMES only",
        "content": "Posts should be memes. No unrelated content or spam."
      }
    ],
    "attributedTo": {
      "type": "Person",
      "id": "https://x.com/elonmusk",
      "url": "https://x.com/elonmusk",
      "entityId": "44196397",
      "preferredUsername": "elonmusk",
      "name": "Elon Musk",
      "icon": {
        "type": "Image",
        "url": "https://pbs.twimg.com/amplify_video_thumb/2110913027490934784/img/Ya3Xqn9K4XmCb-h5.jpg",
        "name": "Starship lifting off",
        "summary": "Starship on the launch pad at Starbase",
        "status": "Dmcaed",
        "tag": [
          {
            "type": "Tag",
            "name": "Starship",
            "href": "https://x.com/hashtag/Starship",
            "startIndex": 3,
            "endIndex": 7
          }
        ],
        "width": 1920,
        "height": 1080
      },
      "role": "Member",
      "isPrivate": false,
      "isVerified": false,
      "isPaidVerified": true,
      "summary": "https://t.co/ZdBx5WABYx",
      "attachment": [
        {
          "type": "Link",
          "href": "http://Terafab.AI",
          "rel": "preferred"
        }
      ],
      "affiliation": {
        "name": "NASA"
      },
      "withheldIn": [
        "IN"
      ],
      "followerCount": 241511987,
      "followingCount": 1420,
      "likeCount": 253904,
      "postCount": 110457,
      "mediaCount": 4741,
      "listedCount": 171022,
      "location": "Austin, Texas"
    },
    "image": [
      {
        "type": "Image",
        "url": "https://pbs.twimg.com/amplify_video_thumb/2110913027490934784/img/Ya3Xqn9K4XmCb-h5.jpg",
        "name": "Starship lifting off",
        "summary": "Starship on the launch pad at Starbase",
        "status": "Dmcaed",
        "tag": [
          {
            "type": "Tag",
            "name": "Starship",
            "href": "https://x.com/hashtag/Starship",
            "startIndex": 3,
            "endIndex": 7
          }
        ],
        "width": 1920,
        "height": 1080
      }
    ]
  }
}

Make the request.

One authenticated GET to /v1/x/communities/{communityId}. Authentication and error conventions stay consistent across endpoints. This page shows the path, parameters, response shape, limits, and credit rule for this operation.

Built for

  • Data Analytics
  • Market Research
  • Platform Integration
const response = await fetch("https://api.konbiniapi.com/v1/x/communities/1669501013441806336", {
  headers: { "Authorization": "Bearer YOUR_API_KEY" }
});

const data = await response.json();
Parameters1
  • communityIdrequiredIn · PathType · stringX community ID

What you will probably call next.

The X endpoints around this one — the same object at a different depth, or the same kind of read.

Try it on your own data.

Get a free API key and make this request in minutes. Failed and timed-out requests are automatically refunded.