# Subreddit 詳情

**API:** Data API

**Endpoint:** `GET /v1/beta/reddit/subreddit/details`

**Tags:** Reddit

使用 subreddit 取得社群詳情。規則可能以結構化項目或文字形式傳回；請查看回應結構以了解支援的表示形式。

### 定價參考

- 計量方式：依結果筆數計量。
- 參考請求預估：USD 0.00188。
- 參考客戶乘數：1.0。不得再次套用於已結算的客戶金額。

僅供參考的中繼資料，並非帳戶報價、保證價格或消費上限。資源額度並非 Felo 額度。最終費用依 Felo 計費記錄為準。

## Base URL

- `https://openapi.felo.ai`

## Authentication

- `FeloBearerAuth` (http bearer, bearer format Felo API Key)
- `FeloApiKey` (apiKey in header `X-API-Key`)

## Parameters

| Name | In | Required | Type | Description |
| --- | --- | --- | --- | --- |
| `subreddit` | query | no | string |  |

## Responses

### 200 — 成功回應

Headers:
- `X-Request-Id` (string) — 聯絡 Felo 支援時需提供的請求識別碼。

**application/json**

Schema: `Response799D183Abaf0_RedditSubredditDetailsResponse` (`#/components/schemas/Response799D183Abaf0_RedditSubredditDetailsResponse`)

Example:

```json
{
  "success": true,
  "credits_remaining": 33950256,
  "subreddit_id": "t5_a7wuv",
  "display_name": "AbsoluteUnits",
  "weekly_active_users": 1428398,
  "weekly_contributions": 8923,
  "rules": "#ABSOLUTE UNITS\n\n---\n\n    Be in awe at the size of these lads\n\n---\n\n###[Check out our deep, well-reflected definitions of an absolute unit.](https://www.reddit.com/r/AbsoluteUnits/wiki/index)  ",
  "description": "Absolute Unit：體型遠超一般預期的動物或公眾人物。",
  "header_img": null,
  "icon_img": "https://styles.redditmedia.com/t5_a7wuv/styles/communityIcon_t3cspt08bl681.png?width=128&frame=1&auto=webp&s=6f7e59ccf1724bd6c8b3e0d2840c9b21297102c3",
  "subscribers": 1923642,
  "advertiser_category": "",
  "created_at": "2018-01-05T10:35:24.000Z",
  "submit_text": ""
}
```

### 400 — 無法處理該要求。請檢查請求參數。

### 401 — 需要有效的 Felo API 金鑰。

### 402 — 由於未符合計費要求，要求無法繼續。

### 403 — 該帳戶無權執行此操作。

### 429 — 已達到要求或支出上限。

### 502 — 服務無法完成該要求。

### 503 — API 或計費服務暫時無法使用。

### 504 — 服務在處理要求時逾時。

### default — 錯誤回應；上游透傳回應可能採用供應商格式

**application/json**

Schema:

```json
{}
```

## Schema definitions

### Response799D183Abaf0_RedditSubredditDetailsResponse

`#/components/schemas/Response799D183Abaf0_RedditSubredditDetailsResponse`

```json
{
  "type": "object",
  "properties": {
    "success": {
      "type": "boolean"
    },
    "credits_remaining": {
      "type": "integer"
    },
    "subreddit_id": {
      "type": "string"
    },
    "display_name": {
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "subscribers": {
      "type": "integer"
    },
    "weekly_active_users": {
      "type": "integer"
    },
    "weekly_contributions": {
      "type": "integer"
    },
    "rules": {
      "type": [
        "array",
        "string"
      ],
      "items": {
        "type": "object",
        "additionalProperties": true
      },
      "description": "社群規則，以結構化項目或格式化文字呈現。"
    }
  },
  "additionalProperties": true
}
```
