Reddit App Fetch News Feed

2.07 credits/call
ae_reddit_app_fetch_news_feed

## Purpose Retrieve a page of news recommendations from the Reddit app, including news posts and current-affairs discussions when available. ## Inputs All inputs are optional. - `subtopic_ids`: Subtopic IDs to include. Defaults to `["all"]`, meaning all news categories. Supply up to 50 IDs; each must be 1–64 characters containing only letters, digits, underscores or hyphens. - `after`: Pagination value for a subsequent page. Defaults to `""` for the initial request; maximum 4096 characters. - `language`: Preferred response language as an IETF language tag, such as `en-US`. Defaults to `en-US`; must be 2–16 characters and match the parameter's language-tag pattern. - `need_format`: Whether to clean and format the returned data. Defaults to `false`. ## Result Returns JSON containing the news feed in `data`, which may be null. Feed content may include news posts, current-affairs discussions, trending topics, and news sources or links. The nested feed structure is not specified, so individual fields are not guaranteed. Use an available pagination value as `after` to request another page; no particular response field for that value is guaranteed. ## Example `{"subtopic_ids":["all"],"after":"","language":"en-US","need_format":false}`

NewsSocial
2.07 credits/call

Pricing

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

Parameters

Optional parameters use the platform defaults when omitted.

ParameterTypeRequiredDescriptionDefault
afterstringNo分页参数/Pagination parameter""
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
subtopic_idsarrayNo子话题ID列表/Subtopic IDs list["all"]

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_news_feed' \
  --header "X-Api-Key: $AGENTEARTH_API_KEY" \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "params": {}
}'

No response example available yet.