Reddit App Fetch Community Highlights
Retrieve highlights for a Reddit community, such as featured posts, pinned announcements, community updates, and recommended content. Inputs: - subreddit_id (required): The app-format community ID, starting with t5_ followed by 1–17 lowercase letters or digits, for example t5_2qh0u. Supply the ID, not a community name or URL. - language (optional): Preferred response language as an IETF language tag, 2–16 characters; default en-US. - need_format (optional): Whether to clean and format the returned data; default false. Returns a JSON response with community highlight content in data. The detailed content structure is not fixed by the documented schema; data may be null, and the listed content types are not guaranteed to appear in every response.
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 |
need_format | boolean | No | 是否需要清洗数据/Whether to clean and format the data | false |
subreddit_id | string | Yes | 版块ID/Subreddit 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_reddit_app_fetch_community_highlights' \
--header "X-Api-Key: $AGENTEARTH_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"params": {
"subreddit_id": "xxx"
}
}'No response example available yet.

