GET /subreddit/related

Subreddit Related

Related communities: moderator picks, name matches, same topic and shared audience. Reddit Scraper API endpoint /subreddit/related: parameters, JSON response fields and code examples.

Communities related to one community, as separate lists of at most 25: moderator_picks from its sidebar, name_matches, same_topic (by weekly visitors) and, with with_overlap=true, audience_overlap, where its recent commenters are also active. Give the name or the t5_ id. Billed 3 requests per call, +10 with with_overlap=true when an overlap is returned.

HTTP Request

GET /subreddit/related

Cost (in requests): 3; +10 with_overlap. Every successful answer reports its cost in data.billed_requests.

Parameters

ParameterTypeRequiredDefaultDescription
subredditstringYes-Subreddit name (case-insensitive, with or without r/) or its t5_ id.
include_nsfwbooleanNotrueDefault true: adult content included (NSFW communities among the name matches); pass false to exclude it.
with_overlapbooleanNofalseDefault false. True adds audience_overlap: where up to 50 commenters of its busiest posts of the last 24 hours are also active (commenters who hide their communities are counted apart; refreshed every 3 days). Slower; billed +10 when an overlap is returned.

Response

Real response to GET /subreddit/related?subreddit=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
55
56
57
58
59
60
61
{
  "status": true,
  "request_id": "a8c8b490-8d82-0c0f-e99b-8e2bb4d2",
  "data": {
    "subreddit": {
      "name": "Python",
      "subreddit_id": "t5_2qh0y",
      "title": "Python",
      "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"
    },
    "topics": [],
    "topic_index_state": null,
    "moderator_picks": [
      {
        "name": "madeinpython",
        "subreddit_id": "t5_2mx48p"
      },
      {
        "name": "learnpython",
        "subreddit_id": "t5_2r8ot"
      }
    ],
    "name_matches": [
      {
        "name": "learnpython",
        "subreddit_id": "t5_2r8ot",
        "description": "Subreddit for posting questions and asking for general advice about all topics related to learning python.",
        "subscribers_count": 1065192,
        "weekly_visitors": 167224,
        "weekly_contributions": 1151,
        "is_nsfw": false,
        "is_quarantined": false,
        "icon_url": "https://styles.redditmedia.com/t5_2r8ot/styles/communityIcon_jwr5s7l5ici61.png?width=64&frame=1&auto=webp&s=5e8a6c0fb811bb5d907cb7227e0dd9a116e7a0fb"
      },
      {
        "name": "PythonLearning",
        "subreddit_id": "t5_2qeibm",
        "description": "Everything about learning the Python programming language. Ask questions, give recommendations, explain concepts, show projects, demo free tools, compare courses, ...",
        "subscribers_count": 128048,
        "weekly_visitors": 27595,
        "weekly_contributions": 742,
        "is_nsfw": false,
        "is_quarantined": false,
        "icon_url": "https://styles.redditmedia.com/t5_2qeibm/styles/communityIcon_5rysoa19mr351.png?width=64&frame=1&auto=webp&s=6d99f968f9813f449cba1ac73d06bd8387efb58e"
      }
    ],
    "same_topic": [],
    "overlap": null,
    "audience_overlap": null,
    "computed_at": "2026-11-24T20:57:28.828848+00:00",
    "billed_requests": 3
  },
  "request_params": {
    "subreddit": "python"
  }
}

Response Fields

FieldTypeDescription
statusbooleantrue when the request succeeded
request_idstringUnique request identifier
dataobjectRelated communities; null on an input answer.
data.subredditobjectThe community asked about.
data.subreddit.namestringSubreddit name without r/.
data.subreddit.subreddit_idstringSubreddit id (t5_…).
data.subreddit.titlestringDisplay title. Left out on /subreddit/search, /subreddit/rising, /subreddit/most-visited, /subreddit/directory (these four without with_details), /user/moderated-subreddits, /subreddit/stats-history, /topic/subreddits with scope=all on a sub-topic, /subreddit/insights and /answers.
data.subreddit.descriptionstringPublic description. Left out on /subreddit/rising (without with_details), the /subreddit/related same_topic rows and /answers.
data.subreddit.subscribers_countintegerSubscribers (members). Left out on /subreddit/most-visited, /subreddit/directory without with_stats and /answers.
data.subreddit.weekly_visitorsintegerWeekly visitors (Reddit’s periodic count, not live). Left out on /user/subreddits, /subreddit/posting-guide, /subreddit/rule-check and /answers.
data.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.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.subreddit.icon_urlstringCommunity icon URL. Left out on /subreddit/rising (without with_details), /subreddit/posting-guide and /subreddit/rule-check.
data.topicsarrayTopics this community is filed under.
data.topic_index_statestring / nullready, or building when topic data is temporarily unavailable (try again in a few minutes); null when the community has no topic.
data.moderator_picksarray of objectsCommunities the moderators list in the sidebar, by name and id (look one up on /subreddit/details); empty is a valid answer.
data.moderator_picks[].namestringSubreddit name without r/.
data.moderator_picks[].subreddit_idstringSubreddit id (t5_…).
data.name_matchesarray of objectsCommunities whose name or description matches this community’s name, with subscribers and weekly counts (18+ ones dropped with include_nsfw=false). No display title (read it on /subreddit/details).
data.name_matches[].namestringSubreddit name without r/.
data.name_matches[].subreddit_idstringSubreddit id (t5_…).
data.name_matches[].descriptionstringPublic description. Left out on /subreddit/rising (without with_details), the /subreddit/related same_topic rows and /answers.
data.name_matches[].subscribers_countintegerSubscribers (members). Left out on /subreddit/most-visited, /subreddit/directory without with_stats and /answers.
data.name_matches[].weekly_visitorsintegerWeekly visitors (Reddit’s periodic count, not live). Left out on /user/subreddits, /subreddit/posting-guide, /subreddit/rule-check and /answers.
data.name_matches[].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.name_matches[].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.name_matches[].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.name_matches[].icon_urlstringCommunity icon URL. Left out on /subreddit/rising (without with_details), /subreddit/posting-guide and /subreddit/rule-check.
data.same_topicarrayCommunities under the same topic(s), by weekly visitors, with name, title, subscribers, weekly visitors and icon (read the rest on /subreddit/details); null while topic data is temporarily unavailable.
data.overlapobject / nullSampling details of audience_overlap; null without with_overlap.
data.audience_overlaparray / nullWhere this community’s recent commenters are also active; only with with_overlap=true.
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
19
import requests

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

params = {
    "subreddit": "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["topic_index_state"])
print(data["overlap"])
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/related";

const params = new URLSearchParams({
  subreddit: "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.topic_index_state, data.overlap);
1
2
3
4
curl -G "https://reddit-scraper-api-extractor-ai-the-most-complete.p.rapidapi.com/subreddit/related" \
  --data-urlencode "subreddit=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