Get Posts from a Known Community
View all X (Twitter) Public Data API endpoints →Provide required community_id for a public X Community. Optional ranking has documented values Top and Latest; choose one value rather than a comma-separated list. Optional cursor continues the same Community and ranking. This endpoint has not been live-verified, so exact post fields, ranking behavior, continuation keys and unavailable-group results must be validated. Treat collected posts as observed group discussion, not a complete Community archive or built-in topic analysis.
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/community-posts API Response (JSON)
{} curl -X GET 'https://api.opendata-api.com/api/project/twitter/community-posts?key=<API_KEY>&community_id=1783990533192651232&ranking=Latest'
Query Result
Use Cases
- Poll a selected public Community for returned posts and maintain a dated, deduplicated discussion record after validating IDs.
- Compare discussion themes across selected groups using equivalent windows and the same requested ranking.
- Prepare a source-linked weekly Community discussion brief from the available captured posts.
- Study differences between Top- and Latest-ranked samples within one Community without assuming a popularity census.
Frequently asked questions
How do I select a Community and its post ranking?
Required community_id selects the group. Optional ranking documents Top and Latest as separate choices; send one, not a comma-separated list. Optional cursor continues the same group and ranking, after output pagination fields are validated.
Are Top and Latest results a verified complete Community archive?
No. This endpoint's fields, ordering, continuation keys and unavailable-group behavior have not been live-verified. Treat returned posts as observed discussion samples, not a complete archive or built-in topic analysis.