# Subreddit 详情

**API:** Data API

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

**Tags:** Reddit

使用 subreddit 获取社区详情。规则可能以结构化条目或文本形式返回；请查看响应结构以了解支持的表示形式。

### 计费参考

- 计量方式：按结果数量计量。
- 参考请求估算：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
}
```
