# Reddit を検索

**API:** Data API

**Endpoint:** `GET /v1/beta/reddit/search`

**Tags:** Reddit

記載された query、count、limit、time、トリミングの制御を使って公開 Reddit コンテンツを検索します。この契約では after トークンは宣言されていません。レスポンス内のページングフィールドは、追加でサポートされる入力ではありません。

### 料金の参考情報

- 計測方法：結果件数単位で計測。
- 参考リクエスト見積もり：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 |
| --- | --- | --- | --- | --- |
| `count` | query | no | string |  |
| `limit` | query | no | string |  |
| `query` | query | no | string |  |
| `sort` | query | no | string |  |
| `time` | query | no | string |  |
| `timeframe` | query | no | string |  |
| `trim` | query | no | string |  |
| `trimmed` | query | no | string |  |

## Responses

### 200 — 成功レスポンス

Headers:
- `X-Request-Id` (string) — Felo サポートに問い合わせる際に伝えるリクエスト識別子。

**application/json**

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

Example:

```json
{
  "success": true,
  "posts": [
    {
      "id": "w63dgy",
      "author": "Morgentau7",
      "author_fullname": "t2_2hy2xjit",
      "subreddit": "MadeMeSmile",
      "title": "Player realizes that he nearly stole the dogs job",
      "downs": 0,
      "name": "t3_w63dgy",
      "upvote_ratio": 0.97,
      "ups": 220403,
      "total_awards_received": 0,
      "score": 220403,
      "created": 1658580900,
      "num_comments": 1246,
      "url": "https://www.reddit.com/r/MadeMeSmile/comments/w63dgy/player_realizes_that_he_nearly_stole_the_dogs_job/",
      "subreddit_subscribers": 11605207,
      "is_video": true,
      "created_utc": 1658580900
    }
  ],
  "after": "t3_1izmcgx"
}
```

### 400 — リクエストを処理できませんでした。リクエストパラメータを確認してください。

### 401 — 有効な Felo API キーが必要です。

### 402 — 請求要件が満たされていないため、リクエストを続行できません。

### 403 — このアカウントにはこの操作を行う権限がありません。

### 429 — リクエストまたは支出の上限に達しました。

### 502 — サービスがリクエストを完了できませんでした。

### 503 — API または請求サービスが一時的に利用できません。

### 504 — リクエストの処理中にサービスがタイムアウトしました。

### default — エラーレスポンス。上流のパススルーレスポンスはプロバイダーの形式を使用する場合があります

**application/json**

Schema:

```json
{}
```

## Schema definitions

### Response799D183Abaf0_RedditPost

`#/components/schemas/Response799D183Abaf0_RedditPost`

```json
{
  "type": "object",
  "additionalProperties": true
}
```

### Response799D183Abaf0_RedditPostsResponse

`#/components/schemas/Response799D183Abaf0_RedditPostsResponse`

```json
{
  "type": "object",
  "properties": {
    "success": {
      "type": "boolean"
    },
    "credits_remaining": {
      "type": "integer"
    },
    "posts": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/Response799D183Abaf0_RedditPost"
      }
    },
    "after": {
      "type": [
        "string",
        "null"
      ]
    },
    "cursor": {
      "type": [
        "string",
        "null"
      ]
    }
  },
  "additionalProperties": true
}
```
