Get Community Info
curl --request GET \
--url https://api.aisa.one/apis/v1/twitter/community/info \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.aisa.one/apis/v1/twitter/community/info"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.aisa.one/apis/v1/twitter/community/info', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/twitter/community/info",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/twitter/community/info"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.aisa.one/apis/v1/twitter/community/info")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/twitter/community/info")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"community_info": {
"admin": {
"automatedBy": "<string>",
"canDm": true,
"coverPicture": "<string>",
"createdAt": "<string>",
"description": "<string>",
"favouritesCount": 123,
"followers": 123,
"following": 123,
"hasCustomTimelines": true,
"id": "<string>",
"isAutomated": true,
"isBlueVerified": true,
"isTranslator": true,
"location": "<string>",
"mediaCount": 123,
"message": "<string>",
"name": "<string>",
"pinnedTweetIds": [
"<string>"
],
"possiblySensitive": true,
"profilePicture": "<string>",
"profile_bio": {
"description": "<string>",
"entities": {
"description": {
"urls": [
{
"display_url": "<string>",
"expanded_url": "<string>",
"indices": [
123
],
"url": "<string>"
}
]
},
"url": {
"urls": [
{
"display_url": "<string>",
"expanded_url": "<string>",
"indices": [
123
],
"url": "<string>"
}
]
}
}
},
"statusesCount": 123,
"type": "<string>",
"unavailable": true,
"unavailableReason": "<string>",
"url": "<string>",
"userName": "<string>",
"verifiedType": "<string>",
"withheldInCountries": [
"<string>"
]
},
"banner_url": "<string>",
"created_at": "<string>",
"creator": {
"automatedBy": "<string>",
"canDm": true,
"coverPicture": "<string>",
"createdAt": "<string>",
"description": "<string>",
"favouritesCount": 123,
"followers": 123,
"following": 123,
"hasCustomTimelines": true,
"id": "<string>",
"isAutomated": true,
"isBlueVerified": true,
"isTranslator": true,
"location": "<string>",
"mediaCount": 123,
"message": "<string>",
"name": "<string>",
"pinnedTweetIds": [
"<string>"
],
"possiblySensitive": true,
"profilePicture": "<string>",
"profile_bio": {
"description": "<string>",
"entities": {
"description": {
"urls": [
{
"display_url": "<string>",
"expanded_url": "<string>",
"indices": [
123
],
"url": "<string>"
}
]
},
"url": {
"urls": [
{
"display_url": "<string>",
"expanded_url": "<string>",
"indices": [
123
],
"url": "<string>"
}
]
}
}
},
"statusesCount": 123,
"type": "<string>",
"unavailable": true,
"unavailableReason": "<string>",
"url": "<string>",
"userName": "<string>",
"verifiedType": "<string>",
"withheldInCountries": [
"<string>"
]
},
"description": "<string>",
"id": "<string>",
"invites_policy": "<string>",
"is_nsfw": true,
"is_pinned": true,
"join_policy": "<string>",
"member_count": 123,
"members_preview": [
{}
],
"moderator_count": 123,
"name": "<string>",
"primary_topic": {
"id": "<string>",
"name": "<string>"
},
"question": "<string>",
"role": "<string>",
"rules": [
{
"description": "<string>",
"id": "<string>",
"name": "<string>"
}
],
"search_tags": [
"<string>"
]
},
"msg": "<string>",
"status": "success"
}Communities
Get Community Info
Get metadata for an X Community by its numeric community ID — name, description, member count, and access rules.
GET
https://api.aisa.one
/
apis
/
v1
/
twitter
/
community
/
info
Get Community Info
curl --request GET \
--url https://api.aisa.one/apis/v1/twitter/community/info \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.aisa.one/apis/v1/twitter/community/info"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.aisa.one/apis/v1/twitter/community/info', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/twitter/community/info",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/twitter/community/info"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.aisa.one/apis/v1/twitter/community/info")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/twitter/community/info")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"community_info": {
"admin": {
"automatedBy": "<string>",
"canDm": true,
"coverPicture": "<string>",
"createdAt": "<string>",
"description": "<string>",
"favouritesCount": 123,
"followers": 123,
"following": 123,
"hasCustomTimelines": true,
"id": "<string>",
"isAutomated": true,
"isBlueVerified": true,
"isTranslator": true,
"location": "<string>",
"mediaCount": 123,
"message": "<string>",
"name": "<string>",
"pinnedTweetIds": [
"<string>"
],
"possiblySensitive": true,
"profilePicture": "<string>",
"profile_bio": {
"description": "<string>",
"entities": {
"description": {
"urls": [
{
"display_url": "<string>",
"expanded_url": "<string>",
"indices": [
123
],
"url": "<string>"
}
]
},
"url": {
"urls": [
{
"display_url": "<string>",
"expanded_url": "<string>",
"indices": [
123
],
"url": "<string>"
}
]
}
}
},
"statusesCount": 123,
"type": "<string>",
"unavailable": true,
"unavailableReason": "<string>",
"url": "<string>",
"userName": "<string>",
"verifiedType": "<string>",
"withheldInCountries": [
"<string>"
]
},
"banner_url": "<string>",
"created_at": "<string>",
"creator": {
"automatedBy": "<string>",
"canDm": true,
"coverPicture": "<string>",
"createdAt": "<string>",
"description": "<string>",
"favouritesCount": 123,
"followers": 123,
"following": 123,
"hasCustomTimelines": true,
"id": "<string>",
"isAutomated": true,
"isBlueVerified": true,
"isTranslator": true,
"location": "<string>",
"mediaCount": 123,
"message": "<string>",
"name": "<string>",
"pinnedTweetIds": [
"<string>"
],
"possiblySensitive": true,
"profilePicture": "<string>",
"profile_bio": {
"description": "<string>",
"entities": {
"description": {
"urls": [
{
"display_url": "<string>",
"expanded_url": "<string>",
"indices": [
123
],
"url": "<string>"
}
]
},
"url": {
"urls": [
{
"display_url": "<string>",
"expanded_url": "<string>",
"indices": [
123
],
"url": "<string>"
}
]
}
}
},
"statusesCount": 123,
"type": "<string>",
"unavailable": true,
"unavailableReason": "<string>",
"url": "<string>",
"userName": "<string>",
"verifiedType": "<string>",
"withheldInCountries": [
"<string>"
]
},
"description": "<string>",
"id": "<string>",
"invites_policy": "<string>",
"is_nsfw": true,
"is_pinned": true,
"join_policy": "<string>",
"member_count": 123,
"members_preview": [
{}
],
"moderator_count": 123,
"name": "<string>",
"primary_topic": {
"id": "<string>",
"name": "<string>"
},
"question": "<string>",
"role": "<string>",
"rules": [
{
"description": "<string>",
"id": "<string>",
"name": "<string>"
}
],
"search_tags": [
"<string>"
]
},
"msg": "<string>",
"status": "success"
}Get metadata for an X Community by its numeric community ID — name, description, member count, and access rules. Use this to qualify a community before pulling its members or posts.
Returns the object under
Set this endpoint up in your agent →
community_info. To discover communities by topic, search their posts with get_twitter_community_tweets_all.
First time? Point any MCP client at
https://mcp.aisa.one/mcp — Claude
Code, Codex, Cursor, VS Code and the rest. Authorization is OAuth: the client
opens a browser, you click Allow once, and there is no key to paste. Your
agent then reaches every endpoint through a few meta tools: search,
list_categories, get_details and batch_quote are free, batch_use is
billed per call. Setup per client is in
Connect via MCP; the live tool list and what each call
costs are on aisa.one/mcp.Request contract
- Method and path: GET /apis/v1/twitter/community/info
- Availability: enabled
- Request URL template: https://api.aisa.one/apis/v1/twitter/community/info
- community_id: query; required
- Runtime facts: bf5a62671fcd8c35ae2726a52eb98202ca01c5f4508e39d1b2bd8ec2dbdd09ef
{
"operationId": "get_twitter_community_info",
"method": "GET",
"path": "/apis/v1/twitter/community/info",
"servers": [
{
"url": "https://api.aisa.one"
}
],
"parameters": [
{
"description": "ID of the community",
"in": "query",
"name": "community_id",
"required": true,
"schema": {
"type": "string"
}
}
],
"security": [
{
"bearerAuth": []
}
],
"x-aisa-status": "enabled",
"x-aisa-pricing": {
"cost_contract": "fixed_success",
"customer_multiplier": 1.0,
"customer_pricing": "provider_cost_multiplier",
"default_request_estimate_usd": 0.0002,
"estimate_source": "profile_seed",
"evidence_source": "request_snapshot"
},
"components": {
"securitySchemes": {
"bearerAuth": {
"scheme": "bearer",
"type": "http"
}
}
}
}
Cost and request rules
Published reference price: $0.0002 USD per successful request. Account-specific pricing and final settlement may differ. Published reference values are not an account-specific quote or a settled charge. For endpoints supporting X-AISA-Cost-Mode: quote, obtain a free quote for your exact request before execution; reconcile the settled cost with response metadata and Usage Logs. USD amounts use 1,000,000 integer micro-USD per dollar.- Default request reference estimate (USD): 0.0002
- Cost contract: fixed_success
- Published reference multiplier: 1.0
- Settlement evidence source: request_snapshot
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
ID of the community