scraper
Back to API docs

Overview

  • Overview

APIs

  • POSTPost
  • POSTSearch
  • POSTSubreddit
  • POSTUser Posts
  • POSTUser Comments
  • POSTCommunity

Reddit User Comments

1 credit

List the comments a Reddit user has written.

POST/api/v1/tools/reddit/user-comments

Parameters

usernamestringrequired

Reddit username, with or without the u/ prefix (e.g. "spez").

sortstring

Listing sort: hot, new, top, rising, relevance, or comments. Search-only sorts map onto hot for feeds. Defaults to new.

timestring

Time window for top and controversial: hour, day, week, month, year, or all (default). A window narrower than "all" also filters the whole walk.

maxItemsnumber

Maximum number of comments to return. Above 100, further sorts and time windows are walked and deduplicated. Defaults to 50. Upper bound is determined by your plan.

fieldsstring[]

Comment fields to include. Defaults: id, author, text, score, createdAt, subreddit, parentId, linkId, depth, linkTitle. Use ["*"] for all fields.

Response Schema

dataobject

User comments result

commentsobject[]

Comments in listing order. Fields depend on the fields parameter; defaults listed below. depth is absent here because Reddit does not report it for a user feed.

countnumber

Number of comments returned

truncatedboolean

True when the request budget stopped the walk before maxItems was met.

metaobject

Request metadata

toolstring

Tool name (reddit-user-comments)

creditsUsednumber

Credits consumed (1)

requestIdstring

Unique request ID

Request

curl -X POST https://scraper.run/api/v1/tools/reddit/user-comments \
-H "Authorization: Bearer sc_live_..." \
-H "Content-Type: application/json" \
-d '{
"username": "spez",
"maxItems": 25
}'

Response Example

{
"data": {
"comments": [
{
"id": "xyz789",
"author": "spez",
"text": "Rust has a steep learning curve but it is worth it for systems programming.",
"score": 89,
"createdAt": "2026-04-08T16:10:00.000Z",
"subreddit": "programming",
"parentId": "t3_abc123",
"linkId": "t3_abc123",
"linkTitle": "What programming language should I learn in 2026?"
}
],
"count": 1,
"truncated": false
},
"meta": {
"tool": "reddit-user-comments",
"creditsUsed": 1,
"requestId": "req_abc123"
}
}