Reddit App Fetch Post Details
Fetch details for a single Reddit post, optionally including context for a specific comment. Inputs: - post_id (required): t3_ followed by 1–17 lowercase letters or digits, such as t3_1ojnh50. Supply the prefixed ID, not a URL or bare ID. - include_comment_id: Set to true to request context for the comment identified by comment_id. Default: false. - comment_id: When requesting comment context, supply t1_ followed by 1–17 lowercase letters or digits. Default: an empty string. - language: Preferred response language as an IETF language tag, 2–16 characters, such as en-US. Default: en-US. - need_format: Whether to request cleaned and formatted data. Default: false. Returns a response containing status metadata and post data. The data may include the title, body, author, vote and comment counts, subreddit details, awards, media, and recommendation reasons. The payload has no fixed detailed schema and may be null; individual details are not guaranteed. Requesting a specific comment's context does not guarantee a complete comment thread.
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 |
|---|---|---|---|---|
post_id | string | Yes | 帖子ID/Post ID | — |
language | string | No | 返回内容使用的语言,采用 IETF 语言标签;默认 en-US / Preferred response language as an IETF language tag; default: en-US | en-US |
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' \
--header "X-Api-Key: $AGENTEARTH_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"params": {
"post_id": "t3_1we891g"
}
}'{
"code": 200,
"data": {
"postsInfoByIds": [
{
"__typename": "SubredditPost",
"authorInfo": {
"__typename": "Redditor",
"accountType": "USER",
"iconSmall": {
"__typename": "MediaSource",
"dimensions": {},
"url": "https://styles.redditmedia.com/t5_3as5d5/styles/profileIcon_snoofe88a328-07a4-4e06-870c-c8106dd91569-headshot-f.png?width=50&height=50&frame=1&auto=webp&crop=50%3A50%2Csmart&s=27c767cc6b09b8f16af473c22c68b72bba4c46c3"
},
"id": "t2_8dzeyksb",
"isBlocked": false,
"name": "Popular_Ad_6527"
},
"commentCount": 17,
"content": {
"html": "After some research I found out that Ossi Ketola (the mammoth initiating these matches) is the owner of an online casino (Duel - who also happens to now be the main sponsor of Triton poker).\nI know that Triton mediates the money, and I'm sure they wouldn't",
"markdown": "After some research I found out that Ossi Ketola (the mammoth initiating these matches) is the owner of an online casino (Duel - who also happens to now be the main sponsor of Triton poker).\n\n \nI know that Triton mediates the money, and I'm sure they woul",
"preview": "After some research I found out that Ossi Ketola (the mammoth initiating these matches) is the owner of an online casino (Duel - who also happens to now be the main sponsor of Triton poker). I know that Triton mediates the money, and I'm sure they wouldn't",
"richtext": "{\"document\":[{\"c\":[{\"e\":\"text\",\"t\":\"After some research I found out that Ossi Ketola (the mammoth initiating these matches) is the owner of an online casino (Duel - who also happens to now be the main sponsor of Triton poker).\"}],\"e\":\"par\"},{\"c\":[{\"e\":\"tex"
},
"createdAt": "2026-09-12T09:43:54.698000+0000",
"id": "t3_1we891g"
}
]
},
"docs": "https://api.tikhub.io/#/Reddit-APP-API/fetch_post_details_api_v1_reddit_app_fetch_post_details_get",
"message": "Request successful. This request will incur a charge."
}This example shows part of the response. Copied content is valid JSON.

