Introducing the Instagram APIRead more →

Reddit User Comments API. Comments, page by page.

Comment history of a user, sorted New or Top. We handle the proxies, blocks and platform changes.

Reddit User Comments API at a glance

Returns the public comments a Reddit user wrote, a page at a time, from their username or profile link. Each has its text, permalink, time and score, the post it is on (ID, title and link) and its subreddit, whom it replied to, and whether Reddit marks it as an admin's or moderator's, pinned or removed. Sort by New, Top, Hot or Controversial.

GET /v1/reddit/profile_comments

Read the API reference
  • 1 credit per page, $0.75–$1.97 per 1,000 pages
  • 16 typed fields null when unknown
  • 25 comments per page, newest first
  • handle is all it needs, e.g. spez

Send one request. Get up to 25 comments back.

Copy the request in your language, or hand it to your agent. Sign up for an API key and your first 100 credits are free.

$ npm install socialtap
handle = spez
GET /v1/reddit/profile_commentsTry in
const params = new URLSearchParams({
  handle: "spez",
  sort: "newest",
});
const res = await fetch(`https://socialtap.dev/v1/reddit/profile_comments?${params}`, {
  headers: { "x-api-key": process.env.SOCIALTAP_API_KEY ?? "" },
});
const body = await res.json();
if (!res.ok) throw new Error(`${body.error.code}: ${body.error.message}`);
const { data, page, meta } = body;
console.log(data, meta.credits_charged);
200 OK · GET https://socialtap.dev/v1/reddit/profile_commentsLong arrays and strings are shortened here. Real responses are complete.Docs

One schema on 9 platforms.

The response reference lists every field, its type and when it is null. See the full schema.

  • Null means unknown

    A field Reddit doesn't show is null, never zero or an empty string, so a real zero always means zero.

  • What it accepts

    Reddit username, with or without u/ (spez, u/spez, /u/spez), or a profile link on any reddit.com host (www, old, new, np, m: reddit.com/user/spez, reddit.com/u/spez, with a tab such as /comments), or the user's profile subreddit (reddit.com/r/u_spez).

  • Write one parser

    Reddit, TikTok, Instagram and 6 more platforms answer in these fields, so the code that reads one reads them all.

platformstring
Platform ID (tiktok, youtube, …).
idstring
Platform-native comment ID (string; Reddit with its t1_ prefix).
post_idstring
ID of the post commented on (equals post.id).
parent_idstring
ID of the comment this replies to; null for top-level comments.
urlstring
Permalink, when the platform has one.
textstring
Comment body as plain text.
authorobject
The commenting account. An account the platform no longer names (a deleted account) has a null id and username and the platform's label as display_name (Reddit: [deleted]).
published_atstring
When the comment was posted, RFC 3339 UTC. Where the platform shows only a relative time ("3 weeks ago"), the latest time that label allows (the fetch time minus the stated amount), listed in approximate_fields.

What teams build with the Reddit User Comments API.

  • Read what an account says across subreddits

  • Monitor a public figure's Reddit replies

  • Find a user's most upvoted comments

Good to know before you build.

  • Reddit's feed of a user's comments doesn't say where in its thread each one sits, so parent_id and platform_specific.reddit.depth are null. platform_specific.reddit.reply_to_author names whom a reply answered when Reddit shows it, and the Reddit Comments API returns a comment's thread from its url.
  • metrics.like_count is the comment's score (upvotes minus downvotes) when it isn't negative, and platform_specific.reddit.score has it either way. Reddit shows no reply count or edit mark on a user's comments, so metrics.reply_count and is_edited are null.
  • platform_specific.reddit.post has the post's title and link only. The Reddit Post API returns the rest.
  • A suspended account returns private_or_unavailable. A deleted account or a name nobody has returns not_found. An account with no comments returns an empty page.
  • When Reddit's feed fails, the page comes from the user's comment RSS feed, which has no scores, account IDs or badges: those fields are null and a partial_data warning names them.

1 credit per page. Failed requests are free.

Buy credits once and spend them on any endpoint, on any platform.

SourcePrice per successful pagePer 1,000 pages
Public page page1 credit$0.75–$1.97
  • Cache hits are free.
  • Credits from packs and top-ups never expire.
  • A monthly plan's credits are spent first, and what is left of them ends at each renewal.
  • Prices exclude tax: sales tax is added at checkout where it applies.
  • Outside the US, plans and packs are sold to businesses: checkout asks for your VAT, GST or other business tax ID.

Questions about the Reddit User Comments API.

More in the API reference.

How much does the Reddit User Comments API cost?
A page of up to 25 comments costs 1 credit. Every successful page is charged, empty pages included. SocialTap credits cost $0.75–$1.97 per 1,000, depending on the plan or pack.
How do I get the next page?
Repeat the same request with cursor set to page.next_cursor from the previous response, keeping the other parameters. When page.has_more is false there are no more pages. Cursors expire after 24 hours.

Try it on an account you know.

Paste its handle or link in the playground, or copy the request into your code.

100free credits
  • No credit card
  • Failed requests are free
  • Works on all 218 endpoints
Start for free Read the docs