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
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
page_token | string | No | - | Opaque page token from a previous response’s next_page_token. Omit for the first page. |
page | integer | No | - | Page number, 1-based (pages of per_page communities). Use either page or page_token, not both. |
per_page | integer | No | 25 | Rows per page, 1–100 (default 25). |
with_details | boolean | No | false | Adds 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 …).
| |
Response Fields
| Field | Type | Description |
|---|---|---|
status | boolean | true when the request succeeded |
request_id | string | Unique request identifier |
data | object | Most-visited communities page. |
data.items | array of objects | Communities in Reddit’s order, one page. |
data.items[].name | string | Subreddit name without r/. |
data.items[].subreddit_id | string | Subreddit id (t5_…). |
data.items[].description | string | Public description. Left out on /subreddit/rising (without with_details), the /subreddit/related same_topic rows and /answers. |
data.items[].weekly_visitors | integer | Weekly visitors (Reddit’s periodic count, not live). Left out on /user/subreddits, /subreddit/posting-guide, /subreddit/rule-check and /answers. |
data.items[].icon_url | string | Community icon URL. Left out on /subreddit/rising (without with_details), /subreddit/posting-guide and /subreddit/rule-check. |
data.items[].position | integer | Rank in the list, 1-based across pages. |
data.total | integer | Size of the whole list (about 250). |
data.has_next_page | boolean | More communities available. |
data.next_page_token | string | Token for the next page; null at the end. |
data.resolved_filters | object / null | Filters as applied (directory only). |
data.billed_requests | integer | Requests 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_at | string | When this answer was computed (RFC 3339, UTC). Older than the request when it was served from the cache. |
request_params | object | Echo of the parameters you sent |
Error Responses
Invalid input returns HTTP 400, not billed. error is a plain string that names the parameter:
| |
| Status Code | Cause | Description |
|---|---|---|
| 400 | Invalid or missing parameter | Plain-English message per field. Not billed |
200 with status: false | Item not available | error.code is not_found, banned, private, quarantined. data is null. Billed 1 request |
| 503 | Reddit temporarily unreachable | "error": "Service temporarily unavailable". Not billed, retry later |
200 with status: false | Bad page token | error.code is invalid_page_token: pass next_page_token from the previous answer unchanged |
Code Examples
| |
| |
| |
Related Endpoints
- Subreddit Batch : Look up to 50 communities in one request
- Subreddit Stats History : Daily history of members and weekly visitors for up to 25 communities
- Subreddit Directory : Reddit’s community directory: popular communities