Reddit Subreddit Search API
API 한 번의 호출로 Reddit Subreddit Search 데이터를 받아 가세요. Searches for posts within a specific subreddit. Returns matching posts with titles, scores, comment counts, permalinks and, where the row carries them, the post body at `ext.selftext`, the author's avatar, structured media, the upvote ratio, the flair and Reddit's own content language. One result page is assembled from more than one index: the first rows are the community's own relevance ranking, unchanged and in its original order, and further rows are appended from Reddit's search index scoped to the same community. A page holds up to 25 posts and the exact count varies between calls, so read the length of `items` rather than assuming a number — pages of about 7 are what you get when only the first index answers. Because the page spans two indexes, three leaves are reported for only part of it and are `null` on the rest: `post.flags.spoiler`, `post.engagement.shares` and `post.engagement.saves`. A `null` there means the index that returned that row does not report the field, never that the value is false or zero, so do not aggregate over them. Omitting `query` returns the community listing from the first index alone, because Reddit's scoped search needs terms to match. `include_body=true` is still accepted and rarely needed now that bodies arrive on the rows themselves: it costs 1 extra credit per post that actually comes back with a body, up to 25 per page, and refunds every credit it does not spend. Ranking is a voice-of-customer sweep rather than precision retrieval, so expect some off-topic matches on short queries, and use quoted phrases to tighten them.
2026년 10월 업데이트SocialCrawl 팀이 직접 관리해요
서브레딧 하나 안에서 질의에 맞는 게시물을 돌려줍니다. 제목, 점수, 댓글 수, permalink가 붙습니다. 이 상위 소스는 본문을 보내지 않아 include_body 없이는 ext.selftext가 null입니다.
커뮤니티 하나만 검색할 때 사용하세요. 여기서는 본문에 추가 요금이 붙으니, search에 query=subreddit:이름과 검색어를 함께 넣으면 본문까지 1크레딧에 받습니다. 다만 결과 목록은 달라집니다.
68개 플랫폼을 병렬로 검색합니다
Subreddit Search API로 무엇을 할 수 있을까요
Subreddit Search 엔드포인트가 통합 스키마와 계산 필드를 담은 Reddit 데이터를 한 번의 요청으로 보내드려요. 스크래핑 인프라를 직접 만들거나 유지할 필요가 없어요.
요청 예시
curl -H "x-api-key: YOUR_API_KEY" \
"https://www.socialcrawl.dev/v1/reddit/subreddit/search?subreddit=technology"import requests
response = requests.get(
"https://www.socialcrawl.dev/v1/reddit/subreddit/search",
params={
'subreddit': 'technology',
},
headers={"x-api-key": "YOUR_API_KEY"},
)
data = response.json()const response = await fetch(
"https://www.socialcrawl.dev/v1/reddit/subreddit/search?subreddit=technology",
{
headers: { "x-api-key": "YOUR_API_KEY" },
},
);
const data = await response.json();파라미터
| 파라미터 | 필수 | 설명 |
|---|---|---|
| subreddit | 예 | Subreddit name (e.g. 'Fitness', not 'r/Fitness' or a full URL) |
| query | 아니오 | Search query to find matching content |
| sort | 아니오 | Sort order. For posts/media: relevance, hot, top, new, comments. For comments: relevance, top, new (relevance | hot | top | new | comments) |
| timeframe | 아니오 | Only return posts from this window. Applied on sort=relevance, sort=top and sort=comments. It has no effect with sort=new, which is already ordered newest-first and returns recent posts regardless. (all | year | month | week | day | hour) |
| cursor | 아니오 | Cursor to get more results. Get 'cursor' from previous response. |
| include_body | 아니오 | Set to true to include each post's body (selftext) on the search page. 1 extra credit per post that comes back with a body, unused credits refunded. Link posts have no body, so they are looked up and not charged for. |
| since | 아니오 | Only rows published on or after this date: YYYY-MM-DD (midnight UTC) or an ISO 8601 timestamp. Rows older than it are left off each page. This list is not in date order, so the walk does not stop at the date: keep following `next_cursor`, and each page costs what a page costs even when every row on it is filtered out. A row with no date is kept. `published_after`, `start_date`, `from_date`, `publish_time` (`yesterday`, `this-week`, `this-month`, `last-3-months`, `last-6-months`) and `max_age_days` are accepted and applied as `since`. |
| until | 아니오 | Only rows published on or before this date: YYYY-MM-DD (that whole UTC day is included) or an ISO 8601 timestamp. Newer rows are left off each page and the walk does not stop, so older pages follow. A row with no date is kept. `published_before`, `end_date` and `to_date` are accepted and applied as `until`. |
Reddit Subreddit Search API는 무엇을 돌려주나요
모든 응답은 하나의 통합 스키마를 따라요. 크레딧을 쓰기 전에 어떤 필드가 돌아오는지, 실제 응답 본문 그대로 확인해 보세요.
응답 예시 보기
{
"success": true,
"platform": "reddit",
"endpoint": "/v1/reddit/subreddit/search",
"data": {
"items": [
{
"post": {
"id": "1g42vo0",
"url": "https://www.reddit.com/r/technology/comments/1g42vo0/invisible_text_that_ai_chatbots_understand_and/",
"content": {
"text": "Sample comment text (redacted). Sample comment text (redacted). Sample comment text (redacted). Sample comment text (redacted).",
"media_urls": null,
"thumbnail_url": null,
"duration_seconds": null
},
"author": {
"username": null,
"display_name": null,
"avatar_url": null,
"verified": null
},
"engagement": {
"views": null,
"likes": 123,
"comments": 12,
"shares": null,
"saves": null
},
"flags": {
"nsfw": false,
"spoiler": false,
"pinned": null,
"deleted": false
},
"published_at": "2024-10-15T08:23:22.000Z",
"ext": {
"subreddit": "technology",
"title": "Sample comment text (redacted). Sample comment text (redacted). Sample comment text (redacted). Sample comment text (redacted).",
"selftext": null,
"upvote_ratio": null,
"flair": null,
"content_language": null,
"published_at_epoch": 1728980602
}
},
"computed": {
"engagement_rate": null,
"language": "en",
"content_category": "other",
"estimated_reach": null
}
},
{
"post": {
"id": "1phuhlh",
"url": "https://www.reddit.com/r/technology/comments/1phuhlh/what_happens_when_an_infinitemoney_machine/",
"content": {
"text": "Sample comment text (redacted).",
"media_urls": null,
"thumbnail_url": null,
"duration_seconds": null
},
"author": {
"username": "user_2391e3",
"display_name": "user_b7fc5f",
"avatar_url": null,
"verified": null
},
"engagement": {
"views": null,
"likes": 66,
"comments": 15,
"shares": null,
"saves": null
},
"flags": {
"nsfw": false,
"spoiler": false,
"pinned": null,
"deleted": false
},
"published_at": "2025-12-09T01:22:41.000Z",
"ext": {
"subreddit": "technology",
"title": "Sample comment text (redacted).",
"selftext": null,
"upvote_ratio": null,
"flair": null,
"content_language": null,
"published_at_epoch": 1765243361
}
},
"computed": {
"engagement_rate": null,
"language": "de",
"content_category": "other",
"estimated_reach": null
}
}
],
"next_cursor": "sc2.eyJzIjoiYiIsImMiOiJleUpqWVc1a2FXUmhkR1Z6WDNKbGRIVnlibVZrSWpvaWUxd2ljMlZqZEdsdmJsOHhYM0JwY0dWc2FXNWxYekJmWjJ4dlltRnNYMjF2WkdsbWFXVnljMXdpT2x3aU1Wd2lMRndpYzJWamRHbHZibDh4WDNCcGNHVnNhVzVsWHpGZmJHOWpZV3hmYlc5a2FXWnBaWEp6WENJNlhDSXlYQ0lzWENKelpXTjBhVzl1WHpKZmNHbHdaV3hwYm1WZk4xOXpZMjl3WlY5emQybDBZMmhsY2x3aU9sd2lNRndpTEZ3aWMyVmpkR2x2Ymw4eVgzQnBjR1ZzYVc1bFh6aGZjRzl6ZEY5elpXRnlZMmhjSWpwY0lqZGNJaXhjSW5ObFkzUnBiMjVmTTE5d2FYQmxiR2x1WlY4d1gzTnBaR1ZpWVhKZlkyOXRiWFZ1YVhSNVgybHVabTljSWpwY0lqQmNJbjBpTENKbGVIQmxjbWxsYm1ObFgzTmxiR1ZqZEdsdmJpSTZJbkJ2YzNSZmQybDBhRjlqYjIxdGRXNXBkSGxmYzJsa1pXSmhjaUlzSW1WNGNHVnlhV1Z1WTJWZmRtVnljMmx2YmlJNkltUmxabUYxYkhRaUxDSnpaV04wYVc5dVh6SmZjR2x3Wld4cGJtVmZPRjl3YjNOMFgzTmxZWEpqYUNJNklqY2lmUT09In0",
"total": null,
"dropped": 0,
"_warnings": [
"This upstream surface returns titles without post bodies, so ext.selftext is null on every row here. /v1/reddit/search?query=subreddit:technology <your search terms> returns subreddit-scoped results WITH bodies for the same 1 credit, but it reads a different index: expect a different set of posts rather than this page with bodies added (measured, the two surfaces shared 10 of 42 rows across six subjects). The operator needs search terms beside it; on its own it errors. Use include_body=true on this endpoint only if you need this endpoint's sort and cursor: it costs 1 extra credit per hydrated post."
]
},
"credits_used": 1,
"request_id": "req_example000000",
"cached": false,
"pagination": {
"next_cursor": "sc.eyJ2IjoyLCJjIjoic2MyLmV5SnpJam9pWWlJc0ltTWlPaUpsZVVwcVdWYzFhMkZYVW1oa1IxWjZXRE5LYkdSSVZubGliVlpyU1dwdmFXVXhkMmxqTWxacVpFZHNkbUpzT0hoWU0wSndZMGRXYzJGWE5XeFlla0ptV2pKNGRsbHRSbk5ZTWpGMldrZHNiV0ZYVm5sak1YZHBUMngzYVUxV2QybE1SbmRwWXpKV2FtUkhiSFppYkRoNFdETkNjR05IVm5OaFZ6VnNXSHBHWm1KSE9XcFpWM2htWWxjNWEyRlhXbkJhV0VwNldFTkpObGhEU1hsWVEwbHpXRU5LZWxwWFRqQmhWemwxV0hwS1ptTkhiSGRhVjNod1ltMVdaazR4T1hwWk1qbDNXbFk1ZW1ReWJEQlpNbWhzWTJ4M2FVOXNkMmxOUm5kcFRFWjNhV015Vm1wa1IyeDJZbXc0ZVZnelFuQmpSMVp6WVZjMWJGaDZhR1pqUnpsNlpFWTVlbHBYUm5sWk1taGpTV3B3WTBscVpHTkphWGhqU1c1T2JGa3pVbkJpTWpWbVRURTVkMkZZUW14aVIyeDFXbFk0ZDFnelRuQmFSMVpwV1ZoS1psa3lPWFJpV0ZaMVlWaFNOVmd5YkhWYWJUbGpTV3B3WTBscVFtTkpiakJwVEVOS2JHVklRbXhqYld4c1ltMU9iRmd6VG14aVIxWnFaRWRzZG1KcFNUWkpia0oyWXpOU1ptUXliREJoUmpscVlqSXhkR1JYTlhCa1NHeG1ZekpzYTFwWFNtaGphVWx6U1cxV05HTkhWbmxoVjFaMVdUSldabVJ0Vm5sak1teDJZbWxKTmtsdFVteGFiVVl4WWtoUmFVeERTbnBhVjA0d1lWYzVkVmg2U21aalIyeDNXbGQ0Y0dKdFZtWlBSamwzWWpOT01GZ3pUbXhaV0VwcVlVTkpOa2xxWTJsbVVUMDlJbjAiLCJlIjoicmVkZGl0L3N1YnJlZGRpdC9zZWFyY2giLCJwIjoiY3Vyc29yIn0",
"has_more": true,
"page_size": 7
},
"credits_remaining": 9999,
"source": "captured",
"captured_at": "2026-10-02T07:33:09.800Z",
"redacted": true
}통합 응답 구조를 보여 주는 실제 샘플이에요. 필드 값은 조회한 대상에 따라 달라져요.
Reddit Subreddit Search API는 어떻게 동작하나요
API 키와 함께 GET 요청을 보내면, 통합 스키마와 계산 필드를 담은 깔끔한 JSON이 돌아와요.
메서드
GET
응답 형식
JSON
소셜 미디어 데이터를 몇 초 만에 수집하는 방법
개발자를 위한 가장 빠른 소셜 미디어 스크래핑 API. 월간 활성 사용자 100억 명 이상을 포괄하는 68개 플랫폼에서 프로필, 게시물, 댓글, 분석 데이터를 수집하세요.
모든 플랫폼을 하나의 스키마로
동일한 응답 구조로 68개 플랫폼을 조회하세요. 연동은 한 번이면 충분합니다.
단순 수집을 넘어 계산된 필드 제공
엔드포인트가 해당 지표를 지원하고 계산에 필요한 원본 값이 있을 때, 정규화된 레코드에 engagement_rate, estimated_reach, content_category, language를 함께 담아 바로 활용할 수 있습니다.
코드 한 줄 쓰기 전에, 데이터부터
Visual Data Explorer에 URL만 붙여넣으면 결과 카드와 정형화된 테이블, CSV 내보내기를 바로 사용할 수 있습니다.
import requests
response = requests.get(
'https://www.socialcrawl.dev/v1/tiktok/profile',
params={'handle': 'charlidamelio'},
headers={'x-api-key': 'sc_YOUR_API_KEY'}
)
data = response.json(){
"success": true,
"platform": "tiktok",
"data": {
"author": {
"username": "charlidamelio",
"followers": 152400000
},
"engagement": {
"likes": 12400000000,
"engagement_rate": 0.087
},
"metadata": {
"language": "en",
"content_category": "lifestyle"
}
}
}자주 묻는 질문
API, 요금제, 기능에 대한 질문과 답변입니다.
문의하기특정 서브레딧 안에서만 검색하려면 어떻게 하나요?
/v1/reddit/search와는 어떻게 다른가요?
정렬과 기간 옵션은 어떻게 쓰나요?
검색 결과는 어떻게 페이지네이션하나요?
Subreddit Search API는 요금이 얼마인가요?
AI에게 SocialCrawl을 물어보세요
Reddit Subreddit Search 데이터, 가져올 준비 되셨어요?
API 키 받고 60초 안에 Reddit 데이터를 받아 가세요.
