← API Store
SocialReddit
Subreddit details and rules
GET /reddit/v1/subreddit/detailsEvery response includes credits_used: the credits this call cost.
Each call costs 1 credits; failed calls are free. Run it in the console playground to see a live result.
Parameters
| Name | Type | Description |
|---|---|---|
subredditrequired | string | Example: programming |
Every endpoint also takes: raw、fields、fresh、output、records
{
"banner": null,
"bookmarks": [
{
"name": "FAQ",
"url": "https://www.reddit.com/r/programming/wiki/faq"
}
],
"cached": false,
"created_at": "2006-02-28T18:19:29.538000+0000",
"credits_used": 1,
"description": "Computer Programming",
"header_attributes": {
"activity-indicators-enabled": true,
"class": "nd:flex nd:visible [&:not(:defined)_.community-details]:hidden",
"description": "Computer Programming",
"display-name": "programming",
"id-card-widget-id": "widget_id-card-2fwo",
"is-mod-insights-widget-experiment-enabled": true,
"name": "programming",
"new-banner-experiment-enabled": true,
"prefixed-name": "r/programming",
"record-perfmark": "true",
"router-name": "subreddit",
"subreddit-id": "t5_2fwo",
"weekly-active-users": "210980",
"weekly-contributions": "2023"
},
"icon": "https://styles.redditmedia.com/t5_2fwo/styles/communityIcon_1bqa1ibfp8q11.png?width=128&frame=1&auto=webp&s=400b33e7080aa4996c405a96b3872a12…",
"id": "t5_2fwo",
"id_card_widget_id": "widget_id-card-2fwo",
"name": "programming",
"nsfw": false,
"post_flairs_seen": [],
"posts": [
{
"archived": false,
"attributes": {
"author": "random8847",
"author-id": "t2_15ookh",
"award-count": "0",
"class": "block relative cursor-pointer group bg-neutral-background focus-within:bg-neutral-background-hover hover:bg-neutral-background-hover xs:roun…",
"comment-count": "96",
"content-href": "https://www.bseindia.com/xml-data/corpfiling/AttachLive/82503e00-335c-49dc-b022-f4633a08b642.pdf",
"created-timestamp": "2026-10-23T09:55:46.598000+0000",
"data-expected-lcp": true,
"data-ks-item": true,
"domain": "bseindia.com",
"feedIndex": "0",
"hide-awards-button": true,
"icon": "https://www.redditstatic.com/avatars/defaults/v2/avatar_default_1.png",
"id": "t3_1xd9rwe",
"is-awardable": true,
"is-desktop-viewport": true,
"is-embeddable": true,
"is-link-post": true,
"is-slim-card": true,
"moderation-verdict": "",
"pdp-target": "_self",
"permalink": "/r/programming/comments/1xd9rwe/emudhras_press_release_on_the_ca_compromise/",
"post-language": "en",
"post-title": "eMudhra's Press Release on the CA Compromise",
"post-type": "link",
"score": "240",
"subreddit-id": "t5_2fwo",
"subreddit-name": "programming",
"subreddit-prefixed-name": "r/programming",
"upvote-ratio": "0.9347826086956522",
"view-context": "SubredditFeed",
"view-type": "cardView"
},
"author": "random8847",
"author_icon": "https://www.redditstatic.com/avatars/defaults/v2/avatar_default_1.png",
"author_id": "t2_15ookh",
"author_profile": null,
"award_count": 0,
"comment_count": 96,
"comments": "96",
"content_url": "https://www.bseindia.com/xml-data/corpfiling/AttachLive/82503e00-335c-49dc-b022-f4633a08b642.pdf",
"created_at": "2026-10-23T09:55:46.598000+0000",
"domain": "bseindia.com",
"feed_index": 0,
"flair": null,
"flairs": [],
"id": "t3_1xd9rwe",
"images": [],
"language": "en",
"locked": false,
"media": [],
"nsfw": false,
"permalink": "/r/programming/comments/1xd9rwe/emudhras_press_release_on_the_ca_compromise/",
"post_type": "link",
"score": "240",
"score_value": 240,
"spoiler": false,
"stickied": false,
"subreddit": "programming",
"subreddit_id": "t5_2fwo",
"subreddit_prefixed": "r/programming",
"text": null,
"text_html": null,
"title": "eMudhra's Press Release on the CA Compromise",
"upvote_ratio": 0.9347826086956522,
"url": "https://www.reddit.com/r/programming/comments/1xd9rwe/emudhras_press_release_on_the_ca_compromise/"
},
{
"archived": false,
"attributes": {
"author": "mareek",
"author-id": "t2_3c9g",
"award-count": "1",
"award-icon-url": "https://i.redd.it/snoovatar/snoo_assets/marketing/regret_40.png",
"award-id": "award_free_regret_2",
"class": "block relative cursor-pointer group bg-neutral-background focus-within:bg-neutral-background-hover hover:bg-neutral-background-hover xs:roun…",
"comment-count": "119",
"content-href": "https://news.mit.edu/2026/margaret-hamilton-computing-pioneer-dies-1007",
"created-timestamp": "2026-10-08T05:55:59.002000+0000",
"data-expected-lcp": true,
"data-ks-item": true,
"domain": "news.mit.edu",
"feedIndex": "1",
"hide-awards-button": true,
"icon": "https://styles.redditmedia.com/t5_dss29/styles/profileIcon_snoo0235b7cc-8c31-42bf-b2f1-1c6dcea0ceee-headshot.png?width=64&height=64&frame=1&…",
"id": "t3_1x0j559",
"is-awardable": true,
"is-desktop-viewport": true,
"is-embeddable": true,
"is-link-post": true,
"is-slim-card": true,
"moderation-verdict": "",
"pdp-target": "_self",
"permalink": "/r/programming/comments/1x0j559/margaret_hamilton_computing_pioneer_who_led/",
"post-language": "en",
"post-title": "Margaret Hamilton, computing pioneer who led software development for the Apollo program, dies at 90",
"post-type": "link",
"score": "3839",
"subreddit-id": "t5_2fwo",
"subreddit-name": "programming",
"subreddit-prefixed-name": "r/programming",
"upvote-ratio": "0.9856447064855165",
"view-context": "SubredditFeed",
"view-type": "cardView"
},
"author": "mareek",
"author_icon": "https://styles.redditmedia.com/t5_dss29/styles/profileIcon_snoo0235b7cc-8c31-42bf-b2f1-1c6dcea0ceee-headshot.png?width=64&height=64&frame=1&…",
"author_id": "t2_3c9g",
"author_profile": null,
"award_count": 1,
"comment_count": 119,
"comments": "119",
"content_url": "https://news.mit.edu/2026/margaret-hamilton-computing-pioneer-dies-1007",
"created_at": "2026-10-08T05:55:59.002000+0000",
"domain": "news.mit.edu",
"feed_index": 1,
"flair": null,
"flairs": [],
"id": "t3_1x0j559",
"images": [],
"language": "en",
"locked": false,
"media": [],
"nsfw": false,
"permalink": "/r/programming/comments/1x0j559/margaret_hamilton_computing_pioneer_who_led/",
"post_type": "link",
"score": "3839",
"score_value": 3839,
"spoiler": false,
"stickied": false,
"subreddit": "programming",
"subreddit_id": "t5_2fwo",
"subreddit_prefixed": "r/programming",
"text": null,
"text_html": null,
"title": "Margaret Hamilton, computing pioneer who led software development for the Apollo program, dies at 90",
"upvote_ratio": 0.9856447064855164,
"url": "https://www.reddit.com/r/programming/comments/1x0j559/margaret_hamilton_computing_pioneer_who_led/"
},
"… 1 more"
],
"posts_count": 3,
"prefixed_name": "r/programming",
"privacy": "Public",
"privacy_description": "Anyone can view, post, and comment to this community",
"quarantined": false,
"rules": [
{
"description": "If you don't want to write it, we don't want to read it. This includes the use of LLMs for translation or summarisation. Moderators reserve …",
"number": 1,
"title": "No LLM-Written Content"
},
{
"description": "Content about LLMs and AI is generally considered off-topic unless they are deeply technical . Refer to our wiki for more details.",
"number": 2,
"title": "AI-related posts must comply with the AI Policy"
},
"… 12 more"
],
"title": "programming",
"url": "https://www.reddit.com/r/programming/",
"weekly_contributions": 2023,
"weekly_contributions_display": "2K",
"weekly_visitors": 210980,
"weekly_visitors_display": "210K"
} Response fields (118)
Field paths and types observed in the sample response; the live response is authoritative.
$ | object |
$.banner | null |
$.bookmarks | array |
$.bookmarks[] | object |
$.bookmarks[].name | string |
$.bookmarks[].url | string |
$.cached | boolean |
$.created_at | string |
$.credits_used | integer |
$.description | string |
$.header_attributes | object |
$.header_attributes.activity-indicators-enabled | boolean |
$.header_attributes.class | string |
$.header_attributes.description | string |
$.header_attributes.display-name | string |
$.header_attributes.id-card-widget-id | string |
$.header_attributes.is-mod-insights-widget-experiment-enabled | boolean |
$.header_attributes.name | string |
$.header_attributes.new-banner-experiment-enabled | boolean |
$.header_attributes.prefixed-name | string |
$.header_attributes.record-perfmark | string |
$.header_attributes.router-name | string |
$.header_attributes.subreddit-id | string |
$.header_attributes.weekly-active-users | string |
$.header_attributes.weekly-contributions | string |
$.icon | string |
$.id | string |
$.id_card_widget_id | string |
$.name | string |
$.nsfw | boolean |
$.post_flairs_seen | array |
$.posts | array |
$.posts[] | object | string |
$.posts[].archived | boolean |
$.posts[].attributes | object |
$.posts[].attributes.author | string |
$.posts[].attributes.author-id | string |
$.posts[].attributes.award-count | string |
$.posts[].attributes.award-icon-url | string |
$.posts[].attributes.award-id | string |
$.posts[].attributes.class | string |
$.posts[].attributes.comment-count | string |
$.posts[].attributes.content-href | string |
$.posts[].attributes.created-timestamp | string |
$.posts[].attributes.data-expected-lcp | boolean |
$.posts[].attributes.data-ks-item | boolean |
$.posts[].attributes.domain | string |
$.posts[].attributes.feedIndex | string |
$.posts[].attributes.hide-awards-button | boolean |
$.posts[].attributes.icon | string |
$.posts[].attributes.id | string |
$.posts[].attributes.is-awardable | boolean |
$.posts[].attributes.is-desktop-viewport | boolean |
$.posts[].attributes.is-embeddable | boolean |
$.posts[].attributes.is-link-post | boolean |
$.posts[].attributes.is-slim-card | boolean |
$.posts[].attributes.moderation-verdict | string |
$.posts[].attributes.pdp-target | string |
$.posts[].attributes.permalink | string |
$.posts[].attributes.post-language | string |
$.posts[].attributes.post-title | string |
$.posts[].attributes.post-type | string |
$.posts[].attributes.score | string |
$.posts[].attributes.subreddit-id | string |
$.posts[].attributes.subreddit-name | string |
$.posts[].attributes.subreddit-prefixed-name | string |
$.posts[].attributes.upvote-ratio | string |
$.posts[].attributes.view-context | string |
$.posts[].attributes.view-type | string |
$.posts[].author | string |
$.posts[].author_icon | string |
$.posts[].author_id | string |
$.posts[].author_profile | null |
$.posts[].award_count | integer |
$.posts[].comment_count | integer |
$.posts[].comments | string |
$.posts[].content_url | string |
$.posts[].created_at | string |
$.posts[].domain | string |
$.posts[].feed_index | integer |
$.posts[].flair | null |
$.posts[].flairs | array |
$.posts[].id | string |
$.posts[].images | array |
$.posts[].language | string |
$.posts[].locked | boolean |
$.posts[].media | array |
$.posts[].nsfw | boolean |
$.posts[].permalink | string |
$.posts[].post_type | string |
$.posts[].score | string |
$.posts[].score_value | integer |
$.posts[].spoiler | boolean |
$.posts[].stickied | boolean |
$.posts[].subreddit | string |
$.posts[].subreddit_id | string |
$.posts[].subreddit_prefixed | string |
$.posts[].text | null |
$.posts[].text_html | null |
$.posts[].title | string |
$.posts[].upvote_ratio | number |
$.posts[].url | string |
$.posts_count | integer |
$.prefixed_name | string |
$.privacy | string |
$.privacy_description | string |
$.quarantined | boolean |
$.rules | array |
$.rules[] | object | string |
$.rules[].description | string |
$.rules[].number | integer |
$.rules[].title | string |
$.title | string |
$.url | string |
$.weekly_contributions | integer |
$.weekly_contributions_display | string |
$.weekly_visitors | integer |
$.weekly_visitors_display | string |