X Community API
Scrape X Community data with one API call. Returns information about a Twitter/X community including name, description, member count, rules, and creation date.
Last updated August 2026Maintained by the SocialCrawl team
Returns an X (Twitter) community's details: name, description, member count, rules, and creation date.
Use it when you have a community URL and want the group itself; community/tweets returns what has been posted inside it.
Searching 51 platforms in parallel
What can you do with the Community API?
The Community endpoint gives you structured X data with computed fields in a single request. No scraping infrastructure to build or maintain.
Example Request
curl -H "x-api-key: YOUR_API_KEY" \
"https://www.socialcrawl.dev/v1/twitter/community?url=https%3A%2F%2Fx.com%2Fi%2Fcommunities%2F1926186499399139650"import requests
response = requests.get(
"https://www.socialcrawl.dev/v1/twitter/community",
params={
'url': 'https://x.com/i/communities/1926186499399139650',
},
headers={"x-api-key": "YOUR_API_KEY"},
)
data = response.json()const response = await fetch(
"https://www.socialcrawl.dev/v1/twitter/community?url=https%3A%2F%2Fx.com%2Fi%2Fcommunities%2F1926186499399139650",
{
headers: { "x-api-key": "YOUR_API_KEY" },
},
);
const data = await response.json();Parameters
| Parameter | Required | Description |
|---|---|---|
| url | Yes | Full URL of the Twitter/X community |
What does the X Community API return?
Every response follows one unified schema. Here is a real, unmodified response body, so you can see the exact fields you get back before spending a credit.
Example response
{
"success": true,
"platform": "twitter",
"endpoint": "/v1/twitter/profile",
"data": {
"author": {
"id": "11348282",
"username": "NASA",
"display_name": "NASA",
"avatar_url": "https://pbs.twimg.com/profile_images/1321163587679784960/0ZxKlEKB_normal.jpg",
"bio": "Making the seemingly impossible, possible. ✨",
"verified": true,
"followers": 92203809,
"following": 119,
"posts_count": 74231,
"likes_count": null,
"url": "https://x.com/i/communities/11348282",
"private": false,
"joined_at": null
},
"computed": {
"engagement_rate": null,
"language": "en",
"content_category": "other",
"estimated_reach": null
}
},
"credits_used": 1,
"credits_remaining": 9999,
"request_id": "req_example000000",
"cached": false
}Live sample illustrating the unified response shape. Field values reflect the record you query.
How does the X Community API work?
Send a GET request with your API key and get back clean, structured JSON in our unified schema. Supported computed fields are populated when the source provides the required inputs.
Method
GET
Response
JSON
How do you scrape social media data in seconds?
The fastest social media scraping API for developers. Scrape profiles, posts, comments, and analytics from 51 platforms covering 10B+ monthly active users.
One schema, every platform
Query 51 platforms with identical response structures. Write your integration once.
Computed fields, not just scraped
When an endpoint supports these metrics and the source provides the required inputs, the normalized record includes engagement_rate, estimated_reach, content_category, and language. Ready to use.
See your data before you code
Visual Data Explorer. Paste any URL, get rich result cards, sortable tables, CSV export.
import requests
response = requests.get(
'https://www.socialcrawl.dev/v1/tiktok/profile',
params={'handle': 'charlidamelio'},
headers={'x-api-key': 'sc_YOUR_API_KEY'}
)
data = response.json(){
"success": true,
"platform": "tiktok",
"data": {
"author": {
"username": "charlidamelio",
"followers": 152400000
},
"engagement": {
"likes": 12400000000,
"engagement_rate": 0.087
},
"metadata": {
"language": "en",
"content_category": "lifestyle"
}
}
}Have a question? We got answers
Find answers to frequently asked questions about SocialCrawl's API, pricing, and capabilities.
Contact usHow do I get Twitter community data with an API?
What fields does the community endpoint return?
Can I pair this with the community tweets endpoint?
How much does the community endpoint cost?
Does it work for private or invite-only communities?
Ask AI about SocialCrawl
Ready to scrape X Community data?
Get your API key and start pulling X data in under 60 seconds.
