# Subreddit 내 검색

**API:** Data API

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

**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 |
| --- | --- | --- | --- | --- |
| `query` | query | no | string |  |
| `sort` | query | no | string |  |
| `subreddit` | query | no | string |  |
| `timeframe` | query | no | string |  |

## Responses

### 200 — 성공 응답

Headers:
- `X-Request-Id` (string) — Felo 지원팀에 문의할 때 포함할 요청 식별자입니다.

**application/json**

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

Example:

```json
{
  "posts": [
    {
      "id": "t3_8gmjrb",
      "post_id": "t3_8gmjrb",
      "title": "Is doing 50-100 pushups a day doing anything?",
      "url": "https://www.reddit.com/r/Fitness/comments/8gmjrb/is_doing_50100_pushups_a_day_doing_anything/",
      "permalink": "/r/Fitness/comments/8gmjrb/is_doing_50100_pushups_a_day_doing_anything/",
      "nsfw": false,
      "spoiler": false,
      "is_crosspost": false,
      "subreddit": {
        "id": "t5_2qhx4",
        "name": "Fitness",
        "nsfw": false,
        "quarantined": false,
        "icon": "https://b.thumbs.redditmedia.com/Ted4KOMuRbaCYlDS55cTqjpVVZ2ENHKtYFbBFjI1i2o.png",
        "banner": null,
        "description": "신체 단련 목표를 추구하기 위한 공간입니다.\n\n일반적인 질문에 대한 도움은 https://thefitness.wiki의 r/Fitness Wiki 및 FAQ를 참조하세요.",
        "weekly_visitors": 898726,
        "weekly_contributions": 1827
      },
      "votes": 1414,
      "num_comments": 582,
      "created_at": "2018-05-03T01:09:17.620000+0000",
      "created_at_iso": "2018-05-03T01:09:17.620Z",
      "thumbnail": null,
      "thumbnail_blurred": false,
      "position": 0,
      "relative_position": 0
    }
  ],
  "comments": [
    {
      "id": "t1_nxf7p27",
      "post_id": "t3_1q2p898",
      "parent_comment_id": null,
      "is_reply_to_comment": false,
      "author": "Philser23",
      "author_avatar": null,
      "author_nsfw": false,
      "body": "On the 30th my girlfriend out of the blue decided her new year's resolution would be to start going to the gym. I was so excited since none of my partners ever shared the fitness hobby with me.",
      "body_html": "<p>On the 30th my girlfriend out of the blue decided her new year's resolution would be to start going to the gym...</p>",
      "images": [],
      "votes": 123,
      "url": "https://www.reddit.com/r/Fitness/comments/1q2p898/gym_story_saturday/nxf7p27/",
      "permalink": "/r/Fitness/comments/1q2p898/gym_story_saturday/nxf7p27/",
      "created_at": "2026-01-03T11:26:02.434000+0000",
      "created_at_iso": "2026-01-03T11:26:02.434Z",
      "post": {
        "id": "t3_1q2p898",
        "title": "Gym Story Saturday",
        "url": "https://www.reddit.com/r/Fitness/comments/1q2p898/gym_story_saturday/",
        "permalink": "/r/Fitness/comments/1q2p898/gym_story_saturday/",
        "nsfw": false,
        "spoiler": false,
        "votes": 67,
        "num_comments": 80,
        "created_at": "2026-01-03T08:15:49.709000+0000",
        "created_at_iso": "2026-01-03T08:15:49.709Z"
      },
      "subreddit": {
        "id": "t5_2qhx4",
        "name": "Fitness",
        "nsfw": false,
        "quarantined": false,
        "icon": "https://b.thumbs.redditmedia.com/Ted4KOMuRbaCYlDS55cTqjpVVZ2ENHKtYFbBFjI1i2o.png"
      },
      "position": 0
    }
  ],
  "media": [
    {
      "id": "t3_geo4x",
      "title": "Bodyweight training for really strong people. See on you're own what I mean with strong. (Not me)",
      "url": "https://www.reddit.com/r/Fitness/comments/geo4x/bodyweight_training_for_really_strong_people_see/",
      "permalink": "/r/Fitness/comments/geo4x/bodyweight_training_for_really_strong_people_see/",
      "media_type": "image",
      "video": null,
      "image": {
        "src": "https://external-preview.redd.it/X6lz5yGIzqVA5LcI9w-FsQJJHhXoCugDhsXgWW3I404.jpg?format=pjpg&auto=webp&s=46814b0a707a532e39e6c20851ddc1fefb0a111f",
        "width": 480,
        "height": 360,
        "resolutions": [
          {
            "url": "https://external-preview.redd.it/X6lz5yGIzqVA5LcI9w-FsQJJHhXoCugDhsXgWW3I404.jpg?width=320&crop=smart&format=pjpg&auto=webp&s=144ac4171a1862e5d91d8dd90d44271e22a8273d",
            "width": 320
          }
        ]
      },
      "gallery_count": null,
      "aspect_ratio": 1.3333333333333333,
      "nsfw": false,
      "spoiler": false,
      "is_blurred": false,
      "subreddit": {
        "id": "t5_2qhx4",
        "name": "Fitness",
        "nsfw": false,
        "quarantined": false
      },
      "position": 0,
      "safe_search": "UNAVAILABLE"
    }
  ],
  "cursor": "eyJjYW5kaWRhdGVzX3JldHVybmVkIjoie1wic2VjdGlvbl8xX3BpcGVsaW5lXzBfZ2xvYmFsX21vZGlmaWVyc1wiOlwiM1wiLFwic2VjdGlvbl8xX3BpcGVsaW5lXzFfbG9jYWxfbW9kaWZpZXJzXCI6XCIzXCIsXCJzZWN0aW9uXzJfcGlwZWxpbmVfNl9zY29wZV9zd2l0Y2hlclwiOlwiMFwiLFwic2VjdGlvbl8yX3BpcGVsaW5lXzdfcG9zdF9zZWFyY2hcIjpcIjdcIn0ifQ=="
}
```

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