X Get Community Timeline
Retrieve posts from an X community timeline. Inputs: - community_id (required string): The community ID, for example "1493290339532222469". - ranking (optional string): Relevance or Recency. Omit this input to use the default ordering. - cursor (optional string): The pagination cursor from the previous response. Omit it for the initial request. Returns: A page of the community's posts in the response data. Use the returned cursor, when available, to request the next page. Detailed post fields are not specified by this tool's response schema. Example: {"community_id":"1493290339532222469","ranking":"Recency"}
Pricing
| Condition | Charge |
|---|---|
| Each call | 2.07 credits/call |
Each call has a fixed charge of 2.07 credits. Charges are per query. A successful query is billed even if it returns no results.
The ranking option does not affect the per-call charge. Fetching another page with a pagination cursor makes a new call and is charged separately.
Parameters
Optional parameters use the platform defaults when omitted.
| Parameter | Type | Required | Description | Default |
|---|---|---|---|---|
cursor | string | No | 游标/Cursor | — |
ranking | string | No | 排序方式/Ranking | — |
community_id | string | Yes | 社区ID/Community ID | — |
Invocation example
Parameter templateGenerated from the parameter configuration. Replace the sample values before use.
/agent-api/v1/tool/executeX-Api-Keycurl --request POST \
--url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_x_get_community_timeline' \
--header "X-Api-Key: $AGENTEARTH_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"params": {
"community_id": "xxx"
}
}'No response example available yet.





