Reddit Subreddit Stats API: Weekly Active Users, Contributions and Posts

Published · 8 min read

To get the stats of a subreddit through an API, call GET /v1/profile?platform=reddit&username=SUBREDDIT on SocialLens. The response describes the community: weekly active users, weekly contributions, creation date, description and ID. Those are the numbers Reddit itself now shows on a subreddit page, since it stopped displaying member counts in 2025. This guide covers the response, what the numbers mean, how to list a subreddit's posts with upvotes and comments, and tested scripts to compare communities.

The short answer

curl "https://api.sociallens.dev/v1/profile?platform=reddit&username=technology" \
  -H "Authorization: Bearer sk_live_YOUR_KEY"

Response read on November 22, 2026. The description and the note are shortened here.

{
  "exists": true,
  "platform": "reddit",
  "type": "subreddit",
  "name": "technology",
  "title": null,
  "description": "Subreddit dedicated to the news and discussions about the creation and use of technology ...",
  "subscribers": null,
  "active_users": 5460663,
  "weekly_contributions": 109866,
  "created_at": "2008-01-25T03:27:55Z",
  "icon": "https://b.thumbs.redditmedia.com/J_fCwTYJkoM-way-eaOHv8AOHoF_jNXNqOvPrQ7bINY.png",
  "nsfw": null,
  "id": "t5_2qh16",
  "note": "subscribers (total members) is not available from the source yet; active_users is the weekly active member count.",
  "fetched_at": "2026-11-22T23:53:17Z",
  "cached": false,
  "source_cached": false,
  "credits": {
    "source": "free",
    "charged": 1,
    "balance": 0,
    "free_reads_total": 250,
    "free_reads_left": 244
  }
}

r/technology had 5,460,663 weekly active users and 109,866 contributions in the week of the read.

What changed on Reddit: from members to weekly activity

For most of Reddit's history, the size of a community meant its member count, the number under the subreddit name. In September 2025 Reddit announced it was replacing that public figure with two activity signals:

Reddit's reasoning was that a member count mostly reflects how old a community is. People subscribe once and never return, and plenty of people read and post in a subreddit without ever joining it. Moderators can still see subscriber totals in their own tools, but a regular visitor sees weekly activity.

For anyone collecting subreddit data, this changes the question. "How big is this subreddit" used to be answered with one cumulative number. The public answer is now "how many people visit it per week and how much do they post". That is a better measure for most practical uses, such as deciding where to engage, sizing a niche or spotting communities that are fading, and it is what the API returns.

The response, field by field

Reddit is the one network in SocialLens where the unit is a community and not an account, so the response has its own shape. You can recognize it by type: "subreddit".

Field Meaning
type Always subreddit for Reddit. Use it to branch in code that also reads other networks.
name The subreddit name with its real capitalization, without r/.
title The display title when the community sets one, otherwise null.
description The public description of the community.
active_users Weekly active users, the visitors figure Reddit shows. The main size number.
weekly_contributions Posts and comments in the last week.
subscribers Reserved for the total member count. It is null today because the source does not provide it.
created_at Creation time of the subreddit in UTC.
icon URL of the community icon.
nsfw true when the community is marked as adult content, null when the flag is not sent.
id Reddit's ID for the subreddit, in the t5_ format. Stable over time.
note A short informational text about the subscribers field. Ignore it in parsers.

There is no followers, following or likes here. Those describe an account, and a subreddit is not one. If your code handles several networks, check type first:

def audience(data):
    if data.get("type") == "subreddit":
        return data["active_users"], "weekly active users"
    return data["followers"], "followers"

About subscribers: the field is in the schema because member count is the classic subreddit metric and existing tools expect it. It is null instead of being left out or filled with an estimate, so a parser written today keeps working if the value becomes available.

Subreddit names: format and capitalization

username accepts the name in three forms: technology, r/technology or the full subreddit URL. Only letters, digits and underscores are valid, which matches Reddit's own naming rules.

Capitalization deserves care. Subreddit names are case sensitive at the source, so the documented rule is to send the name exactly as the community writes it: AskReddit, not askreddit. In a test for this guide a lowercase askreddit did resolve, and the response came back with "name": "AskReddit". Treat that as a convenience and not a guarantee. Store the name from the response as the canonical form and use it for later calls.

Comparing subreddits with a script

Two numbers per community are enough to learn a lot. Weekly active users tell you reach. Contributions divided by active users tell you how participatory the community is, as opposed to one where most people only read.

This script is complete and was run as shown.

import os
import time
from datetime import datetime, timezone

import requests

API = "https://api.sociallens.dev/v1/profile"
KEY = os.environ["SOCIALLENS_KEY"]
SUBREDDITS = ["technology", "AskReddit", "programming"]


def read_subreddit(name):
    for _ in range(3):
        r = requests.get(
            API,
            params={"platform": "reddit", "username": name},
            headers={"Authorization": f"Bearer {KEY}"},
            timeout=60,
        )
        if r.status_code in (409, 429, 503):
            time.sleep(int(r.headers.get("Retry-After", 5)))
            continue
        break
    return r.status_code, r.json()


