Find Public Communities by Keyword
View all X (Twitter) Public Data API endpoints →Pass required query to discover candidate X Communities for a topic. Optional cursor continues results for the same query. Community discovery is separate from searching posts inside Communities; the latter has dedicated latest- and top-ranked endpoints. Exact community identifiers, descriptive keys, ranking behavior and no-match response shape have not been live-verified. Review returned matches for relevance and validate identifiers before using community-info, community-members or community-posts.
API Features
Live API Demo
🔒 Sign in to try it live
Log in to call this API with your own API key. New accounts get 100 free credits — no card required.
Log in / Sign upNo active API key found. Create one in your Dashboard, then reload this page. Dashboard →
/api/project/twitter/communities-search API Response (JSON)
{} curl -X GET 'https://api.opendata-api.com/api/project/twitter/communities-search?key=<API_KEY>&query=superman'
Query Result
Use Cases
- Discover candidate public Communities for an industry research catalog and manually review their relevance.
- Find topic-focused groups to seed a community-info enrichment workflow after validating returned IDs.
- Expand an editorial directory of public discussion spaces using a documented query and capture date.
- Compare candidate Community search results across related keywords before selecting groups for bounded monitoring.
Frequently asked questions
How can I discover X Communities for a topic?
Send required query and use optional cursor for available continuation with the same keyword. Review candidate matches for relevance and validate their Community IDs before requesting information, members or posts. Exact discovery fields remain unverified.
Does Community discovery search the posts inside each group?
This endpoint discovers candidate Communities. Dedicated latest and top Community post search operations use query to discover discussion, while community-posts uses a known community_id for one group's timeline.