GET /subreddit/stats-history

Subreddit Stats History

Daily history of members and weekly visitors for up to 25 communities. Reddit Scraper API endpoint /subreddit/stats-history: parameters, JSON response fields and code examples.

Member count, weekly visitors and weekly contributions over time for up to 25 communities, oldest first, between from and to, with the relative change over 7 and 30 days. History covers communities featured in Reddit’s topic lists, most-visited list and directory, from the day each was first recorded (tier = how often). Smaller or niche ones may have none (is_tracked: false): today’s numbers only, when today is within from–to. Billed 1 request per call.

HTTP Request

GET /subreddit/stats-history

Cost (in requests): 1. Every successful answer reports its cost in data.billed_requests.

Parameters

ParameterTypeRequiredDefaultDescription
subredditsstringYes-Comma-separated subreddit names, r/name, or t5_ ids, 1–25 (case-insensitive).
fromstringNo-First day (YYYY-MM-DD, UTC, inclusive). Default: to minus 30 days; the span is at most 365 days.
tostringNo-Last day (YYYY-MM-DD, UTC, inclusive). Default: today.
resolutionstringNoautoauto (default: the finest the community has), daily, weekly (the last point of each week) or monthly (the last point of each month).

Response

Real response to GET /subreddit/stats-history?subreddits=python (arrays trimmed to 2 items, long texts cut with …).

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
{
  "status": true,
  "request_id": "27cfb972-3d2b-4df0-a348-819b01ae",
  "data": {
    "items": [
      {
        "subreddit": {
          "name": "Python",
          "subreddit_id": "t5_2qh0y",
          "description": "The largest Python community for Reddit! Stay up to date with the latest news, packages, and meta information relating to the Python programming language. \n---\n\nIf you have questions or are new to Python use r/LearnPython",
          "subscribers_count": 1524296,
          "weekly_visitors": 89865,
          "weekly_contributions": 568,
          "is_nsfw": false,
          "icon_url": "https://styles.redditmedia.com/t5_2qh0y/styles/communityIcon_lctik80p96tg1.png?width=64&frame=1&auto=webp&s=92baaacc951d52b5071629852df033d53cafa5ec"
        },
        "is_tracked": false,
        "tier": null,
        "resolution": "daily",
        "subscribers_change_7d": null,
        "subscribers_change_30d": null,
        "visitors_change_7d": null,
        "visitors_change_30d": null,
        "first_snapshot_at": null,
        "last_snapshot_at": null,
        "series": [
          {
            "date": "2026-11-24",
            "subscribers_count": 1524296,
            "weekly_visitors": 89865,
            "weekly_contributions": 568
          }
        ]
      }
    ],
    "resolved_filters": {
      "subreddits": [
        {
          "input": "python",
          "resolved": "Python",
          "source": "param"
        }
      ],
      "from": "2026-10-25",
      "to": "2026-11-24",
      "resolution": "auto"
    },
    "computed_at": "2026-11-24T20:57:35.797433+00:00",
    "billed_requests": 1
  },
  "request_params": {
    "subreddits": "python"
  }
}

Response Fields

