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

Reddit Trending Posts

API 문서
https://api.sandbase.ai/v1/api/reddit/trending-posts

Get currently trending Reddit posts across all subreddits with stable cursor pagination.

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

Playground

입력
Pagination cursor from a previous response's nextCursor. Omit for the first page.
1100
Maximum number of trending posts to return (1-100, default 25). 범위: 1~100.
출력준비됨

출력이 여기에 표시됩니다

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

API README

Reddit Trending Posts API

Returns a list of Reddit posts that are currently trending across all subreddits. Each post includes its title, subreddit, author, score, comment count, and link. The only inputs are an optional page size (limit) and an optional cursor (after).

Use cases

  • Track which topics are trending on Reddit right now and in which subreddits.
  • Build a feed or dashboard that shows the top trending posts with their scores and comment counts.
  • Spot fast-growing posts by comparing score and numComments across calls.
  • Collect trending post links and domain values to see which sites and image hosts get shared most.

Request

curl -X POST "https://api.sandbase.ai/v1/api/reddit/trending-posts" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"limit": 25}'

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

Parameters

NameTypeRequiredDescription
afterstringNoPagination cursor from a previous response's nextCursor. Omit for the first page.
limitintegerNoMaximum number of trending posts to return (1-100, default 25).

Example response

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

{
  "data": {
    "nextCursor": "t3_1xmlmgw",
    "posts": [
      {
        "author": "Negative_1by12_aura",
        "authorId": "2eyayz4qcy",
        "createdUtc": 1793676776,
        "domain": "i.redd.it",
        "id": "1xmids8",
        "isArchived": false,
        "isLocked": false,
        "nsfw": false,
        "numComments": 801,
        "permalink": "/r/interesting/comments/1xmids8/hiv_is_no_longer_a_terminal_disease/",
        "score": 21475,
        "selftext": ""
      }
    ]
  },
  "found": true
}

Response fields

FieldMeaning
data.posts[].idPost ID without a prefix. Use it to look up the post in other APIs.
data.posts[].titleTitle of the post.
data.posts[].subredditName of the subreddit where the post was made.
data.posts[].author / data.posts[].authorIdUsername and ID of the post author.
data.posts[].score / data.posts[].numCommentsPost score and number of comments.
data.posts[].upvoteRatioShare of votes that are upvotes, as a decimal between 0 and 1 (for example 0.94).
data.posts[].createdUtcCreation time of the post as a Unix timestamp in seconds.
data.posts[].permalink / data.posts[].urlpermalink is the Reddit path of the post. url is the link the post points to, such as an image.
data.posts[].isArchived / data.posts[].isLocked / data.posts[].nsfwBoolean flags for archived posts, locked posts, and posts marked NSFW.
data.nextCursorCursor for the next page. Pass it as after in the next request.

Notes

  • For the first page, omit after. For the next page, send the value of data.nextCursor as after.
  • limit accepts 1 to 100 and defaults to 25.
  • selftext is empty for link and image posts, so text only appears for text posts.
  • To read a post in full, call Reddit Post Details. To list comments, use Reddit Post Comments.

Pricing

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

더 살펴보기

관련 API

모든 API
API가격응답
Reddit호출당 $0.0003부터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 Trending Posts API를 어떻게 사용하나요?

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

Reddit Trending Posts API 비용은 얼마인가요?

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

Reddit Trending Posts API는 어떤 매개변수를 받나요?

필수 매개변수는 없습니다. 선택: after (string) 및 limit (integer). 이 페이지의 Parameters 표와 Playground에 모든 필드가 나와 있습니다.

Reddit Trending Posts API는 무엇을 반환하나요?

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

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

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