Reddit Batch Post Details
https://api.sandbase.ai/v1/api/reddit/app/post-details-batchReturns detailed post data for up to five Reddit posts specified by ID. Supports optional comment context and structured data formatting.
- Price
- $0.0075USD / callFirst 100 calls per day free (shared per organization)
- Method
- POST
- Response
- JSON
- Parameters
- 1 required · 3 optional
Try the model
Playground
[
{
"data": {
"postsInfoByIds": null
}
}
]Examples
Select an example to load its inputs and result into the playground.
Model card
Specifications
Pricing
- Base price
- $0.0075 / run
- Daily free calls
- First 100 calls per day free (shared per organization)
Request & response
- Method
- POST
- Request body
- application/json
- Response
- application/json
- Execution
- sync
Parameters
- post_ids
- string · required
- comment_id
- string · optional
- include_comment_id
- boolean · optional
- need_format
- boolean · optional
Access
- Provider
- API
- Platform API
- Base URL
- https://api.sandbase.ai
- Endpoint
- /v1/api/reddit/app/post-details-batch
- Authentication
- Bearer API key
API README
Reddit Batch Post Details API
Retrieve detailed information for multiple Reddit posts using a comma-separated list in post_ids. You can also supply comment_id and formatting toggles to shape the output.
Use cases
- Retrieve metadata and contents for several posts in one call.
- Inspect specific comment contexts alongside queried posts.
- Format raw Reddit post output for downstream analysis.
Request
curl -X POST "https://api.sandbase.ai/v1/api/reddit/app/post-details-batch" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"post_ids": "<post_ids>"}'
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
post_ids | string | Yes | Post IDs comma-separated, format like "t3_XXXXXX,t3_YYYYYY", max 5 posts |
comment_id | string | No | Comment ID (used when include_comment_id is True), format like "t1_XXXXXX" |
need_format | boolean | No | Whether to clean and format the data |
include_comment_id | boolean | No | Whether to include specific comment ID, default False |
Notes
post_idsaccepts up to 5 comma-separated post IDs formatted liket3_XXXXXX.comment_idrequires IDs formatted liket1_XXXXXXand is used wheninclude_comment_idis true.
Related APIs
- Reddit Subreddit Mute Status: Checks whether a specified Reddit subreddit is muted by the current account using its ID.
- Reddit App Comment Replies: Returns replies and nested sub-comments under a Reddit post comment using a continuation cursor.
- Reddit Community Highlights: Returns featured highlight content for a designated Reddit community, such as popular posts and announcements, by subreddit ID.
Start building
Send your first request
Platform API endpoint with unified authentication and usage tracking.
# The quoted heredoc keeps Unicode and shell metacharacters unchanged.
result=$(curl --fail-with-body --silent \
-X POST "https://api.sandbase.ai/v1/api/reddit/app/post-details-batch" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
--data-binary @- <<'SANDBASE_JSON'
{
"post_ids": "example"
}
SANDBASE_JSON
)
printf '%s\n' "$result"Explore more
Related APIs
| API | Price | Response | Released |
|---|---|---|---|
Reddit Batch Post DetailsThis API Reddit | $0.0075 per call | JSON | Jul 31, 2026 |
Reddit | $0.0015 per call | JSON | Jul 31, 2026 |
Reddit | $0.0015 per call | JSON | Jul 31, 2026 |
Reddit | $0.0015 per call | JSON | Jul 31, 2026 |
Reddit | $0.0015 per call | JSON | Jul 31, 2026 |
Reddit | $0.0015 per call | JSON | Jul 31, 2026 |
Questions
FAQ
How do I use the Reddit Batch Post Details API?
Send a POST request to https://api.sandbase.ai/v1/api/reddit/app/post-details-batch with your SandBase API key in the Authorization header (Bearer) and the parameters as a JSON body. You can also try it in the Playground on this page without writing code.
How much does the Reddit Batch Post Details API cost?
$0.0075 per call. Every organization gets 100 free calls per UTC day, shared across eligible SandBase APIs including this one; after that each call is billed at this price from your SandBase balance. There is no subscription.
What parameters does the Reddit Batch Post Details API accept?
Required: post_ids (string). Optional: comment_id (string), include_comment_id (boolean) and need_format (boolean). The Parameters table and the Playground on this page list every field.
What does the Reddit Batch Post Details API return?
A JSON response returned in the same HTTP request (synchronous).
Do I need a Reddit developer account or API key?
No. Reddit Batch Post Details runs through SandBase, so one SandBase API key covers this endpoint and every other API and model in the catalog. You do not need to apply for Reddit API access separately.
