# Reddit Post Details Large Batch API

> Returns details for up to 30 Reddit posts in a single request using comma-separated post IDs. Supports optional comment context and formatted output data.

Source: https://www.sandbase.ai/apis/reddit/app/post-details-batch-large
API reference: https://www.sandbase.ai/apis/reddit/app/post-details-batch-large/docs

## Facts

- Provider: Reddit
- Type: Data API
- Endpoint: `POST https://api.sandbase.ai/v1/api/reddit/app/post-details-batch-large`
- Price: $0.04 per call
- Capabilities: api, reddit
- Billing: pay per use from one SandBase balance; no provider account or subscription needed

## Call it

`POST https://api.sandbase.ai/v1/api/reddit/app/post-details-batch-large` with `Authorization: Bearer $SANDBASE_API_KEY` and the parameters as a JSON body.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `post_ids` | string | yes |  |
| `comment_id` | string | no |  |
| `include_comment_id` | boolean | no |  |
| `need_format` | boolean | no |  |

## FAQ

### How do I use the Reddit Post Details Large Batch API?

Send a POST request to https://api.sandbase.ai/v1/api/reddit/app/post-details-batch-large 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 Post Details Large Batch API cost?

$0.04 per call, billed from your SandBase balance. You are only charged for calls you make; there is no subscription.

### What parameters does the Reddit Post Details Large Batch 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 Post Details Large Batch API return?

A JSON response returned in the same HTTP request (synchronous).

### Do I need a Reddit developer account or API key?

No. Reddit Post Details Large Batch 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.

## README

### Reddit Post Details Large Batch API

Retrieve detailed post information for multiple Reddit submissions simultaneously by supplying post IDs in `post_ids`. Optional parameters like `include_comment_id` and `need_format` allow comment targeting and data formatting.

#### Use cases

- Retrieve submission metadata for up to 30 Reddit posts simultaneously.
- Collect post context associated with a specific comment ID.
- Extract cleaned and formatted post datasets for bulk analysis.

#### Request

```bash
curl -X POST "https://api.sandbase.ai/v1/api/reddit/app/post-details-batch-large" \
  -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 30 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

- Pass a comma-separated list of up to 30 post IDs to `post_ids` using the `t3_` prefix format.
- Provide `comment_id` using the `t1_` prefix when `include_comment_id` is set to true.
- Set `need_format` to true to return cleaned and standardized data.

#### Related APIs

- [Reddit Subreddit Mute Status](/model/reddit/app/check-subreddit-muted): Checks whether a specified Reddit subreddit is muted by the current account using its ID.
- [Reddit App Comment Replies](/model/reddit/app/comment-replies): Returns replies and nested sub-comments under a Reddit post comment using a continuation cursor.
- [Reddit Community Highlights](/model/reddit/app/community-highlights): Returns featured highlight content for a designated Reddit community, such as popular posts and announcements, by subreddit ID.
