The communities Reddit’s own recommender lists next to a community (up to about 8, in Reddit’s order), as visitors who are not signed in see them (not personalised): title, description, subscribers, weekly visitors and contributions, 18+ flag and icon, plus the recommender’s model_version. Give the name or the t5_ id. Billed 1 request per call.
HTTP Request
GET /subreddit/recommendations
Cost (in requests): 1. Every successful answer reports its cost in data.billed_requests.
Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
subreddit | string | Yes | - | Subreddit name (case-insensitive, with or without r/) or its t5_ id. |
include_nsfw | boolean | No | true | Default true: adult (18+) communities included; pass false to drop them from the list. |
Response
Real response to GET /subreddit/recommendations?subreddit=python (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 | Recommendations; null with error.code = not_found. |
data.subreddit | object | The community asked about. |
data.subreddit.subreddit_id | string | Id (t5_…) of the community asked about. |
data.subreddit.name | string | Name of the community asked about, as Reddit writes it. |
data.model_version | string | Name of the Reddit recommender that made the list (e.g. related_community_recommendations_v2), for reference. |
data.items | array of objects | Communities Reddit recommends next to this one, in Reddit’s order (up to about 8); empty when Reddit has none (18+, quarantined and private communities get none). |
data.items[].position | integer | Rank in Reddit’s list, 1-based. |
data.items[].subreddit_id | string | Subreddit id (t5_…). |
data.items[].name | string | Subreddit name without r/. |
data.items[].title | string | Display title. |
data.items[].description | string | Public description. |
data.items[].subscribers_count | integer | Subscribers (members). |
data.items[].weekly_visitors | integer | Weekly visitors (Reddit’s periodic count, not live); null when it could not be read. |
data.items[].weekly_contributions | integer | Weekly posts + comments (Reddit’s periodic count, not live); null when it could not be read. |
data.items[].is_nsfw | boolean | Marked 18+; null when it could not be read. |
data.items[].icon_url | string | Community icon URL. |
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). |
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 |
Code Examples
| |
| |
| |
Related Endpoints
- Subreddit Insights : When to post and what works in a community: timing, flairs, post kinds, engagement
- Subreddit Related : Related communities: moderator picks, name matches, same topic and shared audience
- Subreddit Batch : Look up to 50 communities in one request