# List user comments

Returns comments posted by required `username`. Use `sort`, `page_size`, and `after` to control pagination.

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

| Parameter | In | Required | Type | Description |
| --- | --- | --- | --- | --- |
| `username` | query | yes | string | Reddit username without the u/ prefix. |
| `sort` | query | no | enum: NEW, TOP, HOT, CONTROVERSIAL | Sort order for the user's submissions. |
| `page_size` | query | no | integer | Number of comments to return per page. |
| `after` | query | no | string | Cursor from the previous response used to fetch the next page. |

## Example request

```bash
curl "https://api.toolzerhub.com/v2/reddit/user/comments?username=<username>" \
  -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.
