TWITTER API
Community
Retrieve community from Twitter with a single API request.
GET
/api/data/v1/twitter/community1credit base cost
Request parameters
Up to 1 creditCommunity URL
Live requests use your prepaid balance. Cached responses cost zero where supported.
curl --request GET \
--url 'https://fetchgoblin.com/api/data/v1/twitter/community?url=https%3A%2F%2Fx.com%2Fi%2Fcommunities%2F1926186499399139650' \
--header 'x-api-key: YOUR_FETCHGOBLIN_API_KEY'Response
Example{
"success": true,
"credits_charged": 1,
"__typename": "Community",
"is_member": false,
"name": "The First Thousand",
"role": "NonMember",
"rest_id": "1926186499399139650",
"actions": {
"join_action_result": {
"__typename": "CommunityJoinActionUnavailable"
},
"id": "Q29tbXVuaXR5QWN0aW9uczoxOTI2MTg2NDk5Mzk5MTM5NjUw"
},
"description": "This community is for creators and builders who are growing to their first 1,000 followers. Give insights, build your brand, and grow a loyal audience.",
"creator_results": {
"result": {
"__typename": "User",
"id": "VXNlcjoxOTIxMzY4NDU0NDQ5MjAxMTUy",
"is_blue_verified": true,
"core": {
"screen_name": "CanaCarson"
},
"verification": {
"verified": false
}
},
"id": "VXNlclJlc3VsdHM6MTkyMTM2ODQ1NDQ0OTIwMTE1Mg=="
},
"join_policy": "Open",
"created_at": 1748073622931,
"rules": [
{
"rest_id": "1926189963793609186",
"description": "This isn’t the space to drop ChatGPT engineered empty platitudes",
"name": "No Empty Platitudes",
"id": "Q29tbXVuaXR5UnVsZToxOTI2MTg5OTYzNzkzNjA5MTg2"
}
],
"members_facepile_results": [
{
"result": {
"__typename": "User",
"avatar": {
"image_url": "https://pbs.twimg.com/profile_images/1944871269775601664/Ho7tiGd2_normal.jpg"
},
"id": "VXNlcjoxOTIxMzY4NDU0NDQ5MjAxMTUy"
},
"id": "VXNlclJlc3VsdHM6MTkyMTM2ODQ1NDQ0OTIwMTE1Mg=="
}
],
"member_count": 1896,
"id": "Q29tbXVuaXR5OjE5MjYxODY0OTkzOTkxMzk2NTA="
}Example data from the API specification. Run a request to retrieve current data.
Response shape
This schema describes the documented data shape. Some platform fields may be absent or null. The response also includes your FetchGoblin request ID and current credit balance.
View JSON Schema +
{
"type": "object",
"properties": {
"success": {
"type": "boolean"
},
"credits_remaining": {
"type": "integer"
},
"credits_charged": {
"type": "integer"
},
"__typename": {
"type": "string"
},
"is_member": {
"type": "boolean"
},
"name": {
"type": "string"
},
"role": {
"type": "string"
},
"rest_id": {
"type": "string"
},
"actions": {
"type": "object",
"properties": {
"join_action_result": {
"type": "object",
"properties": {
"__typename": {
"type": "string"
}
}
},
"id": {
"type": "string"
}
}
},
"description": {
"type": "string"
},
"creator_results": {
"type": "object",
"properties": {
"result": {
"type": "object",
"properties": {
"__typename": {
"type": "string"
},
"id": {
"type": "string"
},
"is_blue_verified": {
"type": "boolean"
},
"core": {
"type": "object",
"properties": {
"screen_name": {
"type": "string"
}
}
},
"verification": {
"type": "object",
"properties": {
"verified": {
"type": "boolean"
}
}
}
}
},
"id": {
"type": "string"
}
}
},
"join_policy": {
"type": "string"
},
"created_at": {
"type": "integer"
},
"rules": {
"type": "array",
"items": {
"type": "object",
"properties": {
"rest_id": {
"type": "string"
},
"description": {
"type": "string"
},
"name": {
"type": "string"
},
"id": {
"type": "string"
}
}
}
},
"members_facepile_results": {
"type": "array",
"items": {
"type": "object",
"properties": {
"result": {
"type": "object",
"properties": {
"__typename": {
"type": "string"
},
"avatar": {
"type": "object",
"properties": {
"image_url": {
"type": "string"
}
}
},
"id": {
"type": "string"
}
}
},
"id": {
"type": "string"
}
}
}
},
"member_count": {
"type": "integer"
},
"id": {
"type": "string"
}
}
}