print(f"{'subreddit':<14}{'weekly active':>15}{'contributions':>15}{'per 100 active':>16}{'age (years)':>13}")
for name in SUBREDDITS:
    status, s = read_subreddit(name)
    if status != 200 or not s.get("exists"):
        print(f"{name:<14} not available ({status})")
        continue
    active = s["active_users"]
    contrib = s["weekly_contributions"]
    created = datetime.strptime(s["created_at"], "%Y-%m-%dT%H:%M:%SZ").replace(tzinfo=timezone.utc)
    age = (datetime.now(timezone.utc) - created).days / 365.25
    per_100 = 100 * contrib / active if active else 0
    print(f"{s['name']:<14}{active:>15,}{contrib:>15,}{per_100:>16.1f}{age:>13.1f}")

Output on November 22, 2026:

subreddit       weekly active  contributions  per 100 active  age (years)
technology          5,460,663        109,866             2.0         18.8
AskReddit          13,656,631      1,070,469             7.8         18.8
programming           237,494          2,048             0.9         20.7

Read the fourth column. r/AskReddit produces 7.8 contributions per 100 weekly visitors, almost four times the rate of r/technology at 2.0. That fits what each community is: one exists to collect answers, the other is mostly people reading news links. r/programming is older than both, reaches far fewer people per week and has the lowest participation rate of the three. None of that is visible in a member count.

Listing a subreddit's posts with upvotes and comments

/v1/profile-posts returns the current posts of a subreddit. For Reddit, username is again the subreddit name.

curl "https://api.sociallens.dev/v1/profile-posts?platform=reddit&username=technology&limit=2" \
  -H "Authorization: Bearer sk_live_YOUR_KEY"

The response below is trimmed to one post for brevity. The structure is as returned.

{
  "exists": true,
  "username": "technology",
  "platform": "reddit",
  "private": false,
  "count": 2,
  "has_more": true,
  "next_cursor": "t3_1y23gry",
  "is_exact": true,
  "posts": [
    {
      "id": "1y2qawx",
      "url": "https://www.reddit.com/r/technology/comments/1y2qawx/silicon_valley_is_suffering_from_model_collapse/",
      "caption": "Silicon Valley Is Suffering From Model Collapse",
      "published_at": "2026-11-22T14:15:02Z",
      "likes": 3713,
      "views": null,
      "comments": 512,
      "shares": null,
      "likes_hidden": false
    }
  ],
  "fetched_at": "2026-11-22T23:53:50Z"
}

The post fields use the same names as on every other network:

Paging through posts

When has_more is true, the response carries a next_cursor. Send it back as cursor to get the next page. One call is one page and one credit. limit only trims the page you receive, between 1 and 50.

import os

import requests

API = "https://api.sociallens.dev/v1/profile-posts"
KEY = os.environ["SOCIALLENS_KEY"]


def subreddit_posts(name, pages=2):
    """Yield posts of a subreddit, following next_cursor for a number of pages."""
    cursor = None
    for _ in range(pages):
        params = {"platform": "reddit", "username": name, "limit": 50}
        if cursor:
            params["cursor"] = cursor
        r = requests.get(API, params=params, headers={"Authorization": f"Bearer {KEY}"}, timeout=60)
        r.raise_for_status()
        page = r.json()
        yield from page["posts"]
        cursor = page.get("next_cursor")
        if not page["has_more"] or not cursor:
            break


posts = list(subreddit_posts("technology", pages=2))
upvotes = [p["likes"] for p in posts if p["likes"] is not None]
comments = [p["comments"] for p in posts if p["comments"] is not None]
print(f"{len(posts)} posts, {len(set(p['id'] for p in posts))} unique")
print(f"average upvotes: {sum(upvotes) / len(upvotes):,.0f}")
print(f"average comments: {sum(comments) / len(comments):,.0f}")
top = max(posts, key=lambda p: p["likes"] or 0)
print(f"top post: {top['likes']:,} upvotes, {top['comments']:,} comments")

Output for r/technology on the day of the test:

41 posts, 41 unique
average upvotes: 1,618
average comments: 163
top post: 18,823 upvotes, 1,736 comments

Two pages returned 41 distinct posts, so a page holds about twenty. With the list in hand you can rank posts, measure how many comments a typical thread gets, or watch which topics reach the top of a community.

One post by URL, and its comments

Every post in the list has a url, its permalink. /v1/post reads a single post from that permalink, which is what you want when you follow specific threads instead of a whole community.

curl -G "https://api.sociallens.dev/v1/post" \
  --data-urlencode "platform=reddit" \
  --data-urlencode "url=https://www.reddit.com/r/technology/comments/1y2qawx/silicon_valley_is_suffering_from_model_collapse/" \
  -H "Authorization: Bearer sk_live_YOUR_KEY"

Real response, with the credits block left out and the author's username replaced with a placeholder:

