X Search Communities
Search X (Twitter) communities using a keyword. Inputs: - keyword (required string): The search term, for example "superman". - cursor (optional string): A pagination cursor. Omit it for the first page; for subsequent pages, use next_cursor from the previous response when available. Returns: Community search results in the response data. The documented response schema does not specify individual community fields. Example first-page input: {"keyword":"superman"}.
Pricing
| Condition | Charge |
|---|---|
| Each call | 2.07 credits/call |
A fixed charge of 2.07 credits per call. Charges are per query. A successful query is billed even if it returns no results.
Parameters
Optional parameters use the platform defaults when omitted.
| Parameter | Type | Required | Description | Default |
|---|---|---|---|---|
cursor | string | No | 游标/Cursor | — |
keyword | string | Yes | 搜索关键字/Search Keyword | — |
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_search_communities' \
--header "X-Api-Key: $AGENTEARTH_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"params": {
"keyword": "xxx"
}
}'No response example available yet.





