Reddit App Fetch User Profile
Fetch a Reddit user's profile by username. Inputs: - username (required): The username without the u/ prefix; 1–20 characters using only letters A–Z or a–z, digits, underscores or hyphens. - language (optional): Preferred response language as an IETF language tag, such as en-US; 2–16 characters following the input schema. Default: en-US. - need_format (optional): Whether to clean and format the returned data. Default: false. Returns a JSON response with profile information in data when available. Documented details include username and ID, account creation time, post and comment karma, avatar and banner images, bio, verification status, badges and awards, and follower count. The profile payload has no fixed field schema, so use the fields actually returned rather than assuming all listed details are present. Example input: {"username":"spez","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_profile' \
--header "X-Api-Key: $AGENTEARTH_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"params": {
"username": "xxx"
}
}'No response example available yet.

