Sand AISand AI MAGI-2MAGI-2가 이제 SandBase에서 제공됩니다: 네이티브 오디오가 포함된 1080p 동영상지금 사용해 보기

Reddit User Comments

API 문서
https://api.sandbase.ai/v1/api/reddit/user-comments

List a Reddit user's comments by username, sorted by new, top, hot, or controversial, with the parent post title and subreddit on every item and cursor pagination. Comment text may be truncated to a roughly 300-character preview, and this endpoint carries no per-comment permalink; use reddit.post_comments for full comment bodies and comment URLs on a given post.

가격
$0.0006부터USD / 호출
메서드
POST
응답
JSON
매개변수
필수 1개 · 선택 사항 3개

Playground

입력
Reddit username, without the u/ prefix. Example: "spez".
Sort order for the user's comments. Defaults to new (most recent first).
1100
Page size to ask for (up to 100, default 25). Some sources honor it; others always return their whole page of about 25 comments. A page is never trimmed after the call, so pass nextCursor back as cursor to continue exactly where this response ended. 범위: 1~100.
Opaque pagination cursor from a previous response's nextCursor. Omit for the first page; pass it back to fetch the next page.
출력준비됨

출력이 여기에 표시됩니다

입력을 완료한 다음 Run을 클릭하세요.

API README

Reddit User Comments API

Returns a page of a Reddit user's comments, each with a text preview, score, timestamp, and the parent post's title and subreddit. It needs a Reddit username without the u/ prefix.

Use cases

  • Review what a public figure has said in recent threads, such as an executive's replies during an AMA.
  • Find a user's highest-scored comments by setting sort to top.
  • Track which subreddits and posts a user comments on most.
  • Pull a user's comment history to check how they engage across communities.

Request

curl -X POST "https://api.sandbase.ai/v1/api/reddit/user-comments" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"username": "spez"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
usernamestringYesReddit username, without the u/ prefix. Example: "spez".
cursorstringNoOpaque pagination cursor from a previous response's nextCursor. Omit for the first page; pass it back to fetch the next page.
limitintegerNoPage size to ask for (up to 100, default 25). Some sources honor it; others always return their whole page of about 25 comments. A page is never trimmed after the call, so pass nextCursor back as cursor to continue exact
sortstringNoSort order for the user's comments. Defaults to new (most recent first).

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "data": {
    "comments": [
      {
        "author": "spez",
        "bodyPreview": "Pretty simple. For people who are already coming to Reddit every week, we have t…",
        "createdUtc": 1793324526,
        "id": "19ruo33ofgh8i",
        "postId": "1xiupuc",
        "postTitle": "Reddit Announces Q3’26 Earnings (plus AMA!)",
        "score": -9,
        "subreddit": "RDDT"
      }
    ],
    "nextCursor": "cur_uHC_PYNAJi9Hh4rl4wAw2w"
  },
  "found": true
}

Response fields

FieldMeaning
data.comments[].idIdentifier of the comment.
data.comments[].bodyPreviewStart of the comment text. It can be cut short and ends with an ellipsis when truncated.
data.comments[].createdUtcTime the comment was posted, as a Unix timestamp.
data.comments[].scoreComment score. It can be negative.
data.comments[].postId / data.comments[].postTitleID and title of the post the comment was made on.
data.comments[].subredditSubreddit of the parent post. It can be an empty string.
data.comments[].authorUsername of the comment author.
data.nextCursorCursor for the next page. Pass it back as cursor.
foundtrue when the user lookup returned data.

Notes

  • Pass data.nextCursor as cursor to fetch the next page. Keep the same username and sort.
  • Comments have no permalink here. Call Reddit Post Comments with the postId to get full comment bodies and comment URLs.
  • subreddit can be empty on some items, so do not rely on it being set.
  • To see the user's posts instead of comments, use Reddit User Posts.

Pricing

Billed at the actual cost of each call, about $0.0006 for the request above. Failed calls are not charged.

더 살펴보기

관련 API

모든 API
API가격응답
Reddit호출당 $0.0006부터JSON
Reddit$0.001 / 호출JSON
Reddit$0.001 / 호출JSON
Reddit$0.001 / 호출JSON
Reddit$0.001 / 호출JSON
Reddit$0.001 / 호출JSON

가이드:Best Reddit API in 2026: Pricing Compared

질문

FAQ

Reddit User Comments API를 어떻게 사용하나요?

Authorization 헤더(Bearer)에 SandBase API 키를 넣고, 매개변수를 JSON 본문으로 담아 https://api.sandbase.ai/v1/api/reddit/user-comments에 POST 요청을 보내세요. 이 페이지의 Playground에서도 코드를 작성하지 않고 직접 테스트할 수 있습니다.

Reddit User Comments API 비용은 얼마인가요?

호출당 $0.0006부터, SandBase 잔액에서 청구됩니다. 사용한 호출에 대해서만 요금이 부과되며, 구독은 없습니다.

Reddit User Comments API는 어떤 매개변수를 받나요?

필수: username (string). 선택: sort(new, top, hot, controversial 중 하나), limit (integer) 및 cursor (string). 이 페이지의 Parameters 표와 Playground에 모든 필드가 나와 있습니다.

Reddit User Comments API는 무엇을 반환하나요?

같은 HTTP 요청에서 반환되는 JSON 응답입니다(동기식). 이 페이지의 README에 샘플 응답이 포함되어 있습니다.

Reddit 개발자 계정이나 API 키가 필요한가요?

아니요. Reddit User Comments은 SandBase를 통해 실행되므로, SandBase API 키 하나로 이 엔드포인트와 카탈로그의 다른 모든 API 및 모델을 사용할 수 있습니다. Reddit API 액세스를 별도로 신청할 필요는 없습니다.