GET /user/moderated-subreddits

User Moderated Subreddits

Communities a Reddit account moderates. Reddit Scraper API endpoint /user/moderated-subreddits: parameters, JSON response fields and code examples.

The communities an account moderates, largest first: id, name, description, members, weekly visitors and contributions, type, NSFW / quarantine flags and icon (items: [] when none). Give username or user_id; 25 per page, continue with next_page_token. For the communities the account is active in use /user/subreddits (same input, same community card). Billed 1 request per call.

HTTP Request

GET /user/moderated-subreddits

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

Parameters

ParameterTypeRequiredDefaultDescription
usernamestringNo-Reddit username, with or without u/ (case-insensitive). Give this or user_id.
user_idstringNo-Reddit account id (t2_…). Alternative to username.
page_tokenstringNo-Opaque page token from a previous response’s next_page_token. Omit for the first page.

Response

Real response to GET /user/moderated-subreddits?username=spez (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
{
  "status": true,
  "request_id": "d7feb8d1-bb48-a57c-0de2-ad646a9e",
  "data": {
    "items": [
      {
        "name": "announcements",
        "subreddit_id": "t5_2r0ij",
        "description": "Official announcements from Reddit, Inc.",
        "subscribers_count": 302608119,
        "weekly_visitors": 37545,
        "weekly_contributions": 0,
        "type": "archived",
        "is_nsfw": false,
        "is_quarantined": false,
        "icon_url": "https://styles.redditmedia.com/t5_2r0ij/styles/communityIcon_yor9myhxz5x11.png?width=64&frame=1&auto=webp&s=a92a7ec80935353a5119a3239c91151853799df0"
      },
      {
        "name": "blog",
        "subreddit_id": "t5_2qh49",
        "description": "The official blog for Reddit, Inc.",
        "subscribers_count": 18750398,
        "weekly_visitors": 1788,
        "weekly_contributions": 0,
        "type": "archived",
        "is_nsfw": false,
        "is_quarantined": false,
        "icon_url": "https://styles.redditmedia.com/t5_2qh49/styles/communityIcon_357lawpgz5x11.png?width=64&frame=1&auto=webp&s=ed78b0e183d999232ac8817bcf0fb3c6c28cb69a"
      }
    ],
    "has_next_page": false,
    "next_page_token": null,
    "billed_requests": 1
  },
  "request_params": {
    "username": "spez"
  }
}

Response Fields

FieldTypeDescription
statusbooleantrue when the request succeeded
request_idstringUnique request identifier
dataobjectModerated list; null with error.code = not_found.
data.itemsarray of objectsModerated communities with subscriber counts, largest first. The first page carries descriptions and weekly counts; later pages carry id, name, members and icon only.
data.items[].namestringSubreddit name without r/.
data.items[].subreddit_idstringSubreddit id (t5_…).
data.items[].descriptionstringPublic description. Left out on /subreddit/rising (without with_details), the /subreddit/related same_topic rows and /answers.
data.items[].subscribers_countintegerSubscribers (members). Left out on /subreddit/most-visited, /subreddit/directory without with_stats and /answers.
data.items[].weekly_visitorsintegerWeekly visitors (Reddit’s periodic count, not live). Left out on /user/subreddits, /subreddit/posting-guide, /subreddit/rule-check and /answers.
data.items[].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[].typestringpublic, restricted, private, archived… Left out where no source carries it: /subreddit/search, /subreddit/rising, /subreddit/most-visited, /subreddit/directory (these four without with_details), /subreddit/related, /subreddit/recommend, /subreddit/stats-history, /subreddit/insights and /answers.
data.items[].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[].is_quarantinedbooleanQuarantined by Reddit. Left out on /subreddit/rising (without with_details), /subreddit/stats-history, /subreddit/related (the community asked about and same_topic), /subreddit/insights, /subreddit/most-visited, /subreddit/directory, /topic/subreddits, /user/subreddits and /answers.
data.items[].icon_urlstringCommunity icon URL. Left out on /subreddit/rising (without with_details), /subreddit/posting-guide and /subreddit/rule-check.
data.has_next_pagebooleanMore moderated communities available.
data.next_page_tokenstring / nullToken for the next page; null at the end.
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, suspended, deleted. data is null. Billed 1 request
503Reddit temporarily unreachable"error": "Service temporarily unavailable". Not billed, retry later
200 with status: falseBad page tokenerror.code is invalid_page_token: pass next_page_token from the previous answer unchanged

Code Examples

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

url = "https://reddit-scraper-api-extractor-ai-the-most-complete.p.rapidapi.com/user/moderated-subreddits"

params = {
    "username": "spez",
}

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"]

for item in data["items"]:
    print(item["name"])
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/user/moderated-subreddits";

const params = new URLSearchParams({
  username: "spez",
});

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();
data.items.forEach((item) => console.log(item.name));
1
2
3
4
curl -G "https://reddit-scraper-api-extractor-ai-the-most-complete.p.rapidapi.com/user/moderated-subreddits" \
  --data-urlencode "username=spez" \
  -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