Reddit App Fetch Subreddit Post Channels

2.07 credits/call
ae_reddit_app_fetch_subreddit_post_channels

## Purpose Retrieve post-channel information for a specified Reddit subreddit, with sorting and time-range options. ## Inputs All inputs are optional: - `subreddit_name`: Subreddit name without `r/`; 2–21 letters, digits, or underscores. Default: `pics`. - `sort`: `BEST`, `HOT`, `NEW`, `TOP`, `CONTROVERSIAL`, or `RISING`. Default: `HOT`. - `range`: `ALL`, `HOUR`, `DAY`, `WEEK`, `MONTH`, or `YEAR`. Default: `DAY`. The documentation does not specify how each sort mode uses this range. - `language`: Preferred response language as an IETF language tag, such as `en-US`. Must be 2–16 characters and match the parameter's language-tag pattern. Default: `en-US`. - `need_format`: Whether to request cleaned and formatted data. Default: `false`. ## Result Returns a JSON response with the requested subreddit post-channel information in `data`, which may be null. The nested data structure is not specified, so individual post fields are not guaranteed. ## Example `{"subreddit_name":"pics","sort":"HOT","range":"DAY","language":"en-US","need_format":false}`

Social
2.07 credits/call

Pricing

2.07 credits/call
ConditionCharge
Each call2.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.

ParameterTypeRequiredDescriptionDefault
sortenum (BEST | HOT | NEW | TOP | CONTROVERSIAL | RISING)No排序方式/Sort method: HOT, NEW, TOP, CONTROVERSIAL, RISINGHOT
rangeenum (ALL | HOUR | DAY | WEEK | MONTH | YEAR)No时间范围/Time range: HOUR, DAY, WEEK, MONTH, YEAR, ALLDAY
languagestringNo返回内容使用的语言,采用 IETF 语言标签;默认 en-US / Preferred response language as an IETF language tag; default: en-USen-US
need_formatbooleanNo是否需要清洗数据/Whether to clean and format the datafalse
subreddit_namestringNo版块名称/Subreddit namepics

Invocation example

Parameter template

Generated from the parameter configuration. Replace the sample values before use.

POST/agent-api/v1/tool/executeX-Api-Key
Request coderequest.sh
curl --request POST \
  --url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_reddit_app_fetch_subreddit_post_channels' \
  --header "X-Api-Key: $AGENTEARTH_API_KEY" \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "params": {}
}'

No response example available yet.