Posts in an X community
x_community_tweetsThe top or media posts of an X community (one page).
A community’s posts as X shows a logged-out visitor: view=top (default, about 20 of its most popular recent posts) or media (posts with photos and videos). One page; X shows no further pages, and no newest-first tab, without a login. since/until trim the page by date.
Cost: 1 credit per call, refunded automatically if the call fails. Read-only, public data only. Results include cost_credits and credits_remaining.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"id": "<id>"
},
"name": "x_community_tweets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | A community id or URL. | |
| view | No | top (default) or media. | |
| since | No | Only posts on or after this time. Reaching an older post ends the walk: YYYY-MM-DD (UTC) or an ISO 8601 timestamp. | |
| until | No | Only posts on or before this time (a date includes that whole UTC day): YYYY-MM-DD (UTC) or an ISO 8601 timestamp. |