Reddit Batch Post Details

https://api.sandbase.ai/v1/api/reddit/app/post-details-batch

Returns 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
Production route

Try the model

Playground

Open playground
Input
Comment ID (used when include_comment_id is True), format like "t1_XXXXXX"
Whether to include specific comment ID, default False
Whether to clean and format the data
Post IDs comma-separated, format like "t3_XXXXXX,t3_YYYYYY", max 5 posts
OutputExample
Responseoutputs · 60 B · 7 lines
[
  {
    "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
Reddit
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

NameTypeRequiredDescription
post_idsstringYesPost IDs comma-separated, format like "t3_XXXXXX,t3_YYYYYY", max 5 posts
comment_idstringNoComment ID (used when include_comment_id is True), format like "t1_XXXXXX"
need_formatbooleanNoWhether to clean and format the data
include_comment_idbooleanNoWhether to include specific comment ID, default False

Notes

  • post_ids accepts up to 5 comma-separated post IDs formatted like t3_XXXXXX.
  • comment_id requires IDs formatted like t1_XXXXXX and is used when include_comment_id is true.

Related APIs

Start building

Send your first request

Platform API endpoint with unified authentication and usage tracking.

Production API
Platform API endpoint
https://api.sandbase.ai/v1/api/reddit/app/post-details-batch
Authorization header
Authorization: Bearer $SANDBASE_API_KEY
# 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

All APIs
APIPriceResponseReleased
Reddit$0.0075 per callJSONJul 31, 2026
Reddit$0.0015 per callJSONJul 31, 2026
Reddit$0.0015 per callJSONJul 31, 2026
Reddit$0.0015 per callJSONJul 31, 2026
Reddit$0.0015 per callJSONJul 31, 2026
Reddit$0.0015 per callJSONJul 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.