Reddit App Fetch Post Details Batch
Fetch details for up to five Reddit posts by ID, optionally including context for a specific comment. Inputs: - post_ids (required): A comma-separated string of 1–5 post IDs, for example "t3_1ojnh50,t3_1ok432f". Each ID must start with t3_ followed by 1–17 lowercase letters or digits. The full string is limited to 104 characters; do not supply URLs or an array. - include_comment_id: Set to true to request context for the comment specified by comment_id. Default: false. - comment_id: When requesting comment context, supply a t1_-prefixed ID followed by 1–17 lowercase letters or digits. Default: empty string. - need_format: Whether to clean and format the returned data. Default: false. - language: Preferred response language as an IETF language tag, such as en-US; 2–16 characters. Default: en-US. Returns: A response with post details in data. Available details may include title, content, author, vote and comment statistics, subreddit information, awards, media, and recommendation reasons. The data structure is not fixed by the documented schema and may be null; not every detail is guaranteed for every post. Limits: More than five posts in one request returns an error. Preserve the t3_ post and t1_ comment prefixes. This is a lookup by known IDs, not a post search or a guarantee of a complete comment thread.
Pricing
| Condition | Charge |
|---|---|
| Each call | 10.33 credits/call |
Each call has a fixed charge of 10.33 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.
| Parameter | Type | Required | Description | Default |
|---|---|---|---|---|
language | string | No | 返回内容使用的语言,采用 IETF 语言标签;默认 en-US / Preferred response language as an IETF language tag; default: en-US | en-US |
post_ids | string | Yes | 帖子ID列表,逗号分隔,最多5条/Post IDs comma-separated, max 5 | — |
comment_id | string | No | 评论ID/Comment ID (when include_comment_id is True) | "" |
need_format | boolean | No | 是否需要清洗数据/Whether to clean and format the data | false |
include_comment_id | boolean | No | 是否包含特定评论ID/Include specific comment ID | false |
Invocation example
Copy the request and explore its response example.
/agent-api/v1/tool/executeX-Api-Keycurl --request POST \
--url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_reddit_app_fetch_post_details_batch' \
--header "X-Api-Key: $AGENTEARTH_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"params": {
"language": "en-US",
"need_format": true,
"post_ids": "t3_1xpxdda,t3_1xrrd0m,t3_1xogi2c,t3_1xohadx,t3_1xpxh98"
}
}'{
"code": 200,
"data": {
"postsInfoByIds": [
{
"authorInfo": {
"accountType": "USER",
"iconSmall": {
"dimensions": {},
"url": "https://www.redditstatic.com/avatars/defaults/v2/avatar_default_3.png"
},
"id": "t2_2e8vet7lgz",
"isBlocked": false,
"isCakeDayNow": false,
"name": "No_Code7453"
},
"commentCount": 2,
"createdAt": "2026-11-07T04:24:43.049000+0000",
"crowdControlLevel": "OFF",
"domain": "self.ClaudeAI",
"id": "t3_1xpxdda"
}
]
},
"docs": "https://api.tikhub.io/#/Reddit-APP-API/fetch_post_details_batch_api_v1_reddit_app_fetch_post_details_batch_get",
"message": "Request successful. This request will incur a charge.",
"message_zh": "请求成功,本次请求将被计费。",
"request_id": "892ba663-6640-43fd-80be-aa8d8c510f7d"
}This example shows part of the response. Copied content is valid JSON.

