Reddit App Fetch User Active Subreddits
## Purpose Retrieve the Reddit communities (subreddits) where a specified user posts or comments most actively. ## Inputs - **username** (required): Reddit username, 1–20 characters, using only letters A–Z/a–z, digits, underscores, or hyphens. Provide the username rather than a profile URL. - **language** (optional): Preferred response language as an IETF language tag, such as `en-US`. Defaults to `en-US`. Must be 2–16 characters, starting with a 2–3-letter language code and optionally followed by hyphen-separated alphanumeric subtags of 2–8 characters. - **need_format** (optional): Whether to clean and format the returned data. Defaults to `false`; set to `true` to request formatting. ## Result Returns JSON with the active-community information in `data`. The documented content includes communities where the user is most active, activity information for those communities, and available basic details such as community names, icons, and member counts. The nested data structure is not specified; specific fields, ranking criteria, and the activity reporting period are not guaranteed. This is not a complete post or comment history. ## Example `{"username":"spez","language":"en-US","need_format":false}`
Pricing
| Condition | Charge |
|---|---|
| Each call | 2.07 credits/call |
2.07 credits/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 |
|---|---|---|---|---|
language | string | No | 返回内容使用的语言,采用 IETF 语言标签;默认 en-US / Preferred response language as an IETF language tag; default: en-US | en-US |
username | string | Yes | 用户名/Username | — |
need_format | boolean | No | 是否需要清洗数据/Whether to clean and format the data | false |
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_reddit_app_fetch_user_active_subreddits' \
--header "X-Api-Key: $AGENTEARTH_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"params": {
"username": "xxx"
}
}'No response example available yet.

