> ## Documentation Index
> Fetch the complete documentation index at: https://docs.keyapi.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# 获取Reddit APP版块信息

> 于获取Reddit APP指定版块的详细信息,包括版块描述、成员数量、创建时间、规则等元数据。

<div className="inline-flex items-center gap-2 px-4 py-2 bg-yellow-50 dark:bg-yellow-900/20 border border-yellow-200 dark:border-yellow-800 rounded-lg">
  <span className="text-base">🪙</span>
  <span className="text-sm font-medium text-yellow-900 dark:text-yellow-100"><span className="font-semibold">1 credit</span><span className="text-yellow-700 dark:text-yellow-300 ml-1">每次请求</span></span>
</div>

## Copy for AI

<div className="my-6 rounded-xl border border-gray-200 bg-gray-50 p-5 dark:border-gray-800 dark:bg-gray-900/40">
  <div className="min-w-0">
    <p className="text-base font-semibold text-gray-900 dark:text-gray-100">🤖 让 AI 帮你写调用代码</p>
    <p className="mt-1 text-sm text-gray-700 dark:text-gray-300">点击按钮复制一段结构化提示词，可直接交给 ChatGPT、Claude 或其他 AI 助手生成接口调用代码。</p>
  </div>

  <div className="mt-4">
    <button type="button" className="inline-flex items-center gap-2 rounded-md border border-emerald-300 bg-emerald-50 px-3 py-2 text-sm font-medium text-emerald-800 hover:bg-emerald-100 dark:border-emerald-700 dark:bg-emerald-900/30 dark:text-emerald-100 dark:hover:bg-emerald-900/50" onClick={() => navigator.clipboard.writeText("我想调用 KeyAPI 接口：GET https://api.keyapi.ai/v1/reddit/fetch_subreddit_info\n\n请帮我编写调用代码，并包含必要的错误处理、参数校验和响应处理逻辑。\n\n接口信息：\n\nEndpoint: GET https://api.keyapi.ai/v1/reddit/fetch_subreddit_info\n\nDescription: Reddit 的「用户详情」接口用于根据指定标识查询完整信息，返回基础资料、统计指标以及示例中的扩展字段。常用必填参数包括 subreddit_name。\n\nRequired Headers:\n--header 'Authorization: Bearer <YOUR_API_KEY>'\n\nParameters:\n- subreddit_name (Required): subreddit_name 参数. Example: pics\n- need_format (Optional): need_format 参数. Example: false\n\nExample Response:\n{\n  \"code\": 0,\n  \"message\": \"success\",\n  \"data\": {\n    \"subredditInfoByName\": {\n      \"__typename\": \"Subreddit\",\n      \"id\": \"t5_2qh0u\",\n      \"name\": \"pics\",\n      \"prefixedName\": \"r/pics\",\n      \"styles\": {\n        \"legacyIcon\": {\n          \"url\": \"https://b.thumbs.redditmedia.com/VZX_KQLnI1DPhlEZ07bIcLzwR1Win808RIt7zm49VIQ.png\"\n        },\n        \"legacyPrimaryColor\": \"#24A0ED\",\n        \"legacyBannerBackgroundImage\": null,\n        \"primaryColor\": \"#553200\",\n        \"icon\": null,\n        \"bannerBackgroundImage\": \"https://styles.redditmedia.com/t5_2qh0u/styles/bannerBackgroundImage_if1cbgj4mc7b1.jpg?format=pjpg&s=531e105575a44022ba215e8d710b933eba3bbd70\",\n        \"mobileBannerImage\": \"https://styles.redditmedia.com/t5_2qh0u/styles/mobileBannerImage_b4mne1y5mc7b1.jpg?format=pjpg&s=c18bf9c4f1509d410625d8d1216ddaac60d17e5a\"\n      },\n      \"title\": \"Reddit Pics\",\n      \"description\": {\n        \"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\",\n        \"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\\\"}]}\"\n      },\n      \"publicDescriptionText\": \"A place for photographs, pictures, and other images.\",\n      \"subscribersCount\": 33312758,\n      \"activeCount\": 0,\n      \"communityStats\": {\n        \"weeklyActiveUsersCount\": 7238058,\n        \"weeklyContributionsCount\": 115752\n      },\n      \"createdAt\": \"2008-01-25T00:31:09.512000+0000\",\n      \"type\": \"PUBLIC\",\n      \"path\": \"/r/pics/\",\n      \"isNsfw\": false,\n      \"wiki\": {\n        \"indexPage\": {\n          \"status\": \"VALID\"\n        }\n      },\n      \"wikiEditMode\": \"MODONLY\",\n      \"whitelistStatus\": \"SOME_ADS\",\n      \"isPostingRestricted\": true,\n      \"isQuarantined\": false,\n      \"quarantineMessage\": null,\n      \"interstitialWarningMessage\": null,\n      \"allowedPostTypes\": [\n        \"LINK\",\n        \"IMAGE\",\n        \"GALLERY\"\n      ],\n      \"isSpoilerAvailable\": false,\n      \"isUserBanned\": false,\n      \"isContributor\": false,\n      \"modPermissions\": null,\n      \"isSubscribed\": false,\n      \"isFavorite\": false,\n      \"notificationLevel\": null,\n      \"authorFlairSettings\": {\n        \"isEnabled\": true,\n        \"isSelfAssignable\": false,\n        \"isOwnFlairEnabled\": false\n      },\n      \"authorFlair\": null,\n      \"postFlairSettings\": {\n        \"isEnabled\": true\n      },\n      \"originalContentCategories\": [\n        \"photography\"\n      ],\n      \"isTitleSafe\": true,\n      \"isMediaInCommentsSettingShown\": true,\n      \"allowedMediaInComments\": [\n        \"GIPHY\",\n        \"STATIC\",\n        \"EXPRESSION\"\n      ],\n      \"isMuted\": false,\n      \"isChannelsEnabled\": false,\n      \"isCrosspostingAllowed\": true,\n      \"devvit\": {\n        \"installations\": [\n          {\n            \"app\": {\n              \"name\": \"Mod App: Send to Discord\",\n              \"slug\": \"discord-send\"\n            }\n          },\n          {\n            \"app\": {\n              \"name\": \"Flooding Assistant\",\n              \"slug\": \"floodassistant\"\n            }\n          },\n          {\n            \"app\": {\n              \"name\": \"Modmail Assistant\",\n              \"slug\": \"modmailassistant\"\n            }\n          },\n          {\n            \"app\": {\n              \"name\": \"Moderator Mentions\",\n              \"slug\": \"mod-mentions\"\n            }\n          },\n          {\n            \"app\": {\n              \"name\": \"Comment Mop\",\n              \"slug\": \"comment-nuke\"\n            }\n          },\n          {\n            \"app\": {\n              \"name\": \"Modqueue Nuke\",\n              \"slug\": \"modqueue-nuke\"\n            }\n          },\n          {\n            \"app\": {\n              \"name\": \"Remove Macro\",\n              \"slug\": \"purge-user\"\n            }\n          },\n          {\n            \"app\": {\n              \"name\": \"Modmail Automator\",\n              \"slug\": \"auto-modmail\"\n            }\n          },\n          {\n            \"app\": {\n              \"name\": \"Ban Purge\",\n              \"slug\": \"ban-purge\"\n            }\n          },\n          {\n            \"app\": {\n              \"name\": \"Banhammer\",\n              \"slug\": \"banhammerapp\"\n            }\n          },\n          {\n            \"app\": {\n              \"name\": \"Bot Bouncer\",\n              \"slug\": \"bot-bouncer\"\n            }\n          },\n          {\n            \"app\": {\n              \"name\": \"Evasion Guard\",\n              \"slug\": \"evasion-guard\"\n            }\n          },\n          {\n            \"app\": {\n              \"name\": \"Title Rinse\",\n              \"slug\": \"title-rinse\"\n            }\n          },\n          {\n            \"app\": {\n              \"name\": \"Hive Protector\",\n              \"slug\": \"hive-protect\"\n            }\n          }\n        ]\n      },\n      \"detectedLanguage\": \"en\",\n      \"welcomePage\": {\n        \"__typename\": \"SubredditWelcomePage\",\n        \"isEnabled\": true,\n        \"isEnabledOnJoin\": true\n      },\n      \"communityStatus\": {\n        \"__typename\": \"SubredditCommunityStatus\",\n        \"description\": {\n          \"markdown\": \"Earn double karma when you post non-political content!\",\n          \"richtext\": \"{\\\"document\\\":[{\\\"c\\\":[{\\\"e\\\":\\\"text\\\",\\\"t\\\":\\\"Earn double karma when you post non-political content!\\\"}],\\\"e\\\":\\\n... truncated ...\n\n请根据以上信息给出可直接运行的示例代码。")}>
      ✨ 复制给 AI
    </button>
  </div>
