Headers
Get your API keyAPI key (`sfk_...`)
Search query for X (Twitter) communities.
min 1 chars · max 200 chars
Opaque pagination cursor returned by a previous response.
min 1 chars
Endpoint-specific response payload.
Communities matching the requested query.
Numeric community identifier as a string.
min 1 chars
Community display name.
min 1 chars
Approximate member count when available.
≥ 0
Primary topic label when available.
Whether the community is marked as sensitive.
Banner image URL when available.
Canonical public community URL on x.com.
min 1 chars
Fallback banner image URL when X provides one.
Member avatar URLs shown in the community search preview.
min 1 chars
Pagination information for the current response.
Whether another page is available.
Cursor to pass in the next request when more pages exist; null on the last page.
Metadata describing the request and billing outcome.
Unique request identifier for tracing this API call.
min 1 chars
Credits charged for this request.
≥ 0
Public API version that served the response.
one of: v1
True when served from shared response cache. Credits still apply (full endpoint price); Age header may be present.
Code example
curl "https://api.socialfetch.dev/v1/twitter/communities/search?query=programming" \
-H "x-api-key: YOUR_API_KEY"Responses
Community search results.