{
  "exists": true,
  "id": "1y2qawx",
  "url": "https://www.reddit.com/r/technology/comments/1y2qawx/silicon_valley_is_suffering_from_model_collapse/",
  "platform": "reddit",
  "author": { "username": "example_user", "name": null, "verified": null },
  "caption": "Silicon Valley Is Suffering From Model Collapse",
  "published_at": "2026-11-22T14:15:02Z",
  "likes": 3872,
  "views": null,
  "comments": 529,
  "shares": null,
  "is_exact": true,
  "likes_hidden": false,
  "fetched_at": "2026-11-23T00:32:22Z",
  "cached": false,
  "source_cached": false
}

likes is the upvote score at the moment of the read and comments is the comment count. Read the same permalink on a schedule and you have the curve of a thread: this post had 3,713 upvotes and 512 comments in the list read shown earlier, and 3,872 and 529 about forty minutes later. Permalinks on www.reddit.com and old.reddit.com are both accepted.

The comments themselves come from /v1/post-comments, with the same permalink:

curl -G "https://api.sociallens.dev/v1/post-comments" \
  --data-urlencode "platform=reddit" \
  --data-urlencode "url=https://www.reddit.com/r/technology/comments/1y2qawx/silicon_valley_is_suffering_from_model_collapse/" \
  --data-urlencode "limit=2" \
  -H "Authorization: Bearer sk_live_YOUR_KEY"

The response below is trimmed to one comment, with its identifier, username and text replaced with placeholders. The numbers are as returned.

{
  "exists": true,
  "url": "https://www.reddit.com/r/technology/comments/1y2qawx/silicon_valley_is_suffering_from_model_collapse/",
  "platform": "reddit",
  "count": 2,
  "total": null,
  "has_more": true,
  "next_cursor": null,
  "comments": [
    {
      "id": "example_comment_id",
      "text": "(comment text)",
      "author": { "username": "example_user", "name": null, "verified": null },
      "likes": 2612,
      "replies": 2,
      "published_at": "2026-11-22T14:34:09Z"
    }
  ],
  "fetched_at": "2026-11-23T00:32:46Z"
}

Each comment has its text, the author's username, the upvote score in likes, the number of replies and the date. One call is one page of comments and one credit, and limit, from 1 to 100, trims the page. With the post and its comments you can measure how a discussion develops, pull the most upvoted answers, or feed the text of a thread into a summarizer.

Tracking a subreddit over time

Reddit publishes the current week and no history. If you want to know whether a community is growing, store one reading per week: id, name, active_users, weekly_contributions and fetched_at. Because visitors are calculated on a rolling 28 day average, the number is already smoothed, and a weekly reading is frequent enough. After a couple of months the series shows clearly whether a niche is expanding or cooling, which is the kind of signal that used to be hidden behind a member count that only ever went up.

The storage pattern is the same one used for follower tracking on other networks, described in How to Track TikTok Follower Growth Programmatically.

The official Reddit API or a public data API?

The official Reddit Data API is the tool for acting on Reddit: submitting posts, commenting, voting, moderating, or reading on behalf of a user who authorized your app. It requires registering an application and using OAuth, and it is governed by Reddit's rate limits and data terms, which include separate conditions for commercial use.

For reading public community stats, the difference is mostly setup and shape. With SocialLens there is no app registration and no OAuth flow, the request is the same one you use for eight other networks, and errors and billing follow one format. If your project is a Reddit bot or a moderation tool, use the official API. If it is a research, monitoring or marketing tool that reads Reddit next to other networks, one schema is less code to maintain.

For academic projects, a collection script that logs every request and a methods paragraph are in Social Media Data for Academic Research After CrowdTangle.

What this endpoint does not cover

Being clear about limits saves debugging time:

Frequently asked questions

How do I get a subreddit's subscriber count by API?

Reddit stopped showing member counts on subreddit pages in 2025 and replaced them with weekly visitors and weekly contributions. SocialLens returns those two figures as active_users and weekly_contributions. The subscribers field exists in the response and is null today.

What exactly is active_users?

It is the weekly active figure of the community, the visitors number Reddit displays on the subreddit. Reddit calculates it as unique visitors over seven days on a rolling 28 day average.

Are subreddit names case sensitive?

Yes at the source. Send the name with its real capitalization, for example AskReddit, and store the name returned in the response as the canonical form.

Can I get the posts of a subreddit with their upvotes?

Yes. /v1/profile-posts?platform=reddit&username=NAME returns the posts with title, upvote score, comment count, date and permalink, about twenty per page, with a cursor for more.

Can I read one Reddit post and its comments?

Yes. /v1/post reads a post from its permalink, and /v1/post-comments returns its comments with the upvote score and reply count of each one.

What does it cost?

One credit per successful read, for stats or for a page of posts. New accounts start with 250 free reads and no card is required. To look at a single community without an account, use the free Reddit subreddit stats tool.

Does the same API cover other networks?

Yes. The same endpoint reads TikTok, Instagram, YouTube, Facebook, X, LinkedIn, Threads and Pinterest. The overview is in Unified Social Media Data API.

Run these requests yourself

Every example on this page is a real call to the SocialLens API. A new account starts with 250 free reads, no card needed, and a read that fails is never charged.

Keep reading