GET /subreddit/most-visited

Most Visited Subreddits

Reddit's most-visited communities. Reddit Scraper API endpoint /subreddit/most-visited: parameters, JSON response fields and code examples.

Reddit’s most-visited communities: Reddit’s editorial list of about 250 communities, in Reddit’s order with a 1-based position, weekly visitors, description and icon; continue with next_page_token or page. with_details=true adds the /subreddit/details fields per community (at most 20 per page). Billed 1 request per page, +3 per community detailed. /subreddit/directory serves the same list with counts and an 18+ filter.

HTTP Request

GET /subreddit/most-visited

Cost (in requests): 1; +3 per community detailed. Every successful answer reports its cost in data.billed_requests.

Parameters

ParameterTypeRequiredDefaultDescription
page_tokenstringNo-Opaque page token from a previous response’s next_page_token. Omit for the first page.
pageintegerNo-Page number, 1-based (pages of per_page communities). Use either page or page_token, not both.
per_pageintegerNo25Rows per page, 1–100 (default 25).
with_detailsbooleanNofalseAdds the /subreddit/details fields (rules, sidebar widgets, menu links, flair settings, banner, colours, created time, type, topics, apps; with the counts the list lacks) to each community; per_page then defaults to 20 and can be at most 20: banner_url, primary_color, key_color, background_color, created_at, state, topics, related_subreddits, flair_settings, is_chat_enabled, rules, widgets, menu_links, devvit_apps (left out without it). Billed +3 per community detailed.

Response

Real response to GET /subreddit/most-visited (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
{
  "status": true,
  "request_id": "820d659a-b40a-acde-a6ca-3078eb54",
  "data": {
    "items": [
      {
        "name": "AskReddit",
        "subreddit_id": "t5_2qh1i",
        "description": "The go-to subreddit to ask and answer thought-provoking questions.",
        "weekly_visitors": 13732702,
        "icon_url": "https://styles.redditmedia.com/t5_2qh1i/styles/communityIcon_p6kb2m6b185b1.png?width=96&height=96&frame=1&auto=webp&s=544475440a67c91431172272a57ccd1be3eca8dc",
        "position": 1
      },
      {
        "name": "whatisit",
        "subreddit_id": "t5_2r397",
        "description": "A community dedicated to identifying mysterious objects, plants, animals, and more.",
        "weekly_visitors": 13964958,
        "icon_url": "https://styles.redditmedia.com/t5_2r397/styles/communityIcon_ds28lp4dy5rg1.png?width=96&height=96&frame=1&auto=webp&s=e4f1bbace79758475b67c3a4a0ad90cb9f1e46ab",
        "position": 2
      }
    ],
    "total": 250,
    "has_next_page": true,
    "next_page_token": "eyJ2IjoxLCJraW5kIjoib2Zmc2V0Iiwic2siOiJtb3N0X3Zpc2l0ZWRfc25hcHNob3QiLCJvIjoyNSwicSI6bnVsbCwidHMiOjE3OTU1NTM4NTh9",
    "resolved_filters": null,
    "billed_requests": 1,
    "computed_at": "2026-11-24T20:57:38.083800+00:00"
  }
}

Response Fields

FieldTypeDescription
statusbooleantrue when the request succeeded
request_idstringUnique request identifier
dataobjectMost-visited communities page.
data.itemsarray of objectsCommunities in Reddit’s order, one page.
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[].weekly_visitorsintegerWeekly visitors (Reddit’s periodic count, not live). Left out on /user/subreddits, /subreddit/posting-guide, /subreddit/rule-check and /answers.
data.items[].icon_urlstringCommunity icon URL. Left out on /subreddit/rising (without with_details), /subreddit/posting-guide and /subreddit/rule-check.
data.items[].positionintegerRank in the list, 1-based across pages.
data.totalintegerSize of the whole list (about 250).
data.has_next_pagebooleanMore communities available.
data.next_page_tokenstringToken for the next page; null at the end.
data.resolved_filtersobject / nullFilters as applied (directory only).
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).
data.computed_atstringWhen this answer was computed (RFC 3339, UTC). Older than the request when it was served from the cache.
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
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/subreddit/most-visited"

params = {

}

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/subreddit/most-visited";

const params = new URLSearchParams({

});

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
curl -G "https://reddit-scraper-api-extractor-ai-the-most-complete.p.rapidapi.com/subreddit/most-visited" \
  -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