Reddit API

Reddit User comments API

List a Reddit user's comments by username, sorted by new, top, hot, or controversial, with the parent post title and subreddit on every item and cursor pagination. Comment text comes back as a roughly 300-character preview rather than the full body, and this endpoint carries no per-comment permalink; use reddit.post_comments for full comment bodies and comment URLs on a given post.

POST/v1/run/reddit.user_comments
Uptime
100.00%
30d · 14 calls
Requests
14
30d · weekly, last 12 wks
Response
1.8s
median · 30d

Try it

Make your first request

Open in
Get a free key
Sample response
Free runs return only the first 3 results. Fund a key to get the full response.
{
  "data": {
    "comments": [
      {
        "author": "Alex Rivera",
        "bodyPreview": "A short example description of this item.",
        "createdUtc": 12.5,
        "id": "a1b2c3d4",
        "postId": "a1b2c3d4",
        "postTitle": "Example title",
        "score": 5,
        "subreddit": "example"
      }
    ],
    "nextCursor": "example"
  },
  "found": true
}
Response interface
interface RedditUserCommentsResponse {
  data: {
    comments: {
      author: string;
      bodyPreview?: string;
      createdUtc: number;
      id: string;
      postId?: string;
      postTitle?: string;
      score?: number;
      subreddit?: string;
    }[];
    nextCursor: string | null;
  } | null;
  found: boolean;
}

Full parameter and response reference - every field, type, and example for this endpoint.

Reference

Request, response, and price

Last verified 2026-09-16 · uptime and latency measured over 30d
POST /v1/run/reddit.user_comments
curl -X POST https://api.getanyapi.com/v1/run/reddit.user_comments \
  -H "Authorization: Bearer $ANYAPI_KEY" \
  -H "Content-Type: application/json" \
  -d '{"username":"spez"}'
FieldTypeExample value
Request body
usernamestring"spez"Reddit username, without the u/ prefix. Example: "spez".
cursorstringOpaque pagination cursor from a previous response's nextCursor. Omit for the first page; pass it back to fetch the next page.
limitintegerMaximum number of comments to return in this response (a page cap, not a total). Defaults to 25.
sortenumSort order for the user's comments. Defaults to new (most recent first).
Response
dataobjectOne page of the user's comments, or null when the user was not found.
data.commentsobject[]The user's comments in feed order (newest first by default). Each item carries a truncated body preview plus the parent post it was made on; there is no per-comment permalink available from this endpoint. Populated whenever the provider has data for the entity.
data.comments[].authorstringCommenter username, without the u/ prefix. Populated whenever the provider has data for the entity.
data.comments[].bodyPreviewstringA preview of the comment text, not the full comment body: the upstream truncates it to roughly 300 characters and cuts mid-word. It is plain text rather than Markdown, and it is empty on the occasional comment for which the upstream returns no preview at all. For full comment bodies and comment permalinks, use the reddit.post_comments SKU against the parent post.
data.comments[].createdUtcnumberUTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.
data.comments[].idstringReddit comment ID (base-36, without the t1_ prefix). Populated whenever the provider has data for the entity.
data.comments[].postIdstringReddit post ID of the thread the comment was made on (base-36, without the t3_ prefix). Pass it to reddit.post or reddit.post_comments for the full thread. Populated whenever the provider has data for the entity.
data.comments[].postTitlestringTitle of the thread the comment was made on. Populated whenever the provider has data for the entity.
data.comments[].scoreintegerNet score (upvotes minus downvotes) on the comment at fetch time.
data.comments[].subredditstringSubreddit name of the parent thread, without the r/ prefix. Empty when the comment is on a post hosted on a user's own profile (r/u_<name>), which has no subreddit.
data.nextCursorstringOpaque cursor for the next page of this user's comments; pass it back as the `cursor` input to fetch the following page. Null when there are no more pages.
foundbooleanWhether the user's comment history was returned.
Price
Price per requestUSD$0.0009
Price /1k reqUSD$0.90

FAQ

About the Reddit User comments API

The AnyAPI Reddit User comments API returns Reddit user comments data as normalized JSON from one POST call to /v1/run/reddit.user_comments. List a Reddit user's comments by username, sorted by new, top, hot, or controversial, with the parent post title and subreddit on every item and cursor pagination. Comment text comes back as a roughly 300-character preview rather than the full body, and this endpoint carries no per-comment permalink; use reddit.post_comments for full comment bodies and comment URLs on a given post. AnyAPI routes each request across 2 sources and falls back automatically when one fails. It costs from $0.90 per 1,000 requests, in US dollars with no subscription and no monthly minimum. Over the last 30 days, 100.0% of Reddit user comments calls through AnyAPI succeeded, with a median response time of 1.8 seconds across 14 measured calls.

It costs from $0.90 per 1,000 requests, in US dollars with no subscription and no monthly minimum. You fund one USD wallet, each call draws it down, and a failed request costs $0.

List a Reddit user's comments by username, sorted by new, top, hot, or controversial, with the parent post title and subreddit on every item and cursor pagination. Comment text comes back as a roughly 300-character preview rather than the full body, and this endpoint carries no per-comment permalink; use reddit.post_comments for full comment bodies and comment URLs on a given post. The response is normalized JSON with the same envelope every AnyAPI endpoint returns, so parsing a second endpoint is a change of URL and nothing else.

Over the last 30 days, 100.0% of Reddit user comments calls through AnyAPI succeeded, with a median response time of 1.8 seconds across 14 measured calls. These are AnyAPI's own measurements of traffic through the gateway, recomputed continuously, not a published service-level target.