</div>


## OpenAPI

````yaml zh/reddit.zh.openapi.json GET /v1/reddit/fetch_subreddit_info
openapi: 3.0.1
info:
  title: Reddit API 中文文档
  description: Reddit API 的中文参考文档，包含接口用途、参数说明、响应状态和示例结构。
  version: 1.0.0
servers:
  - url: https://api.keyapi.ai
    description: Production
security:
  - JWT Bearer: []
tags: []
paths:
  /v1/reddit/fetch_subreddit_info:
    get:
      tags: []
      summary: 获取Reddit APP版块信息
      description: 于获取Reddit APP指定版块的详细信息,包括版块描述、成员数量、创建时间、规则等元数据。
      parameters:
        - name: subreddit_name
          in: query
          description: 版块名称(不带r/前缀),例如：pics、funny、AskReddit 等
          required: true
          example: pics
          schema:
            type: string
            example: pics
        - name: need_format
          in: query
          description: 是否需要清洗数据
          required: false
          example: 'false'
          schema:
            type: boolean
            default: false
      responses:
        '200':
          description: 请求成功
          content:
            application/json:
              schema:
                type: object
                properties: {}
              example:
                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)


                        1. No screenshots, AI images, or pictures in which the
                        focus is a screen.
                        [more>>](/r/pics/wiki/index#wiki_rule_1.3A_no_screenshots)


                        2. No digital elements or text.
                        [more>>](/r/pics/wiki/index#wiki_rule_2.3A_no_digital_elements.2Fadded_text)


                        3. No porn or gore.
                        [more>>](/r/pics/wiki/index#wiki_rule_3.3A_no_pornography_or_gore)


                        4. 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)


                        5. All titles must follow title rules.
                        [more>>](/r/pics/wiki/titles)


                        6. Submissions are only allowed from one of the approved
                        image hosts.
                        [more>>](/r/pics/wiki/index#wiki_rule_6.3A_only_allowed_image-hosts) 


                        7. No GIFs or videos.
                        [more>>](/r/pics/wiki/index#wiki_rule_7.3A_no_gifs_or_videos)


                        8. 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)


                        9.  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)


                        10. No false claims of ownership (FCoO) or flooding.
                        [more>>](/r/pics/wiki/index#wiki_rule_10.3A_no_fcoo_or_flooding)


                        11. 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)


                        12. No self-promotional accounts allowed.
                        [more>>](/r/pics/wiki/index#wiki_rule_12.3A_self-promotion_limitations)


                        ---


                        [Additional/Temporary
                        Rules](/r/pics/wiki/index#wiki_additional.2Ftemporary_rules)


                        * Serial reposters may be filtered or banned. 


                        * Established accounts will be banned if they willfully
                        ignore the posting rules.


                        * We require new users to post original content and not
                        common pictures from the internet.


                        * All posts by new users require mod approval in order
                        to weed out spammers. 


                        * Please mark spoilers for current movies/games/books
                        with spoiler tags. 


                        ---


                        If 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).


                        ---


                        Click [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
          headers: {}
        '400':
          description: 请求参数错误，请检查必填字段和参数格式
          content:
            application/json:
              schema:
                type: object
                example:
                  code: 400
                  data: null
                  message: 'Missing required parameter: handle'
        '401':
          description: 鉴权失败，请检查 Authorization Header 中的 Bearer Token 或 API Key 是否有效
          content:
            application/json:
              schema:
                type: object
                example:
                  code: 401
                  data: null
                  message: apiKey is null
        '402':
          description: 账户余额或额度不足
          content:
            application/json:
              schema:
                type: object
                example:
                  code: 402
                  data: null
                  message: apiKey quota is not enough
        '429':
          description: 请求过于频繁，已触发限流
          content:
            application/json:
              schema:
                type: object
                example:
                  code: 429
                  data: null
                  message: qps limit exceeded
        '500':
          description: 服务器内部错误，请稍后重试
          content:
            application/json:
              schema:
                type: object
                example:
                  code: 500
                  data: null
                  message: Internal server error
      deprecated: false
      security:
        - JWT Bearer: []
      x-codeSamples:
        - lang: curl
          label: cURL
          source: |-
            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>'
        - lang: python
          label: Python
          source: |-
            import requests

            response = requests.get(
                'https://api.keyapi.ai/v1/reddit/fetch_subreddit_info',
                params={"subreddit_name": "pics", "need_format": "false"},
                headers={'Authorization': 'Bearer <YOUR_API_KEY>'}
            )
            print(response.json())
        - lang: javascript
          label: JavaScript
          source: >-
            const params = new URLSearchParams({"subreddit_name": "pics",
            "need_format": "false"});


            const response = await
            fetch(`https://api.keyapi.ai/v1/reddit/fetch_subreddit_info?${params}`,
            {
              method: 'GET',
              headers: { 'Authorization': 'Bearer <YOUR_API_KEY>' }
            });

            const data = await response.json();

            console.log(data);
components:
  securitySchemes:
    JWT Bearer:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: |-
        接口鉴权凭证。请在请求 Header 中传入 `Authorization: Bearer <YOUR_API_KEY>`。
        可在 [Dashboard](https://keyapi.ai/app/dashboard) 获取你的 API Key。

````