Reddit App Fetch User Comments

2.07 credits/call
ae_reddit_app_fetch_user_comments

Fetch comments written by a specified Reddit user, with sorting and pagination. Inputs: - username (required): 1–20 letters, digits, underscores, or hyphens. - sort: NEW (newest, default), TOP (top rated), HOT (hot), or CONTROVERSIAL (controversial). - page_size: Number of comments requested per page, from 1 to 100; default 25. - after: Pagination cursor for the next page, using the pagination information from a previous result; default empty, maximum 4096 characters. - language: Preferred response language as an IETF language tag, such as en-US; 2–16 characters, default en-US. - need_format: Whether to clean and format the data; default false. Returns JSON response data for a page of the user's comments and pagination information. Documented comment details include comment content, associated post information, timestamps, upvote counts, and reply counts. The response schema does not specify a fixed structure for these details, so availability depends on the returned data. This tool retrieves comments authored by the user, not the full comment thread of a post.

Social
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
sortenum (NEW | TOP | HOT | CONTROVERSIAL)No排序方式/Sort method: NEW, TOP, HOT, CONTROVERSIALNEW
afterstringNo分页参数/Pagination parameter""
languagestringNo返回内容使用的语言,采用 IETF 语言标签;默认 en-US / Preferred response language as an IETF language tag; default: en-USen-US
usernamestringYes用户名/Username—
page_sizeintegerNo每页数量/Page size (default: 25)25
need_formatbooleanNo是否需要清洗数据/Whether to clean and format the datafalse

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

No response example available yet.