# Get post

Get a post in the same shape as a feed row, with Reddit's comment total. `subreddit` and `post_id` must refer to the same post.

- Platform: Reddit
- Request: `GET https://api.toolzerhub.com/v1/reddit/post-details`
- Auth: `x-api-key` header
- Cost: 1 credit per successful request. Failed requests are not billed.
- Page: https://docs.toolzerhub.com/reference/reddit/post/get-reddit-post-details-v2

| Parameter | In | Required | Type | Description |
| --- | --- | --- | --- | --- |
| `subreddit` | query | yes | string | Community the post belongs to, e.g. technology. Accepts r/technology or a URL. It must match the post; a mismatch returns a 500, so pasting the post's permalink into post_id is safest. |
| `post_id` | query | yes | string | Post id (1vqcqpz), t3_ fullname, or permalink. Prefer the permalink. A temporary failure returns a retryable 503. |

## Example request

```bash
curl "https://api.toolzerhub.com/v1/reddit/post-details?subreddit=<subreddit>&post_id=<post_id>" \
  -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.
