跳转到主要内容
GET
/
v1
/
twitter
/
community_info
cURL
curl --request GET \
  --url 'https://api.keyapi.ai/v1/twitter/community_info?community_id=1493290339532222469' \
  --header 'Authorization: Bearer <YOUR_API_KEY>'
{
  "code": 0,
  "message": "success",
  "data": {
    "id": "1493290339532222469",
    "created_at": 1644863135598,
    "name": "XRP",
    "description": "XRP community",
    "default_banner_media": "https://pbs.twimg.com/media/FECS7TfVcAcCrj2.jpg",
    "custom_banner_media": "https://pbs.twimg.com/media/FECS7TfVcAcCrj2.jpg",
    "is_nsfw": false,
    "primary_topic": null,
    "member_count": 122361,
    "rules": [
      {
        "description": "You should be respectful towards others.",
        "name": "Be Respectful"
      },
      {
        "description": "To make sure everybody has a good time, keep the tweets about topics within the community.",
        "name": "Make sure the tweets are on subject"
      },
      {
        "description": "Don’t post a BOOOOM announcement with fake news",
        "name": "Don’t spread fake news"
      }
    ],
    "status": "failed",
    "last_cursor": ""
  },
  "requestId": "ac4e6367-0236-402f-b71a-059631824280"
}
🪙1 credit每次请求

Copy for AI

🤖 让 AI 帮你写调用代码

点击按钮复制一段结构化提示词,可直接交给 ChatGPT、Claude 或其他 AI 助手生成接口调用代码。

授权

Authorization
string
header
必填

接口鉴权凭证。请在请求 Header 中传入 Authorization: Bearer <YOUR_API_KEY>。 可在 Dashboard 获取你的 API Key。

查询参数

community_id
string
必填

Twitter / X Community ID。

示例:

"1493290339532222469"

响应

请求成功

The response is of type object.