Skip to main content
GET
/
v1
/
reddit
/
fetch_subreddit_info
cURL
curl --request GET \
  --url 'https://api.keyapi.ai/v1/reddit/fetch_subreddit_info?subreddit_name=pics&need_format=false' \
  --header 'Authorization: Bearer <YOUR_API_KEY>'
{
  "code": 0,
  "message": "success",
  "data": {
    "subredditInfoByName": {
      "__typename": "Subreddit",
      "id": "t5_2qh0u",
      "name": "pics",
      "prefixedName": "r/pics",
      "styles": {
        "legacyIcon": {
          "url": "https://b.thumbs.redditmedia.com/VZX_KQLnI1DPhlEZ07bIcLzwR1Win808RIt7zm49VIQ.png"
        },
        "legacyPrimaryColor": "#24A0ED",
        "legacyBannerBackgroundImage": null,
        "primaryColor": "#553200",
        "icon": null,
        "bannerBackgroundImage": "https://styles.redditmedia.com/t5_2qh0u/styles/bannerBackgroundImage_if1cbgj4mc7b1.jpg?format=pjpg&s=531e105575a44022ba215e8d710b933eba3bbd70",
        "mobileBannerImage": "https://styles.redditmedia.com/t5_2qh0u/styles/mobileBannerImage_b4mne1y5mc7b1.jpg?format=pjpg&s=c18bf9c4f1509d410625d8d1216ddaac60d17e5a"
      },
      "title": "Reddit Pics",
      "description": {
        "markdown": "[Please read our rules in their entirety before participating.](/r/pics/wiki/index)\n\n1. No screenshots, AI images, or pictures in which the focus is a screen. [more>>](/r/pics/wiki/index#wiki_rule_1.3A_no_screenshots)\n\n2. No digital elements or text. [more>>](/r/pics/wiki/index#wiki_rule_2.3A_no_digital_elements.2Fadded_text)\n\n3. No porn or gore. [more>>](/r/pics/wiki/index#wiki_rule_3.3A_no_pornography_or_gore)\n\n4. No personal information, direct links to any social media, subreddit-related meta-drama, witch-hunts or missing/found posts. [more>>](/r/pics/wiki/index#wiki_rule_4.3A_no_doxxing_or_witch-hunts)\n\n5. All titles must follow title rules. [more>>](/r/pics/wiki/titles)\n\n6. Submissions are only allowed from one of the approved image hosts. [more>>](/r/pics/wiki/index#wiki_rule_6.3A_only_allowed_image-hosts) \n\n7. No GIFs or videos. [more>>](/r/pics/wiki/index#wiki_rule_7.3A_no_gifs_or_videos)\n\n8. Comments must be civil. Any racism, bigotry, or any other kind of hate speech is strictly prohibited and will result in a ban. [more>>](/r/pics/wiki/index#wiki_rule_8.3A_civility)\n\n9.  No submissions featuring before-and-after depictions of personal health progress or achievement. [more>>](/r/pics/wiki/index#wiki_rule_9.3A_no_progress_pics)\n\n10. No false claims of ownership (FCoO) or flooding. [more>>](/r/pics/wiki/index#wiki_rule_10.3A_no_fcoo_or_flooding)\n\n11. Reposts of images on the front page, or within the set limit of /r/pics/top, will be removed. [more>>](/r/pics/wiki/index#wiki_rule_11.3A_repost_limitations)\n\n12. No self-promotional accounts allowed. [more>>](/r/pics/wiki/index#wiki_rule_12.3A_self-promotion_limitations)\n\n---\n\n[Additional/Temporary Rules](/r/pics/wiki/index#wiki_additional.2Ftemporary_rules)\n\n* Serial reposters may be filtered or banned. \n\n* Established accounts will be banned if they willfully ignore the posting rules.\n\n* We require new users to post original content and not common pictures from the internet.\n\n* All posts by new users require mod approval in order to weed out spammers. \n\n* Please mark spoilers for current movies/games/books with spoiler tags. \n\n---\n\nIf you want a picture that belongs to you to be removed from /r/pics then please file a copyright notice [here](https://reddit.zendesk.com/hc/en-us/requests/new?ticket_form_id=73465).\n\n---\n\nClick [here](/r/pics/wiki/links) to find more specialized picture subreddits",
        "richtext": "{\"document\":[{\"c\":[{\"e\":\"link\",\"t\":\"Please read our rules in their entirety before participating.\",\"u\":\"/r/pics/wiki/index\"}],\"e\":\"par\"},{\"c\":[{\"c\":[{\"c\":[{\"e\":\"text\",\"t\":\"No screenshots, AI images, or pictures in which the focus is a screen. \"},{\"e\":\"link\",\"t\":\"more>>\",\"u\":\"/r/pics/wiki/index#wiki_rule_1.3A_no_screenshots\"}],\"e\":\"par\"}],\"e\":\"li\"},{\"c\":[{\"c\":[{\"e\":\"text\",\"t\":\"No digital elements or text. \"},{\"e\":\"link\",\"t\":\"more>>\",\"u\":\"/r/pics/wiki/index#wiki_rule_2.3A_no_digital_elements.2Fadded_text\"}],\"e\":\"par\"}],\"e\":\"li\"},{\"c\":[{\"c\":[{\"e\":\"text\",\"t\":\"No porn or gore. \"},{\"e\":\"link\",\"t\":\"more>>\",\"u\":\"/r/pics/wiki/index#wiki_rule_3.3A_no_pornography_or_gore\"}],\"e\":\"par\"}],\"e\":\"li\"},{\"c\":[{\"c\":[{\"e\":\"text\",\"t\":\"No personal information, direct links to any social media, subreddit-related meta-drama, witch-hunts or missing/found posts. \"},{\"e\":\"link\",\"t\":\"more>>\",\"u\":\"/r/pics/wiki/index#wiki_rule_4.3A_no_doxxing_or_witch-hunts\"}],\"e\":\"par\"}],\"e\":\"li\"},{\"c\":[{\"c\":[{\"e\":\"text\",\"t\":\"All titles must follow title rules. \"},{\"e\":\"link\",\"t\":\"more>>\",\"u\":\"/r/pics/wiki/titles\"}],\"e\":\"par\"}],\"e\":\"li\"},{\"c\":[{\"c\":[{\"e\":\"text\",\"t\":\"Submissions are only allowed from one of the approved image hosts. \"},{\"e\":\"link\",\"t\":\"more>>\",\"u\":\"/r/pics/wiki/index#wiki_rule_6.3A_only_allowed_image-hosts\"}],\"e\":\"par\"}],\"e\":\"li\"},{\"c\":[{\"c\":[{\"e\":\"text\",\"t\":\"No GIFs or videos. \"},{\"e\":\"link\",\"t\":\"more>>\",\"u\":\"/r/pics/wiki/index#wiki_rule_7.3A_no_gifs_or_videos\"}],\"e\":\"par\"}],\"e\":\"li\"},{\"c\":[{\"c\":[{\"e\":\"text\",\"t\":\"Comments must be civil. Any racism, bigotry, or any other kind of hate speech is strictly prohibited and will result in a ban. \"},{\"e\":\"link\",\"t\":\"more>>\",\"u\":\"/r/pics/wiki/index#wiki_rule_8.3A_civility\"}],\"e\":\"par\"}],\"e\":\"li\"},{\"c\":[{\"c\":[{\"e\":\"text\",\"t\":\"No submissions featuring before-and-after depictions of personal health progress or achievement. \"},{\"e\":\"link\",\"t\":\"more>>\",\"u\":\"/r/pics/wiki/index#wiki_rule_9.3A_no_progress_pics\"}],\"e\":\"par\"}],\"e\":\"li\"},{\"c\":[{\"c\":[{\"e\":\"text\",\"t\":\"No false claims of ownership (FCoO) or flooding. \"},{\"e\":\"link\",\"t\":\"more>>\",\"u\":\"/r/pics/wiki/index#wiki_rule_10.3A_no_fcoo_or_flooding\"}],\"e\":\"par\"}],\"e\":\"li\"},{\"c\":[{\"c\":[{\"e\":\"text\",\"t\":\"Reposts of images on the front page, or within the set limit of \"},{\"e\":\"r/\",\"l\":true,\"t\":\"pics/top\"},{\"e\":\"text\",\"t\":\", will be removed. \"},{\"e\":\"link\",\"t\":\"more>>\",\"u\":\"/r/pics/wiki/index#wiki_rule_11.3A_repost_limitations\"}],\"e\":\"par\"}],\"e\":\"li\"},{\"c\":[{\"c\":[{\"e\":\"text\",\"t\":\"No self-promotional accounts allowed. \"},{\"e\":\"link\",\"t\":\"more>>\",\"u\":\"/r/pics/wiki/index#wiki_rule_12.3A_self-promotion_limitations\"}],\"e\":\"par\"}],\"e\":\"li\"}],\"e\":\"list\",\"o\":true},{\"e\":\"hr\"},{\"c\":[{\"e\":\"link\",\"t\":\"Additional/Temporary Rules\",\"u\":\"/r/pics/wiki/index#wiki_additional.2Ftemporary_rules\"}],\"e\":\"par\"},{\"c\":[{\"c\":[{\"c\":[{\"e\":\"text\",\"t\":\"Serial reposters may be filtered or banned.\"}],\"e\":\"par\"}],\"e\":\"li\"},{\"c\":[{\"c\":[{\"e\":\"text\",\"t\":\"Established accounts will be banned if they willfully ignore the posting rules.\"}],\"e\":\"par\"}],\"e\":\"li\"},{\"c\":[{\"c\":[{\"e\":\"text\",\"t\":\"We require new users to post original content and not common pictures from the internet.\"}],\"e\":\"par\"}],\"e\":\"li\"},{\"c\":[{\"c\":[{\"e\":\"text\",\"t\":\"All posts by new users require mod approval in order to weed out spammers.\"}],\"e\":\"par\"}],\"e\":\"li\"},{\"c\":[{\"c\":[{\"e\":\"text\",\"t\":\"Please mark spoilers for current movies/games/books with spoiler tags.\"}],\"e\":\"par\"}],\"e\":\"li\"}],\"e\":\"list\",\"o\":false},{\"e\":\"hr\"},{\"c\":[{\"e\":\"text\",\"t\":\"If you want a picture that belongs to you to be removed from \"},{\"e\":\"r/\",\"l\":true,\"t\":\"pics\"},{\"e\":\"text\",\"t\":\" then please file a copyright notice \"},{\"e\":\"link\",\"t\":\"here\",\"u\":\"https://reddit.zendesk.com/hc/en-us/requests/new?ticket_form_id=73465\"},{\"e\":\"text\",\"t\":\".\"}],\"e\":\"par\"},{\"e\":\"hr\"},{\"c\":[{\"e\":\"text\",\"t\":\"Click \"},{\"e\":\"link\",\"t\":\"here\",\"u\":\"/r/pics/wiki/links\"},{\"e\":\"text\",\"t\":\" to find more specialized picture subreddits\"}],\"e\":\"par\"}]}"
      },
      "publicDescriptionText": "A place for photographs, pictures, and other images.",
      "subscribersCount": 33312758,
      "activeCount": 0,
      "communityStats": {
        "weeklyActiveUsersCount": 7238058,
        "weeklyContributionsCount": 115752
      },
      "createdAt": "2008-01-25T00:31:09.512000+0000",
      "type": "PUBLIC",
      "path": "/r/pics/",
      "isNsfw": false,
      "wiki": {
        "indexPage": {
          "status": "VALID"
        }
      },
      "wikiEditMode": "MODONLY",
      "whitelistStatus": "SOME_ADS",
      "isPostingRestricted": true,
      "isQuarantined": false,
      "quarantineMessage": null,
      "interstitialWarningMessage": null,
      "allowedPostTypes": [
        "LINK",
        "IMAGE",
        "GALLERY"
      ],
      "isSpoilerAvailable": false,
      "isUserBanned": false,
      "isContributor": false,
      "modPermissions": null,
      "isSubscribed": false,
      "isFavorite": false,
      "notificationLevel": null,
      "authorFlairSettings": {
        "isEnabled": true,
        "isSelfAssignable": false,
        "isOwnFlairEnabled": false
      },
      "authorFlair": null,
      "postFlairSettings": {
        "isEnabled": true
      },
      "originalContentCategories": [
        "photography"
      ],
      "isTitleSafe": true,
      "isMediaInCommentsSettingShown": true,
      "allowedMediaInComments": [
        "GIPHY",
        "STATIC",
        "EXPRESSION"
      ],
      "isMuted": false,
      "isChannelsEnabled": false,
      "isCrosspostingAllowed": true,
      "devvit": {
        "installations": [
          {
            "app": {
              "name": "Mod App: Send to Discord",
              "slug": "discord-send"
            }
          },
          {
            "app": {
              "name": "Flooding Assistant",
              "slug": "floodassistant"
            }
          },
          {
            "app": {
              "name": "Modmail Assistant",
              "slug": "modmailassistant"
            }
          },
          {
            "app": {
              "name": "Moderator Mentions",
              "slug": "mod-mentions"
            }
          },
          {
            "app": {
              "name": "Comment Mop",
              "slug": "comment-nuke"
            }
          },
          {
            "app": {
              "name": "Modqueue Nuke",
              "slug": "modqueue-nuke"
            }
          },
          {
            "app": {
              "name": "Remove Macro",
              "slug": "purge-user"
            }
          },
          {
            "app": {
              "name": "Modmail Automator",
              "slug": "auto-modmail"
            }
          },
          {
            "app": {
              "name": "Ban Purge",
              "slug": "ban-purge"
            }
          },
          {
            "app": {
              "name": "Banhammer",
              "slug": "banhammerapp"
            }
          },
          {
            "app": {
              "name": "Bot Bouncer",
              "slug": "bot-bouncer"
            }
          },
          {
            "app": {
              "name": "Evasion Guard",
              "slug": "evasion-guard"
            }
          },
          {
            "app": {
              "name": "Title Rinse",
              "slug": "title-rinse"
            }
          },
          {
            "app": {
              "name": "Hive Protector",
              "slug": "hive-protect"
            }
          }
        ]
      },
      "detectedLanguage": "en",
      "welcomePage": {
        "__typename": "SubredditWelcomePage",
        "isEnabled": true,
        "isEnabledOnJoin": true
      },
      "communityStatus": {
        "__typename": "SubredditCommunityStatus",
        "description": {
          "markdown": "Earn double karma when you post non-political content!",
          "richtext": "{\"document\":[{\"c\":[{\"e\":\"text\",\"t\":\"Earn double karma when you post non-political content!\"}],\"e\":\"par\"}]}"
        },
        "emoji": {
          "name": "upvote",
          "url": "https://emoji.redditmedia.com/ad1td4bx9ezz_t5_3nqvj/upvote"
        }
      },
      "taxonomy": {
        "taxonomyTopics": [
          {
            "__typename": "SubredditTaxonomyRelation",
            "taxonomyTopic": {
              "id": "Photography",
              "displayName": "Photography"
            },
            "displayCopy": "#1 in Photography"
          }
        ]
      },
      "communityLeaderboard": {
        "isEnabled": false
      }
    }
  },
  "requestId": "63789fcd-c3c7-42e2-ad3a-d63bbf8374f0"
}
πŸͺ™1 creditper request

Copy for AI

πŸ€– Why Code When AI Can Do It For You?

Stop writing code like it’s 1970! Let AI do the heavy lifting - click the sparkles to copy a perfectly formatted prompt for ChatGPT, Claude, or your favorite AI assistant.

Authorizations

Authorization
string
header
required

API key for authentication. Format: sk_live_xxxxxxxxxxxxx Get your API key from the Dashboard.

Query Parameters

subreddit_name
string
required

Subreddit name (without the r/ prefix), e.g., "pics", "funny", "AskReddit"

Example:

"pics"

need_format
boolean
default:false

Whether to clean/sanitize the data

Response

The response is of type object.