# List user comments

List an account's comments with body, score, timestamp, permalink, and subreddit.

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

| Parameter | In | Required | Type | Description |
| --- | --- | --- | --- | --- |
| `username` | query | yes | string | Account name, e.g. spez. Accepts u/spez or a reddit.com /user/ URL. 2-20 letters, digits, underscores or hyphens. An account with no comments returns an empty list. |
| `count` | query | no | integer | How many comments to return. Pages are walked for you. Fewer results means the account has no more comments. Default: 25. |
| `after` | query | no | string | next_cursor from the previous response; omit for the newest comment. A comment id or t1_ fullname also works. Cursors don't expire. |

## Example request

```bash
curl "https://api.toolzerhub.com/v1/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.