FieldTypeDescription
statusbooleantrue when the request succeeded
request_idstringUnique request identifier
dataobjectStatistics history; null on an input answer.
data.itemsarray of objectsOne series per found community, request order.
data.items[].subredditobjectThe community.
data.items[].subreddit.namestringSubreddit name without r/.
data.items[].subreddit.subreddit_idstringSubreddit id (t5_…).
data.items[].subreddit.descriptionstringPublic description. Left out on /subreddit/rising (without with_details), the /subreddit/related same_topic rows and /answers.
data.items[].subreddit.subscribers_countintegerSubscribers (members). Left out on /subreddit/most-visited, /subreddit/directory without with_stats and /answers.
data.items[].subreddit.weekly_visitorsintegerWeekly visitors (Reddit’s periodic count, not live). Left out on /user/subreddits, /subreddit/posting-guide, /subreddit/rule-check and /answers.
data.items[].subreddit.weekly_contributionsintegerWeekly posts + comments (Reddit’s periodic count, not live). Left out on the /subreddit/related same_topic rows, /subreddit/most-visited, /subreddit/directory without with_stats, /topic/subreddits, /user/subreddits, /subreddit/posting-guide, /subreddit/rule-check and /answers.
data.items[].subreddit.is_nsfwbooleanMarked 18+. Left out on /subreddit/rising (without with_details), the /subreddit/related same_topic rows, /subreddit/most-visited, /subreddit/directory without with_stats (or include_nsfw=false), /topic/subreddits and /answers.
data.items[].subreddit.icon_urlstringCommunity icon URL. Left out on /subreddit/rising (without with_details), /subreddit/posting-guide and /subreddit/rule-check.
data.items[].is_trackedbooleanFalse when no history is recorded for it (history covers communities featured in Reddit’s topic lists, most-visited list and directory, from the day each was first recorded; smaller or niche ones may have none): series then holds today’s numbers only when today is within from–to, else it is empty.
data.items[].tierstring / nullHow often its numbers are recorded: daily (the 2,000 largest by weekly visitors), weekly (the next 10,000), monthly (the rest); null when not recorded.
data.items[].resolutionstringResolution of series (daily, weekly, monthly).
data.items[].subscribers_change_7dnumber / nullRelative change in members over the last 7 days of the span (null when not covered).
data.items[].subscribers_change_30dnumber / nullRelative change in members over the last 30 days of the span.
data.items[].visitors_change_7dnumber / nullRelative change in weekly visitors over the last 7 days of the span.
data.items[].visitors_change_30dnumber / nullRelative change in weekly visitors over the last 30 days of the span.
data.items[].first_snapshot_atstring / nullOldest snapshot in the requested span (null when not tracked).
data.items[].last_snapshot_atstring / nullNewest snapshot in the requested span.
data.items[].seriesarray of objectsOldest first.
data.items[].series[].datestringSnapshot day (UTC).
data.items[].series[].subscribers_countintegerMembers that day.
data.items[].series[].weekly_visitorsintegerWeekly visitors that day.
data.items[].series[].weekly_contributionsintegerWeekly posts and comments that day.
data.resolved_filtersobjectFilters as applied.
data.resolved_filters.subredditsarray of objectsOne per requested community (source: not_found when unknown).
data.resolved_filters.subreddits[].inputstringWhat the caller sent.
data.resolved_filters.subreddits[].resolvedstringWhat was applied on Reddit (null when not applied).
data.resolved_filters.subreddits[].sourcestringparam (applied as given), default, not_found (the value does not exist on Reddit), private / banned / quarantined (a community in the scope that cannot be read: skipped), or not_available (translate_to only: Reddit had no translated listing, the rows are served in their original language).
data.resolved_filters.fromstringFirst day applied.
data.resolved_filters.tostringLast day applied.
data.resolved_filters.resolutionstringResolution requested.
data.computed_atstringWhen this answer was computed (RFC 3339, UTC). Older than the request when it was served from the cache.
data.billed_requestsintegerRequests billed for this call (also sent as Requests in the X-RapidAPI-Billing header when it is not RapidAPI’s default of 1).
request_paramsobjectEcho of the parameters you sent

Error Responses

Invalid input returns HTTP 400, not billed. error is a plain string that names the parameter:

1
{ "status": false, "request_id": "99a1e6cd-2e57-9e8f-4e44-2dea7f6d", "error": "Invalid parameter 'post_id': must be a post id such as z1c9z or t3_z1c9z", "request_params": { "post_id": "!!" } }
Status CodeCauseDescription
400Invalid or missing parameterPlain-English message per field. Not billed
200 with status: falseItem not availableerror.code is not_found, banned, private, quarantined. data is null. Billed 1 request
503Reddit temporarily unreachable"error": "Service temporarily unavailable". Not billed, retry later

Code Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
import requests

url = "https://reddit-scraper-api-extractor-ai-the-most-complete.p.rapidapi.com/subreddit/stats-history"

params = {
    "subreddits": "python",
}

headers = {
    "X-RapidAPI-Key": "YOUR_API_KEY",
    "X-RapidAPI-Host": "reddit-scraper-api-extractor-ai-the-most-complete.p.rapidapi.com"
}

response = requests.get(url, headers=headers, params=params)
data = response.json()["data"]

print(data)
print("Billed requests:", data["billed_requests"])
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
const url = "https://reddit-scraper-api-extractor-ai-the-most-complete.p.rapidapi.com/subreddit/stats-history";

const params = new URLSearchParams({
  subreddits: "python",
});

const response = await fetch(`${url}?${params}`, {
  headers: {
    "X-RapidAPI-Key": "YOUR_API_KEY",
    "X-RapidAPI-Host": "reddit-scraper-api-extractor-ai-the-most-complete.p.rapidapi.com"
  }
});

const { data } = await response.json();
console.log(data);
1
2
3
4
curl -G "https://reddit-scraper-api-extractor-ai-the-most-complete.p.rapidapi.com/subreddit/stats-history" \
  --data-urlencode "subreddits=python" \
  -H "X-RapidAPI-Key: YOUR_API_KEY" \
  -H "X-RapidAPI-Host: reddit-scraper-api-extractor-ai-the-most-complete.p.rapidapi.com"
Start building today

Get your API key and make your first request in under a minute.

Get Your API Key on RapidAPI