cURL
curl --request GET \
--url 'https://api.keyapi.ai/v1/twitter/community_info?community_id=1493290339532222469' \
--header 'Authorization: Bearer <YOUR_API_KEY>'import requests
response = requests.get(
'https://api.keyapi.ai/v1/twitter/community_info',
params={"community_id": "1493290339532222469"},
headers={'Authorization': 'Bearer <YOUR_API_KEY>'}
)
print(response.json())const params = new URLSearchParams({"community_id": "1493290339532222469"});
const response = await fetch(`https://api.keyapi.ai/v1/twitter/community_info?${params}`, {
method: 'GET',
headers: { 'Authorization': 'Bearer <YOUR_API_KEY>' }
});
const data = await response.json();
console.log(data);{
"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"
}{
"code": 400,
"data": null,
"message": "Missing required parameter: handle"
}{
"code": 401,
"data": null,
"message": "apiKey is null"
}{
"code": 402,
"data": null,
"message": "apiKey quota is not enough"
}{
"code": 429,
"data": null,
"message": "qps limit exceeded"
}{
"code": 500,
"data": null,
"message": "Internal server error"
}Twitter/X API
Community Info
Query Twitter / X community information by Community ID. Useful for community discovery, community profiling, and basic information collection.
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>'import requests
response = requests.get(
'https://api.keyapi.ai/v1/twitter/community_info',
params={"community_id": "1493290339532222469"},
headers={'Authorization': 'Bearer <YOUR_API_KEY>'}
)
print(response.json())const params = new URLSearchParams({"community_id": "1493290339532222469"});
const response = await fetch(`https://api.keyapi.ai/v1/twitter/community_info?${params}`, {
method: 'GET',
headers: { 'Authorization': 'Bearer <YOUR_API_KEY>' }
});
const data = await response.json();
console.log(data);{
"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"
}{
"code": 400,
"data": null,
"message": "Missing required parameter: handle"
}{
"code": 401,
"data": null,
"message": "apiKey is null"
}{
"code": 402,
"data": null,
"message": "apiKey quota is not enough"
}{
"code": 429,
"data": null,
"message": "qps limit exceeded"
}{
"code": 500,
"data": null,
"message": "Internal server error"
}🪙1 creditper request
Copy for AI
🤖 Why Code When AI Can Do It For You?
Stop writing code like it’s 1970! Let AI do the heavy lifting - click the sparkles to copy a perfectly formatted prompt for ChatGPT, Claude, or your favorite AI assistant.
⌘I

