# 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
}
```
