# Get posts in a batch

Returns posts identified by required comma-separated `post_ids`. Optional comment fields select a specific included comment.

- Platform: Reddit V2
- Request: `GET https://api.toolzerhub.com/v2/reddit/posts/batch`
- Auth: `x-api-key` header
- Cost: 8 credits per successful request. Failed requests are not billed.
- Page: https://docs.toolzerhub.com/reference/reddit-v2/post/get-reddit-posts-batch

| Parameter | In | Required | Type | Description |
| --- | --- | --- | --- | --- |
| `post_ids` | query | yes | string | Comma-separated Reddit post fullnames. |
| `include_comment_id` | query | no | string | Whether to include a specific comment ID's context in the post response. |
| `comment_id` | query | no | string | Comment fullname to include context for. |

## Example request

```bash
curl "https://api.toolzerhub.com/v2/reddit/posts/batch?post_ids=<post_ids>" \
  -H "x-api-key: $TOOLZERHUB_API_KEY"
```

Success responses are wrapped as `{ "data": ... }`. Errors return `{ "error": { "code", "status", "message", "retryable", "details" } }`. See https://docs.toolzerhub.com/docs/responses-and-errors.
